/* ═══════════════════════════════════════════
   NASHMIAH — Main Stylesheet
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   ═══════════════════════════════════════════ */

:root {
  --ink: #110910;
  --plum: #1f0a1d;
  --teal: #23423c;
  --gold: #c1aa64;
  --cream: #fcfbfa;
  --white: #ffffff;
  --mist: #f5f3f0;
  --border: #e8e3df;
  --text: #3d313a;
  --light: #8b7c88;

  --r: 2px;
  --r-lg: 8px;
  --shadow: 0 4px 20px rgba(17, 9, 16, 0.05);
  --shadow-hover: 0 16px 40px rgba(17, 9, 16, 0.12);

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

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── RTL & Bidi Text Support (Arabic) ── */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
a {
  unicode-bidi: plaintext;
  text-align: match-parent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── Focus-visible (keyboard accessibility) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--r);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  height: 96px;
  background: rgb(255, 255, 255);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s, height .3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: clamp(60px, 8vw, 82px);
  width: auto;
  transition: opacity .2s, height .3s ease;
}

.navbar.scrolled .nav-logo img {
  height: clamp(45px, 6vw, 60px);
}

.nav-logo:hover img {
  opacity: .75;
}

.nav-links {
  display: flex;
  gap: clamp(24px, 3vw, 40px);
}

.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--plum);
  transition: color .2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .25s ease;
}

.nav-links a:hover::after {
  right: 0;
}

.nav-links a:hover {
  color: var(--teal);
}

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.burger:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
  transition: all .3s;
}

.burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Selection ── */
.selection {
  padding: clamp(60px, 8vw, 120px) 20px;
  background: var(--mist);
  text-align: center;
}

.selection-inner {
  max-width: 600px;
  margin: 0 auto;
}

.sel-box {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin: 30px 0;
  text-align: left;
}

.sel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.sel-item img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.sel-info {
  flex: 1;
}

.sel-info h4 {
  font-size: 14px;
  color: var(--plum);
  margin-bottom: 4px;
}

.sel-info p {
  font-size: 13px;
  color: var(--light);
}

.sel-rm {
  background: none;
  border: none;
  color: var(--light);
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}

.sel-rm:hover {
  color: #c62828;
}

.sel-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--plum);
  padding-top: 8px;
}

.sel-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sel-actions .btn-wa {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 14px;
}

/* ── Hero ── */
.hero {
  min-height: 80vh;
  padding-top: 96px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  background: linear-gradient(135deg, var(--plum) 0%, #30102c 50%, var(--teal) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 75% 50%, rgba(193, 170, 100, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  padding: clamp(60px, 8vw, 120px) clamp(24px, 5vw, 80px);
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-sub {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, .6);
}

.hero-tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .6);
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: var(--r);
  transition: all .4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-cta:hover {
  background: var(--white);
  color: var(--plum);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  height: clamp(120px, 20vw, 240px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .15;
  transition: opacity .3s;
}

.hero:hover .hero-logo {
  opacity: .25;
}

/* ── Collections ── */
.collections {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 40px);
  background: var(--white);
}

.collections-header {
  text-align: center;
  margin-bottom: 40px;
}

.collections-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--plum);
  margin-bottom: 8px;
}

.collections-header p {
  font-size: .9rem;
  color: var(--light);
  letter-spacing: .5px;
}

/* ── Search bar ── */
.search-bar {
  display: flex;
  align-items: center;
  max-width: 480px;
  margin: 0 auto 36px;
  background: var(--mist);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0 16px;
  transition: border-color .2s, box-shadow .2s;
}

.search-bar:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 97, 90, .1);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--light);
  flex-shrink: 0;
}

#search {
  flex: 1;
  border: none;
  background: none;
  padding: 13px 10px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
}

#search:focus {
  outline: none;
}

#search::placeholder {
  color: var(--light);
}

.search-clear {
  background: none;
  border: none;
  display: none;
  padding: 4px;
  color: var(--light);
  transition: color .2s;
}

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

.search-clear:hover {
  color: var(--plum);
}

.search-clear.visible {
  display: flex;
}

/* ── Tabs ── */
.tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.tabs {
  display: inline-flex;
  background: var(--mist);
  border-radius: 50px;
  padding: 4px;
  gap: 2px;
  border: 1px solid var(--border);
}

.tab {
  padding: 9px 26px;
  border: none;
  background: none;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--light);
  transition: all .25s;
}

