/*
Theme Name:        Hoor Hijab
Theme URI:         https://hoor-hijab.com
Author:            Hoor Hijab
Author URI:        https://hoorhijab.com
Description:       A bespoke WooCommerce theme for Hoor Hijab modest fashion boutique. Video hero, mega navigation, full hijab category system, multi-gateway checkout (Stripe, PayPal, Apple Pay, Klarna, Tabby, Tamara).
Version:           1.0.0
Requires at least: 6.4
Tested up to:      6.7
Requires PHP:      8.1
License:           Proprietary
Text Domain:       hoor-hijab
Tags:              woocommerce, fashion, modest, hijab, ecommerce
*/

/* ════════════════════════════════════════════════════
   DESIGN TOKENS
   (Colours also emitted as CSS custom properties
    from functions.php → hoor_dynamic_css())
════════════════════════════════════════════════════ */
:root {
  --ivory:      #FAF8F5;
  --charcoal:   #1C1C1C;
  --rose:       #C4A5A5;
  --sage:       #8A9E8A;
  --gold:       #C9A96E;
  --muted:      #6B6B6B;
  --border:     #E5E0D8;
  --card-bg:    #FDFCFA;
  --error:      #B04040;
  --success:    #4A7A4A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  --nav-h:    70px;
  --max-w:    1280px;
  --radius:   4px;
  --radius-lg:8px;

  --shadow-card: 0 4px 20px rgba(28,28,28,0.07);
  --shadow-hover:0 16px 40px rgba(28,28,28,0.12);
  --shadow-modal:0 24px 80px rgba(28,28,28,0.2);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* ════════════════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration:none; color:inherit; }
a:focus-visible { outline:2px solid var(--gold); outline-offset:3px; border-radius:2px; }
img,video { display:block; max-width:100%; height:auto; }
button,input,select,textarea { font-family:var(--font-body); }
ul,ol { list-style:none; }

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration:0.01ms !important;
    transition-duration:0.01ms !important;
  }
}

/* ── Page transition ─────────────────────────────────── */
/* Opacity-only: a transform here (even the identity translateY(0) retained by
   fill-mode:both) turns <body> into a containing block for position:fixed, which
   pushes the off-canvas drawers off-screen once the page is scrolled. */
@keyframes noor-page-enter {
  from { opacity:0; }
  to   { opacity:1; }
}
@keyframes noor-fade-up {
  from { opacity:0; transform:translateY(5px); }
  to   { opacity:1; transform:translateY(0); }
}
body {
  animation: noor-page-enter 0.35s cubic-bezier(0.4,0,0.2,1) both;
}
body.noor-page-exit {
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s cubic-bezier(0.4,0,0.2,1),
              transform 0.25s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
}

/* ════════════════════════════════════════════════════
   TYPOGRAPHY SCALE
════════════════════════════════════════════════════ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: var(--h-weight, 300);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(38px,5vw,72px); }
h2 { font-size: clamp(28px,3.5vw,48px); }
h3 { font-size: clamp(20px,2.5vw,30px); }
h4 { font-size: 18px; }
p  { margin-bottom: 1em; }
p:last-child { margin-bottom:0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ════════════════════════════════════════════════════
   LAYOUT UTILITIES
════════════════════════════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 40px;
}
.section-pad { padding-block: var(--section-pad, 80px); }
.section-pad-sm { padding-block: 48px; }

/* ════════════════════════════════════════════════════
   BUTTONS
════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn:disabled { opacity:0.5; cursor:not-allowed; }
.btn:focus-visible { outline:2px solid var(--gold); outline-offset:3px; }

.btn-primary {
  background: var(--gold);
  color: var(--ivory);
}
.btn-primary:hover { background: #d4b47a; color: var(--ivory); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-dark {
  background: var(--charcoal);
  color: var(--ivory);
}
.btn-dark:hover { background: #333; }

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(250,248,245,0.4);
}
.btn-ghost:hover { border-color:var(--ivory); background:rgba(250,248,245,0.08); }

.btn-ghost-dark {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--border);
}
.btn-ghost-dark:hover { border-color:var(--charcoal); }

.btn-sm { padding: 9px 20px; font-size:11px; }
.btn-full { width:100%; }

/* ════════════════════════════════════════════════════
   ANNOUNCEMENT BAR
════════════════════════════════════════════════════ */
.announcement-bar {
  background: var(--charcoal);
  color: var(--ivory);
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
  position: relative;
  z-index: 101;
}
.announcement-bar span { color: var(--gold); }
.announcement-bar a { color:var(--gold); text-decoration:underline; }

/* ════════════════════════════════════════════════════
   SITE HEADER / NAVIGATION
════════════════════════════════════════════════════ */
/* The WordPress admin bar is position:fixed, so anything docked at top:0
   slides underneath it and loses its first 32px. Sticky elements offset by
   --admin-bar-h instead of 0. Logged-out visitors keep 0. Below 600px WP
   switches the bar to position:absolute so it scrolls away — back to 0. */
:root { --admin-bar-h: 0px; }
.admin-bar { --admin-bar-h: 32px; }
@media screen and (max-width: 782px) { .admin-bar { --admin-bar-h: 46px; } }
@media screen and (max-width: 600px) { .admin-bar { --admin-bar-h: 0px;  } }

.site-header {
  position: sticky;
  top: var(--admin-bar-h);
  z-index: 100;
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(28,28,28,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 40px;
  gap: 0;
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  margin-inline-end: 48px;
  flex-shrink: 0;
  line-height: 1;
}
.nav-logo span { color: var(--gold); }
/* Auto-fit any uploaded logo to the header height — no need to pre-size the file.
   High specificity + max-height keep it inside the nav whatever the source size. */
.site-header .nav-logo img,
.site-header .nav-logo .custom-logo,
.site-header .custom-logo {
  height: auto;
  width: auto;
  max-height: calc(var(--nav-h) - 26px); /* ~44px in a 70px bar */
  max-width: 180px;
  object-fit: contain;
  display: block;
}
.nav-logo--image { display: inline-flex; align-items: center; }
.nav-logo--image .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }

