/* =========================================================
   Pachira | پاچیرا — Luxury Minimal v5
   ========================================================= */

:root {
  /* ── پالت جدید: بلوطی (اصلی) + زیتونی (فرعی) ── */
  --sand:        #c79968;   /* بلوط روشن - پس‌زمینه‌های ملایم */
  --sand-light:  #ddc9a3;   /* بلوط بسیار روشن - هایلایت */
  --sand-dark:   #a97c50;   /* بلوط متوسط */
  --olive:       #ac875f;   /* بلوطی غالب - رنگ اصلی برند (از عکس چوب واقعی) */
  --olive-dark:  #886846;   /* بلوطی تیره - حالت هاور رنگ اصلی */
  --olive-deep:  #3d2b1c;   /* قهوه‌ای تیره - پس‌زمینه هدر/منو/هیرو */
  --secondary:      #504c35;   /* زیتونی - رنگ فرعی برند (۲ درجه تیره‌تر) */
  --secondary-dark: #343123;   /* زیتونی تیره - حالت هاور رنگ فرعی */
  --cream:       #e9dcc3;   /* پس‌زمینه گرم - یک پله تیره‌تر برای حس مینیمال */
  --white:       #fffdf9;
  --ink:         #24140d;
  --ink-soft:    #4a3624;
  --muted:       #8d7a63;
  --border:      #d3b98d;
  --danger:      #9c3f2e;
  --success:     #4a6741;
  --brass:       #b8935a;   /* برنز - برای جزئیات و خطوط تزئینی */

  --r-sm: 6px; --r-md: 14px; --r-lg: 24px; --r-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(43,24,16,.06);
  --shadow-md: 0 10px 36px rgba(43,24,16,.09);
  --shadow-lg: 0 24px 64px rgba(43,24,16,.13);
  --t-fast: .18s ease; --t-mid: .32s ease; --t-slow: .7s cubic-bezier(.22,.61,.36,1);
  --font-body: 'Vazirmatn', Tahoma, sans-serif;
  --font-display: 'Noto Naskh Arabic', 'Vazirmatn', Georgia, serif;
  --max-w: 1240px;
}

/* ── بافت رگه‌های چوب (Wood Grain) ── */
.wood-grain {
  background-image:
    repeating-linear-gradient(95deg,
      rgba(43,24,16,.05) 0px, rgba(43,24,16,.05) 1px,
      transparent 1px, transparent 7px),
    repeating-linear-gradient(95deg,
      rgba(184,147,90,.06) 0px, rgba(184,147,90,.06) 2px,
      transparent 2px, transparent 22px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  direction: rtl;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
/* ── ویگنت پس‌زمینه: عنصر واقعی (نه pseudo) برای اطمینان از نمایش در همه مرورگرها ── */
#pachiraVignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99999;
  background: radial-gradient(ellipse 80% 75% at 50% 45%,
      transparent 0%,
      transparent 35%,
      rgba(45,42,26,.12) 65%,
      rgba(45,42,26,.30) 85%,
      rgba(45,42,26,.48) 100%
  );
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }
.container { width: min(var(--max-w),100%); margin-inline: auto; padding-inline: clamp(16px,4vw,48px); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--sand-light); }
::-webkit-scrollbar-thumb { background: var(--olive); border-radius: 99px; }

/* گل تزئینی — الگو روی زمینه رنگ برند (sand) */
.floral-bg {
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cg opacity='0.55'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='55' y2='62' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='25' y2='62' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='55' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='25' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3Cg opacity='0.4' transform='translate(170,150) scale(0.8)'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='55' y2='62' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='25' y2='62' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='55' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='25' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3Cg opacity='0.3' transform='translate(200,20) scale(0.55) rotate(20)'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 175px 175px;
}

/* ════════════════════════════════════════
   HEADER — یک ردیف: لوگو + سرچ وسط + آیکون‌ها
════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(172,135,95,.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(61,43,28,.15);
  transition: box-shadow var(--t-fast);
}
.site-header::before {
  content: '';
  position: absolute;
  top: -20px; left: -10px;
  width: 90px; height: 110px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Cline x1='35' y1='68' x2='50' y2='55' stroke-width='.9'/%3E%3Cline x1='35' y1='68' x2='20' y2='55' stroke-width='.9'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='50' cy='55' r='2.6' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='20' cy='55' r='2.6' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .22;
  pointer-events: none;
  transform: rotate(-12deg);
}
.site-header::after {
  content: '';
  position: absolute;
  top: -16px; right: -6px;
  width: 76px; height: 94px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Cline x1='35' y1='68' x2='50' y2='55' stroke-width='.9'/%3E%3Cline x1='35' y1='68' x2='20' y2='55' stroke-width='.9'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='50' cy='55' r='2.6' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='20' cy='55' r='2.6' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .22;
  pointer-events: none;
  transform: rotate(14deg) scaleX(-1);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.25); }

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 10px;
  position: relative;
}
.header-top::before {
  content: '';
  position: absolute;
  bottom: -12px; left: 32%;
  width: 44px; height: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .22;
  pointer-events: none;
  transform: rotate(-8deg);
}
.header-top::after {
  content: '';
  position: absolute;
  top: -10px; right: 30%;
  width: 40px; height: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .22;
  pointer-events: none;
  transform: rotate(10deg) scaleX(-1);
}

/* لوگو بسیار بزرگ - سفید روی هدر تیره */
.logo { display: flex; align-items: center; }
.logo img {
  height: 140px;
  width: auto;
  transition: transform var(--t-mid);
  filter: drop-shadow(0 1px 2px rgba(61,43,28,.25));
}
.logo:hover img { transform: scale(1.02); }