.tab:hover {
  color: var(--plum);
}

.tab--active {
  background: var(--plum);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(40, 15, 38, .25);
}

/* ── Panels ── */
.panels-outer {
  overflow: hidden;
  width: 100%;
}

.panels {
  display: grid;
  grid-template-columns: repeat(3, 100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.panel {
  min-width: 0;
}

/* ── Products Grid — faithful Loro Piana style ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 24px;
}

.ed-price {
  font-size: 0.85rem;
  color: var(--light);
  font-weight: 400;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}



/* ── Product Card — Loro Piana editorial ── */
.card {
  background: var(--white);
  border: none;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* No transform on hover — LP doesn't lift cards */
}

/* Image gallery on card */
.card-gallery {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--mist);
}

.card-gallery-track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}

.card-gallery-track img,
.card-gallery-track video {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card:hover .card-gallery-track img,
.card:hover .card-gallery-track video {
  transform: scale(1.04);
  /* very subtle zoom — LP is restrained */
}

/* Video indicator on card */
.card-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: .3px;
  pointer-events: none;
}

.card-video-badge svg,
.card-video-badge i {
  width: 13px;
  height: 13px;
}

/* gallery nav arrows */
.card-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .85);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s, background .2s;
  z-index: 2;
  backdrop-filter: blur(4px);
  min-width: 44px;
  min-height: 44px;
}

.card-arrow:hover {
  background: rgba(255, 255, 255, 1);
}

.card-arrow svg {
  width: 16px;
  height: 16px;
  color: var(--plum);
}

.card-arrow--prev {
  left: 8px;
}

.card-arrow--next {
  right: 8px;
}

.card:hover .card-arrow {
  opacity: 1;
}

/* dots */
.card-dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.card-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: background .2s, transform .2s;
}

.card-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* LP-style hover bar — thin white strip slides up from image bottom */
.card-tap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .3s ease, transform .3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
}

.card-tap span {
  color: var(--plum);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
}

.card:hover .card-tap {
  opacity: 1;
  transform: translateY(0);
}

/* card body — faithful Loro Piana: generous top space, left-aligned */
.card-body {
  padding: 14px 0 28px;
  background: var(--white);
}

.card-cat {
  display: none;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  /* LP uses light weight */
  color: var(--plum);
  margin-bottom: 4px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.card-subtitle {
  font-size: .72rem;
  font-weight: 400;
  color: var(--light);
  letter-spacing: .5px;
  text-transform: uppercase;
  /* LP materials shown in small caps */
  margin-bottom: 6px;
}

.card-price {
  font-size: .85rem;
  font-weight: 400;
  color: var(--plum);
  margin-bottom: 0;
  opacity: .7;
}

/* Card actions hidden on grid — all actions live in QV */
.card-actions {
  display: none;
}

.btn-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  border: none;
  border-radius: var(--r);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-wa:hover {
  opacity: .95;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.btn-wa--iq {
  background: var(--plum);
  color: #fff;
}

.btn-wa--ae {
  background: var(--teal);
  color: #fff;
}

.btn-wa svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ── State messages ── */
.state-msg {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 20px;
  color: var(--light);
  font-size: .9rem;
}

.state-msg.error {
  color: #c62828;
}

.state-loading::after {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
  margin: 16px auto 0;
  border: 2px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Product Detail Page (Full Screen) ── */
.qv-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: pdFadeIn .3s ease;
}

.qv-overlay[hidden] {
  display: none;
}

@keyframes pdFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Product Page Topbar ── */
.qv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  height: 68px;
  min-height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
  flex-shrink: 0;
}

.qv-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  color: var(--plum);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity .2s;
}

.qv-back-btn:hover {
  opacity: .65;
}

.qv-back-btn svg,
.qv-back-btn i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.qv-topbar-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.qv-topbar-logo img {
  height: 46px;
  width: auto;
}

.qv-topbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.qv-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mist);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  color: var(--plum);
}

.qv-icon-btn:hover {
  background: var(--border);
  border-color: var(--plum);
}

.qv-icon-btn svg,
.qv-icon-btn i {
  width: 17px;
  height: 17px;
}