/* Primary menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition);
  background: none;
  border: none;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-item.current-menu-item > .nav-link { color: var(--gold); }

/* Dropdown chevron */
.nav-link .chevron {
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-item:hover .chevron,
.nav-item:focus-within .chevron { transform: rotate(225deg) translateY(-2px); }

/* Mega dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-width: 520px;
  box-shadow: var(--shadow-modal);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
/* Invisible bridge from nav-link to dropdown — prevents gap from breaking hover */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item:hover .nav-dropdown,
.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown.sm  { min-width:340px; grid-template-columns:repeat(2,1fr); }
.nav-dropdown.xs  { min-width:200px; grid-template-columns:1fr; }

/* Auto-size menu-driven dropdowns to their column count (no manual class needed).
   :has() targets the exact number of .dropdown-col children inside the dropdown. */
.nav-dropdown:has(.dropdown-col:nth-child(2):last-child) { min-width:340px; grid-template-columns:repeat(2,1fr); }
.nav-dropdown:has(.dropdown-col:nth-child(1):last-child) { min-width:200px; grid-template-columns:1fr; }

.dropdown-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.dropdown-col a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--muted);
  padding-block: 4px;
  transition: color var(--transition);
}
.dropdown-col a::before {
  content:'';
  width:4px; height:4px;
  border-radius:50%;
  background:var(--rose);
  opacity:0;
  transition:opacity var(--transition);
  flex-shrink:0;
}
.dropdown-col a:hover { color:var(--charcoal); }
.dropdown-col a:hover::before { opacity:1; }

/* Nav actions (right side) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
  flex-shrink: 0;
}

.currency-select {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 26px 5px 12px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231c1c1c' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center;
  background-size: 9px;
  cursor: pointer;
  color: var(--charcoal);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /* Stay compact even on checkout/cart, where WooCommerce Blocks injects a
     global `select { width:100% }` reset that would otherwise stretch this. */
  width: auto !important;
  min-width: 96px;
  max-width: 160px;
  flex-shrink: 0;
  white-space: nowrap;
  text-align: left;
  line-height: 1.4;
}
.currency-select option { color: var(--charcoal); }

/* Force the header currency pill to look identical on every page. On
   checkout/cart, WooCommerce form-element styles repaint the bare <select>
   (white box, native arrow); this high-specificity rule restores the pill. */
.site-header .nav-actions .currency-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231c1c1c' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 10px center !important;
  background-size: 9px !important;
  border: 1px solid var(--border) !important;
  border-radius: 20px !important;
  padding: 5px 26px 5px 12px !important;
  width: auto !important;
  min-width: 96px !important;
  max-width: 160px !important;
  height: auto !important;
  color: var(--charcoal) !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
}

/* ── Language switcher (globe + dropdown) ───────────────────── */
.hoor-lang-switcher { position: relative; display: inline-flex; }

/* While the page is being fetched in the new language (no reload, so nothing
   else signals that anything is happening). */
html.hoor-lang-swapping body { opacity: 0.55; transition: opacity 0.15s ease; }
html.hoor-lang-swapping { cursor: progress; }

.hoor-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.hoor-lang-globe { width: 18px; height: 18px; flex-shrink: 0; }

/* Header: globe-only circular icon button */
.hoor-lang-icon .hoor-lang-toggle {
  width: 38px; height: 38px;
  justify-content: center;
  border-radius: 50%;
  color: var(--charcoal);
}
.hoor-lang-icon .hoor-lang-toggle:hover { background: var(--border); }

/* Footer: globe + current language label */
.hoor-lang-inline .hoor-lang-toggle { padding: 6px 4px; border-radius: 6px; }
.hoor-lang-current { white-space: nowrap; }

/* Dropdown panel */
.hoor-lang-menu {
  position: absolute;
  min-width: 160px;
  list-style: none;
  margin: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 34px rgba(0,0,0,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index: 300;
}
.hoor-lang-icon   .hoor-lang-menu { top: calc(100% + 8px); right: 0; }
.hoor-lang-inline .hoor-lang-menu { bottom: calc(100% + 8px); left: 0; }
.hoor-lang-switcher.open .hoor-lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.hoor-lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--charcoal);
  transition: background var(--transition);
}
.hoor-lang-btn:hover { background: var(--ivory); }

/* Selected language: weight + a subtle check at the row end — no filled block,
   so it no longer reads like a stuck hover. Every name shares the same left
   edge; the check sits at the inline-end (mirrors automatically in RTL). */
.hoor-lang-btn.active { font-weight: 600; }
.hoor-lang-btn.active::after {
  content: "✓";
  margin-inline-start: auto;
  font-size: 12px;
  line-height: 1;
  color: var(--rose);
}

/* Footer sits on a dark background — lighten the toggle */
.footer-bottom .hoor-lang-toggle { color: rgba(250,248,245,.75); }
.footer-bottom .hoor-lang-toggle:hover { color: #fff; }

.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
  position: relative;
  transition: background var(--transition);
}
.nav-icon-btn:hover { background: var(--border); }
/* Cart icon while you are already on the cart page: no pointer, no hover
   affordance, and pointer-events off so the mini-cart panel can't open. */
.nav-icon-btn.is-inert { pointer-events: none; cursor: default; opacity: .55; }
.nav-icon-btn svg { width:18px; height:18px; stroke-width:1.75; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* Mobile toggle */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-mobile-toggle span {
  display: block;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
.nav-mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

/* ════════════════════════════════════════════════════
   HERO — VIDEO SECTION
════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h) - 38px);
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0e0b0b;
}
.hero-video-bg iframe,
.hero-video-bg video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%,-50%);
  pointer-events: none;
  border: none;
  object-fit: cover; /* for <video> fallback */
}
/* Uploaded video / image background — simple full-cover. */
.hero-video-bg .hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: none;
}

.hero-fabric-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 3px,
    rgba(201,169,110,0.04) 3px,
    rgba(201,169,110,0.04) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,28,28,0.78) 0%,
    rgba(28,28,28,0.42) 55%,
    rgba(28,28,28,0.15) 100%
  );
  z-index: 1;
}

/* Abstract fabric silhouettes */
.fabric-shape {
  position: absolute;
  border-radius: 100% 0 100% 50% / 50% 100% 0 100%;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}