/* سرچ در همان ردیف، وسط */
.header-search {
  display: flex;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  background: rgba(255,253,249,.65);
  border: 1.5px solid rgba(61,43,28,.2);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.header-search:focus-within { border-color: var(--olive-deep); background: rgba(255,253,249,.9); }
.header-search input {
  flex: 1;
  padding: 13px 20px;
  background: transparent;
  border: none; outline: none;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  padding: 0 22px;
  background: var(--secondary);
  color: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.header-search button:hover { background: var(--secondary-dark); }
.header-search button svg { width: 17px; height: 17px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.ha-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border-radius: var(--r-xl);
  font-size: 13px; font-weight: 500;
  color: rgba(61,43,28,.85);
  border: none; background: none;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.ha-btn:hover { background: rgba(61,43,28,.08); color: var(--ink); }
.ha-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.ha-btn.cart-btn { background: var(--secondary); color: var(--white); position: relative; }
.ha-btn.cart-btn:hover { background: var(--secondary-dark); }
.cart-badge {
  position: absolute; top: -5px; inset-inline-end: -5px;
  background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--olive); padding: 0 3px;
}

/* Nav */
.main-nav { background: rgba(186,155,122,.9); border-top: 1px solid rgba(61,43,28,.12); border-bottom: 1px solid rgba(61,43,28,.12); position: relative; overflow: hidden; }
.main-nav::before {
  content: '';
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%) rotate(4deg);
  width: 60px; height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: top center;
  opacity: .22;
  pointer-events: none;
}
.main-nav .container { display: flex; align-items: center; justify-content: center; gap: 2px; flex-wrap: wrap; }
.nav-link {
  display: block; padding: 12px 20px;
  font-size: 13.5px; font-weight: 500;
  color: rgba(61,43,28,.8); white-space: nowrap;
  position: relative; transition: color var(--t-fast);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--olive-deep);
  transition: left var(--t-mid), right var(--t-mid);
  border-radius: 2px 2px 0 0;
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { left: 18px; right: 18px; }

.mobile-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink); }
.mobile-toggle svg { width: 22px; height: 22px; }

/* ── منوی زیرشاخه دسته‌بندی‌ها (Dropdown) ── */
.nav-dropdown { position: relative; }
.nav-link-parent { display: flex; align-items: center; gap: 5px; }
.nav-caret { width: 12px; height: 12px; transition: transform var(--t-fast); }
.nav-dropdown:hover .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%; right: 0;
  min-width: 200px;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(4px);
}
.nav-dropdown-item {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--sand-light); color: var(--olive-dark); }
.nav-dropdown-item-all { font-weight: 600; color: var(--olive); border-bottom: 1px solid var(--border); border-radius: 0; margin-bottom: 6px; padding-bottom: 11px; }

/* ════════════════════════════════════════
   HERO — تمام‌عرض سینمایی، عکس‌محور، حس ادیتوریال Pinterest
════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--olive);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: heroBgZoom 16s ease-in-out infinite alternate;
  filter: saturate(.85) brightness(.72);
}
@keyframes heroBgZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.16); }
}
/* گرادیان تیره برای خوانایی متن - بیشتر در پایین */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(61,43,28,.92) 0%, rgba(61,43,28,.55) 38%, rgba(61,43,28,.15) 65%, transparent 100%),
    linear-gradient(to left, rgba(61,43,28,.35), transparent 45%);
}
/* بافت رگه چوب ظریف روی همه چیز */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background-image: repeating-linear-gradient(94deg, rgba(0,0,0,.1) 0px, rgba(0,0,0,.1) 1px, transparent 1px, transparent 10px);
  mix-blend-mode: overlay;
  opacity: .5;
}

.hero .container {
  position: relative; z-index: 2;
  width: 100%;
  padding-block: clamp(36px,5vw,56px) clamp(28px,4vw,40px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px,4vw,56px);
  flex-wrap: wrap;
}

.hero-content { max-width: 640px; flex: 1 1 360px; align-self: flex-start; padding-top: 8px; }

