/* ==================================================
   GALILE — style.css
   WEAR YOUR STORY.
   ================================================== */

/* ============================================
   ۱. متغیرها
   ============================================ */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F4F5;
  --ink: #171719;
  --gold: #B89A5A;
  --gold-soft: rgba(184, 154, 90, 0.10);
  --gold-hover: #a3854b;

  --text: #171719;
  --text-soft: rgba(23, 23, 25, 0.62);
  --text-faint: rgba(23, 23, 25, 0.38);
  --text-mute: rgba(23, 23, 25, 0.15);

  --border: rgba(23, 23, 25, 0.08);
  --border-strong: rgba(23, 23, 25, 0.14);

  --shadow-sm: 0 1px 2px rgba(23, 23, 25, 0.04);
  --shadow-md: 0 4px 20px rgba(23, 23, 25, 0.06);
  --shadow-lg: 0 12px 40px rgba(23, 23, 25, 0.08);
  --shadow-xl: 0 24px 60px rgba(23, 23, 25, 0.12);

  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-bg-strong: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(23, 23, 25, 0.06);
  --glass-blur: blur(16px);
  --glass-blur-strong: blur(24px);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --ff-fa: 'Vazirmatn', system-ui, sans-serif;
  --ff-en: 'Playfair Display', serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-lux: cubic-bezier(0.16, 0.84, 0.32, 1);

  --container: 1280px;
  --header-h: 110px;
}

/* ============================================
   ۲. ریست
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background: var(--bg);
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-fa);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: clip;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: none;
}

ul, ol {
  list-style: none;
}

::selection {
  background: var(--gold);
  color: #fff;
}

@media (max-width: 900px) {
  body, button, a { cursor: auto; }
}

/* ============================================
   ۳. Container
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* ============================================
   ۴. تیتر و متن
   ============================================ */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-header-split .section-header-left {
  text-align: right;
}

.section-header-split .section-link {
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-header-split .section-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  gap: 10px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
  font-family: var(--ff-en);
  font-weight: 500;
}

.section-desc {
  color: var(--text-soft);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  /* بخش split (منتخب‌های گالیله) */
  .section-header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
  }

  .section-header-split .section-header-left {
    width: 100%;
    text-align: right;
  }

  .section-header-split .eyebrow {
    font-size: 9.5px;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
    gap: 8px;
  }

  .section-header-split .eyebrow::before,
  .section-header-split .eyebrow::after {
    width: 16px;
  }

  .section-header-split .section-title {
    font-size: 1.55rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .section-header-split .section-desc {
    font-size: 13px;
    max-width: 100%;
    line-height: 1.75;
    margin: 0;
  }

  /* لینک «مشاهده همه محصولات» */
  .section-header-split .section-link {
    font-size: 12px;
    align-self: flex-end;
    border-bottom: none;
    padding: 0;
    color: var(--gold);
    font-weight: 600;
    gap: 8px;
  }

  .section-header-split .section-link:hover {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 36px 0;
  }

  .section-header-split {
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .section-header-split .section-title {
    font-size: 1.35rem;
  }

  .section-header-split .section-desc {
    font-size: 12px;
    line-height: 1.7;
  }

  .section-header-split .section-link {
    font-size: 11px;
  }
}

/* ============================================
   ۵. دکمه‌ها
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(184, 154, 90, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-white:hover {
  background: var(--bg-alt);
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  height: 38px;
  padding: 0 18px;
  font-size: 13px;
}

/* ============================================
   ۶. کرسر سفارشی
   ============================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transition: opacity 0.2s;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(184, 154, 90, 0.4);
  transition: width 0.3s var(--ease-lux),
              height 0.3s var(--ease-lux),
              border-color 0.3s,
              background 0.3s;
}

.cursor-ring.hovering {
  width: 56px;
  height: 56px;
  background: var(--gold-soft);
  border-color: var(--gold);
}

@media (max-width: 900px) {
  .cursor-dot,
  .cursor-ring { display: none; }
}

/* ============================================
   ۷. هدر — دو ردیفه، شیشه‌ای، Sticky
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 500;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}

.site-header.shrink {
  background: var(--glass-bg-strong);
  border-bottom-color: var(--border);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 0;
  transition: padding 0.3s var(--ease);
}

.site-header.shrink .header-top {
  padding: 8px 0;
}

.header-right,
.header-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-left {
  justify-content: flex-end;
}

.header-center {
  text-align: center;
}

.header-logo {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--ink);
  transition: all 0.3s var(--ease);
  line-height: 1;
  text-indent: 0.32em;
}

.header-logo:hover {
  color: var(--gold);
  letter-spacing: 0.38em;
}

.header-sub {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.header-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  transition: all 0.3s var(--ease);
  background: transparent;
  border: none;
  cursor: pointer;
}

.header-icon:hover {
  color: var(--gold);
  background: var(--gold-soft);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}

.cart-badge.show {
  transform: scale(1);
}

/* منوی ردیف دوم (دسکتاپ) */
.header-nav {
  border-top: 1px solid var(--glass-border);
  transition: all 0.3s var(--ease);
}

.site-header.shrink .header-nav {
  border-top-color: transparent;
  max-height: 0;
  overflow: hidden;
}

.header-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 12px 0;
}