.fabric-shape-1 {
  width:600px; height:700px;
  right:5%; top:-10%;
  background: linear-gradient(135deg,var(--rose),var(--gold));
  animation: noor-float 10s ease-in-out infinite alternate;
}
.fabric-shape-2 {
  width:400px; height:500px;
  right:15%; bottom:-5%;
  background: linear-gradient(135deg,var(--sage),var(--rose));
  border-radius: 50% 100% 0 100% / 100% 0 100% 50%;
  animation: noor-float 14s ease-in-out infinite alternate-reverse;
}
@keyframes noor-float {
  from { transform:translateY(0) rotate(0deg); }
  to   { transform:translateY(-30px) rotate(6deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-inline: 40px;
  margin-left: max(40px, calc((100vw - var(--max-w)) / 2 + 40px));
  animation: noor-hero-reveal 1.2s ease both 0.2s;
}
@keyframes noor-hero-reveal {
  from { opacity:0; transform:translateY(32px); }
  to   { opacity:1; transform:translateY(0); }
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content:'';
  width:32px; height:1px;
  background:var(--gold);
  flex-shrink:0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(46px,5.5vw,76px);
  font-weight: 300;
  line-height: 1.06;
  color: var(--ivory);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  color: var(--rose);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: rgba(250,248,245,0.74);
  max-width: 420px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,248,245,0.45);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.scroll-line {
  width:1px; height:40px;
  background: linear-gradient(to bottom,rgba(250,248,245,0.5),transparent);
  animation: noor-scroll-pulse 2s ease-in-out infinite;
}
@keyframes noor-scroll-pulse {
  0%,100% { transform:scaleY(1); opacity:0.5; }
  50%      { transform:scaleY(0.6); opacity:0.2; }
}

/* ════════════════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════════════ */
.trust-bar {
  background: var(--charcoal);
  padding: 16px 40px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(250,248,245,0.7);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.trust-item svg { color:var(--gold); flex-shrink:0; width:15px; height:15px; }

/* ════════════════════════════════════════════════════
   SECTION HEADER
════════════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px,3vw,42px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title em { font-style:italic; color:var(--rose); }

.see-all {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.see-all:hover { color:var(--gold); border-color:var(--gold); }

/* ════════════════════════════════════════════════════
   CATEGORY GRID
════════════════════════════════════════════════════ */
.cat-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 320px 240px;
  gap: 12px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--charcoal);
}
.cat-card:first-child { grid-row:1/3; }

.cat-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}
.cat-card:hover .cat-card-bg { transform:scale(1.05); }

.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,rgba(28,28,28,0.8) 0%,transparent 55%);
}
.cat-card-content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 1;
}
.cat-card-content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 5px;
}
.cat-card-content p {
  font-size: 12px;
  color: rgba(250,248,245,0.6);
  margin-bottom: 12px;
}
.cat-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
/* Seasonal event tile in the homepage category grid */
.cat-card--event { box-shadow: 0 0 0 2px var(--gold) inset; }
.cat-card--event .cat-card-bg {
  background: linear-gradient(135deg, var(--charcoal) 0%, #2c2620 100%);
}
.cat-card-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}

/* ════════════════════════════════════════════════════
   PRODUCT CARDS (WooCommerce loop)
════════════════════════════════════════════════════ */
.products-bg {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

ul.products,
.product-grid {
  display: grid !important;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  list-style: none !important;
}

/* Kill WooCommerce clearfix pseudo-element — becomes a ghost grid item in CSS Grid */
ul.products::before,
ul.products::after {
  content: none !important;
  display: none !important;
}

/* WooCommerce resets */
ul.products li.product,
.product-card {
  float: none !important;
  width: auto !important;
  min-width: 0; /* let grid tracks shrink below content min-width — prevents row blowout/overflow */
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
}
ul.products li.product:hover,
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Product image wrapper */
.woocommerce-loop-product__link,
.product-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f0ede8;
}
.woocommerce-loop-product__link img,
.product-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
ul.products li.product:hover .woocommerce-loop-product__link img,
.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

/* Product badge */
.product-badge,
.woocommerce-span-onsale {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  right: auto !important;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  margin: 0 !important;
  min-height: unset !important;
  min-width: unset !important;
  line-height: 1.4 !important;
  z-index: 2;
}
.product-badge.sale,
.onsale { background:var(--rose) !important; color:#fff !important; }
.product-badge.new  { background:var(--sage); }
.product-badge.event {
  background: var(--gold) !important;
  color: var(--charcoal) !important;
  display: inline-flex; align-items: center; gap: 5px;
}
.product-badge.event::before { content: "\1F512"; font-size: 9px; line-height: 1; } /* lock glyph */

/* Path B: locked event item — the "View Event Collection" bar stays visible. */
.product-quick-add.product-quick-add--event {
  background: var(--gold);
  color: var(--charcoal);
  transform: translateY(0) !important; /* always shown, signals it's a gateway */
}
li.product:has(.product-quick-add--event) .product-img-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: rgba(28,28,28,0.12);
  pointer-events: none;
  transition: background var(--transition);
}
li.product:has(.product-quick-add--event):hover .product-img-wrap::after {
  background: rgba(28,28,28,0.28);
}

/* Fix: image anchor must fill the product-img-wrap so the whole image is clickable.
   Exclude the quick-add / "View Event Collection" links — those are <a> too and
   would otherwise get inset:0 and cover the whole image (overlapping the badge). */
.product-img-wrap > a:not(.product-quick-add) {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Quick add bar */
.product-quick-add,
.noor-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
  transform: translateY(100%);
  transition: transform var(--transition);
  cursor: pointer;
  border: none;
  z-index: 3;
}
ul.products li.product:hover .product-quick-add,
ul.products li.product:hover .noor-quick-add,
.product-card:hover .product-quick-add { transform:translateY(0); }

/* Touch devices have no hover — keep the quick-add button always visible. */
@media (hover: none) {
  .product-quick-add,
  .noor-quick-add { transform: translateY(0); }
}

/* Product info */
.woocommerce-loop-product__title,
.product-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.3;
  padding: 0 !important;
}
.product-info,
.product-info-inner { padding: 16px; }

