/* ==========================================================================
   HANNAN STOREFRONT — first generated from prototypes/styles.css (a read-only
   reference) by tools/theme/trim-prototype-css.py, and hand-maintained from here on:
   this file is the source, the script only records where it came from.
   Dropped: cart drawer, checkout page and lead-capture rules (Phase 5).
   Renamed: .checkout-grid/.checkout-card/.checkout-step-title ->
   .hn-two-col/.hn-card/.hn-card-title (the content pages reuse them).
   Heading-coupled selectors follow this theme's heading order (h2/h3), not the
   prototype's. Theme-only additions live in the ADDITIONS section at the end.
   ========================================================================== */
/* ==========================================================================
   HANNAN LUXURY FASHION E-COMMERCE DESIGN SYSTEM STYLESHEET
   Brand: خانه مد و حجاب حنان (Hannan Fashion & Hijab House)
   Slogan: حنان؛ استایل اصیل، انتخابی ماندگار
   ========================================================================== */

@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Signature Colors */
  --hn-color-brand-primary: #0B2219;       /* Deep Forest / Emerald Green */
  --hn-color-brand-secondary: #0D2B20;     /* Rich Emerald Secondary */
  --hn-color-brand-hover: #14382B;         /* Interactive Brand Hover */
  --hn-color-brand-dark: #071711;          /* Ultra Dark for Announcement Bar */
  
  /* Luxury Gold Accents */
  --hn-color-accent-gold: #C8A97E;         /* Warm Champagne Gold */
  --hn-color-accent-gold-hover: #B8976C;   /* Darker Gold Hover */
  --hn-color-accent-gold-light: #F4EFE6;   /* Subtle Gold Tint */
  --hn-color-gold-border: rgba(200, 169, 126, 0.35);

  /* Surfaces & Backgrounds */
  --hn-color-surface-base: #FAF8F5;        /* Warm Ivory Canvas */
  --hn-color-surface-card: #FFFFFF;        /* Crisp Pure White Surface */
  --hn-color-surface-stone: #F5F2EB;       /* Warm Stone Neutral */
  --hn-color-surface-subtle: #EFECE4;      /* Soft Divider Surface */

  /* Typography Colors */
  --hn-color-text-primary: #1C1E1B;        /* Deep Charcoal Text */
  --hn-color-text-secondary: #4A5048;      /* Soft Charcoal Supporting Text */
  --hn-color-text-muted: #8E948B;          /* Muted Gray Hints */
  --hn-color-text-inverse: #FAF8F5;        /* Ivory Text on Dark Surfaces */

  /* Borders & Dividers */
  --hn-color-border-subtle: #E8E3DA;       /* Thin Architectural Border */
  --hn-color-border-strong: #C4BCB0;       /* Focused / Active Border */
  --hn-color-focus-ring: #0B2219;

  /* Typography & Proportions */
  --hn-font-family-fa: 'Estedad', 'Peyda', 'Dana', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --hn-font-features: "ss01" on, "tnum" on;

  /* Layout & Spacing */
  --hn-max-width: 1380px;
  --hn-container-padding: 32px;
  --hn-radius-sm: 4px;
  --hn-radius-md: 8px;
  --hn-radius-lg: 16px;
  --hn-radius-pill: 9999px;

  /* Transitions & Motion */
  --hn-transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --hn-transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --hn-transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --hn-shadow-subtle: 0 4px 20px -2px rgba(11, 34, 25, 0.06);
  --hn-shadow-card: 0 8px 30px -4px rgba(11, 34, 25, 0.08);
  --hn-shadow-drawer: -10px 0 40px rgba(7, 23, 17, 0.25);
  --hn-shadow-modal: 0 20px 60px rgba(7, 23, 17, 0.35);

  /* Z-Index Hierarchy */
  --hn-z-header: 1000;
  --hn-z-scrim: 1100;
  --hn-z-drawer: 1200;
  --hn-z-modal: 1300;
  --hn-z-toast: 1400;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  font-family: var(--hn-font-family-fa);
  font-feature-settings: var(--hn-font-features);
  background-color: var(--hn-color-surface-base);
  color: var(--hn-color-text-primary);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--hn-transition-fast);
}

button, input, select, textarea {
  font: inherit;
  font-feature-settings: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 20px;
  background: var(--hn-color-accent-gold);
  color: #000;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: var(--hn-radius-sm);
  z-index: 9999;
  transition: top var(--hn-transition-fast);
}
.skip-link:focus {
  top: 10px;
}

.container {
  width: 100%;
  max-width: var(--hn-max-width);
  margin-inline: auto;
  padding-inline: var(--hn-container-padding);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

.top-announcement-bar {
  background-color: var(--hn-color-brand-dark);
  color: var(--hn-color-text-inverse);
  font-size: 0.82rem;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(200, 169, 126, 0.2);
  text-align: center;
  position: relative;
  z-index: calc(var(--hn-z-header) + 1);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.announcement-badge {
  background-color: var(--hn-color-accent-gold);
  color: #071711;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: var(--hn-radius-pill);
}

.announcement-text {
  font-weight: 500;
}

.announcement-divider {
  color: var(--hn-color-accent-gold);
  opacity: 0.6;
}

.announcement-subtle {
  color: #D9D2C5;
  font-size: 0.78rem;
}

/* ==========================================================================
   GLOBAL HEADER (DEEP FOREST GREEN)
   ========================================================================== */

.site-header {
  background-color: var(--hn-color-brand-primary);
  color: var(--hn-color-text-inverse);
  position: sticky;
  top: 0;
  z-index: var(--hn-z-header);
  box-shadow: 0 4px 24px rgba(7, 23, 17, 0.2);
  transition: padding var(--hn-transition-base), background-color var(--hn-transition-base);
}

.header-inner {
  max-width: var(--hn-max-width);
  margin-inline: auto;
  padding: 14px var(--hn-container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Brand Logo (Calligraphic Styling) */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.brand-calligraphy {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--hn-color-surface-base);
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.brand-flower {
  color: var(--hn-color-accent-gold);
  font-size: 1.25rem;
  transform: translateY(-2px);
}

.brand-tagline {
  font-size: 0.68rem;
  color: var(--hn-color-accent-gold);
  letter-spacing: 0.5px;
  font-weight: 400;
}

/* Desktop Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ECE7DF;
  padding: 6px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--hn-transition-fast);
}

.nav-link:hover,
.nav-link.is-active {
  color: #FFFFFF;
}

.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--hn-color-accent-gold);
  border-radius: 2px;
}

.nav-chevron {
  font-size: 0.75rem;
  color: var(--hn-color-accent-gold);
  transition: transform var(--hn-transition-fast);
}

.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-wrapper:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: -20px;
  width: 360px;
  background-color: var(--hn-color-brand-secondary);
  border: 1px solid var(--hn-color-gold-border);
  border-radius: var(--hn-radius-md);
  padding: 16px;
  box-shadow: var(--hn-shadow-modal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--hn-transition-fast);
  z-index: 100;
}

.dropdown-header {
  border-bottom: 1px solid rgba(200, 169, 126, 0.2);
  padding-bottom: 10px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.dropdown-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hn-color-accent-gold);
}

.dropdown-note {
  font-size: 0.72rem;
  color: #B5BEB4;
}

.dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--hn-radius-sm);
  background-color: rgba(255, 255, 255, 0.04);
  transition: background-color var(--hn-transition-fast);
}

.dropdown-item:hover {
  background-color: rgba(200, 169, 126, 0.15);
}

.dropdown-item.is-hero {
  border: 1px solid var(--hn-color-gold-border);
  background-color: rgba(200, 169, 126, 0.1);
}

.item-icon {
  color: var(--hn-color-accent-gold);
  font-size: 0.9rem;
}

.item-info strong {
  display: block;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.item-info small {
  display: block;
  font-size: 0.72rem;
  color: #C0C8BF;
}

.item-badge {
  margin-right: auto;
  font-size: 0.68rem;
  background-color: var(--hn-color-accent-gold);
  color: #071711;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.dropdown-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.dropdown-all-link {
  font-size: 0.8rem;
  color: var(--hn-color-accent-gold);
  font-weight: 600;
}

/* Header Utilities */
.header-utilities {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-search-bar {
  position: relative;
  width: 220px;
}

.header-search-bar input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(200, 169, 126, 0.35);
  border-radius: var(--hn-radius-pill);
  padding: 7px 36px 7px 16px;
  font-size: 0.84rem;
  color: #FFFFFF;
  transition: all var(--hn-transition-fast);
}

.header-search-bar input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.14);
  border-color: var(--hn-color-accent-gold);
  width: 260px;
}

.header-search-bar input::placeholder {
  color: #AAB4A8;
}

.search-submit-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hn-color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.search-submit-btn svg {
  width: 16px;
  height: 16px;
}

.utility-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ECE7DF;
  transition: all var(--hn-transition-fast);
}

.utility-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.utility-btn svg {
  width: 20px;
  height: 20px;
}


.mobile-menu-trigger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #ECE7DF;
}