.header-nav a {
  position: relative;
  font-size: 13.5px;
  color: var(--text-soft);
  transition: color 0.3s;
  padding: 4px 0;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s var(--ease-lux);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--ink);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

/* موبایل */
@media (max-width: 900px) {
  .header-nav { display: none; }

  .header-top {
    padding: 12px 0;
  }

  .header-logo {
    font-size: 20px;
    letter-spacing: 0.28em;
  }

  .header-sub {
    font-size: 8px;
    letter-spacing: 0.28em;
  }

  .header-icon {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  /* در موبایل: راست = منو ، چپ = سبد+جستجو ، مرکز = لوگو */
  .header-right,
  .header-left {
    gap: 2px;
  }
}

/* دکمه همبرگر */
.burger {
  width: 40px;
  height: 40px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
  transition: background 0.3s var(--ease);
  cursor: pointer;
  background: transparent;
  border: none;
}

.burger:hover {
  background: var(--gold-soft);
}

.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   ۸. منوی موبایل (Drawer)
   ============================================ */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-left: 1px solid var(--glass-border);
  z-index: 600;
  padding: 80px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.3s, padding 0.3s;
}

.mobile-drawer a:hover {
  color: var(--gold);
  padding-right: 6px;
}

.mobile-drawer a i {
  color: var(--text-faint);
  font-size: 12px;
}

.mobile-drawer .drawer-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--bg-alt);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.mobile-drawer .drawer-close:hover {
  background: var(--gold);
  color: #fff;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 25, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 550;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   ۹. پنل جستجو
   ============================================ */
.search-panel {
  position: fixed;
  top: 0;
  inset-inline: 0;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border-bottom: 1px solid var(--border);
  z-index: 590;
  padding: 60px 0 40px;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
  max-height: 90vh;
  overflow-y: auto;
}

.search-panel.open {
  transform: translateY(0);
}

.search-panel-close {
  position: absolute;
  top: 20px;
  left: 32px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.search-panel-close:hover {
  background: var(--gold);
  color: #fff;
}

.search-input-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto 32px;
  border-bottom: 2px solid var(--ink);
  transition: border-color 0.3s;
}

.search-input-wrap:focus-within {
  border-color: var(--gold);
}

.search-input-wrap i {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-faint);
  font-size: 18px;
}

.search-input {
  width: 100%;
  padding: 16px 36px 16px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
}

.search-input::placeholder {
  color: var(--text-faint);
  font-size: 16px;
}

.search-hint {
  font-size: 11px;
  color: var(--text-faint);
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.search-results {
  max-width: 720px;
  margin: 0 auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s var(--ease);
  cursor: pointer;
}

.search-result-item:hover {
  padding-right: 12px;
}

.search-result-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  overflow: hidden;
}

.search-result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.search-result-cat {
  font-size: 11px;
  color: var(--text-faint);
}

.search-result-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-faint);
}

.search-empty i {
  font-size: 40px;
  opacity: 0.25;
  margin-bottom: 12px;
  display: block;
}

@media (max-width: 768px) {
  .search-panel {
    padding: 70px 0 32px;
  }
  .search-panel-close {
    top: 16px;
    left: 20px;
  }
  .search-input {
    font-size: 16px;
    padding: 14px 32px 14px 14px;
  }
  .search-input::placeholder {
    font-size: 14px;
  }
}

/* ============================================
   ۱۰. پنل سبد کناری
   ============================================ */
.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: var(--bg);
  z-index: 600;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease);
  border-right: 1px solid var(--border);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  color: var(--ink);
}

.cart-drawer-close:hover {
  background: var(--gold);
  color: #fff;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.cart-item-image {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  overflow: hidden;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}

.cart-item-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-soft);
}

.cart-item-qty button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
}

.cart-item-qty button:hover {
  background: var(--gold);
  color: #fff;
}

.cart-item-remove {
  align-self: flex-start;
  color: var(--text-faint);
  font-size: 14px;
  padding: 4px;
  transition: color 0.3s;
  cursor: pointer;
  background: none;
  border: none;
}

.cart-item-remove:hover {
  color: #e74c3c;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-faint);
}

