/* ==========================================================
   هتل سنتی منتظران شهرضا — استایل اصلی
   Design: معماری صفوی × مینیمال مدرن
   ========================================================== */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --primary: #0e5a55;
  --primary-deep: #083f3c;
  --primary-soft: #e6f2f0;
  --accent: #c8a24a;
  --accent-deep: #a8842f;
  --brick: #b4552d;
  --ink: #1d1a16;
  --ink-soft: #4a4640;
  --muted: #8b8579;
  --paper: #fffdf8;
  --sand: #f6f1e7;
  --sand-deep: #efe7d7;
  --line: #e5ddcc;
  --danger: #b03a2e;
  --ok: #1e7e4d;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 45px -18px rgba(29, 26, 22, .25);
  --shadow-sm: 0 8px 24px -10px rgba(29, 26, 22, .18);
  --grad-hero: linear-gradient(200deg, rgba(8, 63, 60, .88) 8%, rgba(8, 63, 60, .45) 55%, rgba(29, 26, 22, .35) 100%);
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23c8a24a' stroke-opacity='.16'%3E%3Cpath d='M42 0 52 16 42 32 32 16Z M42 84 52 68 42 52 32 68Z M0 42 16 32 32 42 16 52Z M84 42 68 32 52 42 68 52Z'/%3E%3Ccircle cx='42' cy='42' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.9rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .98rem; line-height: 1;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, #d9b45c, var(--accent) 55%, #b18c36); color: #2b2110; box-shadow: 0 10px 25px -10px rgba(200, 162, 74, .65); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(200, 162, 74, .8); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.btn-light:hover { background: rgba(255,255,255,.28); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { padding: .5rem 1.1rem; font-size: .86rem; }
.btn-danger { background: #fdecea; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }

.chip { display: inline-flex; align-items: center; gap: .4rem; background: var(--sand); border: 1px solid var(--line); color: var(--ink-soft); padding: .3rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 500; }

/* ---------- هدر ---------- */
.topbar {
  background: var(--primary-deep); color: #e9e3d5; font-size: .8rem; padding: .35rem 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #f4e8c9; font-weight: 600; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .4rem; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 253, 248, .9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand .logo-mark { width: 52px; height: 52px; flex: none; }
.brand-name { font-weight: 800; font-size: 1.18rem; line-height: 1.4; color: var(--primary-deep); }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .5px; font-weight: 500; }

.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-links a { padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-soft); }
.nav-links .btn { margin-inline-start: .6rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; border-radius: 12px; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: var(--primary); margin: 5px auto; border-radius: 2px; transition: .3s; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 0 30%; background: var(--paper); flex-direction: column;
    align-items: stretch; padding: 5rem 1.4rem 2rem; gap: .4rem; box-shadow: var(--shadow);
    transform: translateX(100%); transition: transform .35s; z-index: 55;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; padding: .8rem 1rem; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- هیرو ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  color: #fff; isolation: isolate; overflow: hidden;
}
.hero .slides { position: absolute; inset: 0; z-index: -2; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.active { opacity: 1; animation: kenburns 9s ease forwards; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--grad-hero); z-index: -1; }
.hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 110px; z-index: -1;
  background: linear-gradient(to top, var(--paper), transparent);
}
.hero-inner { padding: 7rem 0 9rem; width: 100%; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; letter-spacing: .4px; color: #f0dcae; margin-bottom: 1.1rem; }
.hero-kicker::before { content: ''; width: 46px; height: 1.5px; background: var(--accent); }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.3rem); font-weight: 900; line-height: 1.35; max-width: 780px; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero h1 em { font-style: normal; color: #f0dcae; }
.hero p.lead { margin: 1.2rem 0 2rem; max-width: 620px; font-size: 1.06rem; color: #f1ecdf; font-weight: 400; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 3rem; flex-wrap: wrap; }
.hstat b { display: block; font-size: 1.9rem; font-weight: 800; color: #f0dcae; }
.hstat span { font-size: .85rem; color: #e8e2d2; }
.hero-dots { position: absolute; bottom: 130px; inset-inline-start: 50%; transform: translateX(50%); display: flex; gap: .5rem; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: .3s; }
.hero-dots button.active { background: var(--accent); }

/* ---------- نوار رزرو سریع ---------- */
.quick-book {
  position: relative; z-index: 5; margin-top: -84px;
}
.quick-book-card {
  background: var(--paper); border-radius: 22px; box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: 1.1rem 1.2rem;
  display: grid; grid-template-columns: 1.2fr 1.2fr 1fr 1fr auto; gap: .9rem; align-items: end;
}
.qb-field label { display: block; font-size: .76rem; font-weight: 700; color: var(--muted); margin-bottom: .35rem; }
.qb-field .qb-input {
  width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: .72rem .95rem;
  background: var(--sand); font-weight: 600; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem; transition: .25s;
}
.qb-field .qb-input:hover, .qb-field .qb-input:focus { border-color: var(--primary); background: #fff; outline: none; }
.qb-input svg { width: 18px; height: 18px; stroke: var(--accent-deep); flex: none; }
@media (max-width: 980px) { .quick-book-card { grid-template-columns: 1fr 1fr; } .quick-book-card .btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .quick-book-card { grid-template-columns: 1fr; } }

/* ---------- سکشن‌ها ---------- */
.section { padding: 5.2rem 0; position: relative; }
.section.sand { background: var(--sand); }
.section.pattern-bg { background-image: var(--pattern), linear-gradient(var(--sand), var(--sand)); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.sec-eyebrow { color: var(--accent-deep); font-weight: 700; font-size: .85rem; letter-spacing: 1px; }
.sec-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--primary-deep); margin: .5rem 0 .6rem; }
.sec-head p { color: var(--ink-soft); font-size: .98rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: .8rem auto 0; width: 210px; color: var(--accent); }
.ornament::before, .ornament::after { content: ''; height: 1px; flex: 1; background: linear-gradient(to left, transparent, var(--accent), transparent); }

/* ---------- درباره ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.4rem; align-items: center; }
.about-media { position: relative; }
.about-media .main-img { border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-media .float-img { position: absolute; width: 46%; border-radius: 18px; border: 6px solid var(--paper); box-shadow: var(--shadow-sm); bottom: -34px; inset-inline-end: -18px; aspect-ratio: 4/3; object-fit: cover; }
.about-badge {
  position: absolute; top: 22px; inset-inline-start: -16px; background: var(--primary); color: #fff;
  border-radius: 16px; padding: .8rem 1.2rem; text-align: center; box-shadow: var(--shadow-sm);
}
.about-badge b { display: block; font-size: 1.35rem; color: #f0dcae; }
.about-badge span { font-size: .75rem; }
.about-copy .sec-eyebrow { display: block; }
.about-copy h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--primary-deep); margin: .5rem 0 1rem; line-height: 1.5; }
.about-copy p { color: var(--ink-soft); margin-bottom: 1rem; font-size: .97rem; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; margin: 1.4rem 0 2rem; list-style: none; }
.about-points li { display: flex; gap: .55rem; align-items: center; font-weight: 600; font-size: .92rem; color: var(--ink-soft); }
.about-points li::before { content: '◆'; color: var(--accent); font-size: .6rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-media .float-img { bottom: -24px; } }

/* ---------- اتاق‌ها ---------- */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.6rem; }
.room-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .35s, box-shadow .35s;
}
.room-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.room-media { position: relative; aspect-ratio: 16/10.5; overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.room-card:hover .room-media img { transform: scale(1.07); }
.room-price {
  position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(8, 63, 60, .92);
  color: #f0dcae; padding: .42rem .95rem; border-radius: 12px; font-weight: 700; font-size: .92rem;
  backdrop-filter: blur(4px);
}
.room-price small { display: block; font-size: .68rem; font-weight: 400; color: #d9d2bd; }
.room-cap { position: absolute; top: 12px; inset-inline-end: 12px; background: rgba(255,255,255,.92); color: var(--primary-deep); border-radius: 999px; padding: .25rem .8rem; font-size: .78rem; font-weight: 700; }
.room-body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .65rem; flex: 1; }
.room-body h3 { font-size: 1.13rem; font-weight: 800; color: var(--ink); }
.room-body p { font-size: .86rem; color: var(--muted); flex: 1; }
.room-feats { display: flex; flex-wrap: wrap; gap: .35rem; }
.room-feats .chip { font-size: .72rem; padding: .18rem .65rem; background: var(--primary-soft); border-color: transparent; color: var(--primary-deep); }
.room-cta { display: flex; gap: .6rem; }
.room-cta .btn { flex: 1; }

/* ---------- امکانات ---------- */
.amen-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; }
.amen-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.3rem; text-align: center; transition: .3s;
}
.amen-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.amen-card .ic {
  width: 58px; height: 58px; margin: 0 auto .9rem; border-radius: 18px;
  background: var(--primary-soft); display: grid; place-items: center; color: var(--primary);
}
.amen-card .ic svg { width: 28px; height: 28px; }
.amen-card b { font-size: .98rem; color: var(--ink); display: block; margin-bottom: .25rem; }
.amen-card span { font-size: .8rem; color: var(--muted); }

/* ---------- گالری ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: .9rem; }
.gallery-grid figure { position: relative; border-radius: 16px; overflow: hidden; cursor: pointer; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem; font-size: .8rem; font-weight: 600; color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent); opacity: 0; transition: .35s;
}
.gallery-grid figure:hover figcaption { opacity: 1; }
.g-wide { grid-column: span 2; } .g-tall { grid-row: span 2; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

.lightbox { position: fixed; inset: 0; background: rgba(15, 13, 10, .92); z-index: 100; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1000px, 94vw); max-height: 86vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox .lb-close { position: absolute; top: 1.4rem; inset-inline-end: 1.6rem; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; }

/* ---------- رستوران (تیزر در صفحه اصلی) ---------- */
.rest-teaser { position: relative; border-radius: 28px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.rest-teaser > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rest-teaser::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,40,37,.92) 15%, rgba(8,40,37,.25) 60%, transparent); }
.rest-teaser .rt-content { position: relative; z-index: 2; padding: 2.4rem; max-width: 600px; }
.rest-teaser h3 { font-size: 1.8rem; font-weight: 800; margin-bottom: .6rem; }
.rest-teaser p { color: #e7e0cf; font-size: .95rem; margin-bottom: 1.4rem; }

/* ---------- جاذبه‌ها ---------- */
.attr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.attr-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.6; box-shadow: var(--shadow-sm); }
.attr-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.attr-card:hover img { transform: scale(1.06); }
.attr-card .a-info { position: absolute; inset: auto 0 0 0; padding: 2rem 1.2rem 1.1rem; color: #fff; background: linear-gradient(to top, rgba(20,17,12,.85), transparent); }
.attr-card .a-info b { font-size: 1rem; display: block; }
.attr-card .a-info span { font-size: .78rem; color: #ded7c4; }

/* ---------- نظرات ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: relative; }
.testi::before { content: '”'; position: absolute; top: .4rem; inset-inline-end: 1.1rem; font-size: 3.4rem; color: var(--sand-deep); font-family: serif; line-height: 1; }
.testi .stars { color: var(--accent); letter-spacing: 2px; margin-bottom: .6rem; font-size: .9rem; }
.testi p { font-size: .92rem; color: var(--ink-soft); margin-bottom: 1rem; }
.testi .t-user { display: flex; align-items: center; gap: .7rem; }
.testi .t-user .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #f0dcae; display: grid; place-items: center; font-weight: 800; }
.testi .t-user b { font-size: .9rem; display: block; }
.testi .t-user span { font-size: .75rem; color: var(--muted); }

/* ---------- CTA رزرو ---------- */
.cta-band {
  background: var(--primary-deep) var(--pattern); background-blend-mode: screen;
  border-radius: 28px; padding: 3.4rem 2.4rem; text-align: center; color: #fff; box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .8rem; color: #fff; }
.cta-band p { color: #cfe3df; max-width: 560px; margin: 0 auto 1.8rem; }

/* ---------- فوتر ---------- */
.site-footer { background: #131110; color: #b9b2a4; margin-top: 0; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(to left, var(--accent), var(--brick), var(--accent)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3.6rem 0 2.4rem; }
.footer-grid h4 { color: #f0dcae; font-size: 1rem; margin-bottom: 1rem; font-weight: 700; }
.footer-grid ul { list-style: none; display: grid; gap: .5rem; font-size: .88rem; }
.footer-grid ul a:hover { color: #f0dcae; }
.f-about p { font-size: .86rem; max-width: 320px; }
.f-contact li { display: flex; gap: .6rem; align-items: flex-start; font-size: .86rem; }
.f-contact svg { width: 17px; height: 17px; stroke: var(--accent); flex: none; margin-top: .3rem; }
.footer-bottom { border-top: 1px solid #292622; padding: 1.1rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #877f70; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- هدر صفحات داخلی ---------- */
.page-hero { position: relative; min-height: 340px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9,52,49,.92), rgba(9,52,49,.35) 60%, rgba(0,0,0,.25)); z-index: -1; }
.page-hero .container { padding: 3.2rem 0; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 900; }
.page-hero .crumb { font-size: .85rem; color: #e6dfc9; }
.page-hero .crumb a { color: #f0dcae; }

/* ==========================================================
   رستوران
   ========================================================== */
.menu-toolbar { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
.menu-tab {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); font-weight: 700;
  padding: .55rem 1.5rem; border-radius: 999px; cursor: pointer; transition: .25s; font-size: .92rem;
}
.menu-tab:hover { border-color: var(--primary); color: var(--primary); }
.menu-tab.active { background: var(--primary); border-color: var(--primary); color: #f0dcae; }

.menu-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.4rem; margin-bottom: 3.2rem; }
.pick-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .3s; }
.pick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pick-card .p-media { position: relative; aspect-ratio: 16/10; }
.pick-card .p-media img { width: 100%; height: 100%; object-fit: cover; }
.pick-card .p-badge { position: absolute; top: 10px; inset-inline-start: 10px; background: var(--accent); color: #2b2110; font-size: .72rem; font-weight: 800; border-radius: 999px; padding: .2rem .8rem; }
.pick-card .p-body { padding: 1.1rem 1.2rem 1.3rem; }
.pick-card .p-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.pick-card b { font-size: 1rem; }
.pick-card .p-price { color: var(--accent-deep); font-weight: 800; white-space: nowrap; }
.pick-card .p-price small { font-size: .68rem; font-weight: 500; color: var(--muted); }
.pick-card p { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 3rem; }
@media (max-width: 800px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item { display: flex; align-items: baseline; gap: .8rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.menu-item .mi-name { font-weight: 700; font-size: 1rem; }
.menu-item .mi-desc { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.menu-item .mi-dots { flex: 1; border-bottom: 2px dotted var(--sand-deep); transform: translateY(-4px); }
.menu-item .mi-price { font-weight: 800; color: var(--primary); white-space: nowrap; }
.menu-item .mi-price small { font-size: .7rem; color: var(--muted); font-weight: 500; }
.menu-cat-title { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; color: var(--primary-deep); font-size: 1.15rem; font-weight: 800; }
.menu-cat-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.rest-note { background: var(--sand); border: 1px dashed var(--accent); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-top: 2.8rem; font-size: .88rem; color: var(--ink-soft); display: flex; gap: .8rem; align-items: flex-start; }
.rest-note svg { width: 22px; height: 22px; stroke: var(--accent-deep); flex: none; margin-top: .15rem; }

/* ==========================================================
   رزرواسیون
   ========================================================== */
.booking-wrap { display: grid; grid-template-columns: 1fr 360px; gap: 2.2rem; align-items: start; }
@media (max-width: 980px) { .booking-wrap { grid-template-columns: 1fr; } }

.steps-bar { display: flex; gap: .4rem; margin-bottom: 2rem; flex-wrap: wrap; }
.step-pill { display: flex; align-items: center; gap: .55rem; padding: .5rem 1rem .5rem 1.3rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--muted); }
.step-pill .n { width: 26px; height: 26px; border-radius: 50%; background: var(--sand-deep); color: var(--ink-soft); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.step-pill.active { border-color: var(--primary); color: var(--primary-deep); background: var(--primary-soft); }
.step-pill.active .n { background: var(--primary); color: #fff; }
.step-pill.done { color: var(--ok); border-color: #cfe6d8; background: #f2faf5; }
.step-pill.done .n { background: var(--ok); color: #fff; }
.step-arrow { align-self: center; color: var(--sand-deep); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.15rem; font-weight: 800; color: var(--primary-deep); margin-bottom: .3rem; }
.panel .panel-sub { font-size: .85rem; color: var(--muted); margin-bottom: 1.4rem; }

.wiz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; }

/* تقویم */
.jal-picker { border: 1.5px solid var(--line); border-radius: 18px; padding: 1.2rem; background: var(--paper); }
.jal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
@media (max-width: 700px) { .jal-months { grid-template-columns: 1fr; } }
.jal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8rem; }
.jal-nav b { font-size: .95rem; color: var(--primary-deep); }
.jal-nav button { border: 1px solid var(--line); background: #fff; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; font-size: 1rem; color: var(--primary); display: grid; place-items: center; }
.jal-nav button:hover { background: var(--primary); color: #fff; }
.jal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.jal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.jal-grid .wd { font-size: .7rem; color: var(--muted); font-weight: 700; padding: .25rem 0; }
.jal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: .85rem; font-weight: 600;
  cursor: pointer; border: 0; background: transparent; color: var(--ink); transition: .18s; position: relative;
}
.jal-day:hover:not(:disabled) { background: var(--primary-soft); }
.jal-day.off { color: var(--line); cursor: default; }
.jal-day.today::after { content: ''; position: absolute; bottom: 4px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.jal-day.in-range { background: var(--primary-soft); border-radius: 0; }
.jal-day.range-start, .jal-day.range-end { background: var(--primary); color: #fff; }
.jal-day.range-start { border-radius: 0 10px 10px 0; }
.jal-day.range-end { border-radius: 10px 0 0 10px; }
.jal-day:disabled { color: #d7d0bf; cursor: not-allowed; }

.guest-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; }
.counter { display: flex; align-items: center; justify-content: space-between; border: 1.5px solid var(--line); border-radius: 14px; padding: .5rem .6rem .5rem 1rem; background: #fff; }
.counter .c-label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.counter .c-label small { display: block; font-size: .7rem; color: var(--muted); font-weight: 400; }
.counter .c-ctl { display: flex; align-items: center; gap: .65rem; }
.counter .c-ctl button { width: 30px; height: 30px; border-radius: 10px; border: 1.5px solid var(--primary); background: #fff; color: var(--primary); font-size: 1.05rem; font-weight: 800; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.counter .c-ctl button:hover { background: var(--primary); color: #fff; }
.counter .c-ctl b { min-width: 22px; text-align: center; font-size: 1rem; }

/* انتخاب اتاق */
.pick-room { display: grid; gap: 1rem; }
.pr-card { display: grid; grid-template-columns: 150px 1fr auto; gap: 1.2rem; align-items: center; border: 1.5px solid var(--line); border-radius: 18px; padding: 1rem; background: #fff; transition: .25s; }
.pr-card.selected { border-color: var(--primary); background: var(--primary-soft); box-shadow: var(--shadow-sm); }
.pr-card img { width: 150px; height: 100px; object-fit: cover; border-radius: 12px; }
.pr-card .pr-info b { font-size: 1rem; display: block; }
.pr-card .pr-info .pr-meta { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.pr-card .pr-price { font-weight: 800; color: var(--accent-deep); font-size: .95rem; margin-top: .3rem; }
.pr-card .pr-price small { font-weight: 500; color: var(--muted); font-size: .72rem; }
.pr-card .pr-ctl { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
@media (max-width: 640px) { .pr-card { grid-template-columns: 1fr; } .pr-card img { width: 100%; height: 150px; } .pr-card .pr-ctl { flex-direction: row; justify-content: space-between; } }

/* فرم */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.fld { display: grid; gap: .35rem; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.fld label em { color: var(--danger); font-style: normal; }
.fld input, .fld select, .fld textarea {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem 1rem; background: var(--paper);
  transition: .2s; width: 100%; color: var(--ink);
}
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-soft); background: #fff; }
.fld.invalid input, .fld.invalid select { border-color: var(--danger); }
.fld .err { font-size: .72rem; color: var(--danger); display: none; }
.fld.invalid .err { display: block; }

/* سایدبار خلاصه */
.summary-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; position: sticky; top: 96px; box-shadow: var(--shadow-sm); }
.summary-card .s-head { background: var(--primary-deep); color: #f0dcae; padding: 1.1rem 1.4rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; }
.summary-card .s-body { padding: 1.3rem 1.4rem; display: grid; gap: .8rem; }
.s-row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--ink-soft); }
.s-row b { color: var(--ink); }
.s-row.total { border-top: 1.5px dashed var(--line); padding-top: .8rem; font-size: 1rem; }
.s-row.total b { color: var(--primary-deep); font-size: 1.15rem; }
.s-empty { text-align: center; color: var(--muted); font-size: .85rem; padding: 1rem 0; }
.s-badge { background: var(--accent); color: #2b2110; font-size: .68rem; font-weight: 800; border-radius: 999px; padding: .15rem .7rem; }

/* روش پرداخت */
.pay-opts { display: grid; gap: .9rem; margin-top: 1rem; }
.pay-opt { display: flex; gap: 1rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 16px; padding: 1.1rem 1.2rem; cursor: pointer; transition: .2s; background: #fff; }
.pay-opt:hover { border-color: var(--accent); }
.pay-opt.active { border-color: var(--primary); background: var(--primary-soft); }
.pay-opt input { margin-top: .35rem; accent-color: var(--primary); }
.pay-opt b { display: block; font-size: .95rem; }
.pay-opt span { font-size: .79rem; color: var(--muted); }

/* نتیجه رزرو */
.result-box { text-align: center; padding: 2.4rem 1.4rem; }
.result-box .r-ic { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.2rem; display: grid; place-items: center; }
.result-box .r-ic.ok { background: #e7f6ec; color: var(--ok); }
.result-box .r-ic.warn { background: #fdf3e3; color: #b07a1e; }
.result-box .r-ic svg { width: 42px; height: 42px; }
.result-box h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary-deep); }
.result-box p { color: var(--ink-soft); margin: .6rem auto 1.4rem; max-width: 480px; font-size: .93rem; }
.track-code { display: inline-flex; align-items: center; gap: .8rem; background: var(--sand); border: 1.5px dashed var(--accent); padding: .7rem 1.4rem; border-radius: 14px; font-weight: 800; font-size: 1.15rem; color: var(--primary-deep); letter-spacing: 1px; cursor: pointer; }
.track-code small { font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: 0; }

/* مودال درگاه شبیه‌سازی */
.gw-modal { position: fixed; inset: 0; z-index: 120; background: rgba(15, 13, 10, .6); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 1rem; }
.gw-modal.open { display: flex; }
.gw-box { background: #fff; border-radius: 22px; max-width: 420px; width: 100%; overflow: hidden; box-shadow: var(--shadow); animation: pop .35s ease; }
@keyframes pop { from { transform: scale(.92) translateY(14px); opacity: 0; } }
.gw-head { background: #ffd60a; color: #3a2f00; padding: 1rem 1.3rem; display: flex; justify-content: space-between; align-items: center; font-weight: 800; }
.gw-head small { font-weight: 500; font-size: .72rem; }
.gw-body { padding: 1.6rem 1.3rem; display: grid; gap: .9rem; }
.gw-amount { text-align: center; padding: .8rem; background: var(--sand); border-radius: 12px; font-weight: 800; color: var(--primary-deep); font-size: 1.1rem; }

/* اسکرول به بالا */
.to-top { position: fixed; bottom: 1.4rem; inset-inline-start: 1.4rem; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--primary); color: #f0dcae; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: .3s; z-index: 70; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* انیمیشن ظاهر شدن */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* پنل شناور رزرو سریع */
.qb-panel {
  position: absolute; top: calc(100% + 10px); inset-inline: 0; z-index: 50;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
  padding: .6rem; animation: pop .3s ease;
}
.jal-month { min-width: 0; }
.jal-second .jal-nav { visibility: hidden; }

/* نوتیفیکیشن */
.toast { position: fixed; bottom: 1.6rem; inset-inline-end: 1.6rem; background: var(--ink); color: #fff; padding: .9rem 1.4rem; border-radius: 14px; font-size: .88rem; font-weight: 600; box-shadow: var(--shadow); z-index: 200; transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.9,.3,1.2); max-width: 340px; }
.toast.show { transform: none; }
.toast.ok { background: var(--ok); }
.toast.err { background: var(--danger); }