.menu-glyph {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.menu-glyph i {
  display: block;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0B2219;
}

.hero-background-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.85);
}

.hero-overlay-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 34, 25, 0.92) 0%,
    rgba(11, 34, 25, 0.72) 45%,
    rgba(11, 34, 25, 0.3) 100%
  );
  z-index: 2;
}

.hero-content-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--hn-max-width);
  margin-inline: auto;
  padding: 60px var(--hn-container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-text-block {
  max-width: 580px;
}

.hero-overtitle {
  display: inline-block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hn-color-accent-gold);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  border-right: 3px solid var(--hn-color-accent-gold);
  padding-right: 10px;
}

.hero-headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.25;
  color: #FAF8F5;
  margin-bottom: 18px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: #D6DED4;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--hn-radius-md);
  transition: all var(--hn-transition-fast);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.button-gold {
  background-color: var(--hn-color-accent-gold);
  color: #0B2219;
  box-shadow: 0 4px 18px rgba(200, 169, 126, 0.35);
}

.button-gold:hover {
  background-color: #D6B78B;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200, 169, 126, 0.45);
}

.button-outline {
  border-color: rgba(250, 248, 245, 0.4);
  color: #FAF8F5;
  background-color: rgba(255, 255, 255, 0.05);
}

.button-outline:hover {
  border-color: #FAF8F5;
  background-color: rgba(255, 255, 255, 0.12);
}

.button-dark {
  background-color: var(--hn-color-brand-primary);
  color: #FAF8F5;
}

.button-dark:hover {
  background-color: var(--hn-color-brand-hover);
  color: #FFFFFF;
}

/* Floating Brand Watermark */
.hero-watermark-block {
  text-align: left;
  user-select: none;
  opacity: 0.85;
}

.watermark-calligraphy {
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  color: var(--hn-color-accent-gold);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.watermark-latin {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 12px;
  color: #E2D7C3;
  margin-top: -8px;
  font-family: Georgia, serif;
}

/* Carousel Dots */
.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--hn-transition-fast);
}

.hero-dot.is-active {
  width: 26px;
  border-radius: var(--hn-radius-pill);
  background-color: var(--hn-color-accent-gold);
}

/* ==========================================================================
   SOCIAL COMMUNITY BRIDGE (EITAA & INSTAGRAM)
   Must appear immediately after Hero and BEFORE Categories
   ========================================================================== */

.social-bridge-section {
  background-color: #071711;
  border-top: 1px solid var(--hn-color-gold-border);
  border-bottom: 1px solid var(--hn-color-gold-border);
  padding: 16px 0;
}

.social-bridge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.bridge-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bridge-icon {
  font-size: 1.25rem;
  color: var(--hn-color-accent-gold);
}

.bridge-text strong {
  color: #FAF8F5;
  font-size: 0.95rem;
}

.bridge-text span {
  color: #A9B2A6;
  font-size: 0.85rem;
}

.bridge-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bridge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--hn-radius-pill);
  transition: all var(--hn-transition-fast);
}

.bridge-eitaa {
  background-color: #F15A24;
  color: #FFFFFF;
}

.bridge-eitaa:hover {
  background-color: #D94815;
  transform: translateY(-1px);
}

.bridge-instagram {
  background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
  color: #FFFFFF;
}

.bridge-instagram:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTION HEADER (ORNATE DIVIDERS)
   ========================================================================== */

.section-ornate-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-ornate-title {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
}

.section-ornate-title::before,
.section-ornate-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background-color: var(--hn-color-accent-gold);
}

.section-ornate-subtitle {
  font-size: 0.92rem;
  color: var(--hn-color-text-secondary);
  margin-top: 6px;
}

/* ==========================================================================
   4 CATEGORY CARDS (EXACTLY 4 CATEGORIES)
   ========================================================================== */

.categories-section {
  padding: 60px 0;
  background-color: var(--hn-color-surface-base);
}

.categories-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  display: block;
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  background-color: var(--hn-color-surface-stone);
  box-shadow: var(--hn-shadow-subtle);
  transition: all var(--hn-transition-base);
  text-decoration: none;
  aspect-ratio: 3 / 4.2;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hn-shadow-card);
}

.category-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hn-transition-slow);
}

.category-card:hover .category-card-media img {
  transform: scale(1.05);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 34, 25, 0.1) 0%,
    rgba(11, 34, 25, 0.4) 60%,
    rgba(11, 34, 25, 0.85) 100%
  );
  z-index: 1;
}