/* متن پویا دسته‌بندی که همراه کارت اسلایدر تغییر می‌کند */
.hero-cat-text-item { display: none; }
.hero-cat-text-item.active {
  display: block;
  animation: heroCatTextIn .6s cubic-bezier(.22,.61,.36,1) forwards;
}
@keyframes heroCatTextIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass);
  padding: 0; margin-bottom: 16px;
  opacity: 0; animation: fadeUp .8s ease .1s forwards;
}
.hero-tag::before { content: ''; width: 28px; height: 1px; background: var(--brass); }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px,4.4vw,52px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 4px 30px rgba(0,0,0,.3);
  opacity: 0; animation: fadeUp .8s ease .25s forwards;
}
.hero-title span {
  background: linear-gradient(90deg, var(--brass) 0%, #e8cd9a 50%, var(--brass) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 14.5px; color: rgba(248,241,228,.78); line-height: 1.85; max-width: 440px; margin-bottom: 26px;
  opacity: 0; animation: fadeUp .8s ease .4s forwards;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  opacity: 0; animation: fadeUp .8s ease .55s forwards;
}
.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--brass), #9a7440);
  border-color: var(--brass);
  box-shadow: 0 10px 30px rgba(184,147,90,.3);
}
.hero-actions .btn-primary:hover { box-shadow: 0 14px 36px rgba(184,147,90,.45); transform: translateY(-2px); }
.hero-actions .btn-outline { color: var(--white); border-color: rgba(248,241,228,.4); }
.hero-actions .btn-outline:hover { background: rgba(248,241,228,.1); border-color: var(--white); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* گل ظریف کنار متن Hero - فقط یکی، بدون زیاده‌روی */
.hero-accent-flower {
  position: absolute;
  top: clamp(30px,6vw,50px);
  left: clamp(20px,4vw,60px);
  width: 60px; height: 78px;
  opacity: .3;
  z-index: 1;
  animation: floatSway 8s ease-in-out infinite;
  pointer-events: none;
}
.hero-accent-flower-2 {
  top: auto;
  bottom: clamp(24px,5vw,44px);
  left: auto;
  right: clamp(16px,4vw,48px);
  width: 44px; height: 58px;
  opacity: .22;
  animation-delay: 2s;
  animation-duration: 10s;
  transform: scaleX(-1);
}
@keyframes floatSway {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* ── کارت اسلایدر دسته‌بندی‌ها - سمت چپ Hero (روی عکس ثابت هیرو) ── */
.hero-cat-slider {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  flex: 0 0 auto;
  width: clamp(320px, 52vw, 600px);
  max-width: 100%;
  aspect-ratio: 16/9;
  opacity: 0;
  animation: heroImgIn .5s cubic-bezier(.22,.61,.36,1) .08s forwards, heroFloat 6s ease-in-out .6s infinite;
}
@keyframes heroImgIn {
  from { opacity: 0; transform: translateY(28px) scale(.9) rotate(-3deg); }
  to   { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hcs-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 3px solid var(--brass);
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px rgba(184,147,90,.4);
}

.hcs-slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.hcs-slide.active { opacity: 1; visibility: visible; }

.hcs-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter .4s ease, transform 6s ease;
}
.hcs-frame:hover .hcs-slide.active img { filter: blur(4px) brightness(.6); transform: scale(1.06); }

.hcs-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.hcs-frame:hover .hcs-overlay { opacity: 1; pointer-events: auto; }
.hcs-overlay .hcs-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}
.hcs-overlay .btn { padding: 9px 22px; font-size: 12.5px; }

/* تامبنیل‌های انتخاب دسته‌بندی - جایگزین نقطه‌های ساده */
.hcs-thumbs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hcs-thumb {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.hcs-thumb-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.hcs-thumb-img img { width: 100%; height: 100%; object-fit: cover; }
.hcs-thumb:hover .hcs-thumb-img { transform: scale(1.08); }
.hcs-thumb.active .hcs-thumb-img { border-color: var(--brass); }
.hcs-thumb-name {
  font-size: 10.5px;
  color: rgba(248,241,228,.65);
  transition: color var(--t-fast);
  max-width: 60px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hcs-thumb.active .hcs-thumb-name { color: var(--brass); font-weight: 600; }
.hcs-thumb:hover .hcs-thumb-name { color: var(--white); }

/* گوشه‌های برنزی تزئینی دور کارت */
.hero-visual-corner {
  position: absolute;
  width: 34px; height: 34px;
  z-index: 4;
  pointer-events: none;
}
.hero-visual-corner.tl { top: -10px; left: -10px; border-top: 2px solid var(--brass); border-left: 2px solid var(--brass); }
.hero-visual-corner.br { bottom: -10px; right: -10px; border-bottom: 2px solid var(--brass); border-right: 2px solid var(--brass); }

/* نشانگر اسکرول - گوشه بالا سمت راست، دور از محتوای پایین */
.hero-scroll {
  position: absolute;
  top: clamp(100px,14vw,140px);
  right: clamp(20px,4vw,48px);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0; animation: fadeUp .8s ease .85s forwards;
}
.hero-scroll span { font-size: 10px; letter-spacing: .2em; color: rgba(248,241,228,.5); text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll .hs-dot {
  width: 1px; height: 40px;
  background: rgba(248,241,228,.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll .hs-dot::after {
  content: '';
  position: absolute; top: -40px; left: 0; right: 0;
  height: 40px;
  background: var(--brass);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -40px; }
  60% { top: 40px; }
  100% { top: 40px; }
}

/* لینک‌های سریع */
.hero-strip { padding-block: 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--sand-light); }
.hero-strip .container { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.strip-link { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--olive-dark); transition: gap var(--t-fast), color var(--t-fast); }
.strip-link:hover { gap: 13px; color: var(--olive); }
.strip-link svg { width: 15px; height: 15px; }

/* ════════════════════════════════════════
   SALE SLIDER — اسلایدر پیشنهادهای ویژه
════════════════════════════════════════ */
.sale-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 260px;
  box-shadow: var(--shadow-md);
}
.sale-slide {
  display: none;
  position: relative;
  min-height: 260px;
  align-items: center;
}
.sale-slide.active { display: flex; animation: fadeSlide .6s ease; }
@keyframes fadeSlide { from { opacity: 0; } to { opacity: 1; } }
.sale-slide-bg { position: absolute; inset: 0; }
.sale-slide-bg img { width: 100%; height: 100%; object-fit: cover; }
.sale-slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(43,24,16,.72) 30%, rgba(43,24,16,.25) 100%); }
.sale-slide-content { position: relative; z-index: 1; padding: clamp(28px,4vw,56px); max-width: 460px; }
.sale-slide-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--danger); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 5px 14px; border-radius: var(--r-xl); margin-bottom: 16px;
}
.sale-slide-title { font-family: var(--font-display); font-size: clamp(22px,2.8vw,34px); color: #fff; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
.sale-slide-desc { font-size: 13.5px; color: rgba(255,255,255,.8); margin-bottom: 22px; line-height: 1.8; }
.slider-dots { position: absolute; bottom: 18px; inset-inline-start: 50%; transform: translateX(50%); display: flex; gap: 8px; z-index: 2; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; padding: 0; cursor: pointer; transition: background var(--t-fast), width var(--t-fast); }
.slider-dot.active { background: #fff; width: 22px; border-radius: 4px; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background var(--t-fast); }
.slider-nav:hover { background: rgba(255,255,255,.28); }
.slider-nav svg { width: 16px; height: 16px; }
.slider-prev { inset-inline-start: 16px; }
.slider-next { inset-inline-end: 16px; }

/* ════════════════════════════════════════
   REVIEWS — نظرات و امتیاز محصولات (طراحی حرفه‌ای)
════════════════════════════════════════ */
.reviews-section { padding-block: 48px; border-top: 1px solid var(--border); margin-top: 24px; }
.reviews-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 20px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.reviews-title-group { display: flex; flex-direction: column; gap: 4px; }
.reviews-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); font-weight: 600; }
.reviews-title { font-family: var(--font-display); font-size: 24px; color: var(--olive-deep); font-weight: 700; }