/* ── Product Page Body ── */
.qv-modal {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.qv-modal::-webkit-scrollbar {
  width: 4px;
}

.qv-modal::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

/* ── QV Split Layout (Images Left, Info Right) ── */
@keyframes qvFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.qv-split {
  display: grid;
  grid-template-columns: 1fr 380px;
  /* Left column: side-by-side images, Right column: info */
  gap: clamp(32px, 5vw, 56px);
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 70px) clamp(20px, 4vw, 48px);
  background: var(--white);
  animation: qvFadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  align-items: start;
  /* critical for sticky right column */
}

/* ── Left Side: Side-by-Side Images ── */
.qv-split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(8px, 1.5vw, 16px);
  position: relative;
  /* for floating elements on mobile */
}

/* Mobile Action Row (Placed below photos) */
.qv-mobile-actions {
  display: none;
  /* Desktop hidden */
}

@media (max-width: 900px) {
  .qv-mobile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
  }

  .qv-mini-cluster {
    display: flex;
    gap: 12px;
  }

  .qv-mini-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--mist);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
    cursor: pointer;
    transition: all 0.2s;
  }

  .qv-mini-btn:active {
    scale: 0.92;
    background: var(--border);
  }

  .qv-mini-btn svg,
  .qv-mini-btn i {
    width: 18px;
    height: 18px;
  }
}

.qv-split-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--mist);
  display: block;
  border-radius: 4px;
}

/* When only 1 image, span full width */
.qv-split-media .qv-split-img:only-child {
  grid-column: 1 / -1;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Right Side: Sticky Info Panel ── */
.qv-split-info {
  position: sticky;
  top: clamp(32px, 5vw, 70px);
  padding-bottom: 40px;
}

.qv-split-info-inner {
  display: flex;
  flex-direction: column;
}

.qv-split-info .qv-cat {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 500;
}

.qv-split-info .qv-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--plum);
  line-height: 1.1;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.qv-split-info .qv-price {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal);
  letter-spacing: 0.5px;
  margin-bottom: 32px;
}

.qv-split-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin-bottom: 32px;
}

/* Product Details Block */
.qv-details {
  margin-bottom: 40px;
}

.qv-desc {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.85;
}

.qv-desc p {
  margin-bottom: 16px;
}

/* CTA Actions */
.qv-actions {
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

/* ── Other Products (Below Details) ── */
.qv-other-products {
  max-width: 1000px;
  /* wider than the main column to frame it */
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 80px;
}

.qv-other-header {
  text-align: center;
  margin-bottom: 32px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.qv-other-header h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--plum);
  margin-bottom: 8px;
}

.qv-other-header p {
  font-size: 0.9rem;
  color: var(--light);
}

.qv-actions-label {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 16px;
  font-weight: 500;
}

.qv-wa-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.qv-wa-row .qv-btn {
  width: 100%;
  justify-content: center;
}

.qv-utility-row {
  display: flex;
  gap: 10px;
}

.qv-utility-row .qv-btn {
  flex: 1;
  justify-content: center;
  font-size: 12px;
}

/* ── Buttons ── */
.qv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border: none;
  border-radius: var(--r);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s cubic-bezier(.2, .8, .2, 1);
  position: relative;
  overflow: hidden;
}

.qv-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background .3s;
}

.qv-btn:hover::after {
  background: rgba(255, 255, 255, .08);
}

.qv-btn:active {
  transform: scale(.98);
}

.qv-btn--iq {
  background: var(--plum);
  color: #fff;
  box-shadow: 0 4px 20px rgba(31, 10, 29, .25);
}

.qv-btn--iq:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(31, 10, 29, .35);
}

.qv-btn--ae {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 20px rgba(35, 66, 60, .25);
}

.qv-btn--ae:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(35, 66, 60, .35);
}

.qv-btn--share {
  background: var(--mist);
  border: 1.5px solid var(--border);
  color: var(--text);
}

.qv-btn--share:hover {
  border-color: var(--plum);
  color: var(--plum);
  background: var(--white);
  transform: translateY(-1px);
}

.qv-btn svg,
.qv-btn i {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ── Legacy close btn (not shown in new design, kept for compat) ── */
.qv-close {
  display: none;
}

/* Lucide icon sizing */
.lucide {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  display: inline-block;
}

/* ── QV Mobile responsive ── */
@media (max-width: 760px) {
  .qv-topbar {
    height: 58px;
    min-height: 58px;
  }

  .qv-topbar-logo img {
    height: 36px;
  }

  .qv-back-btn span {
    display: none;
  }
}

/* ── About ── */
.about {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 48px);
  background: var(--cream);
}