.category-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background-color: var(--hn-color-brand-primary);
  color: var(--hn-color-accent-gold);
  border: 1px solid var(--hn-color-gold-border);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--hn-radius-pill);
}

.category-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

.category-leaf-icon {
  font-size: 1.2rem;
  color: var(--hn-color-accent-gold);
  margin-bottom: 6px;
  display: block;
}

.category-fa-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.category-en-title {
  font-size: 0.76rem;
  letter-spacing: 2px;
  color: #D6CCB8;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.category-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--hn-transition-fast);
}

.category-card:hover .category-arrow-btn {
  background-color: var(--hn-color-accent-gold);
  color: #071711;
  border-color: var(--hn-color-accent-gold);
  transform: scale(1.1);
}

/* ==========================================================================
   TRUST BAR / THE 5 HANNAN OPTIONS (DARK GREEN BAND)
   ========================================================================== */

.trust-options-bar {
  background-color: var(--hn-color-brand-primary);
  color: #FAF8F5;
  padding: 28px 0;
  border-top: 1px solid var(--hn-color-gold-border);
  border-bottom: 1px solid var(--hn-color-gold-border);
}

.trust-options-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
}

.trust-brand-emblem {
  border-left: 1px solid rgba(200, 169, 126, 0.25);
  padding-left: 20px;
}

.trust-brand-calligraphy {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--hn-color-accent-gold);
  line-height: 1.2;
}

.trust-brand-motto {
  font-size: 0.78rem;
  color: #D4DDD2;
  margin-top: 2px;
}

.trust-option-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(200, 169, 126, 0.25);
  padding-left: 16px;
}

.trust-option-item:last-child {
  border-left: none;
}

.trust-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background-color: rgba(200, 169, 126, 0.12);
  border: 1px solid rgba(200, 169, 126, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hn-color-accent-gold);
  flex-shrink: 0;
}

.trust-option-icon svg {
  width: 20px;
  height: 20px;
}

.trust-option-text h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
}

.trust-option-text p {
  font-size: 0.72rem;
  color: #B5BEB3;
  margin-top: 2px;
}

/* ==========================================================================
   CATALOG FILTER PILLS (HORIZONTAL LUXURY SCROLL STRIP)
   ========================================================================== */

.catalog-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  margin-bottom: 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.catalog-filter-bar::-webkit-scrollbar {
  display: none;
}

.catalog-filter-pill {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--hn-radius-pill);
  border: 1px solid var(--hn-color-border-strong);
  background-color: #FFFFFF;
  color: var(--hn-color-text-primary);
  cursor: pointer;
  transition: all var(--hn-transition-fast);
  text-decoration: none;
  user-select: none;
}

.catalog-filter-pill:hover {
  border-color: var(--hn-color-brand-primary);
  color: var(--hn-color-brand-primary);
}

.catalog-filter-pill.is-active {
  background-color: var(--hn-color-brand-primary) !important;
  color: #FAF8F5 !important;
  border-color: var(--hn-color-brand-primary) !important;
  box-shadow: 0 2px 10px rgba(11, 34, 25, 0.2);
}

.catalog-filter-pill.is-hero-pill {
  border-color: var(--hn-color-accent-gold);
}

.catalog-filter-pill.is-hero-pill.is-active {
  background: linear-gradient(135deg, #0B2219 0%, #173E2E 100%) !important;
  border-color: var(--hn-color-accent-gold) !important;
}

.product-en-subtitle {
  display: block;
  font-size: 0.68rem;
  color: var(--hn-color-text-muted);
  letter-spacing: 0.5px;
  font-family: Georgia, serif;
  margin-top: -3px;
  margin-bottom: 6px;
}

/* ==========================================================================
   PRODUCT SHOWCASE & CATALOG GRID
   ========================================================================== */

.products-section {
  padding: 60px 0;
  background-color: var(--hn-color-surface-base);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--hn-color-surface-card);
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  border: 1px solid var(--hn-color-border-subtle);
  transition: all var(--hn-transition-base);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hn-shadow-card);
  border-color: var(--hn-color-border-strong);
}

.product-image-container {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: var(--hn-color-surface-stone);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--hn-transition-slow);
}

.product-card:hover .product-image-container img {
  transform: scale(1.04);
}

/* Subtle Offer Badge */
.product-badge-subtle {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #2E5A36;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}


.product-info-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.72rem;
  color: var(--hn-color-accent-gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hn-color-text-primary);
  margin-bottom: 8px;
  display: block;
  text-decoration: none;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.product-price-current {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
}

.product-price-original {
  font-size: 0.85rem;
  color: var(--hn-color-text-muted);
  text-decoration: line-through;
}

.product-card-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-swatches {
  display: flex;
  gap: 6px;
}

.swatch-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.quick-view-btn {
  font-size: 0.82rem;
  color: var(--hn-color-brand-primary);
  font-weight: 600;
  padding: 4px 8px;
}

.quick-view-btn:hover {
  color: var(--hn-color-accent-gold);
}

/* ==========================================================================
   SPECIAL COLLECTIONS FEATURED ROW (VIP ABAYAS, ETC.)
   ========================================================================== */

.collections-feature-section {
  padding: 20px 0 60px;
}

.collections-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.collection-feature-banner {
  position: relative;
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  padding: 30px;
  color: #FFFFFF;
  text-decoration: none;
}

.feature-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 23, 17, 0.85) 0%, rgba(7, 23, 17, 0.4) 100%);
}

.feature-banner-content {
  position: relative;
  z-index: 2;
}

.feature-banner-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.feature-banner-content p {
  font-size: 0.85rem;
  color: #DCE3DA;
  margin-bottom: 16px;
}

.feature-pill-btn {
  display: inline-block;
  background-color: var(--hn-color-accent-gold);
  color: #071711;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--hn-radius-md);
  transition: all var(--hn-transition-fast);
}

.collection-feature-banner:hover .feature-pill-btn {
  background-color: #FAF8F5;
  transform: translateX(-4px);
}

/* ==========================================================================
   PHYSICAL BOUTIQUE SHOWCASE (HAMEDAN)
   ========================================================================== */

.boutique-showcase-section {
  padding: 40px 0 80px;
}