.rating-summary {
  display: flex; align-items: center; gap: 18px;
  background: var(--sand-light);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 14px 26px;
}
.rating-summary .avg-block { text-align: center; }
.rating-summary .avg-num { font-size: 32px; font-weight: 700; color: var(--olive-deep); font-family: var(--font-display); line-height: 1; }
.rating-summary .avg-max { font-size: 13px; color: var(--muted); }
.rating-summary-divider { width: 1px; height: 38px; background: var(--border); }
.stars { display: inline-flex; gap: 3px; color: #d8b23a; }
.stars svg { width: 15px; height: 15px; }
.stars .star-empty { color: var(--sand-dark); }
.rating-count { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* لیست نظرات */
.reviews-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  transition: box-shadow var(--t-fast), border-color var(--t-fast);
}
.review-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }

.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive), var(--olive-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-body { flex: 1; min-width: 0; }
.review-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 6px; flex-wrap: wrap; }
.review-author-row { display: flex; align-items: center; gap: 8px; }
.review-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 600; color: var(--success);
  background: rgba(61,92,53,.09); padding: 2px 9px; border-radius: var(--r-xl);
}
.review-verified svg { width: 11px; height: 11px; }
.review-date { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.review-text { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; margin-top: 8px; }

.reviews-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--sand-light);
  border-radius: var(--r-lg);
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 32px;
}
.reviews-empty svg { width: 32px; height: 32px; color: var(--olive); margin-bottom: 10px; opacity: .6; }

/* فرم ثبت نظر */
.review-form-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-form-box h4 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--olive-deep);
  margin-bottom: 4px;
}
.review-form-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.star-picker-label { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 8px; display: block; }
.star-picker { display: flex; gap: 6px; margin-bottom: 18px; flex-direction: row-reverse; justify-content: flex-end; }
.star-picker input { display: none; }
.star-picker label { cursor: pointer; color: var(--sand-dark); transition: color var(--t-fast), transform var(--t-fast); }
.star-picker label:hover { transform: scale(1.15); }
.star-picker label svg { width: 26px; height: 26px; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: #d8b23a; }
.review-note { font-size: 12px; color: var(--muted); margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.review-note svg { width: 13px; height: 13px; flex-shrink: 0; }
.review-login-prompt {
  text-align: center;
  padding: 28px;
  background: var(--sand-light);
  border-radius: var(--r-lg);
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* جداکننده گلی ظریف بین بخش‌ها */
.floral-divider {
  display: flex;
  justify-content: center;
  padding-block: 8px;
  opacity: .45;
}
.floral-divider svg { width: 200px; height: 32px; }

/* ════════════════════════════════════════
   PAGE HERO — هدر بالای صفحات داخلی (محصولات/دسته‌بندی/...)
   با پس‌زمینه گل مثل صفحه اصلی
════════════════════════════════════════ */
.page-hero {
  padding-block: 20px 36px;
  position: relative;
  overflow: hidden;
}
.page-hero .breadcrumb { position: relative; z-index: 1; padding-block: 0 18px; }
.page-hero-title-wrap { position: relative; z-index: 1; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(24px,3vw,38px);
  font-weight: 700;
  color: var(--olive-deep);
  line-height: 1.3;
}

/* انیمیشن ورود عناصر */
.fade-in-up {
  opacity: 0;
  animation: fadeUp .6s ease forwards;
}
.fade-in {
  opacity: 0;
  animation: simpleFade .6s ease forwards;
}
@keyframes simpleFade { from { opacity: 0; } to { opacity: 1; } }
.trust-strip { background: var(--olive); padding-block: 28px; position: relative; overflow: hidden; }
.trust-strip::before {
  content: '';
  position: absolute;
  bottom: -18px; left: 4%;
  width: 60px; height: 76px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .22;
  pointer-events: none;
  transform: rotate(8deg);
}
.trust-strip::after {
  content: '';
  position: absolute;
  top: -18px; right: 6%;
  width: 60px; height: 76px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .22;
  pointer-events: none;
  transform: rotate(-10deg) scaleX(-1);
}
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
.trust-grid::before {
  content: '';
  position: absolute;
  top: -14px; left: 26%;
  width: 48px; height: 62px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .2;
  pointer-events: none;
  transform: rotate(6deg);
}
.trust-grid::after {
  content: '';
  position: absolute;
  bottom: -14px; right: 24%;
  width: 48px; height: 62px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .2;
  pointer-events: none;
  transform: rotate(-8deg) scaleX(-1);
}
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary); border: 1px solid var(--secondary-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-icon svg { width: 17px; height: 17px; color: var(--white); }
.trust-title { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.trust-sub { font-size: 11px; color: rgba(61,43,28,.6); margin-top: 2px; }

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
.section { padding-block: clamp(44px,6.5vw,88px); position: relative; }
.section-alt { background: var(--sand-light); }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 16px; }
.section-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--secondary); font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.section-label::before, .section-label::after { content:''; display:inline-block; width:20px; height:1px; background:var(--olive); opacity:.5; }
.section-title { font-family: var(--font-display); font-size: clamp(22px,2.8vw,36px); font-weight: 700; color: var(--olive-deep); line-height: 1.2; }
.section-link { font-size: 13px; font-weight: 600; color: var(--olive); display: flex; align-items: center; gap: 6px; transition: gap var(--t-fast), color var(--t-fast); }
.section-link:hover { gap: 10px; color: var(--olive-dark); }
.section-link svg { width: 14px; height: 14px; }

/* ════════════════════════════════════════
   PRODUCT GRID — تصاویر کوچک نسبت به متن
════════════════════════════════════════ */
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow var(--t-mid), transform var(--t-mid), border-color var(--t-mid); position: relative; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

/* تصویر کوچک با فاصله بیشتر نسبت به متن */
.product-thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--sand-light); position: relative; margin: 12px 12px 0; border-radius: var(--r-sm); max-height: 180px; }
.product-thumb img { width:100%; height:100%; object-fit:cover; transition: transform var(--t-slow); }
.product-card:hover .product-thumb img { transform: scale(1.08); }

