/* ============ پاندا کیف — استایل اصلی ============ */
:root {
  --brown-900: #2a1a10;
  --brown-800: #3b2416;
  --brown-700: #5a3720;
  --cognac: #a0522d;
  --cognac-2: #b8693a;
  --gold: #c8a165;
  --cream: #f7f1e8;
  --cream-2: #efe5d6;
  --paper: #fffcf7;
  --ink: #2a1f18;
  --muted: #7a6a5c;
  --line: #e6dccd;
  --green: #2f7d4f;
  --red: #b3342b;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(59, 36, 22, .25);
  --shadow-lg: 0 30px 60px -20px rgba(42, 26, 16, .35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.hide-sm { }
.muted { color: #bfae9c; font-size: .9rem; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brown-800); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--cognac); }
.btn-ghost { border: 1.5px solid var(--brown-800); color: var(--brown-800); }
.btn-ghost:hover { background: var(--brown-800); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--brown-900); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; transition: background .2s;
}
.icon-btn:hover { background: var(--cream-2); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.badge {
  position: absolute; top: 2px; left: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--cognac); color: #fff; font-size: .7rem; font-weight: 700;
  display: grid; place-items: center; line-height: 1;
}
.badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.4); } }

.eyebrow {
  display: inline-block; color: var(--cognac); font-weight: 700; font-size: .85rem;
  letter-spacing: .5px; margin-bottom: 8px;
}
.eyebrow.light { color: var(--gold); }

/* ---------- نوار بالا و هدر ---------- */
.topbar { background: var(--brown-900); color: var(--cream-2); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; padding: 8px 0; gap: 12px; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 247, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.menu-toggle { display: none; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 4px 12px -4px rgba(59, 36, 22, .45), inset 0 0 0 1px rgba(255,255,255,.08);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text strong { font-size: 1.25rem; font-weight: 900; color: var(--brown-800); }
.logo-text small { font-size: .72rem; color: var(--muted); }
.logo.light .logo-text strong { color: var(--cream); }
.logo.light .logo-text small { color: var(--gold); }

.nav { display: flex; gap: 26px; margin-inline-start: 12px; }
.nav a { font-weight: 500; font-size: .95rem; position: relative; padding: 4px 0; }
.nav a::after {
  content: ''; position: absolute; bottom: -2px; right: 0; width: 0; height: 2px;
  background: var(--cognac); transition: width .25s;
}
.nav a:hover::after { width: 100%; }
.nav-head {
  display: none; justify-content: space-between; align-items: center;
  padding-bottom: 16px; margin-bottom: 8px; border-bottom: 2px solid var(--cream-2);
}
.nav-head strong { font-size: 1.1rem; font-weight: 900; color: var(--brown-800); }
.nav-contact { display: none; margin-top: auto; padding-top: 18px; font-size: .88rem; color: var(--muted); line-height: 2; }
.nav-contact a { border: 0 !important; padding: 0 !important; color: var(--cognac); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.search {
  display: flex; align-items: center; gap: 8px; background: var(--cream);
  border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 44px; width: 260px;
  transition: border-color .2s, width .3s;
}
.search:focus-within { border-color: var(--cognac); width: 300px; }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; flex-shrink: 0; }
.search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: .9rem; }

/* ---------- هیرو ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(200,161,101,.22), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 70px 0 90px; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.35; font-weight: 900; color: var(--brown-900); }
.hero h1 em { font-style: normal; color: var(--cognac); }
.hero p { margin: 20px 0 30px; color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 900; color: var(--brown-800); }
.hero-stats span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; height: 520px; }
.hero-blob {
  position: absolute; inset: 30px 40px 20px 20px; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  background: linear-gradient(145deg, var(--cognac-2), var(--brown-800));
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob { to { border-radius: 58% 42% 56% 44% / 42% 58% 42% 58%; transform: rotate(4deg); } }
.hero-img { position: absolute; object-fit: cover; box-shadow: var(--shadow-lg); }
.hero-img-main { width: 72%; height: 82%; top: 6%; right: 6%; border-radius: 28px; }
.hero-img-side {
  width: 40%; height: 40%; bottom: 0; left: 0; border-radius: 22px;
  border: 6px solid var(--paper); animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.hero-tag {
  position: absolute; top: 12%; left: 4%; background: var(--paper); border-radius: 16px;
  padding: 12px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.5;
}
.hero-tag span { font-size: .78rem; color: var(--muted); }
.hero-tag strong { color: var(--brown-800); }

/* ---------- مزایا ---------- */
.features { margin-top: -40px; position: relative; z-index: 2; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.feature { background: #fff; display: flex; gap: 14px; align-items: center; padding: 22px; }
.f-ico { font-size: 1.7rem; width: 52px; height: 52px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; flex-shrink: 0; }
.feature strong { display: block; font-size: .95rem; }
.feature small { color: var(--muted); font-size: .8rem; }

/* ---------- بخش‌ها ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.row { display: flex; justify-content: space-between; align-items: end; text-align: start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; color: var(--brown-900); line-height: 1.4; }

/* دسته‌بندی */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4;
  cursor: pointer; isolation: isolate; text-align: start;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; z-index: -2; }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(30,18,10,.85)); z-index: -1; }