.product-category-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Shown in place of the price on a sold-out product's card. */
.product-out-of-stock {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.price,
.product-price {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 15px !important;
  font-weight: 600;
  color: var(--charcoal);
}
.price ins { text-decoration:none; }
.price del {
  font-size: 13px !important;
  color: var(--muted);
  font-weight: 400;
}
.price-current.sale-price { color: var(--error); }

.product-colors {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.color-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(28,28,28,0.15);
  cursor: pointer;
  transition: transform var(--transition);
}
.color-dot:hover { transform:scale(1.35); }

/* ════════════════════════════════════════════════════
   EDITORIAL BANNER
════════════════════════════════════════════════════ */
.editorial-banner {
  background: var(--charcoal);
  padding: 80px clamp(24px,5vw,80px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.editorial-img {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: #2a2020;
}
.editorial-img img {
  width:100%; height:100%;
  object-fit:cover;
  object-position:center top;
}
.editorial-img-overlay {
  position:absolute; inset:0;
  background: repeating-linear-gradient(
    135deg,transparent,transparent 6px,
    rgba(201,169,110,0.05) 6px,rgba(201,169,110,0.05) 7px
  );
  pointer-events:none;
}
.editorial-text { max-width:480px; margin-left:auto; padding-left:40px; }
.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(34px,3.5vw,52px);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.08;
  margin-bottom: 20px;
}
.editorial-title em { font-style:italic; color:var(--rose); }
.editorial-body {
  color: rgba(250,248,245,0.65);
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 32px;
}

/* ════════════════════════════════════════════════════
   SUBCATEGORY TABS
════════════════════════════════════════════════════ */
.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tab-nav::-webkit-scrollbar { display:none; }

.tab-btn {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active {
  color: var(--charcoal);
  border-bottom-color: var(--gold);
}
.tab-btn:hover:not(.active) { color:var(--charcoal); }

.tab-panel { display:none; }
.tab-panel.active {
  display: block;
  animation: noor-fade-up 0.25s cubic-bezier(0.4,0,0.2,1) both;
}

/* ════════════════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════════════════ */
.newsletter-band {
  background: var(--rose);
  padding: 56px 40px;
  text-align: center;
}
.newsletter-band h2 {
  font-family: var(--font-display);
  font-size: clamp(28px,3vw,40px);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 10px;
}
.newsletter-band p {
  font-size: 14px;
  color: rgba(250,248,245,0.8);
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  max-width: 440px;
  margin-inline: auto;
  gap: 0;
}
.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px;
  outline: none;
}
.newsletter-btn {
  padding: 14px 24px;
  background: var(--charcoal);
  color: #fff;
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.newsletter-btn:hover { background: #333; }

/* ════════════════════════════════════════════════════
   CART HOVER PANEL (nav dropdown)
════════════════════════════════════════════════════ */
.cart-nav-item {
  position: relative;
}

.cart-hover-panel {
  position: absolute;
  top: calc(100% + 14px);
  inset-inline-end: 0; /* logical: right in LTR, left in RTL — so it never spills off-screen when the cart icon mirrors sides */
  width: 320px;
  max-width: calc(100vw - 24px); /* never overflow the viewport on small screens */
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 200;
}
/* Invisible bridge fills the gap so hover doesn't drop when cursor moves down */
.cart-hover-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.cart-nav-item:hover .cart-hover-panel,
.cart-nav-item.open .cart-hover-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Add-to-cart confirmation: a brief pop when the preview is flashed open. */
.cart-nav-item.cart-flash .cart-hover-panel {
  animation: hoor-cart-pop 0.45s ease;
}
@keyframes hoor-cart-pop {
  0%   { transform: translateY(0) scale(1); }
  40%  { transform: translateY(0) scale(1.03); }
  100% { transform: translateY(0) scale(1); }
}

/* You're already viewing the cart/checkout — the hover preview is redundant. */
.hoor-cart-page .cart-hover-panel,
.hoor-checkout-page .cart-hover-panel { display: none; }

.cart-panel-items {
  margin-bottom: 14px;
  max-height: 264px; /* ~3 items tall; more than that scrolls */
  overflow-y: auto;
  overscroll-behavior: contain; /* don't chain scroll to the page */
}

.cart-panel-item {
  display: flex;
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px solid var(--border);
}
.cart-panel-item:last-child { border-bottom: none; }

.cart-panel-item img {
  width: 56px;
  height: 72px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: #f0ede8;
}

.cart-panel-item-info { flex: 1; min-width: 0; }

.cart-panel-item-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cart-panel-item-meta { font-size: 12px; color: var(--muted); }

.cart-panel-more {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px 0 2px;
}

.cart-panel-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
}

.cart-panel-checkout {
  display: block;
  text-align: center;
  margin-top: 12px;
}

.cart-panel-view-cart {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  text-decoration: underline;
}
.cart-panel-view-cart:hover { color: var(--charcoal); }

.cart-panel-empty {
  text-align: center;
  padding: 8px 0 4px;
}
.cart-panel-empty p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ════════════════════════════════════════════════════
   MINI-CART DRAWER
════════════════════════════════════════════════════ */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.cart-overlay.open { opacity:1; visibility:visible; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  background: var(--ivory);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
}
.cart-overlay.open .cart-drawer { transform:translateX(0); }

/* ════════════════════════════════════════════════════
   SEARCH POPUP (live / dynamic)
════════════════════════════════════════════════════ */
.noor-search-overlay {
  position: fixed; inset: 0;
  z-index: 250;
  background: rgba(28,28,28,0.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 12vh 20px 20px;
}
.noor-search-overlay.open { opacity: 1; visibility: visible; }

.noor-search-modal {
  position: relative;
  width: 100%; max-width: 640px;
  background: var(--ivory);
  border-radius: var(--radius-lg, 14px);
  box-shadow: var(--shadow-modal, 0 24px 60px rgba(0,0,0,.28));
  padding: 26px;
  transform: translateY(-12px);
  transition: transform var(--transition);
  max-height: 76vh; display: flex; flex-direction: column;
}
.noor-search-overlay.open .noor-search-modal { transform: translateY(0); }

.noor-search-close {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border: none; background: transparent;
  border-radius: 50%; cursor: pointer; color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.noor-search-close:hover { background: var(--border); }

.noor-search-form {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 6px 6px 6px 14px; margin-right: 40px;
  background: #fff;
}
.noor-search-form:focus-within { border-color: var(--gold); }
.noor-search-form-icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.noor-search-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-size: 15px; color: var(--charcoal); padding: 8px 0;
}
.noor-search-submit {
  border: none; cursor: pointer;
  background: var(--charcoal); color: var(--ivory);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 18px; border-radius: var(--radius);
  transition: background var(--transition);
}
.noor-search-submit:hover { background: #333; }

.noor-search-results { margin-top: 16px; overflow-y: auto; }
.noor-search-results.is-loading { opacity: .5; }
.noor-search-list { list-style: none; margin: 0; padding: 0; }
.noor-search-item {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 8px; border-radius: var(--radius);
  transition: background var(--transition); color: var(--charcoal);
}
.noor-search-item:hover { background: #fff; }
.noor-search-item img,
.noor-search-item .noor-search-thumb {
  width: 52px; height: 64px; object-fit: cover; border-radius: 4px;
  background: #f0ede8; flex-shrink: 0;
}
.noor-search-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.noor-search-title { font-size: 14px; font-weight: 500; }
.noor-search-price { font-size: 13px; color: var(--gold); }
.noor-search-price del { color: var(--muted); margin-right: 6px; text-decoration: line-through; }
.noor-search-price ins { text-decoration: none; background: none; }
.noor-search-empty,
.noor-search-hint { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.cart-header {
  padding: 22px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.cart-header h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
}
.cart-close {
  width:36px; height:36px;
  border:1px solid var(--border);
  border-radius:50%;
  background:none;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition: background var(--transition);
}
.cart-close:hover { background:var(--border); }
.cart-close svg { width:14px; height:14px; }

.cart-items { flex:1; overflow-y:auto; padding:20px 28px; }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom:none; }

.cart-item-img {
  width:80px; height:100px;
  border-radius:3px;
  background: #e8e3db;
  flex-shrink:0;
  overflow:hidden;
}
.cart-item-img img { width:100%; height:100%; object-fit:cover; }

.cart-item-info { flex:1; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.3;
}
.cart-item-variant {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.qty-btn {
  width:30px; height:30px;
  background:none;
  border:none;
  cursor:pointer;
  font-size:16px;
  color:var(--charcoal);
  display:flex; align-items:center; justify-content:center;
  transition: background var(--transition);
}
.qty-btn:hover { background:var(--border); }
.qty-val { width:32px; text-align:center; font-size:13px; font-weight:500; }
.cart-item-price { font-size:14px; font-weight:600; text-align:right; white-space:nowrap; }

.cart-empty {
  text-align: center;
  padding: 48px 20px;
  font-size: 14px;
  color: var(--muted);
}

.cart-footer {
  padding: 18px 28px 26px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-subtotal {
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}
.cart-total {
  display:flex;
  justify-content:space-between;
  font-family:var(--font-display);
  font-size:20px;
  font-weight:400;
  margin-bottom:18px;
}
.cart-note {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:11px;
  color:var(--muted);
  margin-bottom:14px;
}

/* Checkout buttons */
.btn-checkout {
  display:block;
  width:100%;
  padding:15px;
  text-align:center;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.1em;
  text-transform:uppercase;
  border:none;
  border-radius:var(--radius);
  cursor:pointer;
  margin-bottom:9px;
  transition: background var(--transition), opacity var(--transition);
}
.btn-checkout:hover { opacity:0.9; }
.btn-checkout.primary  { background:var(--charcoal); color:var(--ivory); }
.btn-checkout.paypal   { background:#FFC439; color:#003087; }
.btn-checkout.apple-pay{ background:#000; color:#fff; }

/* Payment icons row */
.payment-icons {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:14px;
}
.pay-icon {
  padding:3px 7px;
  border:1px solid var(--border);
  border-radius:3px;
  font-size:9px;
  font-weight:700;
  letter-spacing:0.04em;
  color:var(--muted);
  background:#fff;
}

/* ════════════════════════════════════════════════════
   WOOCOMMERCE CART PAGE
════════════════════════════════════════════════════ */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
}
.woocommerce-cart table.cart th {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.woocommerce-cart table.cart td {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.woocommerce-cart table.cart .product-thumbnail { width:90px; }
.woocommerce-cart table.cart .product-thumbnail img {
  width:80px; height:100px;
  object-fit:cover;
  border-radius:3px;
}
.woocommerce-cart table.cart .product-name a {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}
.woocommerce-cart table.cart .product-quantity input[type="number"] {
  width: 60px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 3px;
  text-align: center;
  font-size: 14px;
}
.woocommerce-cart table.cart .product-remove a {
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}
.woocommerce-cart table.cart .product-remove a:hover { color:var(--error); }

/* Cart totals */
.cart_totals h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 20px;
}
.cart_totals table { width:100%; }
.cart_totals table th,
.cart_totals table td { padding:10px 0; border-bottom:1px solid var(--border); font-size:14px; }
.cart_totals table tr.order-total th,
.cart_totals table tr.order-total td {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  border-bottom: none;
  padding-top: 16px;
}
.wc-proceed-to-checkout .checkout-button {
  display:block;
  width:100%;
  padding:16px;
  background:var(--charcoal);
  color:var(--ivory);
  text-align:center;
  font-size:13px;
  font-weight:700;
  letter-spacing:0.1em;
  text-transform:uppercase;
  border-radius:var(--radius);
  transition:background var(--transition);
}
.wc-proceed-to-checkout .checkout-button:hover { background:#333; }

/* ════════════════════════════════════════════════════
   WOOCOMMERCE CHECKOUT PAGE
════════════════════════════════════════════════════ */
.woocommerce-checkout .woocommerce {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 60px 40px;
  align-items: start;
}

/* Checkout form labels */
.woocommerce-checkout label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  font-size: 14px;
  color: var(--charcoal);
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus { border-color:var(--gold); }

/* Side-by-side first / last name */
.woocommerce-checkout .form-row.form-half {
  display: inline-block;
  width: calc(50% - 7px);
}
.woocommerce-checkout #billing_first_name_field { margin-right:14px; }

/* Section headings inside checkout */
.woocommerce-checkout h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Payment box */
#payment { background:transparent !important; border-radius:0 !important; }
#payment ul.payment_methods { border:none !important; padding:0 !important; }
#payment ul.payment_methods li {
  border:1px solid var(--border) !important;
  border-radius:var(--radius) !important;
  margin-bottom:10px !important;
  overflow:hidden;
}
#payment ul.payment_methods li.wc_payment_method label {
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  cursor:pointer;
  font-size:13.5px;
  font-weight:500;
  text-transform:none;
  letter-spacing:0;
  color:var(--charcoal);
  background:#fff;
}
#payment ul.payment_methods li.wc_payment_method input[type="radio"] {
  accent-color: var(--gold);
  width:18px; height:18px;
  flex-shrink:0;
}
#payment .payment_box {
  background: #fdfcfa !important;
  padding: 14px 16px !important;
  border-top: 1px solid var(--border) !important;
  font-size:13px;
  color:var(--muted);
  margin:0 !important;
  border-radius:0 !important;
}
#payment .place-order {
  padding:0;
  background:transparent;
}
#payment #place_order {
  display:block;
  width:100%;
  padding:17px;
  background:var(--charcoal);
  color:var(--ivory);
  font-size:14px;
  font-weight:700;
  letter-spacing:0.08em;
  text-transform:uppercase;
  border:none;
  border-radius:var(--radius);
  cursor:pointer;
  transition:background var(--transition);
  margin-top:20px;
}
#payment #place_order:hover { background:#333; }

/* Order review sidebar */
#order_review_heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 20px;
}
table.woocommerce-checkout-review-order-table {
  width:100%;
}
table.woocommerce-checkout-review-order-table th {
  font-size:10px; font-weight:700; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--muted);
  padding-bottom:12px; border-bottom:1px solid var(--border);
}
table.woocommerce-checkout-review-order-table td {
  padding:10px 0;
  border-bottom:1px solid var(--border);
  font-size:13.5px;
}
table.woocommerce-checkout-review-order-table tr.order-total td,
table.woocommerce-checkout-review-order-table tr.order-total th {
  font-family:var(--font-display);
  font-size:20px; font-weight:400;
  border-bottom:none;
  padding-top:14px;
}

/* Payment logos */
.noor-payment-logos {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-top:14px;
}
.noor-secure-note {
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11px;
  color:var(--muted);
  margin-top:10px;
  margin-bottom:0;
}

/* Coupon row */
.noor-coupon-row .coupon-field {
  display:flex;
  gap:8px;
  padding:12px 0 4px;
}
.coupon-input {
  flex:1;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:3px;
  font-size:13px;
  outline:none;
}
.coupon-input:focus { border-color:var(--gold); }
.btn-apply {
  padding:10px 16px;
  background:var(--charcoal);
  color:#fff;
  border:none;
  border-radius:3px;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.06em;
  cursor:pointer;
  white-space:nowrap;
}

/* ════════════════════════════════════════════════════
   WOOCOMMERCE NOTICES
════════════════════════════════════════════════════ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top:3px solid var(--gold) !important;
  background:#fff !important;
  padding:14px 20px !important;
  border-radius:0 0 var(--radius) var(--radius) !important;
  font-size:14px;
  margin-bottom:24px !important;
  box-shadow:var(--shadow-card);
}
.woocommerce-error { border-top-color:var(--error) !important; }
/* Hide WooCommerce's pseudo-icon — it absolutely-positions over our text
   (no left padding in our notice style), causing the glyph to overlap. */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { content:none !important; display:none !important; }

/* Checkout: invalid Spanish postcode (province mismatch) — red border + hint */
.hoor-postcode-invalid input,
.hoor-postcode-invalid .wc-block-components-text-input__input {
  border-color: var(--error) !important;
  box-shadow: 0 0 0 1px var(--error) !important;
}
.hoor-postcode-msg {
  /* The address form is a grid — span the whole row so the message drops
     onto its own line directly under the postcode field, not beside it. */
  grid-column: 1 / -1;
  width: 100%;
  flex-basis: 100%;
  color: var(--error);
  font-size: 12px;
  line-height: 1.4;
  margin: 4px 0 0;
}

/* ── WooCommerce Blocks checkbox fix ──────────────────────────
   The Blocks custom checkbox uses appearance:none + an SVG mark.
   Force a clean appearance so the native browser checkbox and the
   SVG mark never overlap.
─────────────────────────────────────────────────────────────── */
.wc-block-components-checkbox__input[type="checkbox"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  border: 1.5px solid #1c1c1c !important;
  border-radius: 3px !important;
  background: #fff !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
  position: relative !important;
}
.wc-block-components-checkbox__input[type="checkbox"]:checked {
  background: #1c1c1c !important;
  border-color: #1c1c1c !important;
}
/* Gap between checkbox and its label text */
.wc-block-components-checkbox {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}
.wc-block-components-checkbox__label {
  margin-left: 10px !important;
  padding-left: 0 !important;
}
/* Hide the SVG mark — use ::after pseudo-element instead so
   there is exactly one visual layer and no overlap */
.wc-block-components-checkbox__mark { display: none !important; }
.wc-block-components-checkbox__input[type="checkbox"]:checked::after {
  content: '' !important;
  display: block !important;
  width: 5px !important;
  height: 9px !important;
  border: 1.5px solid #fff !important;
  border-top: none !important;
  border-left: none !important;
  transform: rotate(45deg) translateY(-1px) !important;
}

/* ════════════════════════════════════════════════════
   SHOP PAGE LAYOUT
════════════════════════════════════════════════════ */
.noor-shop-main {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 48px 40px 80px;
}
.noor-shop-header {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:40px;
  flex-wrap:wrap;
}
.noor-shop-filters {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.noor-filter-select {
  padding:8px 14px;
  border:1px solid var(--border);
  border-radius:3px;
  background:#fff;
  font-size:13px;
  cursor:pointer;
  appearance:none;
}
.woocommerce-result-count {
  font-size:13px;
  color:var(--muted);
  margin:0;
}
.woocommerce-ordering select {
  padding:8px 14px;
  border:1px solid var(--border);
  border-radius:3px;
  background:#fff;
  font-size:13px;
  cursor:pointer;
}

/* ════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
════════════════════════════════════════════════════ */
.noor-product-page .woocommerce {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 48px 40px;
}
.noor-product-page div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.woocommerce-product-gallery { position:sticky; top:calc(var(--nav-h) + var(--admin-bar-h) + 24px); }
.woocommerce-product-gallery__image img {
  width:100%; border-radius:var(--radius);
  aspect-ratio:3/4; object-fit:cover;
}

.product_title {
  font-family: var(--font-display) !important;
  font-size: clamp(28px,3vw,42px) !important;
  font-weight: 300 !important;
  margin-bottom: 10px !important;
}
.woocommerce-product-details__short-description {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}
.cart .qty {
  width:60px !important;
  padding:12px 10px !important;
  border:1px solid var(--border) !important;
  border-radius:3px !important;
  text-align:center;
  font-size:15px;
}
.single_add_to_cart_button {
  padding:14px 36px !important;
  background:var(--charcoal) !important;
  color:var(--ivory) !important;
  font-size:13px !important;
  font-weight:700 !important;
  letter-spacing:0.1em !important;
  text-transform:uppercase !important;
  border:none !important;
  border-radius:var(--radius) !important;
  cursor:pointer;
  transition:background var(--transition) !important;
}
.single_add_to_cart_button:hover { background:#333 !important; }

/* ════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════ */
.site-footer {
  background: var(--charcoal);
  color: rgba(250,248,245,0.7);
  padding: 64px 40px 32px;
}
.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 14px;
  line-height: 1.2;
}
.footer-logo span { color:var(--gold); }
.footer-logo img { height:44px; width:auto; }

.footer-tagline { font-size:13.5px; line-height:1.75; margin-bottom:24px; }

.footer-socials { display:flex; gap:10px; }
.social-btn {
  width:36px; height:36px;
  border:1px solid rgba(250,248,245,0.2);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:700;
  color:rgba(250,248,245,0.6);
  cursor:pointer;
  transition:border-color var(--transition),color var(--transition);
  text-decoration:none;
}
.social-btn:hover { border-color:var(--gold); color:var(--gold); }

.footer-col h4 {
  font-size:10px; font-weight:700;
  letter-spacing:0.16em; text-transform:uppercase;
  color:var(--ivory); margin-bottom:18px;
}
.footer-col a {
  display:block;
  font-size:13.5px;
  color:rgba(250,248,245,0.6);
  margin-bottom:10px;
  transition:color var(--transition);
}
.footer-col a:hover { color:var(--gold); }

.footer-bottom {
  max-width:var(--max-w);
  margin-inline:auto;
  border-top:1px solid rgba(250,248,245,0.12);
  padding-top:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.footer-copy { font-size:12px; color:rgba(250,248,245,0.35); }
.footer-pay-icons { display:flex; gap:7px; flex-wrap:wrap; align-items:center; }
.footer-pay-icon {
  width: 46px;
  height: 29px;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
  opacity: 0.88;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.footer-pay-icon:hover { opacity: 1; }

/* ── Footer bottom bar: 3 zones — copyright | payment | utilities ── */
.footer-bottom-left,
.footer-bottom-right { display: flex; align-items: center; flex-wrap: wrap; }
.footer-bottom-left  { gap: 0; }
.footer-bottom-right { gap: 18px; justify-content: flex-end; }
.footer-bottom-center { display: flex; justify-content: center; flex: 1 1 auto; }

.footer-bottom-left .footer-copy,
.footer-bottom-left .footer-copy a,
.footer-legal-link { font-size: 12px; color: rgba(250,248,245,0.5); }
.footer-bottom-left > * + *::before {
  content: "·";
  margin: 0 10px;
  color: rgba(250,248,245,0.35);
}
.footer-bottom-left .footer-copy a:hover,
.footer-legal-link:hover { color: #fff; }

/* Social icons (bottom-right) */
.footer-socials--icons { display: flex; gap: 14px; align-items: center; }
.footer-socials--icons .social-icon {
  color: rgba(250,248,245,0.6);
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}
.footer-socials--icons .social-icon:hover { color: #fff; }
.footer-socials--icons svg { display: block; }

/* Currency switcher on the dark footer → borderless + light */
.footer-bottom .currency-select {
  border: none !important;
  border-radius: 0 !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23faf8f5' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 2px center !important;
  background-size: 9px !important;
  color: rgba(250,248,245,0.78) !important;
  padding: 4px 18px 4px 2px !important;
  min-width: 0 !important;
  max-width: none !important;
}
.footer-bottom .currency-select option { color: var(--charcoal); }

/* ════════════════════════════════════════════════════
   BREADCRUMB
════════════════════════════════════════════════════ */
.noor-breadcrumb {
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px;
}
.noor-breadcrumb a { color:var(--muted); transition:color var(--transition); }
.noor-breadcrumb a:hover { color:var(--gold); }
.bc-sep { margin-inline:6px; opacity:0.5; }

/* ════════════════════════════════════════════════════
   WC FORM STYLES (global)
════════════════════════════════════════════════════ */
.form-group { margin-bottom:18px; }
.form-label {
  display:block;
  font-size:11px; font-weight:600;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--muted); margin-bottom:6px;
}
.form-input,
.form-select {
  width:100%;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:3px;
  background:#fff;
  font-size:14px;
  color:var(--charcoal);
  transition:border-color var(--transition);
  outline:none;
  appearance:none;
}
.form-input:focus,.form-select:focus { border-color:var(--gold); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-row.full { grid-template-columns:1fr; }

/* ════════════════════════════════════════════════════
   MOBILE MENU (off-canvas)
════════════════════════════════════════════════════ */
.mobile-nav-overlay {
  position:fixed; inset:0;
  background:rgba(28,28,28,0.5);
  z-index:150;
  opacity:0; visibility:hidden;
  transition:opacity var(--transition),visibility var(--transition);
}
.mobile-nav-overlay.open { opacity:1; visibility:visible; }

.mobile-nav-drawer {
  position:fixed;
  top:0; left:0; bottom:0;
  width:min(340px,90vw);
  background:var(--ivory);
  z-index:151;
  transform:translateX(-100%);
  transition:transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y:auto;
  padding:24px;
}
.mobile-nav-overlay.open .mobile-nav-drawer { transform:translateX(0); }

.mobile-nav-close {
  display:flex; justify-content:flex-end; margin-bottom:24px;
}
.mobile-nav-item a,
.mobile-nav-list > li > a {
  display:block;
  padding:12px 0;
  font-size:16px; font-weight:500;
  border-bottom:1px solid var(--border);
  color:var(--charcoal);
  transition: color var(--transition);
}
.mobile-nav-item a:hover,
.mobile-nav-list > li > a:hover { color:var(--gold); }

/* Menu groups with children (Hoor_Mobile_Menu_Walker): tap to open */
.mobile-nav-group { border-bottom:1px solid var(--border); }
.mobile-nav-group summary {
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:12px 0;
  font-size:16px; font-weight:500;
  color:var(--charcoal);
  cursor:pointer;
  list-style:none;
}
.mobile-nav-group summary::-webkit-details-marker { display:none; }
.mobile-nav-group summary::after {
  content:"";
  width:8px; height:8px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
  transition:transform var(--transition);
}
.mobile-nav-group details[open] > summary::after { transform:rotate(225deg) translateY(-2px); }
.mobile-nav-sub { list-style:none; margin:0; padding:0 0 12px; padding-inline-start:12px; }
.mobile-nav-sub a { display:block; padding:7px 0; font-size:14px; color:var(--charcoal); }
.mobile-nav-sub a:hover { color:var(--gold); }
.mobile-nav-heading {
  margin-top:8px; padding:4px 0;
  font-size:10px; font-weight:600; letter-spacing:0.12em; text-transform:uppercase;
  color:var(--muted);
}
.mobile-nav-heading a { font-size:inherit; padding:0; color:inherit; }

/* Drawer footer: language + currency + account */
.mobile-nav-list { list-style:none; margin:0; padding:0; }
.mobile-nav-footer { margin-top:24px; padding-top:20px; border-top:1px solid var(--border); }
.mobile-nav-utils {
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; flex-wrap:wrap;
}
.mobile-nav-utils .hoor-lang-switcher,
.mobile-nav-utils .currency-select { margin:0; }

/* ════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
════════════════════════════════════════════════════ */
@media (max-width:1024px) {
  .nav-menu { display:none; }
  .nav-mobile-toggle { display:flex; order:3; margin-left:8px; }
  .container { padding-inline:24px; }

  /* Header: tighten spacing and declutter the utility row. The logo no longer
     needs the big right gutter once the inline menu is gone. */
  .nav-inner { padding-inline:24px; gap:8px; }
  .nav-logo { margin-right:auto; }
  .nav-actions { gap:2px; margin-left:0; }

  /* Currency + language live in the mobile drawer / footer on small screens,
     so drop them from the cramped top bar to stop it overflowing. */
  .nav-actions .currency-select,
  .nav-actions .hoor-lang-switcher { display:none; }

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

  /* Single product: stop the 2-column gallery/summary from being crushed. */
  .noor-product-page .woocommerce { padding:32px 24px; }
  .noor-product-page div.product { grid-template-columns:1fr; gap:32px; }
  .woocommerce-product-gallery { position:static; }

  /* Shop/event wrapper: trim the side gutter so the grid has room. */
  .noor-shop-main { padding-inline:24px; }

  .cat-grid {
    grid-template-columns:1fr 1fr;
    grid-template-rows:280px 280px 200px;
  }
  .cat-card:first-child { grid-row:1/3; grid-column:1/2; }

  .editorial-banner { grid-template-columns:1fr; gap:40px; padding:60px 24px; }
  .editorial-text { margin-left:0; padding-left:0; max-width:100%; }

  .woocommerce-checkout .woocommerce { grid-template-columns:1fr; gap:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
}

/* ════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤640px)
════════════════════════════════════════════════════ */
@media (max-width:640px) {
  .hero { height:90svh; min-height:520px; }
  .hero-content { margin-left:0; padding-inline:24px; }
  .hero-ctas { flex-direction:column; }
  .btn { width:100%; justify-content:center; }

  /* Header: tighten further on phones (currency + language already moved to the
     drawer at ≤1024; account stays reachable here and in the drawer). */
  .nav-inner { padding-inline:16px; }
  .nav-icon-btn { width:36px; height:36px; }
  .nav-icon-btn svg { width:17px; height:17px; }
  .nav-logo { font-size:22px; }

  /* Event landing page */
  .noor-event-hero-inner { padding:40px 20px; }
  .noor-event-collection { padding:0 16px 48px; }
  .noor-shop-main { padding-inline:16px; }

  ul.products,
  .product-grid { grid-template-columns:repeat(2,1fr) !important; gap:12px !important; }

  .cat-grid { grid-template-columns:1fr; grid-template-rows:none; }
  .cat-card { height:240px; }
  .cat-card:first-child { grid-row:auto; height:320px; }

  .trust-bar { gap:20px; padding:14px 20px; }
  .trust-item { font-size:11px; }

  .cart-drawer { width:100%; border-radius:16px 16px 0 0; top:auto; height:92svh; }
  .cart-overlay.open .cart-drawer { transform:translateX(0); }

  .woocommerce-checkout .woocommerce { padding:32px 20px; }
  .form-row { grid-template-columns:1fr; }

  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }

  .section-pad { padding-block:48px; }
  .container { padding-inline:20px; }

  .newsletter-form { flex-direction:column; }
  .newsletter-input { border-radius:var(--radius); }
  .newsletter-btn { border-radius:var(--radius); }
}

/* ════════════════════════════════════════════════════
   PRINT
════════════════════════════════════════════════════ */
@media print {
  .site-header,.trust-bar,.hero,.cart-overlay,.announcement-bar,
  .site-footer,.nav-mobile-toggle { display:none !important; }
  body { background:#fff; color:#000; }
}

/* ════════════════════════════════════════════════════
   SIZE CHART TABLE — product-page popup + Size Chart page
   (CM/IN toggle: assets/js/main.js; data: inc/help-pages.php)
════════════════════════════════════════════════════ */
.noor-sizechart-units { display: flex; gap: 8px; }
.noor-unit-btn {
    min-width: 52px; padding: 9px 16px;
    border: 1px solid var(--border); border-radius: 999px;
    background: var(--card-bg); color: var(--charcoal);
    font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.noor-unit-btn:hover { border-color: var(--charcoal); }
.noor-unit-btn.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.noor-sizechart-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 4px; border: 1px solid var(--border); }
.noor-sizechart-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.noor-sizechart-table th, .noor-sizechart-table td {
    padding: 16px 18px; text-align: left; white-space: nowrap;
    color: var(--charcoal); border: none;
}
.noor-sizechart-table thead th {
    background: #8B5E3C; color: #fff;
    font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    white-space: normal; line-height: 1.4; vertical-align: middle;
}
.noor-sizechart-table tbody th { font-weight: 700; color: #8B5E3C; }
.noor-sizechart-table tbody td { font-weight: 600; }
.noor-sizechart-table tbody tr { background: #fff; border-top: 1px solid var(--border); }
.noor-sizechart-table tbody tr:nth-child(even) { background: var(--ivory); }
