:root {
  --bg: #fdfbf7;
  --sf: #f6ebe0;
  --wh: #fff;
  --ink: #2b1e1b;
  --mute: #6d5b56;
  --gold: #8c4a46;
  --gd: #743a37;
  --gl: #f4e6e3;
  --ln: #e8dcd3;
  --ok: #2d7a53;
  --bad: #c93b47;
  --r: 18px;
  --sh: 0 8px 25px rgba(43, 30, 27, 0.04);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font:
    400 15px/1.85 "Vazirmatn",
    Tahoma,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
main,
section,
header,
footer {
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  max-width: 1120px;
  margin: auto;
  padding: 0 18px;
  width: 100%;
}
section {
  padding: 58px 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}
section:nth-of-type(even) {
  background: var(--sf);
}
h2 {
  font-size: clamp(22px, 3vw, 28px);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(140, 74, 70, 0.22);
  transition: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  white-space: nowrap;
}
.btn:hover {
  background: var(--gd);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(140, 74, 70, 0.28);
}
.btn:active {
  transform: scale(0.98);
}
.btn.sm {
  min-height: 38px;
  padding: 6px 18px;
  font-size: 13px;
  box-shadow: none;
}

/* نوار بالا */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ln);
}
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 68px;
  flex-wrap: nowrap;
  justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  flex-shrink: 0;
  white-space: nowrap;
}
.nav nav {
  display: flex;
  gap: 2px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  flex-shrink: 1;
}
.nav nav::-webkit-scrollbar {
  display: none;
}
.nav nav a {
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--mute);
  white-space: nowrap;
  font-weight: 500;
  transition: 0.2s;
}
.nav nav a:hover {
  background: var(--gl);
  color: var(--ink);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-actions-mobile {
  display: none;
}
.pn {
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  min-height: 38px;
  white-space: nowrap;
  transition: 0.2s;
  flex-shrink: 0;
}
.pn:hover {
  background: var(--gold);
  color: #fff;
}
.mob-menu {
  display: none;
  background: none;
  border: 1px solid var(--ln);
  border-radius: 12px;
  padding: 6px 11px;
  font-size: 20px;
  color: var(--ink);
  flex-shrink: 0;
}

/* اسلایدر هیرو */
.hs {
  position: relative;
  overflow: hidden;
  padding: 0;
  width: 100%;
  background: var(--sf);
}
.hsT {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.sl {
  position: relative;
  min-width: 100%;
  max-width: 100%;
  min-height: 360px;
  display: grid;
  align-items: center;
  padding: 48px 18px;
  overflow: hidden;
}
.sl img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sl .tx {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 36px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(43, 30, 27, 0.08);
}
.sl h2 {
  margin-bottom: 10px;
  font-size: clamp(24px, 4vw, 34px);
}
.sl p {
  color: var(--mute);
  margin-bottom: 22px;
  font-size: 16px;
}
.hsN {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 18px;
  z-index: 2;
}
.ar {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ln);
  background: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  box-shadow: var(--sh);
  display: grid;
  place-items: center;
  transition: 0.2s;
}
.ar:hover {
  background: var(--wh);
  transform: scale(1.06);
  border-color: var(--gold);
}
.hsD {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hsD button {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 0;
  background: rgba(43, 30, 27, 0.28);
  padding: 0;
  transition: 0.25s;
}
.hsD button[aria-current="true"] {
  background: var(--gold);
  width: 26px;
}

/* نوار جذاب تعرفه‌ها زیر اسلایدر */
.price-teaser {
  background: var(--wh);
  border-bottom: 1px solid var(--ln);
  padding: 12px 0;
}
.price-teaser-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 460px;
  margin: auto;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sf), var(--gl));
  border: 1px solid #e4cfc9;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(140, 74, 70, 0.08);
  transition: 0.2s;
}
.price-teaser-link:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(140, 74, 70, 0.14);
}
.price-teaser-icon {
  color: var(--gold);
  font-size: 15px;
}
.price-teaser-arrow {
  color: var(--gold);
  font-weight: 800;
  transition: transform 0.2s;
}
.price-teaser-link:hover .price-teaser-arrow {
  transform: translateX(-4px);
}