.cart-empty i {
  font-size: 48px;
  opacity: 0.25;
  margin-bottom: 16px;
  display: block;
}

.cart-empty p {
  font-size: 14px;
  margin-bottom: 20px;
}

.cart-drawer-footer {
  padding: 20px 28px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-total-row span:first-child {
  font-size: 13px;
  color: var(--text-soft);
}

.cart-total-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* ============================================
   ۱۱. هیرو
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
  padding-top: var(--header-h);
}

#fluidCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.6) brightness(1.05);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, var(--bg) 82%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 820px;
}

.hero-eyebrow {
  color: var(--gold);
  letter-spacing: 0.42em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 22px;
  font-weight: 600;
  opacity: 0;
}

.hero-title {
  font-family: var(--ff-en);
  font-size: clamp(3.4rem, 11vw, 8.5rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.06em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  line-height: 1;
  text-indent: 0.06em;
}

.hero-title .char {
  display: inline-block;
  will-change: transform;
}

.hero-slogan {
  margin-top: 26px;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--text-soft);
  font-weight: 300;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 2;
  opacity: 0;
}

.hero-slogan-gold {
  display: block;
  margin-top: 12px;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.hero-scroll-hint span {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: -38px;
  left: 0;
  width: 100%;
  height: 38px;
  background: linear-gradient(var(--ink), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -38px; }
  100% { top: 38px; }
}

.hero-scroll-hint p {
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-top: 100px;
  }
  .hero-title { font-size: 3rem !important; }
  .hero-title .char { font-size: 3rem; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.4rem !important; }
  .hero-title .char { font-size: 2.4rem; }
  .hero-slogan { font-size: 0.92rem; }
}

/* ============================================
   ۱۲. نوار مزیت‌ها
   ============================================ */
.features-bar {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-item + .feature-item {
  border-right: 1px solid var(--border);
  padding-right: 24px;
}

.feature-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 17px;
}

.feature-text h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 11.5px;
  color: var(--text-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .feature-item + .feature-item {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 768px) {
  .features-bar {
    padding: 20px 0;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
  .feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border: none !important;
  }
  .feature-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .feature-text h4 {
    font-size: 11.5px;
    margin-bottom: 1px;
  }
  .feature-text p {
    font-size: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .features-bar {
    padding: 16px 0;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
  }
  .feature-item {
    gap: 8px;
    padding: 6px 0;
  }
  .feature-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .feature-text h4 {
    font-size: 10.5px;
  }
  .feature-text p {
    font-size: 9.5px;
    -webkit-line-clamp: 2;
  }
}

/* ============================================
   ۱۳. دسته‌بندی‌ها
   ============================================ */
.categories-section {
  background: var(--bg-alt);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.45s var(--ease);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 154, 90, 0.35);
  box-shadow: var(--shadow-lg);
}

.category-image {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.category-card:hover .category-image img {
  transform: scale(1.06);
}

.category-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold);
}

.category-placeholder i {
  font-size: 38px;
  opacity: 0.5;
  transition: all 0.4s var(--ease);
}

.category-card:hover .category-placeholder i {
  opacity: 0.85;
  transform: scale(1.08);
}

.category-placeholder span {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.05em;
}

.category-info {
  padding: 16px 18px 18px;
  position: relative;
}

.category-info h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color 0.3s;
}

.category-card:hover .category-info h3 {
  color: var(--gold);
}

.category-info p {
  font-size: 11.5px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 8px;
  min-height: 34px;
}

.category-info .cat-link {
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s var(--ease);
}

.category-card:hover .cat-link {
  gap: 8px;
}

@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .category-info { padding: 12px 12px 14px; }
  .category-info h3 { font-size: 12.5px; }
  .category-info p { font-size: 10.5px; min-height: 28px; margin-bottom: 6px; }
  .cat-link { font-size: 10px; }
  .category-placeholder i { font-size: 28px; }
}