.boutique-card-banner {
  background-color: var(--hn-color-surface-stone);
  border-radius: var(--hn-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hn-color-border-subtle);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.boutique-media {
  position: relative;
  min-height: 380px;
}

.boutique-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boutique-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.boutique-eyebrow {
  color: var(--hn-color-accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.boutique-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  margin-bottom: 14px;
}

.boutique-desc {
  font-size: 0.95rem;
  color: var(--hn-color-text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.boutique-details-list {
  list-style: none;
  margin-bottom: 28px;
}

.boutique-details-list li {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--hn-color-text-primary);
}

.boutique-details-list strong {
  color: var(--hn-color-brand-primary);
}

/* ==========================================================================
   CUSTOMER PHONE CAPTURE BANNER (GENTLE LEAD GENERATION)
   ========================================================================== */


/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */

.pdp-container {
  padding: 40px 0 80px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--hn-color-text-muted);
  margin-bottom: 28px;
}

.pdp-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.pdp-gallery-wrap {
  position: sticky;
  top: 120px;
}

.pdp-main-image {
  border-radius: var(--hn-radius-md);
  overflow: hidden;
  background-color: var(--hn-color-surface-stone);
  aspect-ratio: 3 / 4;
  margin-bottom: 16px;
  box-shadow: var(--hn-shadow-subtle);
}

.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp-thumbnails {
  display: flex;
  gap: 12px;
}

.thumb-btn {
  width: 72px;
  height: 96px;
  border-radius: var(--hn-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all var(--hn-transition-fast);
}

.thumb-btn.is-active,
.thumb-btn:hover {
  opacity: 1;
  border-color: var(--hn-color-accent-gold);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PDP Right Summary Column */
.pdp-summary {
  display: flex;
  flex-direction: column;
}

.pdp-category-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--hn-color-accent-gold);
  margin-bottom: 6px;
}

.pdp-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  margin-bottom: 12px;
}

.pdp-pricing-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hn-color-border-subtle);
  margin-bottom: 24px;
}

.pdp-price-now {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
}

.pdp-price-before {
  font-size: 1.1rem;
  color: var(--hn-color-text-muted);
  text-decoration: line-through;
}

.pdp-option-group {
  margin-bottom: 24px;
}

.option-group-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.size-guide-link {
  font-size: 0.8rem;
  color: var(--hn-color-accent-gold);
  text-decoration: underline;
  cursor: pointer;
}

.color-swatches-interactive {
  display: flex;
  gap: 12px;
}

.interactive-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  outline: 1px solid var(--hn-color-border-strong);
  cursor: pointer;
  transition: transform var(--hn-transition-fast);
}

.interactive-swatch.is-selected {
  outline: 2px solid var(--hn-color-brand-primary);
  transform: scale(1.15);
}

.size-buttons-grid {
  display: flex;
  gap: 10px;
}

.size-btn {
  min-width: 52px;
  height: 42px;
  border-radius: var(--hn-radius-sm);
  border: 1px solid var(--hn-color-border-subtle);
  background-color: #FFFFFF;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--hn-transition-fast);
}

.size-btn:hover {
  border-color: var(--hn-color-brand-primary);
}

.size-btn.is-selected {
  background-color: var(--hn-color-brand-primary);
  color: #FFFFFF;
  border-color: var(--hn-color-brand-primary);
}

.pdp-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}


.secondary-actions-row {
  display: flex;
  gap: 12px;
}

.secondary-actions-row button,
.secondary-actions-row a {
  flex: 1;
  font-size: 0.85rem;
  padding: 10px;
  text-align: center;
}

/* The 5 Hannan Trust Badges Embedded in PDP */
.pdp-trust-box {
  background-color: var(--hn-color-surface-stone);
  border: 1px solid var(--hn-color-border-subtle);
  border-radius: var(--hn-radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.pdp-trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
  margin-bottom: 12px;
}

.pdp-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pdp-trust-list li {
  font-size: 0.82rem;
  color: var(--hn-color-text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-trust-list li::before {
  content: '✓';
  color: var(--hn-color-accent-gold);
  font-weight: 800;
}

/* PDP Tabs / Accordions */
.pdp-accordions {
  border-top: 1px solid var(--hn-color-border-subtle);
}

.accordion-item {
  border-bottom: 1px solid var(--hn-color-border-subtle);
}

.accordion-trigger {
  width: 100%;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--hn-color-brand-primary);
  cursor: pointer;
}

.accordion-panel {
  padding-bottom: 16px;
  font-size: 0.88rem;
  color: var(--hn-color-text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   SLIDE-OVER DRAWERS (CART & WISHLIST)
   ========================================================================== */

.drawer-scrim,
.modal-scrim {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 23, 17, 0.65);
  backdrop-filter: blur(4px);
  z-index: var(--hn-z-scrim);
  opacity: 1;
  transition: opacity var(--hn-transition-base);
}

.side-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 440px;
  max-width: 90vw;
  background-color: var(--hn-color-surface-card);
  z-index: var(--hn-z-drawer);
  box-shadow: var(--hn-shadow-drawer);
  display: flex;
  flex-direction: column;
  transition: transform var(--hn-transition-base);
}


.mobile-drawer {
  right: 0;
  transform: translateX(0);
}

.side-drawer[hidden],
.mobile-drawer[hidden],
.drawer-scrim[hidden],
.modal-scrim[hidden],
[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@keyframes drawerSlideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes drawerSlideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-drawer:not([hidden]) {
  animation: drawerSlideInRight 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}


.drawer-scrim:not([hidden]),
.modal-scrim:not([hidden]) {
  animation: fadeInOverlay 0.2s ease-out forwards;
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--hn-color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--hn-color-brand-primary);
  color: #FFFFFF;
}

.drawer-subtitle {
  font-size: 0.72rem;
  color: var(--hn-color-accent-gold);
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #FAF8F5;
  background-color: rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.drawer-close-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   TWO-COLUMN CARD LAYOUT (content and contact pages)
   ========================================================================== */


.hn-two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.hn-card {
  background-color: #FFFFFF;
  border-radius: var(--hn-radius-md);
  padding: 28px;
  border: 1px solid var(--hn-color-border-subtle);
  margin-bottom: 24px;
}

.hn-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hn-color-border-subtle);
}


.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 14px;
  border: 1px solid var(--hn-color-border-strong);
  border-radius: var(--hn-radius-sm);
  background-color: var(--hn-color-surface-base);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--hn-color-brand-primary);
  background-color: #FFFFFF;
}

/* Shipping Option Radios */


/* ==========================================================================
   GLOBAL FOOTER (DEEP FOREST GREEN)
   ========================================================================== */

.site-footer {
  background-color: var(--hn-color-brand-primary);
  color: #FAF8F5;
  padding: 60px 0 0;
  margin-top: auto;
  border-top: 1px solid var(--hn-color-gold-border);
}

.footer-top-container {
  max-width: var(--hn-max-width);
  margin-inline: auto;
  padding-inline: var(--hn-container-padding);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo .brand-calligraphy {
  font-size: 2.2rem;
}

.footer-mission {
  font-size: 0.88rem;
  color: #D2DCD0;
  line-height: 1.8;
  margin: 16px 0 20px;
}

.footer-boutique-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(200, 169, 126, 0.15);
  border: 1px solid var(--hn-color-gold-border);
  padding: 6px 14px;
  border-radius: var(--hn-radius-pill);
  font-size: 0.8rem;
  color: var(--hn-color-accent-gold);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hn-color-accent-gold);
  margin-bottom: 20px;
  border-right: 2px solid var(--hn-color-accent-gold);
  padding-right: 8px;
}