.product-overlay { position: absolute; inset: 0; background: rgba(43,24,16,.34); display: flex; align-items: flex-end; padding: 10px; opacity: 0; transition: opacity var(--t-mid); border-radius: var(--r-sm); }
.product-card:hover .product-overlay { opacity: 1; }
.product-overlay .btn-quick { width: 100%; background: var(--olive); color: var(--white); border: none; border-radius: var(--r-xl); padding: 8px 12px; font-family: var(--font-body); font-size: 11.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 5px; transition: background var(--t-fast), color var(--t-fast); }
.product-overlay .btn-quick:hover { background: var(--secondary-dark); color: var(--white); }
.product-overlay svg { width: 13px; height: 13px; }

.product-badge { position: absolute; top: 20px; inset-inline-start: 20px; background: var(--danger); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-xl); z-index: 1; }
.product-badge-new { background: var(--olive); inset-inline-start: auto; inset-inline-end: 20px; }

.wishlist-toggle-form { position: absolute; top: 58px; inset-inline-end: 14px; z-index: 2; margin: 0; }
.wishlist-heart-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,253,249,.9);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink-soft);
  transition: transform var(--t-fast), color var(--t-fast), background var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.wishlist-heart-btn svg { width: 17px; height: 17px; }
.wishlist-heart-btn:hover { transform: scale(1.1); color: var(--danger); }
.wishlist-heart-btn.active { color: var(--danger); background: var(--white); }

.product-body { padding: 18px 18px 8px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-cat { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); font-weight: 600; }
.product-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.5; transition: color var(--t-fast); }
.product-card:hover .product-name { color: var(--olive-dark); }
.product-price-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.price-final { font-size: 16px; font-weight: 700; color: var(--olive-deep); }
.price-old { font-size: 12px; text-decoration: line-through; color: var(--muted); }
.product-card-actions { padding: 10px 18px 18px; }

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--r-xl); border: 1.5px solid transparent; font-family: var(--font-body); font-size: 13.5px; font-weight: 600; transition: all var(--t-fast); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--olive); color: var(--white); border-color: var(--olive); }
.btn-primary:hover { background: var(--secondary); border-color: var(--secondary); box-shadow: 0 8px 20px rgba(123,117,81,.3); }
.btn-outline { background: transparent; color: var(--secondary-dark); border-color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--olive-dark); border-color: var(--border); }
.btn-outline-dark:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn-block { width: 100%; }

/* ════════════════════════════════════════
   BANNER — اسلاید چرخشی (جدید/حراج/پرفروش) با قاب یکسان
════════════════════════════════════════ */
.banner-wrap { padding-block: clamp(28px,4vw,48px); background: var(--cream); }
.banner-split {
  position: relative;
  height: 440px;
  background: var(--olive);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.bs-slide {
  display: none;
  grid-template-columns: .95fr 1.05fr;
  height: 440px;
}
.bs-slide.active { display: grid; animation: bsFade .6s ease; }
@keyframes bsFade { from { opacity: 0; } to { opacity: 1; } }

.bs-image { overflow: hidden; position: relative; height: 100%; }
.bs-image img { position: absolute; inset: 0; width:100%; height:100%; object-fit:cover; transition: transform 6s ease; filter: saturate(.9) sepia(.12); }
.bs-slide.active .bs-image img { transform: scale(1.06); }
.bs-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(43,24,16,.35), rgba(123,117,81,.28));
  mix-blend-mode: multiply;
}
.bs-content {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: clamp(32px,5vw,64px);
  position: relative;
}
.bs-content::after {
  content: '';
  position: absolute;
  bottom: 18px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 58px;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cline x1='32' y1='60' x2='32' y2='24' stroke-width='1.6'/%3E%3Cline x1='32' y1='40' x2='48' y2='24' stroke-width='1.2'/%3E%3Cline x1='32' y1='40' x2='16' y2='26' stroke-width='1.2'/%3E%3Ccircle cx='48' cy='24' r='3.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='16' cy='26' r='3' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='32' cy='22' r='3' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain;
}
.bs-tag { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--secondary); opacity: 1; margin-bottom: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; z-index: 1; }
.bs-tag::before { content:'✦'; font-size:8px; }
.bs-title { font-family: var(--font-display); font-size: clamp(26px,3.2vw,42px); color: var(--ink); font-weight: 700; line-height: 1.35; margin-bottom: 18px; position: relative; z-index: 1; }
.bs-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 26px; max-width: 360px; position: relative; z-index: 1; }
.bs-content .btn { padding: 11px 24px; font-size: 13px; }
.bs-content .btn-outline-dark { color: var(--ink); border-color: rgba(36,20,13,.5); }

.bs-dots { position: absolute; bottom: 16px; inset-inline-start: 50%; transform: translateX(50%); display: flex; gap: 7px; z-index: 3; }
.bs-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(61,43,28,.3); border: none; padding: 0; cursor: pointer; transition: background var(--t-fast), width var(--t-fast); }
.bs-dot.active { background: var(--secondary); width: 20px; border-radius: 4px; }