/* ============================================
   ۱۴. کارت محصول
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.45s var(--ease);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 154, 90, 0.35);
  box-shadow: var(--shadow-lg);
}

.product-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--gold);
}

.product-placeholder i {
  font-size: 38px;
  opacity: 0.45;
}

.product-placeholder span {
  font-size: 11px;
  color: var(--text-faint);
}

.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge-new {
  background: rgba(23, 23, 25, 0.88);
  color: #fff;
}

.badge-sale {
  background: var(--gold);
  color: #fff;
}

.product-wishlist {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-size: 13px;
  transition: all 0.3s var(--ease);
  z-index: 2;
  border: none;
  cursor: pointer;
}

.product-wishlist:hover,
.product-wishlist.active {
  background: var(--gold);
  color: #fff;
}

.product-info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.product-code {
  font-size: 9.5px;
  color: var(--text-faint);
  letter-spacing: 0.12em;
  font-family: var(--ff-en);
  text-transform: uppercase;
}

.product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.product-price small {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--text-soft);
  margin-right: 2px;
}

.product-price-old {
  font-size: 11px;
  color: var(--text-faint);
  text-decoration: line-through;
}

.product-cta {
  margin-top: 10px;
  width: 100%;
  height: 36px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  transition: all 0.35s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  cursor: pointer;
}

.product-cta:hover {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .product-info { padding: 10px 12px 14px; }
  .product-name { font-size: 12px; min-height: 34px; }
  .product-price { font-size: 13px; }
  .product-cta { height: 32px; font-size: 10.5px; margin-top: 8px; }
  .product-badges { top: 6px; right: 6px; }
  .badge { font-size: 9px; padding: 2px 8px; }
  .product-wishlist {
    top: 6px;
    left: 6px;
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

/* ============================================
   ۱۵. بنر عطر
   ============================================ */
.perfume-banner {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
}

.perfume-banner-image {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(184, 154, 90, 0.4) 0%, transparent 55%),
    radial-gradient(circle at 78% 65%, rgba(184, 154, 90, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #171719 0%, #2a2a2d 100%);
}

.perfume-banner-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 72px 56px;
}

.perfume-banner .eyebrow {
  color: var(--gold);
}
.perfume-banner .eyebrow::before,
.perfume-banner .eyebrow::after {
  background: var(--gold);
}

.perfume-banner h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #fff;
}

.perfume-banner h2 em {
  font-family: var(--ff-en);
  font-style: italic;
  color: var(--gold);
}

.perfume-banner p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 420px;
}

.btn-on-dark {
  background: var(--gold);
  color: #fff;
}
.btn-on-dark:hover {
  background: #fff;
  color: var(--ink);
}

@media (max-width: 768px) {
  .perfume-banner {
    min-height: 400px;
    border-radius: var(--radius);
  }
  .perfume-banner-content {
    padding: 44px 26px;
  }
}

/* ============================================
   ۱۶. نظرات — فرم ثبت نظر
   ============================================ */
.reviews-section {
  background: var(--bg-alt);
}

.review-form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.review-form-wrap h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  text-align: center;
}

.review-form-wrap > p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.8;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-size: 14px;
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.rating-input {
  display: flex;
  gap: 6px;
  font-size: 26px;
  color: var(--text-mute);
  cursor: pointer;
  justify-content: center;
  padding: 8px 0;
}

.rating-input i {
  transition: all 0.2s var(--ease);
}

.rating-input i.active,
.rating-input i:hover {
  color: var(--gold);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .review-form-wrap {
    padding: 24px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ۱۷. فوتر
   ============================================ */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-family: var(--ff-en);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: #fff;
  margin-bottom: 6px;
  display: block;
}

.footer-tagline {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-desc {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  padding: 6px 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
  transform: translateX(-3px);
}

.footer-col a i {
  width: 16px;
  font-size: 13px;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer { padding: 44px 0 0; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   ۱۸. اعلان
   ============================================ */
.cart-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 22px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
}

.cart-notification i {
  color: var(--gold);
}

.cart-notification.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 480px) {
  .cart-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
    font-size: 12px;
  }
}

/* ============================================
   ۱۹. Utilities
   ============================================ */
.text-center { text-align: center; }
.hidden { display: none !important; }
.no-scroll { overflow: hidden; }

[data-reveal] {
  opacity: 0;
}

/* اسکرول‌بار */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background: rgba(23, 23, 25, 0.15);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
/* ============================================
   SHAKE ANIMATION (برای OTP اشتباه)
   ============================================ */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
/* ============================================
   SEO Content (معرفی برند)
   ============================================ */
.seo-content {
  padding: 60px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.seo-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}

.seo-content p {
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 2;
  margin-bottom: 24px;
  max-width: 900px;
  text-align: justify;
}

.seo-content p a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(184, 154, 90, 0.5);
  transition: all 0.3s var(--ease);
}

.seo-content p a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* لینک‌های SEO */
.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
  text-decoration: none;
}

.seo-links a:hover {
  background: var(--gold-soft);
  border-color: rgba(184, 154, 90, 0.3);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
  .seo-content {
    padding: 40px 0;
  }
  
  .seo-content h2 {
    font-size: 18px;
  }
  
  .seo-content p {
    font-size: 13.5px;
    text-align: right;
  }
  
  .seo-links {
    gap: 6px;
  }
  
  .seo-links a {
    padding: 6px 12px;
    font-size: 11px;
  }
}