.footer-links,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #D5DDD3;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(-4px);
  display: inline-block;
}

.footer-contact-list li {
  font-size: 0.85rem;
  color: #D2DCD0;
  line-height: 1.7;
}

.footer-social-chips {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-chip {
  padding: 6px 14px;
  border-radius: var(--hn-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
}

.social-chip.eitaa {
  background-color: #F15A24;
}

.social-chip.instagram {
  background: linear-gradient(45deg, #F09433, #DC2743, #BC1888);
}

.footer-bottom-container {
  background-color: var(--hn-color-brand-dark);
  border-top: 1px solid rgba(200, 169, 126, 0.15);
  padding: 18px 0;
  font-size: 0.8rem;
  color: #A3ACA1;
}

.footer-bottom-inner {
  max-width: var(--hn-max-width);
  margin-inline: auto;
  padding-inline: var(--hn-container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-slogan-note {
  color: var(--hn-color-accent-gold);
  font-weight: 600;
}

/* ==========================================================================
   MODAL DIALOGS
   ========================================================================== */

.modal-scrim {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: var(--hn-z-modal);
}

.modal-scrim[hidden] {
  display: none;
}

.modal-dialog {
  background-color: #FFFFFF;
  border-radius: var(--hn-radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--hn-shadow-modal);
  border: 1px solid var(--hn-color-border-subtle);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--hn-color-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--hn-color-brand-primary);
  color: #FFFFFF;
}

.modal-header h2 {
  font-size: 1.15rem;
}

.modal-close-btn {
  font-size: 1.5rem;
  color: #FAF8F5;
  cursor: pointer;
}

.modal-content {
  padding: 28px;
}


/* Size Table */
.size-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.88rem;
}

.size-table th,
.size-table td {
  padding: 10px 14px;
  border: 1px solid var(--hn-color-border-subtle);
  text-align: center;
}

.size-table th {
  background-color: var(--hn-color-surface-stone);
  font-weight: 700;
  color: var(--hn-color-brand-primary);
}

.size-guide-tip {
  background-color: var(--hn-color-surface-stone);
  padding: 12px;
  border-radius: var(--hn-radius-sm);
  font-size: 0.82rem;
  margin-top: 16px;
  border-right: 3px solid var(--hn-color-accent-gold);
}

/* Search Modal */
.search-modal-dialog {
  background-color: #FFFFFF;
  border-radius: var(--hn-radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  box-shadow: var(--hn-shadow-modal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.search-modal-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--hn-color-border-subtle);
  background-color: var(--hn-color-surface-stone);
}

.search-modal-header input {
  flex-grow: 1;
  border: none;
  background: none;
  font-size: 1.1rem;
  outline: none;
}

.search-modal-results {
  padding: 20px;
  overflow-y: auto;
  max-height: 500px;
}

/* Toast Notification */
.site-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--hn-color-brand-primary);
  color: #FAF8F5;
  border-right: 4px solid var(--hn-color-accent-gold);
  padding: 14px 22px;
  border-radius: var(--hn-radius-md);
  box-shadow: var(--hn-shadow-modal);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: var(--hn-z-toast);
  animation: slideInToast 0.3s ease-out;
}

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

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (HIGH-FASHION MOBILE CURATION)
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  right: 0;
  left: auto;
  top: 0;
  bottom: 0;
  height: 100vh;
  max-height: 100vh;
  width: 86vw;
  max-width: 380px;
  background-color: var(--hn-color-surface-base);
  color: var(--hn-color-text-primary);
  box-shadow: -10px 0 40px rgba(7, 23, 17, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: var(--hn-z-drawer);
  padding: 0;
}

.mobile-drawer[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Fallback styling for legacy mobile nav markup if browser cached old DOM */
.mobile-nav-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 16px !important;
  overflow-y: auto !important;
}

.mobile-nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  background-color: #FFFFFF !important;
  border-radius: var(--hn-radius-md) !important;
  border: 1px solid var(--hn-color-border-subtle) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  color: var(--hn-color-text-primary) !important;
  text-decoration: none !important;
}

.mobile-category-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 8px 0 !important;
}

.mobile-category-group .group-title {
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  color: var(--hn-color-brand-primary) !important;
  margin-bottom: 2px !important;
}

.mobile-social-link {
  flex: 1 !important;
  padding: 10px !important;
  border-radius: var(--hn-radius-pill) !important;
  text-align: center !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.eitaa-btn {
  background-color: #F15A24 !important;
}

.instagram-btn {
  background: linear-gradient(45deg, #F09433, #DC2743, #BC1888) !important;
}

.mobile-drawer-header {
  padding: 16px 20px;
  background-color: var(--hn-color-brand-primary);
  border-bottom: 1px solid var(--hn-color-gold-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-brand {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-brand .brand-calligraphy {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--hn-color-surface-base);
  line-height: 1.1;
}

.mobile-drawer-brand .brand-tagline {
  font-size: 0.64rem;
  color: var(--hn-color-accent-gold);
  margin-top: 2px;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--hn-transition-fast);
}

.drawer-close-btn:hover {
  background-color: rgba(200, 169, 126, 0.3);
  color: var(--hn-color-accent-gold);
}

.mobile-search-box {
  padding: 12px 16px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--hn-color-border-subtle);
}

.mobile-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-search-icon {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  color: var(--hn-color-accent-gold);
  pointer-events: none;
}

.mobile-search-input-wrap input {
  width: 100%;
  background-color: var(--hn-color-surface-stone);
  border: 1px solid var(--hn-color-border-subtle);
  border-radius: var(--hn-radius-pill);
  padding: 9px 36px 9px 14px;
  font-size: 0.84rem;
  color: var(--hn-color-text-primary);
  transition: all var(--hn-transition-fast);
}

.mobile-search-input-wrap input:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--hn-color-accent-gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.15);
}

.mobile-drawer-scroll-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-section {
  display: flex;
  flex-direction: column;
}

.mobile-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hn-color-border-subtle);
}

.section-title-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
  letter-spacing: 0.5px;
}

.section-subtitle-note {
  font-size: 0.68rem;
  color: var(--hn-color-accent-gold);
  font-weight: 600;
}

.mobile-categories-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-cat-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border-radius: var(--hn-radius-md);
  background-color: #FFFFFF;
  border: 1px solid var(--hn-color-border-subtle);
  text-decoration: none;
  transition: all var(--hn-transition-fast);
}

.mobile-cat-card:active,
.mobile-cat-card:hover {
  background-color: var(--hn-color-surface-stone);
  border-color: var(--hn-color-accent-gold);
  transform: translateX(-3px);
}