/* ════════════════════════════════════════
   SLOGAN — با رنگ برند sand
════════════════════════════════════════ */
.slogan-section { padding-block: clamp(46px,6vw,72px); position: relative; overflow: hidden; background-color: var(--olive); }
.slogan-section.floral-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cg opacity='0.6'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='55' y2='62' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='25' y2='62' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='55' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='25' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3Cg opacity='0.45' transform='translate(170,150) scale(0.8)'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='55' y2='62' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='25' y2='62' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='55' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='25' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3Cg opacity='0.35' transform='translate(200,20) scale(0.55) rotate(20)'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-color: var(--olive);
}

.slogan-consult-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px,4vw,48px);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  text-align: right;
}
.slogan-consult-text { flex: 1 1 420px; }
.slogan-consult-text .slogan-eyebrow-top {
  text-align: right;
  margin-bottom: 10px;
}
.slogan-consult-text .slogan-text {
  text-align: right;
  max-width: 560px;
  margin-inline: 0;
}
.slogan-eyebrow-top {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 15px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.slogan-text { font-family: var(--font-display); font-size: clamp(20px,3.2vw,42px); color: var(--ink); font-weight: 700; line-height: 1.5; max-width: 640px; margin-inline: auto; position: relative; z-index: 1; }
.slogan-eyebrow-bottom {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .15em;
  color: var(--secondary);
  font-weight: 700;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}
.consult-btn {
  margin-top: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: var(--white);
}
.consult-btn-bold {
  font-weight: 800;
  font-size: 15px;
  padding: 15px 34px;
  border-width: 2px;
}

/* ════════════════════════════════════════
   MODAL — مشاوره دیزاین
════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20,11,6,.6);
  backdrop-filter: blur(3px);
  z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  width: min(420px, 100%);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.96);
  transition: transform .3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; top: 14px; left: 14px;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none; background: var(--sand-light);
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.modal-close:hover { background: var(--border); }
.modal-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--sand-light);
  color: var(--olive);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.modal-icon svg { width: 26px; height: 26px; }
.modal-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--olive-deep); margin-bottom: 10px; }
.modal-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; margin-bottom: 26px; }

.modal-social-row { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.modal-social-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); transition: transform var(--t-fast); }
.modal-social-item:hover { transform: translateY(-3px); }
.modal-social-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}
.modal-social-icon svg { width: 22px; height: 22px; }
.modal-social-icon.wa { background: #25d366; }
.modal-social-icon.tg { background: #229ed9; }
.modal-social-icon.ig { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.slogan-divider {
  width: 40px; height: 1px;
  background: var(--olive);
  opacity: .5;
  margin: 22px auto;
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════
   FOOTER FLORAL STRIP — نوار تزئینی گل بالای فوتر
════════════════════════════════════════ */
.footer-floral-strip {
  padding-block: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer-floral-strip.floral-bg {
  background-color: var(--olive);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23504c35' stroke-linecap='round'%3E%3Cg opacity='0.6'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='55' y2='62' stroke-width='1.1'/%3E%3Cline x1='40' y1='75' x2='25' y2='62' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='55' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='25' cy='62' r='2.4' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='40' cy='38' r='2.6' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3Cg opacity='0.45' transform='translate(170,150) scale(0.8)'%3E%3Cline x1='40' y1='90' x2='40' y2='40' stroke-width='1.4'/%3E%3Cline x1='40' y1='60' x2='60' y2='40' stroke-width='1.1'/%3E%3Cline x1='40' y1='60' x2='22' y2='42' stroke-width='1.1'/%3E%3Ccircle cx='60' cy='40' r='3.2' fill='%23504c35' stroke='none'/%3E%3Ccircle cx='22' cy='42' r='2.8' fill='%23504c35' stroke='none'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.footer-floral-strip .strip-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink);
}
.footer-floral-strip .strip-inner .fs-latin {
  font-family: 'Georgia', serif;
  letter-spacing: .35em;
  text-transform: uppercase;
  font-size: 12px;
}
.footer-floral-strip .strip-inner .fs-fa {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.footer-floral-strip .strip-inner .fs-sep { opacity: .5; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer { background: var(--secondary); color: rgba(255,253,249,.78); padding-block: 56px 24px; position: relative; overflow: hidden; }
.site-footer::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(to right, transparent, var(--olive), var(--sand-light), var(--olive), transparent); opacity:.7; }
.site-footer::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 8%;
  width: 70px; height: 90px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23e9dcc3' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Cline x1='35' y1='68' x2='50' y2='55' stroke-width='.9'/%3E%3Cline x1='35' y1='68' x2='20' y2='55' stroke-width='.9'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='50' cy='55' r='2.6' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='20' cy='55' r='2.6' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23e9dcc3' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .12;
  pointer-events: none;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; position: relative; }
.footer-grid::before {
  content: '';
  position: absolute;
  top: -8px; right: 6%;
  width: 60px; height: 78px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 90'%3E%3Cg fill='none' stroke='%23e9dcc3' stroke-linecap='round'%3E%3Cline x1='35' y1='88' x2='35' y2='30' stroke-width='1.4'/%3E%3Cline x1='35' y1='55' x2='58' y2='30' stroke-width='1'/%3E%3Cline x1='35' y1='55' x2='14' y2='32' stroke-width='1'/%3E%3Cline x1='35' y1='68' x2='50' y2='55' stroke-width='.9'/%3E%3Cline x1='35' y1='68' x2='20' y2='55' stroke-width='.9'/%3E%3Ccircle cx='58' cy='30' r='3.4' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='14' cy='32' r='3' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='50' cy='55' r='2.6' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='20' cy='55' r='2.6' fill='%23e9dcc3' stroke='none'/%3E%3Ccircle cx='35' cy='28' r='3' fill='%23e9dcc3' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  opacity: .12;
  pointer-events: none;
  transform: rotate(-10deg) scaleX(-1);
}
.footer-brand img { height: 90px; margin-bottom: 14px; filter: brightness(0) invert(1) opacity(.92); }
.footer-brand p { font-size: 12.5px; line-height: 1.8; max-width: 200px; }

/* ── آیکون‌های شبکه‌های اجتماعی ── */
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,253,249,.12);
  border: 1px solid rgba(255,253,249,.28);
  color: var(--sand-light);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.footer-social-icon:hover { background: var(--olive); color: var(--white); transform: translateY(-3px); }
.footer-social-icon svg { width: 16px; height: 16px; }

/* ── نماد اعتماد الکترونیکی ── */
.footer-trust {
  display: flex; justify-content: center;
  padding-block: 24px;
  border-top: 1px solid rgba(255,253,249,.15);
  margin-top: 8px;
}
.footer-trust img { height: 72px; border-radius: 6px; background: var(--white); padding: 4px; }
.footer-col h4 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sand-light); font-weight: 700; margin-bottom: 14px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,253,249,.15); }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 12.5px; transition: color var(--t-fast); color: rgba(255,253,249,.7); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,253,249,.15); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; }

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: var(--muted); padding-block: 14px; display: flex; align-items: center; gap: 8px; }
.breadcrumb a { color: var(--olive); }
.breadcrumb svg { width: 12px; height: 12px; opacity: .4; }