.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-label {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--plum);
  margin-bottom: 24px;
}

.about-inner p {
  color: var(--light);
  line-height: 1.9;
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 16px;
}

/* ── Contact ── */
.contact {
  padding: clamp(60px, 8vw, 100px) clamp(24px, 4vw, 48px);
  background: var(--plum);
  color: var(--white);
  text-align: center;
}

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 12px;
}

.contact-inner p {
  color: rgba(255, 255, 255, .6);
  margin-bottom: 28px;
  font-size: 1rem;
}

.ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r);
  color: #fff;
  font-size: 13px;
  letter-spacing: .5px;
  transition: all .3s;
}

.ig-btn:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .5);
}

.ig-btn svg {
  width: 18px;
  height: 18px;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .35);
  text-align: center;
  padding: 20px;
  font-size: 12px;
  letter-spacing: .5px;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--plum);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-lg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .25);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  max-width: calc(100vw - 48px);
  animation: toastIn .3s ease;
}

.toast.err {
  background: #c62828;
}

.toast button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes toastIn {
  from {
    transform: translateX(110%);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ════════════════════════════
   RESPONSIVE
   ════════════════════════════ */

/* Tablet — drop to 2 col */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hero {
    min-height: 70vh;
  }
}

/* QV Split stacking on smaller screens (Edge-to-Edge Mobile Layout) */
@media (max-width: 900px) {
  .qv-split {
    grid-template-columns: 1fr;
    gap: 0;
    /* Removin gap so info panel sits right below image */
    padding: 0;
    /* OVERRIDE: Remove all padding so it touches screen edges */
    max-width: 100%;
    position: relative;
    /* Anchor for floating buttons */
  }

  /* Transform media container to horizontal scroll-snap gallery */
  .qv-split-media {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* Smooth iOS scrolling */
    scrollbar-width: none;
    /* Hide scrollbar in Firefox */
    direction: ltr;
    /* Ensure LTR scrolling for images even if site is Arabic */
  }

  /* Hide scrollbar in Chrome/Safari */
  .qv-split-media::-webkit-scrollbar {
    display: none;
  }

  /* Make each image full width, without border radius */
  .qv-split-img,
  .qv-split-media .qv-split-img:only-child {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    scroll-snap-align: center;
    border-radius: 0;
    max-width: none;
  }

  /* Reveal floating UI */
  .qv-float-btn {
    display: none;
    /* Removed floating since we use actions row */
  }

  .qv-float-actions {
    display: none;
  }

  .qv-split-info {
    position: static;
    padding-bottom: 0;
    padding-top: 24px;
  }

  /* Put padding back *only* for the text container so content is readable */
  .qv-split-info-inner {
    padding: 0 clamp(20px, 4vw, 32px);
  }

  /* Hide the desktop topbar controls to save space, and hide utility row as it's now floating */
  .qv-topbar {
    display: none;
    /* Completely hide topbar if we use the overlay back button, or float it. 
       Let's completely hide it and use our floating back button to maximize image size! */
  }

  .qv-utility-row {
    display: none;
  }
}



@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: 490;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  }

  .nav-links.open {
    transform: none;
  }

  .nav-links a {
    font-size: 16px;
    letter-spacing: 3px;
    padding: 10px;
  }

  .burger {
    display: flex;
    z-index: 501;
    position: relative;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 60vh;
    padding-top: 96px;
  }

  .hero-logo-wrap {
    display: none;
  }

  .hero-inner {
    text-align: center;
    padding: 40px 24px;
  }

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

@media (max-width: 480px) {

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


  .card-body {
    padding: 10px 0 18px;
  }

  .card-title {
    font-size: .88rem;
  }

  .card-subtitle,
  .card-price {
    font-size: .75rem;
  }

  .btn-wa {
    padding: 11px;
  }

  .tabs {
    gap: 0;
  }

  .tab {
    padding: 8px 14px;
    font-size: 10px;
    letter-spacing: .8px;
  }
}

/* Stack QV images on small phones, edge-to-edge full height */
@media (max-width: 540px) {

  /* Let aspect-ratio dictate height to prevent aggressive cropping */
  .qv-split-img,
  .qv-split-media .qv-split-img:only-child {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top;
    /* Prioritize the head/face */
  }

  /* Reduce space above product title */
  .qv-split-info {
    padding-top: 16px;
    border-top: none;
  }
}