.mobile-cat-card.is-hero {
  background: linear-gradient(135deg, rgba(11, 34, 25, 0.04) 0%, rgba(200, 169, 126, 0.14) 100%);
  border: 1.5px solid var(--hn-color-accent-gold);
  box-shadow: 0 2px 8px rgba(11, 34, 25, 0.05);
}

.cat-card-main-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-card-main-title strong,
.mobile-cat-card .cat-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
}

.cat-card-badge {
  font-size: 0.66rem;
  font-weight: 700;
  background-color: var(--hn-color-brand-primary);
  color: var(--hn-color-accent-gold);
  padding: 2px 8px;
  border-radius: var(--hn-radius-pill);
}

.cat-card-subtitle {
  display: block;
  font-size: 0.68rem;
  color: var(--hn-color-text-secondary);
  margin-top: 2px;
}

.cat-card-arrow {
  font-size: 0.85rem;
  color: var(--hn-color-accent-gold);
  transition: transform var(--hn-transition-fast);
}

.mobile-cat-card:hover .cat-card-arrow {
  transform: translateX(-4px);
}

.mobile-links-list {
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: var(--hn-radius-md);
  border: 1px solid var(--hn-color-border-subtle);
  overflow: hidden;
}

.mobile-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--hn-color-text-primary);
  border-bottom: 1px solid var(--hn-color-surface-stone);
  text-decoration: none;
  transition: background-color var(--hn-transition-fast);
}

.mobile-link-item:last-child {
  border-bottom: none;
}

.mobile-link-item:active,
.mobile-link-item:hover {
  background-color: var(--hn-color-surface-stone);
  color: var(--hn-color-brand-primary);
}

.mobile-link-item .link-icon {
  color: var(--hn-color-accent-gold);
  font-size: 0.9rem;
}

.mobile-link-item .link-arrow {
  margin-right: auto;
  font-size: 0.8rem;
  color: var(--hn-color-text-muted);
}

.mobile-boutique-strip {
  background: var(--hn-color-surface-stone);
  border: 1px solid var(--hn-color-border-subtle);
  border-radius: var(--hn-radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.strip-text strong {
  display: block;
  font-size: 0.78rem;
  color: var(--hn-color-brand-primary);
}

.strip-text span {
  display: block;
  font-size: 0.68rem;
  color: var(--hn-color-text-secondary);
  margin-top: 1px;
}

.strip-btn {
  background-color: var(--hn-color-brand-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--hn-radius-pill);
  white-space: nowrap;
  text-decoration: none;
}

.mobile-drawer-footer {
  padding: 14px 16px;
  background-color: #FFFFFF;
  border-top: 1px solid var(--hn-color-border-subtle);
}

.drawer-social-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hn-color-text-secondary);
  margin-bottom: 8px;
}

.drawer-social-row {
  display: flex;
  gap: 8px;
}

.mobile-social-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--hn-radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
}

.mobile-social-pill.eitaa {
  background-color: #F15A24;
}