/* Products page */
/* ── ساید‌بار فیلتر: چسبیده به دیواره راست مرورگر (بیرون از container) ── */
.products-page-flex {
  display: flex;
  align-items: stretch;
  min-height: 70vh;
}
.filters-sidebar-attached {
  flex: 0 0 280px;
  width: 280px;
  background: var(--white);
  border-inline-start: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.filters-sidebar-inner {
  position: sticky;
  top: 172px;
  padding: 28px 24px;
}
.filters-sidebar-inner h3 { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); font-weight: 700; margin-bottom: 18px; padding-bottom: 11px; border-bottom: 1px solid var(--border); }
.filters-sidebar-inner .filter-group { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.filters-sidebar-inner .filter-group:last-child { border: none; margin: 0; padding: 0; }
.filters-sidebar-inner .filter-group label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 7px; cursor: pointer; transition: color var(--t-fast); }
.filters-sidebar-inner .filter-group label:hover { color: var(--olive-dark); }
.filters-sidebar-inner .filter-group input[type=checkbox],
.filters-sidebar-inner .filter-group input[type=radio] { accent-color: var(--olive); width:13px; height:13px; }

.products-main-area { flex: 1; min-width: 0; }
.products-inner { max-width: calc(var(--max-w) - 280px); margin-inline: auto; padding: 32px clamp(16px,4vw,48px) 0; }

.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; }
.toolbar-count { font-size: 13px; color: var(--muted); }
.toolbar select { padding: 7px 13px; border: 1.5px solid var(--border); border-radius: var(--r-xl); font-family: var(--font-body); font-size: 12.5px; background: var(--white); outline: none; cursor: pointer; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-sm); border: 1.5px solid var(--border); font-size: 13px; font-weight: 500; transition: all var(--t-fast); }
.pagination a:hover { background: var(--sand-light); border-color: var(--olive); }
.pagination .active { background: var(--olive); color: #fff; border-color: var(--olive); }

/* Product detail */
.product-detail { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(26px,5vw,64px); padding-block: 40px; align-items: flex-start; }
.pd-gallery { position: sticky; top: 180px; max-width: 340px; }
.pd-main-img { aspect-ratio: 1/1; border-radius: var(--r-md); overflow: hidden; background: var(--sand-light); margin-bottom: 10px; box-shadow: var(--shadow-md); cursor: zoom-in; position: relative; }
.pd-zoom-hint {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(36,20,13,.75); color: #fff;
  font-size: 11px; padding: 6px 12px; border-radius: var(--r-xl);
  opacity: 0; transition: opacity var(--t-fast);
  pointer-events: none;
}
.pd-main-img:hover .pd-zoom-hint { opacity: 1; }

/* Lightbox زوم تمام‌صفحه */
.pd-zoom-overlay {
  position: fixed; inset: 0; z-index: 600;
  background: rgba(20,11,6,.92);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.pd-zoom-overlay.open { opacity: 1; visibility: visible; }
.pd-zoom-overlay img { max-width: 100%; max-height: 100%; border-radius: var(--r-sm); object-fit: contain; }
.pd-zoom-close {
  position: absolute; top: 20px; left: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; color: #fff;
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast);
}
.pd-zoom-close:hover { background: rgba(255,255,255,.3); }
.pd-main-img img { width:100%; height:100%; object-fit:cover; transition: transform var(--t-slow); }
.pd-main-img:hover img { transform: scale(1.04); }
.pd-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pd-thumbs img { width: 66px; height: 66px; object-fit: cover; border-radius: var(--r-sm); border: 2px solid var(--border); cursor: pointer; transition: border-color var(--t-fast), transform var(--t-fast); box-shadow: var(--shadow-sm); }
.pd-thumbs img:hover { border-color: var(--brass); transform: translateY(-2px); }
.pd-thumbs img.active { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(107,66,38,.25); }
.pd-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--olive); font-weight: 600; margin-bottom: 10px; }
.pd-name { font-family: var(--font-display); font-size: clamp(22px,2.8vw,36px); font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 18px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.pd-price-final { font-size: 24px; font-weight: 700; color: var(--olive-deep); }
.pd-price-old { font-size: 14px; text-decoration: line-through; color: var(--muted); }
.pd-discount-badge { background: rgba(155,58,48,.1); color: var(--danger); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-xl); }
.pd-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: var(--r-xl); margin-bottom: 20px; }
.pd-stock.in { background: rgba(61,92,53,.09); color: var(--success); }
.pd-stock.out { background: rgba(155,58,48,.09); color: var(--danger); }
.pd-add-row { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; }
.qty-wrap { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.qty-btn { width: 36px; height: 40px; background: none; border: none; font-size: 17px; color: var(--olive); transition: background var(--t-fast); }
.qty-btn:hover { background: var(--sand-light); }
.qty-input { width: 46px; text-align: center; border: none; outline: none; font-family: var(--font-body); font-size: 14px; font-weight: 600; background: transparent; }
.pd-divider { border: none; border-top: 1px solid var(--border); margin-block: 22px; }
.pd-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: flex-start; padding-block: 32px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); padding: 0 0 12px; border-bottom: 2px solid var(--border); text-align: right; font-weight: 700; }
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: 13px; }
.cart-table td:not(:last-child) { padding-inline-end: 14px; }
.cart-product-info { display: flex; align-items: center; gap: 12px; }
.cart-product-img { width: 50px; height: 50px; border-radius: var(--r-sm); object-fit: cover; background: var(--sand-light); flex-shrink: 0; }
.cart-product-name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.qty-sm { width: 48px; padding: 6px 8px; border: 1.5px solid var(--border); border-radius: var(--r-sm); text-align: center; font-family: var(--font-body); font-size: 13px; outline: none; }
.btn-ghost { background: none; border: none; color: var(--muted); font-size: 15px; padding: 6px; transition: color var(--t-fast); border-radius: 50%; }
.btn-ghost:hover { color: var(--danger); background: rgba(155,58,48,.07); }
.cart-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 180px; }
.cart-summary h3 { font-family: var(--font-display); font-size: 17px; color: var(--olive-deep); margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 9px; }
.summary-row.discount { color: var(--danger); }
.summary-divider { border: none; border-top: 1px solid var(--border); margin-block: 13px; }
.summary-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--olive-deep); margin-bottom: 18px; }