/* خدمات و بخش نمونه کار داخلی */
.svs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 16px;
}
.sv {
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 24px 14px 20px;
  text-align: center;
  box-shadow: var(--sh);
  display: grid;
  justify-items: center;
  gap: 10px;
  transition: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
}
.sv:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(140, 74, 70, 0.12);
}
.ic {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--gl), #fbf3ee);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ecd9d5;
  flex-shrink: 0;
}
.ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ic svg {
  width: 34px;
  height: 34px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv span {
  font-weight: 700;
  font-size: 16px;
}
.sv-cta {
  display: inline-block;
  margin-top: 2px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gl);
  color: var(--gold);
  font-size: 12px !important;
  font-weight: 700 !important;
  transition: 0.2s;
}
.sv:hover .sv-cta {
  background: var(--gold);
  color: #fff;
}

#service-gallery-container {
  margin-top: 32px;
  padding: 26px;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: 24px;
  box-shadow: var(--sh);
}
.sg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--ln);
}
.sg-header h3 {
  font-size: 18px;
  color: var(--gold);
}

/* متخصصین */
.stf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.sc {
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--sh);
  display: grid;
  gap: 16px;
  transition: 0.25s;
}
.sc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(43, 30, 27, 0.08);
}
.who {
  display: flex;
  gap: 14px;
  align-items: center;
}
.av {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 2.5px solid var(--gl);
  background: #f5e1dc;
}
.av img,
.av svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.who small {
  color: var(--mute);
  display: block;
  font-size: 13px;
}
.stars {
  color: #d68c22;
  font-size: 14px;
  letter-spacing: 2px;
}
.th {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.th i,
.pg i {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 14px;
  font-style: normal;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--ln);
}
.th svg,
.pg svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc .btn {
  width: 100%;
}

/* رزرو */
.bkc {
  max-width: 680px;
  margin: auto;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--sh);
}
.st {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ink);
  display: block;
}
.r2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.r3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
select,
input,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border: 1.5px solid var(--ln);
  border-radius: 14px;
  background: #fcfaf8;
  transition: 0.2s;
  max-width: 100%;
}
select:focus,
input:focus,
textarea:focus {
  border-color: var(--gold);
  background: var(--wh);
  outline: none;
}
textarea {
  min-height: 76px;
  resize: vertical;
}
hr {
  border: 0;
  border-top: 1px dashed var(--ln);
  margin: 18px 0;
}

.dr {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nv {
  width: 36px;
  height: 64px;
  border: 1px solid var(--ln);
  border-radius: 14px;
  background: var(--wh);
  flex: none;
  font-size: 18px;
  transition: 0.2s;
}
.nv:hover {
  border-color: var(--gold);
  background: var(--gl);
}
.dates {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-snap-type: x mandatory;
  flex: 1;
  scrollbar-width: thin;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  min-height: 42px;
  padding: 8px 16px;
  border: 1.5px solid var(--ln);
  border-radius: 14px;
  background: var(--wh);
  font-weight: 600;
  font-size: 13.5px;
  transition: 0.15s;
}
.chip:hover:not(:disabled) {
  border-color: var(--gold);
  background: #fdf6f5;
}
.chip.d {
  min-width: 106px;
  height: 64px;
  scroll-snap-align: start;
  line-height: 1.45;
  flex-shrink: 0;
}
.chip[aria-pressed="true"] {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(140, 74, 70, 0.2);
}
.chip:disabled {
  opacity: 0.4;
  text-decoration: line-through;
  cursor: not-allowed;
}

.sum {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
}
.hint {
  color: var(--mute);
  font-size: 13px;
}
.ok {
  color: var(--ok);
  font-weight: 700;
  margin-top: 10px;
}
.bad {
  color: var(--bad);
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}

/* قیمت‌ها، گالری، نظرات، سوالات، تماس */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}
.pr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: 15px;
  margin-bottom: 9px;
  max-width: 680px;
  margin-inline: auto;
  transition: 0.2s;
}
.pr:hover {
  border-color: #d6b6b3;
  box-shadow: var(--sh);
}
.pv {
  font-weight: 800;
  color: var(--gold);
  margin-inline-start: auto;
  white-space: nowrap;
}
.gal {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
}
.gt {
  aspect-ratio: 1;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border: 1px solid var(--ln);
  box-shadow: var(--sh);
  text-align: right;
  font-family: inherit;
  transition: 0.25s;
  width: 100%;
  background-color: var(--sf);
}
.gt:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(43, 30, 27, 0.14);
}
.gt svg {
  width: 32px;
  height: 32px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.7;
}
.gt em {
  font-style: normal;
  font-weight: 700;
  font-size: 13.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.28);
  padding: 4px 10px;
  border-radius: 10px;
  align-self: flex-start;
  backdrop-filter: blur(4px);
}
.rv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.rvc {
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--sh);
}
.rvc p {
  color: var(--mute);
  font-size: 14px;
  margin-top: 8px;
}
.about {
  max-width: 720px;
  margin: auto;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 24px;
  display: grid;
  gap: 12px;
  box-shadow: var(--sh);
}
.fq {
  max-width: 720px;
  margin: 0 auto 10px;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: 15px;
  padding: 15px 18px;
  transition: 0.2s;
}
.fq[open] {
  border-color: #d6b6b3;
}
.fq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.fq summary::-webkit-details-marker {
  display: none;
}
.fq summary::after {
  content: "+";
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}
.fq[open] summary::after {
  content: "−";
}
.fq p {
  margin-top: 10px;
  color: var(--mute);
  font-size: 14px;
  line-height: 1.8;
}