.mobile-social-pill.instagram {
  background: linear-gradient(45deg, #F09433, #DC2743, #BC1888);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (MOBILE-FIRST LUXURY ADAPTATIONS)
   ========================================================================== */

@media (max-width: 1200px) {
  .categories-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-options-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .trust-brand-emblem {
    grid-column: span 2;
    border-left: none;
    border-bottom: 1px solid rgba(200, 169, 126, 0.25);
    padding-bottom: 16px;
  }

  .footer-top-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .primary-nav,
  .header-search-bar {
    display: none;
  }

  .mobile-menu-trigger {
    display: flex;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .header-inner {
    padding: 10px var(--hn-container-padding);
    gap: 12px;
  }

  .brand-calligraphy {
    font-size: 1.55rem;
  }

  .hero-section {
    min-height: 75vh;
  }

  .hero-content-inner {
    padding: 40px var(--hn-container-padding) 30px;
  }

  .hero-headline {
    font-size: 2.1rem;
    line-height: 1.35;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
  }

  .hero-watermark-block {
    display: none;
  }

  .pdp-layout,
  .hn-two-col,
  .boutique-card-banner{
    grid-template-columns: 1fr;
  }

  .pdp-gallery-wrap {
    position: static;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .collections-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE SCREENS (SMARTPHONES - MAX 640PX)
   Clean, uncrowded, elegant visual breathing room
   ========================================================================== */

@media (max-width: 640px) {
  :root {
    --hn-container-padding: 14px;
  }

  /* 1. Slim, 1-Line Top Bar (Never wrap awkwardly) */
  .top-announcement-bar {
    padding: 6px 12px;
    font-size: 0.72rem;
  }
  .announcement-subtle,
  .announcement-divider {
    display: none;
  }
  .announcement-badge {
    font-size: 0.65rem;
    padding: 1px 6px;
  }

  /* 2. Proportional Header */
  .header-inner {
    padding: 8px var(--hn-container-padding);
  }
  .brand-calligraphy {
    font-size: 1.35rem;
  }
  .brand-flower {
    font-size: 0.95rem;
  }
  .brand-tagline {
    font-size: 0.58rem;
  }
  .utility-btn {
    width: 34px;
    height: 34px;
  }
  .utility-btn svg {
    width: 18px;
    height: 18px;
  }
  

  /* 3. Hero Section (Uncluttered, High-Impact) */
  .hero-section {
    min-height: 72vh;
    display: flex;
    align-items: center;
  }
  .hero-bg-img {
    object-position: center 25%;
  }
  .hero-overlay-scrim {
    background: linear-gradient(
      180deg,
      rgba(11, 34, 25, 0.82) 0%,
      rgba(11, 34, 25, 0.72) 45%,
      rgba(11, 34, 25, 0.92) 100%
    );
  }
  .hero-content-inner {
    padding: 30px var(--hn-container-padding) 24px;
  }
  .hero-overtitle {
    font-size: 0.75rem;
    margin-bottom: 8px;
    border-right-width: 2px;
    padding-right: 8px;
  }
  .hero-headline {
    font-size: 1.55rem;
    line-height: 1.35;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 22px;
    color: #E2ECE0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .button {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.88rem;
    justify-content: center;
  }

  /* 4. Social Community Bridge (Compact & Elegant) */
  .social-bridge-section {
    padding: 12px 0;
  }
  .social-bridge-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .bridge-text {
    flex-direction: column;
    gap: 3px;
  }
  .bridge-text strong {
    font-size: 0.85rem;
  }
  .bridge-text span {
    font-size: 0.74rem;
  }
  .bridge-buttons {
    width: 100%;
    display: flex;
    gap: 8px;
  }
  .bridge-btn {
    flex: 1;
    justify-content: center;
    font-size: 0.76rem;
    padding: 8px 10px;
  }

  /* 5. Ornate Section Headers */
  .section-ornate-header {
    margin-bottom: 22px;
  }
  .section-ornate-title {
    font-size: 1.2rem;
    gap: 10px;
  }
  .section-ornate-title::before,
  .section-ornate-title::after {
    width: 20px;
  }
  .section-ornate-subtitle {
    font-size: 0.78rem;
    margin-top: 3px;
  }

  /* 6. 4 Categories Grid: Abaya Hero Card + 3 Balanced Cards */
  .categories-section {
    padding: 32px 0;
  }
  .categories-grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  /* Abaya card spans 2 columns as the majestic core base! */
  .category-card:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 8.5;
  }
  .category-card:first-child .category-fa-title {
    font-size: 1.35rem;
  }
  /* Other 3 categories */
  .category-card {
    aspect-ratio: 1 / 1.15;
    border-radius: var(--hn-radius-sm);
  }
  .category-card-content {
    padding: 12px 10px;
  }
  .category-leaf-icon {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }
  .category-fa-title {
    font-size: 1.05rem;
    margin-bottom: 1px;
  }
  .category-en-title {
    font-size: 0.62rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
  }
  .category-arrow-btn {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }
  .category-card-badge {
    top: 8px;
    right: 8px;
    font-size: 0.62rem;
    padding: 2px 7px;
  }

  /* 7. The 5 Hannan Value Pillars Bar (Compact 2-Column App Grid) */
  .trust-options-bar {
    padding: 16px 0;
  }
  .trust-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .trust-brand-emblem {
    grid-column: span 2;
    text-align: center;
    border-left: none;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    padding-bottom: 8px;
    margin-bottom: 4px;
  }
  .trust-brand-calligraphy {
    font-size: 1.3rem;
  }
  .trust-brand-motto {
    font-size: 0.7rem;
  }
  .trust-option-item {
    border-left: none;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(200, 169, 126, 0.15);
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .trust-option-item:last-child {
    grid-column: span 2;
    justify-content: center;
  }
  .trust-option-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
  }
  .trust-option-icon svg {
    width: 14px;
    height: 14px;
  }
  .trust-option-text h3 {
    font-size: 0.76rem;
  }
  .trust-option-text p {
    display: none; /* Keep mobile clean and airy */
  }

  /* 8. Products Section & Cards on Mobile */
  .products-section {
    padding: 32px 0;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .product-card {
    border-radius: var(--hn-radius-sm);
  }
  .product-info-wrap {
    padding: 10px 8px;
  }
  .product-category-tag {
    font-size: 0.65rem;
    margin-bottom: 2px;
  }
  .product-title {
    font-size: 0.84rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .product-price-current {
    font-size: 0.9rem;
  }
  .product-price-original {
    font-size: 0.74rem;
  }
  .product-card-footer {
    margin-top: 8px;
  }
  .swatch-dot {
    width: 11px;
    height: 11px;
  }
  .quick-view-btn {
    font-size: 0.72rem;
    padding: 2px 4px;
  }
  .product-badge-subtle {
    font-size: 0.62rem;
    padding: 1px 6px;
    top: 6px;
    right: 6px;
  }

  /* 9. Boutique Hamedan Section */
  .boutique-showcase-section {
    padding: 20px 0 36px;
  }
  .boutique-card-banner {
    border-radius: 12px;
  }
  .boutique-media {
    min-height: 180px;
    max-height: 200px;
  }
  .boutique-content {
    padding: 20px 14px;
  }
  .boutique-eyebrow {
    font-size: 0.74rem;
    margin-bottom: 4px;
  }
  .boutique-title {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .boutique-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    margin-bottom: 14px;
  }
  .boutique-details-list {
    margin-bottom: 16px;
  }
  .boutique-details-list li {
    font-size: 0.78rem;
    margin-bottom: 5px;
  }
  .boutique-content .button {
    font-size: 0.82rem;
    padding: 10px 14px;
  }

  /* 10. Phone Lead Capture Banner */
  
  
  
  
  
  

  /* 11. Product Detail Page (PDP) Mobile Refinements */
  .pdp-container {
    padding: 16px 0 40px;
  }
  .breadcrumbs {
    font-size: 0.72rem;
    margin-bottom: 14px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  .pdp-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  .pdp-pricing-box {
    padding-bottom: 12px;
    margin-bottom: 16px;
    gap: 10px;
  }
  .pdp-price-now {
    font-size: 1.35rem;
  }
  .pdp-price-before {
    font-size: 0.95rem;
  }
  .pdp-cta-actions {
    margin-bottom: 20px;
  }
  .secondary-actions-row {
    flex-direction: column;
    gap: 8px;
  }
  .pdp-trust-box {
    padding: 14px;
    margin-bottom: 20px;
  }
  .pdp-trust-list li {
    font-size: 0.76rem;
  }

  /* 12. Checkout & Cart Mobile Refinements */
  
  .hn-card {
    padding: 16px 12px;
    margin-bottom: 14px;
  }
  .hn-card-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  
  .form-field label {
    font-size: 0.78rem;
  }
  .form-field input,
  .form-field select,
  .form-field textarea {
    padding: 9px 12px;
    font-size: 0.85rem;
  }
  

  /* 13. Footer on Mobile */
  .site-footer {
    padding: 36px 0 0;
  }
  .footer-top-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 30px;
  }
  .footer-logo .brand-calligraphy {
    font-size: 1.8rem;
  }
  .footer-mission {
    font-size: 0.8rem;
    line-height: 1.7;
    margin: 10px 0 14px;
  }
  .footer-heading {
    font-size: 0.9rem;
    margin-bottom: 12px;
  }
  .footer-links a {
    font-size: 0.82rem;
  }
  .footer-contact-list li {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .footer-bottom-container {
    padding: 14px 0;
    font-size: 0.72rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

/* ==========================================================================
   THEME-ONLY ADDITIONS (not in the prototype)
   Availability chips, image placeholders, pagination, the catalog-mode CTA
   and the "no JavaScript" fallbacks. Same tokens, no new colours.
   ========================================================================== */

/* --- Image placeholders: the real photos are the owner's content task ----- */
.hn-media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--hn-color-surface-stone) 0%, var(--hn-color-surface-subtle) 100%);
  color: var(--hn-color-text-muted);
  overflow: hidden;
}

.hn-media-placeholder::after {
  content: '✿';
  font-size: 2.4rem;
  color: var(--hn-color-gold-border);
}

.hn-media-placeholder.is-wide {
  aspect-ratio: 16 / 9;
}

.hn-media-placeholder.is-dark {
  background: linear-gradient(135deg, var(--hn-color-brand-secondary) 0%, var(--hn-color-brand-dark) 100%);
}

/* --- Availability chips (sizes on the product page) ---------------------- */
.hn-availability-note {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: var(--hn-color-text-muted);
}

/* The chips state availability; they are not selectable until Phase 5 adds a cart. */
span.size-btn {
  cursor: default;
}

.size-btn.is-out,
.size-btn[aria-disabled="true"] {
  color: var(--hn-color-text-muted);
  border-color: var(--hn-color-border-subtle);
  background-image: linear-gradient(
    to top left,
    transparent 47%,
    var(--hn-color-border-strong) 47%,
    var(--hn-color-border-strong) 53%,
    transparent 53%
  );
  cursor: not-allowed;
}

.size-btn .hn-chip-state {
  display: block;
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.4;
}

.size-btn.is-low .hn-chip-state {
  color: #8A641E;
}

.size-btn.is-out .hn-chip-state,
.size-btn.is-unknown .hn-chip-state {
  color: var(--hn-color-text-muted);
}

.hn-stock-line {
  margin: 10px 0 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hn-color-text-secondary);
}

.hn-stock-line.is-out {
  color: #8C2E2B;
}

.hn-stock-line.is-in {
  color: #2E5A36;
}

/* --- Catalog mode: no online checkout yet -------------------------------- */
.hn-soon-box {
  padding: 18px 20px;
  border: 1px solid var(--hn-color-gold-border);
  border-radius: var(--hn-radius-md);
  background-color: var(--hn-color-accent-gold-light);
  margin-bottom: 18px;
}

.hn-soon-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  margin-bottom: 6px;
}

.hn-soon-text {
  display: block;
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--hn-color-text-secondary);
  margin-bottom: 14px;
}

.hn-soon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- In-page search form (the header's is hidden below 900 px) ----------- */
.hn-page-search {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 460px;
  margin-bottom: 32px;
}

.hn-page-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--hn-color-text-primary);
  background-color: var(--hn-color-surface-card);
  border: 1px solid var(--hn-color-border-strong);
  border-radius: var(--hn-radius-sm);
}

.hn-page-search input[type="search"]:focus {
  outline: 2px solid var(--hn-color-focus-ring);
  outline-offset: 2px;
}

/* --- Pagination ---------------------------------------------------------- */
.hn-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.hn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--hn-color-border-subtle);
  border-radius: var(--hn-radius-sm);
  background-color: var(--hn-color-surface-card);
  color: var(--hn-color-text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--hn-transition-fast);
}