/* Forms */
.form-page { min-height: 65vh; display: flex; align-items: center; justify-content: center; padding-block: 44px; }
.form-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(26px,4vw,44px); width: min(440px,100%); box-shadow: var(--shadow-md); }
.form-box-wide { width: min(580px,100%); }
.form-logo { display: block; height: 90px; margin: 0 auto 20px; }
.form-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--olive-deep); text-align: center; margin-bottom: 6px; }
.form-subtitle { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 26px; }
.form-group { margin-bottom: 15px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: var(--r-md); font-family: var(--font-body); font-size: 13.5px; background: var(--cream); outline: none; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.form-control:focus { border-color: var(--olive); box-shadow: 0 0 0 3px rgba(123,117,81,.11); background: var(--white); }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-link { color: var(--olive); font-weight: 600; transition: color var(--t-fast); }
.form-link:hover { color: var(--olive-dark); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--r-md); font-size: 13px; margin-bottom: 15px; display: flex; align-items: center; gap: 9px; }
.alert-error { background: rgba(155,58,48,.09); color: var(--danger); border: 1px solid rgba(155,58,48,.18); }
.alert-success { background: rgba(61,92,53,.09); color: var(--success); border: 1px solid rgba(61,92,53,.18); }
.flash-bar { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 999; display: flex; flex-direction: column; gap: 8px; }
.flash-toast { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 17px; font-size: 13px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 9px; min-width: 250px; animation: toastIn .32s ease; }
@keyframes toastIn { from { opacity:0; transform:translateX(24px);} to { opacity:1; transform:translateX(0);} }
.toast-success { border-inline-start: 4px solid var(--success); }
.toast-error { border-inline-start: 4px solid var(--danger); }
.result-icon { font-size: 52px; text-align: center; margin-bottom: 10px; }
.result-number { text-align: center; background: var(--sand-light); border-radius: var(--r-md); padding: 11px 16px; font-size: 13px; color: var(--ink-soft); margin-block: 16px; }
.result-number strong { color: var(--olive-deep); font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .hero { min-height: 62vh; }
  .hero .container { justify-content: center; text-align: center; }
  .hero-cat-slider { order: -1; margin-inline: auto; }
  .banner-split { border-radius: var(--r-md); height: auto; }
  .bs-slide { grid-template-columns: 1fr; height: auto; }
  .bs-slide .bs-image { height: 180px; }
}
@media (max-width: 768px) {
  .header-top { grid-template-columns: auto auto; padding-block: 8px; }
  .header-search { display: none; }
  .logo img { height: 120px; }
  .main-nav { display: none; }
  .mobile-toggle { display: flex; }
  .slogan-consult-row { flex-direction: column; text-align: center; }
  .slogan-consult-text { text-align: center; }
  .slogan-consult-text .slogan-eyebrow-top,
  .slogan-consult-text .slogan-text { text-align: center; margin-inline: auto; }
  .main-nav.open { display: block; }
  .main-nav.open .container { flex-direction: column; gap: 0; }
  .nav-link { border-bottom: 1px solid var(--border); padding: 12px 20px; }
  .nav-dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-radius: 0;
    background: var(--cream); padding: 0 0 0 20px; display: none;
  }
  .nav-dropdown.mobile-open .nav-dropdown-menu { display: block; }
  .nav-dropdown-item { padding: 10px 20px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .nav-caret { margin-inline-start: auto; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .products-page-flex { flex-direction: column; }
  .filters-sidebar-attached { width: 100%; border-inline-start: none; border-bottom: 1px solid var(--border); }
  .filters-sidebar-inner { position: static; }
  .products-inner { max-width: 100%; margin-inline: auto; padding-inline: clamp(16px,4vw,48px); }
  .product-detail { grid-template-columns: 1fr; }
  .pd-gallery { position: static; max-width: 100%; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .hero-strip .container { gap: 22px; }
  .hero-scroll { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .filters-box { position: static; }
  .sale-slide-content { max-width: 100%; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .ha-label { display: none; }
  .hero-title { font-size: 28px; }
  .logo img { height: 92px; }
  .site-header::before, .site-header::after, .main-nav::before,
  .header-top::before, .header-top::after,
  .trust-strip::before, .trust-strip::after, .trust-grid::before, .trust-grid::after,
  .footer-grid::before, .site-footer::after { display: none; }
}