.ct {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: stretch;
}
.ci {
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: var(--r);
  padding: 24px;
  display: grid;
  gap: 16px;
  align-content: center;
  box-shadow: var(--sh);
}
.map {
  position: relative;
  min-height: 280px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--ln);
  background: #f0e8df;
  box-shadow: var(--sh);
}
.map iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}
.mb {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.96);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  z-index: 2;
}
.mb:hover {
  background: var(--gold);
  color: #fff;
}
.soc {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
  flex-wrap: wrap;
}
.soc a {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
}

/* مودال نمونه کار و پنل */
.ov {
  position: fixed;
  inset: 0;
  background: rgba(28, 19, 17, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  place-items: center;
  padding: 16px;
  z-index: 50;
}
.ov.on {
  display: grid;
}
.md {
  position: relative;
  width: 100%;
  max-width: 580px;
  max-height: 90dvh;
  overflow: auto;
  background: var(--wh);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.md.wide {
  max-width: 1000px;
}
.x {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ln);
  border-radius: 50%;
  background: var(--bg);
  font-size: 16px;
  transition: 0.2s;
  z-index: 2;
}
.x:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.modal-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ln);
  margin-bottom: 16px;
}
.modal-grid {
  display: grid;
  place-items: center;
}
.modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
}
.modal-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.modal-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