.cat-card:hover img { transform: scale(1.08); }
.cat-card .cat-info { position: absolute; bottom: 0; inset-inline: 0; padding: 18px; color: #fff; }
.cat-card strong { display: block; font-size: 1.02rem; }
.cat-card span { font-size: .78rem; opacity: .8; }
.cat-card .count {
  position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.92); color: var(--brown-800);
  font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; opacity: 1;
}

/* ---------- فروشگاه ---------- */
.shop { background: var(--cream); }
.toolbar { display: flex; gap: 10px; }
.toolbar select {
  height: 44px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; outline: none; cursor: pointer; font-size: .9rem;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  padding: 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; transition: all .2s;
}
.chip:hover { border-color: var(--cognac); color: var(--cognac); }
.chip.active { background: var(--brown-800); color: var(--cream); border-color: var(--brown-800); }
.result-info { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s; animation: fadeUp .5s both;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-media img { transform: scale(1.07); }
.card-tags { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tag { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.tag.off { background: var(--red); }
.tag.new { background: var(--green); }
.tag.out { background: #555; }
.card.sold-out .card-media img { filter: grayscale(.7); opacity: .75; }
.add-btn:disabled { background: #cfc6bb; cursor: not-allowed; transform: none; }
.wish {
  position: absolute; top: 10px; left: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.95); display: grid; place-items: center; transition: transform .2s;
}
.wish:hover { transform: scale(1.12); }
.wish svg { width: 19px; height: 19px; fill: none; stroke: var(--brown-800); stroke-width: 1.8; }
.wish.on svg { fill: var(--red); stroke: var(--red); }
.quick {
  position: absolute; bottom: 12px; inset-inline: 12px; background: rgba(42,26,16,.9); color: var(--cream);
  border-radius: 12px; padding: 9px; font-size: .85rem; font-weight: 700;
  opacity: 0; transform: translateY(10px); transition: all .3s;
}
.card:hover .quick { opacity: 1; transform: none; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { font-size: .76rem; color: var(--muted); }
.card-title { font-size: .98rem; font-weight: 700; line-height: 1.6; cursor: pointer; }
.card-title:hover { color: var(--cognac); }
.rating { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: 4px; }
.rating b { color: #e0a32e; }
.swatches { display: flex; gap: 5px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.card-foot { display: flex; align-items: end; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.4; }
.price del { color: #b3a595; font-size: .8rem; }
.price strong { font-size: 1.08rem; font-weight: 900; color: var(--brown-900); }
.price small { font-size: .72rem; font-weight: 500; color: var(--muted); margin-inline-start: 3px; }
.add-btn {
  width: 44px; height: 44px; border-radius: 14px; background: var(--brown-800); color: var(--cream);
  display: grid; place-items: center; transition: background .2s, transform .2s;
}
.add-btn:hover { background: var(--cognac); transform: rotate(-8deg); }
.add-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .big { font-size: 3rem; display: block; margin-bottom: 8px; }

/* ---------- بنر ---------- */
.promo {
  background: linear-gradient(120deg, var(--brown-900), var(--brown-700)), var(--brown-900);
  color: var(--cream); position: relative; overflow: hidden;
}
.promo::before {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background: url("https://images.pexels.com/photos/30667047/pexels-photo-30667047.jpeg?auto=compress&cs=tinysrgb&w=1400") center/cover;
}
.promo-inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 64px 0; flex-wrap: wrap; }
.promo h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 900; }
.promo p { color: #d8c8b4; max-width: 560px; margin-top: 6px; }

/* ---------- درباره ---------- */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-visual { position: relative; height: 500px; }
.about-visual img { position: absolute; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-img-1 { width: 75%; height: 85%; top: 0; right: 0; }
.about-img-2 { width: 50%; height: 50%; bottom: 0; left: 0; border: 6px solid var(--paper); }
.about-badge {
  position: absolute; bottom: 30px; right: 30px; background: var(--cognac); color: #fff;
  border-radius: 18px; padding: 14px 20px; text-align: center; line-height: 1.3; box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 1.8rem; font-weight: 900; }
.about-badge span { font-size: .8rem; }
.about-text p { color: var(--muted); margin: 14px 0 22px; font-size: 1.02rem; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.checklist li::before {
  content: '✓'; width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2); color: var(--cognac);
  display: grid; place-items: center; font-weight: 900; flex-shrink: 0; font-size: .85rem;
}

/* ---------- نظرات ---------- */
.reviews { background: var(--cream); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 14px -10px rgba(0,0,0,.2); }
.stars { color: #e0a32e; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { color: #4d3f34; margin-bottom: 18px; }
.review figcaption { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.review figcaption span { color: var(--muted); font-size: .85rem; }

/* ---------- خبرنامه ---------- */
.newsletter { padding: 60px 0; }
.newsletter-inner {
  background: linear-gradient(120deg, var(--cognac), var(--cognac-2)); color: #fff; border-radius: 28px;
  padding: 40px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.newsletter h3 { font-size: 1.6rem; font-weight: 900; }
.newsletter p { opacity: .9; }
.news-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; min-width: min(420px, 100%); }
.news-form input { flex: 1; border: 0; outline: 0; padding: 0 16px; background: transparent; color: var(--ink); direction: ltr; text-align: right; min-width: 0; }

/* ---------- فوتر ---------- */
.footer { background: var(--brown-900); color: var(--cream-2); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.footer-grid > div > a:not(.logo) { display: block; color: #bfae9c; font-size: .9rem; padding: 4px 0; transition: color .2s; }
.footer-grid > div > a:not(.logo):hover { color: var(--gold); }
.footer .logo { margin-bottom: 14px; }
.trust { display: flex; gap: 10px; margin-top: 14px; }
.trust span {
  width: 74px; height: 74px; border-radius: 12px; background: #fff1; border: 1px dashed #fff3;
  display: grid; place-items: center; font-size: .72rem; color: #bfae9c; text-align: center;
}
.copyright { border-top: 1px solid #ffffff14; margin-top: 50px; padding: 20px 0; text-align: center; font-size: .82rem; color: #9d8b78; }

/* ---------- لایه، کشو، مودال ---------- */
.overlay {
  position: fixed; inset: 0; background: rgba(20,12,6,.55); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; left: 0; height: 100vh; height: 100dvh; width: min(430px, 100%); background: var(--paper);
  z-index: 100; display: flex; flex-direction: column; transform: translateX(-105%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.15rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }

.ship-progress { padding: 12px 22px; background: var(--cream); font-size: .85rem; }
.ship-progress .bar { height: 6px; border-radius: 99px; background: var(--line); margin-top: 8px; overflow: hidden; }
.ship-progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--cognac)); border-radius: 99px; transition: width .5s; }

.line-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 82px; height: 82px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.li-info { flex: 1; min-width: 0; }
.li-info strong { display: block; font-size: .9rem; line-height: 1.6; }
.li-info small { color: var(--muted); font-size: .78rem; }
.li-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 32px; font-size: 1.1rem; }
.qty button:hover { background: var(--cream-2); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: .9rem; }
.li-price { font-weight: 700; font-size: .92rem; }
.remove { color: var(--muted); font-size: .78rem; text-decoration: underline; margin-top: 4px; }
.remove:hover { color: var(--red); }

.summary-row { display: flex; justify-content: space-between; font-size: .92rem; padding: 4px 0; }
.summary-row.total { font-weight: 900; font-size: 1.1rem; border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 10px; }
.summary-row .green { color: var(--green); }
.coupon { display: flex; gap: 8px; margin: 10px 0 12px; }
.coupon input { flex: 1; height: 42px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; outline: none; min-width: 0; }
.coupon button { padding: 0 16px; border-radius: 10px; background: var(--cream-2); font-weight: 700; font-size: .85rem; }

.modal {
  position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box {
  position: relative; background: var(--paper); border-radius: 24px; width: min(560px, 100%);
  max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.modal-box.wide { width: min(980px, 100%); padding: 0; }
.modal.open .modal-box { transform: none; }
.modal-close { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.9); }

.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-media { position: relative; background: var(--cream-2); min-height: 100%; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.pd-info { padding: 34px 32px; display: flex; flex-direction: column; gap: 12px; }
.pd-info h2 { font-size: 1.45rem; font-weight: 900; line-height: 1.5; }
.pd-info .desc { color: var(--muted); }
.pd-price { display: flex; align-items: baseline; gap: 12px; }
.pd-price strong { font-size: 1.6rem; font-weight: 900; color: var(--brown-900); }
.pd-price del { color: #b3a595; }
.label { font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.color-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.color-opt {
  display: flex; align-items: center; gap: 6px; padding: 6px 12px 6px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); font-size: .82rem; background: #fff;
}
.color-opt i { width: 16px; height: 16px; border-radius: 50%; }
.color-opt.active { border-color: var(--brown-800); background: var(--cream); font-weight: 700; }
.engrave { display: flex; align-items: center; gap: 8px; font-size: .88rem; cursor: pointer; }
.engrave input[type=checkbox] { accent-color: var(--cognac); width: 17px; height: 17px; }
.engrave-input { height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; outline: none; display: none; }
.engrave-input.show { display: block; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--cream); border-radius: 14px; padding: 14px; font-size: .84rem; }
.specs span { color: var(--muted); display: block; font-size: .75rem; }
.pd-actions { display: flex; gap: 10px; margin-top: 4px; }
.pd-actions .qty button { width: 40px; height: 48px; }
.pd-actions .btn { flex: 1; }
.pd-trust { display: flex; gap: 16px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }

/* تسویه حساب */
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.steps span { flex: 1; height: 5px; border-radius: 99px; background: var(--line); }
.steps span.on { background: var(--cognac); }
.co-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 4px; }
.co-sub { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: .82rem; font-weight: 700; }
.field input, .field select, .field textarea {
  height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; outline: none; background: #fff;
  transition: border-color .2s;
}
.field textarea { height: 80px; padding: 10px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cognac); }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: .75rem; display: none; }
.field.error .err { display: block; }
.ltr { direction: ltr; text-align: right; }

.pay-opts { display: grid; gap: 10px; margin: 16px 0; }
.pay-opt {
  display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 14px;
  padding: 14px; cursor: pointer; background: #fff; transition: border-color .2s;
}
.pay-opt input { accent-color: var(--cognac); width: 18px; height: 18px; }
.pay-opt:has(input:checked) { border-color: var(--cognac); background: var(--cream); }
.pay-opt strong { display: block; font-size: .92rem; }
.pay-opt small { color: var(--muted); font-size: .78rem; }
.co-summary { background: var(--cream); border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; }
.co-nav { display: flex; gap: 10px; }
.co-nav .btn { flex: 1; }

.success { text-align: center; padding: 10px 0; }
.success .check {
  width: 84px; height: 84px; border-radius: 50%; background: #e3f2e8; color: var(--green);
  display: grid; place-items: center; margin: 0 auto 16px; font-size: 2.4rem; animation: pop .5s;
}
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
.order-code { display: inline-block; background: var(--cream); border: 1px dashed var(--cognac); padding: 8px 20px; border-radius: 12px; font-weight: 900; letter-spacing: 2px; margin: 12px 0 18px; direction: ltr; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); z-index: 200;
  background: var(--brown-900); color: var(--cream); padding: 13px 22px; border-radius: 14px;
  box-shadow: var(--shadow-lg); font-size: .9rem; transition: transform .4s cubic-bezier(.2,.8,.2,1);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

/* علاقه‌مندی */
.wish-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.wish-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; cursor: pointer; }
.wish-item .li-info { cursor: pointer; }
.drawer-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.drawer-empty .big { font-size: 3rem; display: block; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-card { aspect-ratio: 4/3; }
  .search { width: 200px; }
  .search:focus-within { width: 220px; }
  .nav { gap: 18px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  /* backdrop-filter باعث می‌شد منوی کشویی داخل هدر محبوس شود */
  .header { backdrop-filter: none; background: var(--paper); }
  body.menu-open .header { z-index: 95; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; height: 100dvh; width: min(290px, 82vw);
    background: var(--paper); z-index: 100; overflow-y: auto;
    flex-direction: column; padding: 24px 22px; gap: 2px; margin: 0;
    transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    box-shadow: -20px 0 50px -10px rgba(0,0,0,.35); visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav-head { display: flex !important; }
  .nav-contact { display: block; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .nav a:active { background: var(--cream); }
  .hero-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-inner { padding: 40px 0 80px; }
  .hero-visual { height: 380px; }
  .about-visual { height: 380px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd-media img { aspect-ratio: 4/3; }
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  .topbar-inner { justify-content: center; }
  .header-inner { gap: 8px; height: 66px; }
  .search { display: none; }
  .logo-text small { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card-title { font-size: .86rem; }
  .price strong { font-size: .95rem; }
  .add-btn { width: 38px; height: 38px; }
  .quick { display: none; }
  .hero-stats { gap: 20px; }
  .hero-stats strong { font-size: 1.2rem; }
  .features-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .toolbar { width: 100%; }
  .toolbar select { flex: 1; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-inner { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .modal-box { padding: 22px 18px; }
  .pd-info { padding: 22px 18px; }
  .mobile-search { display: flex !important; }
}
.mobile-search { display: none; margin-bottom: 14px; }
.mobile-search input { flex: 1; height: 46px; border-radius: 12px; border: 1px solid var(--line); padding: 0 14px; outline: none; background: #fff; }