.hn-pagination .page-numbers:hover {
  border-color: var(--hn-color-border-strong);
}

.hn-pagination .page-numbers.current {
  background-color: var(--hn-color-brand-primary);
  border-color: var(--hn-color-brand-primary);
  color: var(--hn-color-text-inverse);
}

/* --- «متن موقت» notice on a policy page the owner has not rewritten yet --- */
.hn-notice {
  display: block;
  padding: 14px 18px;
  margin-bottom: 24px;
  border: 1px dashed var(--hn-color-border-strong);
  border-inline-start: 4px solid #8A641E;
  border-radius: var(--hn-radius-sm);
  background-color: var(--hn-color-surface-stone);
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--hn-color-text-secondary);
}

.hn-notice strong {
  color: #8A641E;
}

/* --- Long-form content (about, terms, returns, privacy, shipping) -------- */
.hn-prose {
  line-height: 2;
  color: var(--hn-color-text-secondary);
  font-size: 1rem;
}

.hn-prose h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  margin: 28px 0 10px;
}

.hn-prose h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
  margin: 22px 0 8px;
}

.hn-prose p {
  margin-bottom: 16px;
}

.hn-prose ul,
.hn-prose ol {
  padding-right: 22px;
  margin-bottom: 18px;
}

.hn-prose li {
  margin-bottom: 6px;
}

.hn-prose a {
  color: var(--hn-color-brand-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hn-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--hn-radius-md);
}

.hn-page-header {
  margin-bottom: 28px;
}

.hn-page-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hn-color-accent-gold);
  margin-bottom: 6px;
}

.hn-page-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  line-height: 1.5;
}

.hn-narrow {
  max-width: 860px;
}

/* --- Empty / result states ---------------------------------------------- */
.hn-empty-state {
  text-align: center;
  padding: 56px 20px;
  background-color: var(--hn-color-surface-card);
  border: 1px solid var(--hn-color-border-subtle);
  border-radius: var(--hn-radius-md);
}

.hn-empty-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
  margin-bottom: 8px;
}

.hn-empty-text {
  display: block;
  font-size: 0.86rem;
  color: var(--hn-color-text-muted);
  margin-bottom: 20px;
}

.hn-result-list {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.hn-result-item {
  display: block;
  padding: 16px 18px;
  background-color: var(--hn-color-surface-card);
  border: 1px solid var(--hn-color-border-subtle);
  border-radius: var(--hn-radius-md);
  text-decoration: none;
}

.hn-result-item:hover {
  border-color: var(--hn-color-border-strong);
}

.hn-result-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--hn-color-brand-primary);
  margin-bottom: 4px;
}

.hn-result-excerpt {
  display: block;
  font-size: 0.85rem;
  color: var(--hn-color-text-secondary);
  line-height: 1.9;
}

/* --- Sort form and search form (work without JavaScript) ---------------- */
.hn-sort-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hn-sort-form label {
  font-size: 0.84rem;
  font-weight: 600;
}

.hn-sort-form select {
  padding: 8px 14px;
  border: 1px solid var(--hn-color-border-strong);
  border-radius: var(--hn-radius-sm);
  background-color: var(--hn-color-surface-card);
  font-family: inherit;
  font-size: 0.85rem;
}

.hn-sort-form noscript button {
  margin-inline-start: 6px;
}

.hn-catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hn-catalog-eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hn-color-accent-gold);
}

.hn-catalog-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--hn-color-brand-primary);
  line-height: 1.5;
}

.hn-catalog-lead {
  font-size: 0.88rem;
  color: var(--hn-color-text-secondary);
  margin-top: 4px;
}

/* --- Progressive enhancement ---------------------------------------------
   The script is the normal case, so these are the with-JavaScript defaults;
   assets/css/no-js.css flips them from inside <noscript>. */
.hn-js-only {
  display: inline-flex;
}

.hn-no-js-only {
  display: none;
}

/* --- Accessibility helper ----------------------------------------------- */
.hn-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .hn-catalog-head {
    align-items: flex-start;
  }

  .hn-page-title {
    font-size: 1.5rem;
  }

  .hn-pagination {
    margin-top: 32px;
  }
}

/* --- Dropdown reachable by keyboard and touch, not only hover ----------- */
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu,
.nav-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Accordions are <details>, so they open without JavaScript ---------- */
.accordion-item > .accordion-trigger {
  list-style: none;
}

.accordion-item > .accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-item[open] > .accordion-trigger span[aria-hidden="true"] {
  transform: rotate(180deg);
  display: inline-block;
}