/* پنل همکاران و مدیر */
.pbar {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  padding-inline-end: 46px;
  border-bottom: 1px solid var(--ln);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pbar .av {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.pbar-copy {
  flex: 1;
  min-width: 170px;
}
.pbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.p-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  background: var(--gl);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.p-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mute);
}
.p-filter select {
  width: auto;
  min-width: 170px;
}
.pnl {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
}
.pnav {
  position: sticky;
  top: 0;
  display: grid;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--ln);
  border-radius: 18px;
  padding: 12px;
}
.pgrp {
  display: grid;
  gap: 4px;
}
.pgt {
  font-size: 11px;
  font-weight: 800;
  color: var(--mute);
  padding: 4px 10px 2px;
}
.pnb {
  width: 100%;
  text-align: right;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--mute);
  font-weight: 700;
  font-size: 13.5px;
  transition: 0.2s;
}
.pnb:hover {
  background: var(--wh);
  color: var(--ink);
}
.pnb[aria-current="page"] {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 4px 12px rgba(140, 74, 70, 0.18);
}
.pmain {
  min-width: 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.stc {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
}
.stc b {
  display: block;
  font-size: 24px;
  color: var(--gold);
  line-height: 1.3;
}
.stc span {
  font-size: 12px;
  color: var(--mute);
}
.bc {
  border: 1.5px solid var(--ln);
  border-inline-start-width: 4px;
  border-inline-start-color: var(--gold);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 10px;
  background: var(--wh);
}
.bc.done {
  border-inline-start-color: var(--ok);
}
.bc.noshow,
.bc.cancel {
  border-inline-start-color: var(--bad);
  opacity: 0.78;
}
.bt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.bm {
  font-size: 13.5px;
  color: var(--mute);
  margin-top: 4px;
}
.bn2 {
  background: var(--sf);
  border-radius: 10px;
  padding: 7px 12px;
  font-size: 13px;
  margin-top: 8px;
}
.ba {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 10px;
  align-items: center;
}
.ba .chip,
.ba a.chip {
  min-height: 34px;
  padding: 5px 12px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}
.hr {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid var(--ln);
}
.hr .bc {
  grid-column: 2/-1;
  margin: 0;
}
.hl {
  font-weight: 700;
  font-size: 14px;
}
.fr {
  color: var(--mute);
  font-size: 13px;
}
.blk {
  color: var(--bad);
  font-size: 13px;
  font-weight: 600;
}
.af {
  background: var(--sf);
  border: 1px solid var(--ln);
  border-radius: 16px;
  padding: 16px;
  margin: 10px 0 14px;
  display: grid;
  gap: 10px;
}
.log {
  border: 1px solid var(--ln);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 13.5px;
  background: var(--wh);
}
.log small {
  color: var(--mute);
  display: block;
  margin-top: 4px;
}

/* فرم ویرایش بنرهای سایت */
.hero-edit-box {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: center;
  background: var(--wh);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: 12px;
}
.hero-preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ln);
  background: var(--bg);
  display: grid;
  place-items: center;
}
.hero-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-preview-empty {
  padding: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--mute);
}
.hero-edit-fields {
  display: grid;
  gap: 8px;
}

.work-hours {
  display: grid;
  gap: 14px;
}
.work-hours-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.work-hours-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.work-hour-groups {
  display: grid;
  gap: 10px;
}
.work-hour-group {
  background: var(--bg);
  border: 1px solid var(--ln);
  border-radius: 16px;
  padding: 12px 14px;
}
.work-hour-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.work-hour-group summary::-webkit-details-marker {
  display: none;
}
.work-hour-group summary small {
  font-weight: 500;
  color: var(--mute);
  margin-inline-start: 6px;
}
.work-hour-count {
  font-size: 12px;
  color: var(--gold);
  background: var(--gl);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.work-hour-slots {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--ln);
}

.pgx {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.pgi {
  border: 1px solid var(--ln);
  border-radius: 16px;
  padding: 10px;
  text-align: center;
  display: grid;
  gap: 7px;
  background: var(--wh);
}
.pgi img,
.gph {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: var(--sf);
}
.pgi small {
  font-size: 12px;
  color: var(--mute);
}
.up {
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.tbl {
  overflow: auto;
  border: 1px solid var(--ln);
  border-radius: 16px;
  margin-top: 12px;
  background: var(--wh);
}
.tbl table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.tbl th,
.tbl td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ln);
  text-align: right;
  white-space: nowrap;
}
.tbl th {
  background: var(--sf);
  font-weight: 700;
}
.tbl tr:last-child td {
  border-bottom: 0;
}

#toast {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  display: none;
  z-index: 60;
  max-width: 340px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

@media (max-width: 960px) {
  .nav nav {
    display: none;
  }
  .nav-actions {
    display: none;
  }
  .mob-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav.menu-open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--wh);
    border-bottom: 1px solid var(--ln);
    padding: 14px 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    align-items: stretch;
    gap: 4px;
    z-index: 25;
  }
  .nav.menu-open .nav-actions-mobile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--ln);
  }
  .nav.menu-open nav a {
    padding: 10px 14px;
    border-radius: 12px;
  }
}

@media (max-width: 820px) {
  .pnl {
    grid-template-columns: 1fr;
  }
  .pnav {
    position: static;
  }
  .hero-edit-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  section {
    padding: 44px 0;
  }
  .r2,
  .r3,
  .ct {
    grid-template-columns: 1fr;
  }
  .sl {
    min-height: 290px;
  }
  .sl .tx {
    padding: 24px 18px;
  }
  .hr {
    grid-template-columns: 60px 1fr;
  }
  .bkc {
    padding: 20px 16px;
  }
  .md {
    padding: 22px 16px;
  }
}
