/* ============================================================
   KLEAN KOSMETICS — DESIGN SYSTEM & GLOBAL STYLES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,400&family=Barlow+Condensed:wght@400;600;700;800&display=swap');

/* ── FLASH PREVENTION ───────────────────────────────────────── */
body { opacity: 0; transition: opacity 0.3s ease; }
body.ready { opacity: 1; }

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --clr-bg:         #fafafa;
  --clr-surface:    #ffffff;
  --clr-purple:     #7c3aed;
  --clr-purple-mid: #a855f7;
  --clr-purple-lt:  #ede9fe;
  --clr-purple-dk:  #5b21b6;
  --clr-ink:        #0a0a0a;
  --clr-ink-2:      #3a3a3a;
  --clr-ink-3:      #6b6b6b;
  --clr-border:     #e8e8e8;
  --clr-wa:         #25d366;

  --ff-display:     'Bebas Neue', sans-serif;
  --ff-condensed:   'Barlow Condensed', sans-serif;
  --ff-body:        'Barlow', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);
  --shadow-purple: 0 8px 32px rgba(124,58,237,.25);

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.15s ease;

  --navbar-h: 52px;
  --max-w: 1280px;
}

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

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

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
.display-1 { font-family: var(--ff-display); font-size: clamp(3rem, 8vw, 7rem); line-height: 1; letter-spacing: 0.02em; }
.display-2 { font-family: var(--ff-display); font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.05; }
.heading-1 { font-family: var(--ff-condensed); font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; }
.heading-2 { font-family: var(--ff-condensed); font-size: clamp(1.25rem, 3vw, 2rem); font-weight: 700; text-transform: uppercase; }

/* ── UTILITY ─────────────────────────────────────────────────── */
.container { width: min(100%, var(--max-w)); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.flex { display: flex; }
.grid { display: grid; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.text-purple { color: var(--clr-purple); }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--navbar-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 2px solid var(--clr-purple);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar__logo {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  letter-spacing: 0.05em;
  color: var(--clr-ink);
}
.navbar__logo span { color: var(--clr-purple); }
.navbar__nav { display: flex; align-items: center; gap: 32px; }
.navbar__nav a {
  font-family: var(--ff-condensed); font-weight: 600; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--clr-ink-2); position: relative;
  transition: color var(--transition-fast);
}
.navbar__nav a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
  background: var(--clr-purple); transform: scaleX(0); transform-origin: right;
  transition: transform var(--transition);
}
.navbar__nav a:hover, .navbar__nav a.active { color: var(--clr-purple); }
.navbar__nav a:hover::after, .navbar__nav a.active::after { transform: scaleX(1); transform-origin: left; }

.navbar__actions { display: flex; align-items: center; gap: 16px; }
.navbar__cart {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}
.navbar__cart:hover { background: var(--clr-purple-lt); }
.navbar__cart svg { color: var(--clr-ink); }
.cart-count {
  position: absolute; top: 4px; right: 4px;
  min-width: 18px; height: 18px; border-radius: var(--radius-full);
  background: #f472b6; color: #fff;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; height: 2px; border-radius: 1px;
  background: var(--clr-ink); transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed; top: var(--navbar-h); left: 0; right: 0;
  background: var(--clr-surface); z-index: 999;
  padding: 24px; border-bottom: 1px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-110%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  display: block; padding: 14px 0;
  font-family: var(--ff-condensed); font-weight: 700; font-size: 1.2rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  border-bottom: 1px solid var(--clr-border);
  color: var(--clr-ink-2); transition: color var(--transition-fast);
}
.mobile-nav a:hover { color: var(--clr-purple); }

/* ── TICKER / ANNOUNCEMENT BAR ──────────────────────────────── */
.ticker-bar {
  background: var(--clr-purple);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  height: 40px;
  display: flex;
  align-items: center;
  /* hidden by default — shown only when JS adds items */
  display: none;
}
.ticker-bar.has-items {
  display: flex;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  will-change: transform;
}
.ticker-bar:hover .ticker-track {
  animation-play-state: paused;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-family: var(--ff-condensed);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  flex-shrink: 0;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO SLIDER ─────────────────────────────────────────────── */
.hero {
  position: relative; width: 100%;
  min-height: 85vh; overflow: hidden;
  margin-top: var(--navbar-h);
}

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; overflow: hidden;
  z-index: 1;
}
.slide.active { opacity: 1; pointer-events: auto; z-index: 2; }

.slide__bg {
  position: absolute; inset: -10%;
  width: 120%; height: 120%;
  background-size: cover; background-position: center;
  will-change: transform;
}

.slide__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.15) 100%);
  z-index: 1;
}

.slide__content {
  position: relative; z-index: 2;
  max-width: 700px; padding: 0 clamp(24px, 5vw, 80px);
  color: #fff;
}

.slide__eyebrow {
  font-family: var(--ff-condensed); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--clr-purple-mid); margin-bottom: 16px;
  opacity: 0;
}

.slide__title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95; color: #fff;
  margin-bottom: 20px;
}

.slide__sub {
  font-family: var(--ff-body); font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300; line-height: 1.6; color: rgba(255,255,255,.8);
  max-width: 480px; margin-bottom: 64px;
  opacity: 0;
}

.slide__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 36px;
  font-family: var(--ff-condensed); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--clr-purple); color: #fff;
  border-radius: 9999px;
  transition: background var(--transition-fast), transform var(--transition-fast);
  opacity: 0;
}
.slide__btn:hover { background: var(--clr-purple-dk); transform: translateY(-2px); }
.slide__btn--outline {
  background: transparent; border: 2px solid #fff;
}
.slide__btn--outline:hover { background: #fff; color: var(--clr-ink); }

/* Hero controls */
.hero__dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px;
}
.hero__dot {
  width: 32px; height: 2px; border-radius: 0;
  background: rgba(255,255,255,.25); cursor: pointer;
  transition: all 0.3s ease;
}
.hero__dot.active { background: #fff; }

.hero__arrow {
  position: absolute; top: 50%; z-index: 10;
  transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--transition-fast);
}
.hero__arrow:hover { background: var(--clr-purple); border-color: var(--clr-purple); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

/* ── SECTION LAYOUT ──────────────────────────────────────────── */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--gray { background: #f4f4f6; }

.section__header { margin-bottom: clamp(40px, 5vw, 64px); }
.section__eyebrow {
  font-family: var(--ff-condensed); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--clr-purple); margin-bottom: 12px; display: block;
}
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1; color: var(--clr-ink);
}
.section__sub {
  font-size: 1.05rem; color: var(--clr-ink-3);
  max-width: 520px; margin-top: 12px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px;
  font-family: var(--ff-condensed); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.btn--primary {
  background: var(--clr-purple); color: #fff;
  border: 2px solid var(--clr-purple);
}
.btn--primary:hover { background: var(--clr-purple-dk); border-color: var(--clr-purple-dk); transform: translateY(-2px); box-shadow: var(--shadow-purple); }
.btn--outline {
  background: transparent; color: var(--clr-ink); border: 2px solid var(--clr-ink);
}
.btn--outline:hover { background: var(--clr-ink); color: #fff; }
.btn--outline-purple {
  background: transparent; color: var(--clr-purple); border: 2px solid var(--clr-purple);
}
.btn--outline-purple:hover { background: var(--clr-purple); color: #fff; }
.btn--wa {
  background: var(--clr-wa); color: #fff;
  border: 2px solid var(--clr-wa);
  font-size: 1.05rem; padding: 16px 32px;
}
.btn--wa:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn--add-cart {
  background: var(--clr-ink); color: #fff;
  border: 2px solid var(--clr-ink);
  width: 100%; justify-content: center; padding: 10px;
  font-size: 0.85rem; border-radius: var(--radius-sm);
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.btn--add-cart.adding { background: var(--clr-purple); border-color: var(--clr-purple); }

/* ── Stagger cascade animation ───────────────────────────── */
@keyframes cardCascade {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card.card-animate {
  opacity: 0;
  animation: cardCascade 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── PRODUCT CARDS ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  border: 2px solid var(--clr-purple);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.10), var(--shadow-purple);
  border-color: var(--clr-purple-mid);
}

.product-card__image-wrap {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4/5; background: var(--clr-surface);
  text-decoration: none;
}
.product-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity var(--transition), transform var(--transition);
}
.product-card__img--back { opacity: 0; }
.product-card:hover .product-card__img--front { opacity: 0; transform: scale(1.04); }
.product-card:hover .product-card__img--back { opacity: 1; transform: scale(1.04); }
.product-card.tapped .product-card__img--front { opacity: 0; transform: scale(1.04); }
.product-card.tapped .product-card__img--back { opacity: 1; transform: scale(1.04); }

/* Badges — top left */
.product-card__badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--ff-condensed); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; z-index: 2; pointer-events: none;
  background: #111; color: #fff;
}
.product-card__badge--featured {
  background: var(--clr-purple); color: #fff;
  top: auto; bottom: 60px; left: 12px;
}

/* Floating + button — bottom right of image */
.product-card__add {
  position: absolute; bottom: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clr-purple); color: #fff;
  border: 2px solid var(--clr-purple); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 300; line-height: 1;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(108,39,214,.35);
  transition: transform .2s ease, background .2s ease;
}
.product-card__add:hover {
  transform: scale(1.12) rotate(90deg);
  background: var(--clr-purple-mid, #9b5de5);
}

/* Info area */
.product-card__info { padding: 12px 14px 16px; }

.product-card__brand {
  font-family: var(--ff-condensed); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--clr-purple); display: block; margin-bottom: 4px;
}
.product-card__name {
  font-size: .9rem; font-weight: 600;
  line-height: 1.35; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2;
line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__name a { color: var(--clr-ink); text-decoration: none; }
.product-card__name a:hover { color: var(--clr-purple); }

/* Star rating row */
.product-card__rating {
  display: flex; align-items: center; gap: 5px; margin-bottom: 7px;
}
.product-card__stars { display: flex; gap: 1px; }
.product-card__star { font-size: .65rem; color: #f5b500; }
.product-card__star--empty { color: #ddd; }
.product-card__sold { font-size: .7rem; color: var(--clr-ink-3); }

.product-card__price {
  font-family: var(--ff-condensed); font-size: 1.1rem; font-weight: 800;
  color: var(--clr-ink); display: block;
}
.product-card__price-wrap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.product-card__price--original {
  font-family: var(--ff-condensed); font-size: .95rem; font-weight: 700;
  color: var(--clr-ink-3); text-decoration: line-through;
}
.product-card__price--sale {
  font-family: var(--ff-condensed); font-size: 1.1rem; font-weight: 800;
  color: var(--clr-purple);
}
.product-card__sale-badge {
  background: var(--clr-purple); color: #fff;
  font-family: var(--ff-condensed); font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 999px;
}

/* Product detail page sale price */
.product-price__original {
  font-family: var(--ff-condensed); font-size: 1.3rem; font-weight: 700;
  color: var(--clr-ink-3); text-decoration: line-through; display: block;
}
.product-price__sale {
  font-family: var(--ff-condensed); font-size: 2rem; font-weight: 800;
  color: var(--clr-purple); display: block;
}
.product-price__badge {
  display: inline-block; background: var(--clr-purple); color: #fff;
  font-family: var(--ff-condensed); font-size: .8rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 12px; border-radius: 999px; margin-top: 4px;
}

.product-card__colors { display: flex; gap: 6px; margin-bottom: 8px; }
.color-dot {
  width: 14px; height: 14px; border-radius: 999px;
  border: 2px solid var(--clr-border); flex-shrink: 0;
}

/* ── HORIZONTAL SCROLL ROW ───────────────────────────────────── */
.h-scroll-wrap { overflow: hidden; }
.h-scroll {
  display: flex; gap: 20px;
  overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin; scrollbar-color: var(--clr-border) transparent;
}
.h-scroll::-webkit-scrollbar { height: 4px; }
.h-scroll::-webkit-scrollbar-thumb { background: var(--clr-border); border-radius: 2px; }
.h-scroll .product-card {
  flex: 0 0 240px; scroll-snap-align: start;
}

/* ── ABOUT SECTION ───────────────────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-image {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 4/5; background: var(--clr-purple-lt);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image__accent {
  position: absolute; bottom: -24px; right: -24px;
  width: 160px; height: 160px; border-radius: var(--radius-full);
  background: var(--clr-purple); opacity: 0.15; z-index: -1;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px;
}
.stat {
  background: var(--clr-purple-lt); border-radius: var(--radius-lg);
  padding: 20px;
}
.stat__num {
  font-family: var(--ff-display); font-size: 2.5rem;
  color: var(--clr-purple); line-height: 1;
}
.stat__label {
  font-family: var(--ff-condensed); font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--clr-ink-3);
  margin-top: 4px;
}

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-ink) 0%, #1a0535 100%);
  border-radius: var(--radius-xl); padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  overflow: hidden; position: relative;
}
.cta-banner::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: var(--radius-full);
  background: var(--clr-purple); opacity: 0.15;
  pointer-events: none;
}
.cta-banner__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff; line-height: 1;
}
.cta-banner__title span { color: var(--clr-purple-mid); }

/* ── QUICK VIEW MODAL ────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--clr-surface); border-radius: var(--radius-xl);
  width: min(100%, 900px); max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.active .modal-box { transform: scale(1) translateY(0); }
.modal-img-panel { position: relative; aspect-ratio: 3/4; }
.modal-img-panel img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl) 0 0 var(--radius-xl); }
.modal-info-panel { padding: 40px 32px; display: flex; flex-direction: column; gap: 20px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: rgba(0,0,0,.4); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition-fast);
}
.modal-close:hover { background: rgba(0,0,0,.7); }
.qv-brand {
  font-family: var(--ff-condensed); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--clr-purple);
}
.qv-name {
  font-family: var(--ff-condensed); font-size: 1.75rem; font-weight: 800;
  text-transform: uppercase;
}
.qv-price {
  font-family: var(--ff-display); font-size: 2rem; color: var(--clr-purple);
}
.qv-sizes, .qv-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  padding: 6px 14px; border-radius: var(--radius-sm);
  border: 2px solid var(--clr-border);
  font-family: var(--ff-condensed); font-weight: 700; font-size: 0.9rem;
  transition: all var(--transition-fast);
}
.size-btn:hover, .size-btn.active {
  border-color: var(--clr-purple); color: var(--clr-purple);
}
.color-btn {
  width: 28px; height: 28px; border-radius: var(--radius-full);
  border: 3px solid transparent; transition: border-color var(--transition-fast);
}
.color-btn:hover, .color-btn.active { border-color: var(--clr-purple); }
.modal-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.modal-actions .btn { width: 100%; }

/* Label rows */
.qv-label {
  font-family: var(--ff-condensed); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--clr-ink-3); margin-bottom: 4px; display: block;
}

/* ── FLOATING WA BUTTON ──────────────────────────────────────── */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  width: 58px; height: 58px; border-radius: var(--radius-full);
  background: var(--clr-wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); }
.float-wa svg { width: 28px; height: 28px; }

/* ── CART NOTIFICATION ───────────────────────────────────────── */
.cart-notification {
  position: fixed; bottom: 100px; right: 28px; z-index: 1500;
  background: var(--clr-ink); color: #fff;
  font-family: var(--ff-condensed); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 12px 24px; border-radius: var(--radius-full);
  transform: translateY(20px); opacity: 0;
  transition: all 0.3s ease; pointer-events: none;
}
.cart-notification.show { transform: translateY(0); opacity: 1; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--clr-ink); color: rgba(255,255,255,.7);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer__logo { font-family: var(--ff-display); font-size: 2rem; color: #fff; margin-bottom: 16px; }
.footer__logo span { color: var(--clr-purple-mid); }
.footer__tagline { font-size: 0.95rem; line-height: 1.7; max-width: 280px; }
.footer__heading {
  font-family: var(--ff-condensed); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #fff; margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 0.9rem; transition: color var(--transition-fast); }
.footer__links a:hover { color: var(--clr-purple-mid); }
.footer__socials { display: flex; gap: 12px; margin-top: 20px; }
.footer__social {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: all var(--transition-fast);
}
.footer__social:hover { background: var(--clr-purple); border-color: var(--clr-purple); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem;
}
.footer__bottom a { transition: color var(--transition-fast); }
.footer__bottom a:hover { color: var(--clr-purple-mid); }
.xtatic-credit {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  opacity: 0.45;
  margin-top: 0.5rem;
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity var(--transition-fast);
}
.xtatic-credit:hover { opacity: 0.85; }

/* ── FILTER SIDEBAR / CHIPS ──────────────────────────────────── */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chip {
  padding: 8px 18px; border-radius: var(--radius-full);
  border: 2px solid var(--clr-border); background: var(--clr-surface);
  font-family: var(--ff-condensed); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; transition: all var(--transition-fast);
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--clr-purple); color: var(--clr-purple);
  background: var(--clr-purple-lt);
}

/* ── CART PAGE ───────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.cart-item {
  display: grid; grid-template-columns: 100px 1fr auto;
  gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--clr-border);
}
.cart-item__img {
  width: 100px; height: 120px; border-radius: var(--radius-md);
  object-fit: cover; background: var(--clr-purple-lt);
}
.cart-item__name { font-family: var(--ff-condensed); font-weight: 700; font-size: 1.1rem; }
.cart-item__meta { font-size: 0.85rem; color: var(--clr-ink-3); margin-top: 4px; }
.cart-item__price { font-family: var(--ff-condensed); font-weight: 800; font-size: 1.1rem; }
.qty-control { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.qty-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  border: 2px solid var(--clr-border);
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-fast);
}
.qty-btn:hover { border-color: var(--clr-purple); color: var(--clr-purple); }
.qty-value { font-family: var(--ff-condensed); font-weight: 700; font-size: 1rem; min-width: 20px; text-align: center; }
.cart-remove { color: var(--clr-ink-3); transition: color var(--transition-fast); font-size: 1.3rem; }
.cart-remove:hover { color: #e03; }

.cart-summary {
  background: var(--clr-surface); border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-md); position: sticky; top: 96px;
}
.cart-summary__title { font-family: var(--ff-condensed); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 24px; }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--clr-border); font-size: 0.95rem; }
.summary-line--total { font-family: var(--ff-condensed); font-weight: 800; font-size: 1.3rem; border-bottom: none; margin-top: 8px; }

/* ── PRODUCT PAGE ────────────────────────────────────────────── */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 40px; }
.product-gallery { display: flex; flex-direction: column; gap: 16px; }
.gallery-main { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; border: 2px solid var(--clr-purple); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumb {
  width: 72px; height: 90px; border-radius: var(--radius-md);
  overflow: hidden; cursor: pointer; border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}
.gallery-thumb.active { border-color: var(--clr-purple); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding-top: 16px; }
.product-brand { font-family: var(--ff-condensed); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--clr-purple); margin-bottom: 8px; }
.product-name { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; margin-bottom: 16px; }
.product-price { font-family: var(--ff-display); font-size: 2.5rem; color: var(--clr-purple); margin-bottom: 24px; }
.product-desc { color: var(--clr-ink-2); line-height: 1.8; margin-bottom: 32px; }

.option-label { font-family: var(--ff-condensed); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.options-group { margin-bottom: 24px; }
.sizes-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.colors-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.product-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.product-actions .btn { width: 100%; }

/* ── SHOP PAGE ───────────────────────────────────────────────── */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.filters-panel { background: var(--clr-surface); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.filter-group { margin-bottom: 28px; }
.filter-group-title { font-family: var(--ff-condensed); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 14px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; }
.filter-option input[type=checkbox] { accent-color: var(--clr-purple); width: 16px; height: 16px; }
.filter-option span { font-size: 0.9rem; color: var(--clr-ink-2); }
.filter-color-swatch {
  width: 20px; height: 20px; border-radius: var(--radius-full);
  border: 2px solid var(--clr-border); flex-shrink: 0;
}

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form-field { margin-bottom: 20px; }
.contact-form-field label { display: block; font-family: var(--ff-condensed); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 8px; color: var(--clr-ink-3); }
.contact-form-field input,
.contact-form-field textarea {
  width: 100%; padding: 14px 16px;
  border: 2px solid var(--clr-border); border-radius: var(--radius-md);
  font-family: var(--ff-body); font-size: 1rem; background: var(--clr-bg);
  transition: border-color var(--transition-fast);
}
.contact-form-field input:focus,
.contact-form-field textarea:focus {
  outline: none; border-color: var(--clr-purple);
}
.contact-form-field textarea { resize: vertical; min-height: 140px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--clr-border); }
.contact-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--clr-purple-lt); color: var(--clr-purple);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-label { font-family: var(--ff-condensed); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-ink-3); margin-bottom: 4px; }
.contact-info-value { font-size: 1rem; color: var(--clr-ink); }

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 32px; font-size: 0.875rem; color: var(--clr-ink-3); }
.breadcrumb a { transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--clr-purple); }
.breadcrumb__sep { color: var(--clr-border); }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--clr-purple-lt) 0%, #f0eeff 100%);
  padding: clamp(48px, 6vw, 80px) 0;
  border-bottom: 1px solid var(--clr-border);
}
.page-header__title { font-family: var(--ff-display); font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1; }
.page-header__sub { font-size: 1.05rem; color: var(--clr-ink-3); margin-top: 8px; }

/* ── EMPTY CART ──────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state__icon { font-size: 4rem; margin-bottom: 24px; }
.empty-state__title { font-family: var(--ff-condensed); font-weight: 800; font-size: 2rem; text-transform: uppercase; margin-bottom: 12px; }
.empty-state__sub { color: var(--clr-ink-3); margin-bottom: 32px; }

/* ── ANIMATE-IN CLASSES ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── MOBILE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image { max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; display: none; }
  .product-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-banner { flex-direction: column; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .modal-box { grid-template-columns: 1fr; }
  .modal-img-panel { display: none; }
  .modal-info-panel { border-radius: var(--radius-xl); }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item .cart-remove { grid-column: 2; }
  .hero__arrow { display: none; }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
}

/* ── PAYMENT BUTTONS ─────────────────────────────────────── */
.payment-section {
  margin-top: 24px;
}
.payment-section__label {
  font-family: var(--ff-condensed);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.payment-section__label::before,
.payment-section__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}
.payment-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn--payment {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-family: var(--ff-condensed);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  text-decoration: none;
}
.btn--payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.btn--payment:active {
  transform: translateY(0);
}
.btn--jn {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}
.btn--jn:hover { box-shadow: 0 8px 24px rgba(26,26,46,.3); }
.btn--ncb {
  background: #00843D;
  color: #fff;
  border-color: #00843D;
}
.btn--ncb:hover { box-shadow: 0 8px 24px rgba(0,132,61,.3); }
.btn--paypal {
  background: #003087;
  color: #fff;
  border-color: #003087;
}
.btn--paypal:hover { box-shadow: 0 8px 24px rgba(0,48,135,.3); }
.btn--payment .pay-badge {
  font-size: .7rem;
  padding: 2px 7px;
  background: rgba(255,255,255,.15);
  border-radius: 99px;
  letter-spacing: .05em;
}
.payment-note {
  font-size: .78rem;
  color: var(--clr-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* ── PRODUCT PAGE ANIMATION ─────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS
   ═══════════════════════════════════════════════════════════ */

/* ── General touch targets ── */
@media (max-width: 768px) {
  /* Minimum 44px tap targets for all buttons */
  .btn, button, .size-btn, .color-btn, .gallery-thumb,
  .navbar__cart, .hamburger, .float-wa {
    min-height: 44px;
  }
  .size-btn { padding: 10px 16px; font-size: 1rem; }
  .color-btn { width: 36px; height: 36px; }

  /* Hero - better mobile layout */
  .hero { min-height: 92vh; }
  .slide__content { padding: 0 20px; max-width: 100%; }
  .slide__title { font-size: clamp(2.8rem, 12vw, 5rem); line-height: 1; }
  .slide__sub { font-size: 0.95rem; margin-bottom: 28px; }
  .slide__btn { padding: 14px 28px; font-size: 0.95rem; width: 100%; justify-content: center; }
  .hero__dots { bottom: 20px; }
  .slide__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center top;
  }

  /* Product page gallery */
  .product-layout { gap: 24px; }
  .gallery-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb {
    flex: 0 0 72px;
    height: 72px;
    scroll-snap-align: start;
  }
  .gallery-main { border-radius: var(--radius-lg); }

  /* Product info */
  .product-name { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .product-price { font-size: 2rem; }
  .product-actions { gap: 10px; }
  .product-actions .btn { padding: 16px; font-size: 1rem; }
  .options-group { margin-bottom: 20px; }

  /* Payment buttons */
  .btn--payment { padding: 16px 20px; font-size: 1rem; }

  /* Shop filters — hidden on mobile, replaced by drawer */
  .filters-panel {
    display: none;
  }

  /* Filter trigger bar */
  .mob-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }
  .mob-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--clr-surface);
    border: 2px solid var(--clr-border);
    border-radius: 999px;
    font-family: var(--ff-condensed);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--clr-ink);
  }
  .mob-filter-btn.has-filters {
    border-color: var(--clr-purple);
    color: var(--clr-purple);
    background: #f5f3ff;
  }
  .mob-filter-badge {
    background: var(--clr-purple);
    color: #fff;
    border-radius: 999px;
    font-size: .7rem;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-body, sans-serif);
    font-weight: 700;
  }

  /* Drawer overlay */
  .filter-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 500;
  }
  .filter-drawer-overlay.open { display: block; }

  /* Drawer sheet */
  .filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--clr-surface, #fff);
    border-radius: 20px 20px 0 0;
    z-index: 501;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .32s cubic-bezier(.32,1,.5,1);
  }
  .filter-drawer.open { transform: translateY(0); }

  .filter-drawer-handle {
    width: 40px; height: 4px;
    background: var(--clr-border);
    border-radius: 999px;
    margin: 12px auto 0;
    flex-shrink: 0;
  }
  .filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--clr-border);
    flex-shrink: 0;
  }
  .filter-drawer-title {
    font-family: var(--ff-condensed);
    font-weight: 900;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .06em;
  }
  .filter-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--clr-ink-2);
    display: flex;
  }
  .filter-drawer-body {
    overflow-y: auto;
    padding: 20px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }
  .filter-drawer-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--clr-border);
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .filter-drawer-footer .btn {
    flex: 1;
    text-align: center;
  }

  /* Product cards */
  .product-card__info { padding: 10px 12px 14px; }
  .product-card__name { font-size: .85rem; }
  .product-card__add { width: 36px; height: 36px; font-size: 1.3rem; }

  /* Horizontal scroll cards bigger on mobile */
  .h-scroll .product-card { flex: 0 0 160px; }

  /* Cart items */
  .cart-summary { padding: 24px 16px; }
  .cart-summary__title { font-size: 1.2rem; }

  /* Footer */
  .footer__logo { font-size: 1.5rem; }

  /* Section headings */
  .section__title { font-size: clamp(1.8rem, 6vw, 3rem); }

  /* CTA banner */
  .cta-banner { padding: 40px 24px; }

  /* Floating WA button — move up slightly so it doesn't cover content */
  .float-wa { bottom: 80px; right: 16px; width: 52px; height: 52px; }
}

/* ── Small phones (under 480px) ── */
@media (max-width: 480px) {
  /* Single column product grid already set, just refine cards */
  .product-card__image-wrap { aspect-ratio: 3/4; }

  /* Hero even more compact */
  .slide__title { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .slide__eyebrow { font-size: 0.75rem; }

  /* Navbar logo size */
  .navbar__logo { font-size: 1.1rem; }

  /* About stats single column already handled, just spacing */
  .about-stats { gap: 16px; }

  /* Full width buttons in cart */
  .btn--wa, .btn--primary, .btn--outline { width: 100%; justify-content: center; }

  /* Product page */
  .gallery-thumb { flex: 0 0 60px; height: 60px; }
  .product-price { font-size: 1.8rem; }

  /* Section padding tighter */
  .section { padding: 48px 0; }

  /* Page headers */
  .page-header { padding: 32px 0; }
  .page-header__title { font-size: clamp(2rem, 10vw, 3rem); }

  /* Contact layout */
  .contact-layout > div:last-child > div { padding: 24px 16px; }

  /* Payment note */
  .payment-note { font-size: 0.75rem; }
}

/* ── Landscape phones ── */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100vw; }
  .slide__title { font-size: clamp(2rem, 8vw, 3rem); }
  .slide__sub { display: none; }
}

/* ── Smooth scroll & touch improvements ── */
@media (hover: none) {
  /* On touch devices show quick view button always (no hover) */
  .product-card__quick-view { transform: translateY(0); opacity: 0.9; }
  /* Prevent hover image swap causing white flash on tap */
  .product-card__img--back { opacity: 0 !important; }
  .product-card:hover .product-card__img--front { opacity: 1 !important; transform: none !important; }
  .product-card:hover .product-card__img--back { opacity: 0 !important; }
  /* Tapped state overrides — show back image on tap */
  .product-card.tapped .product-card__img--back { opacity: 1 !important; transform: scale(1.04) !important; }
  .product-card.tapped .product-card__img--front { opacity: 0 !important; transform: scale(1.04) !important; }
  /* Prevent card lift on touch */
  .product-card:hover { transform: none; box-shadow: none; }
}

/* ── Mobile nav touch improvements ── */
@media (max-width: 768px) {
  .mobile-nav a {
    padding: 16px 0;
    font-size: 1.3rem;
    min-height: 56px;
    display: flex;
    align-items: center;
  }
  .mobile-nav a:active { color: var(--clr-purple); background: var(--clr-purple-lt); padding-left: 8px; border-radius: 4px; }

  /* Better input fields on mobile (prevent zoom on iOS) */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Prevent horizontal scroll on body */
  body { overflow-x: hidden; }

  /* Cart inputs */
  #wa-name, #wa-location { font-size: 16px; padding: 14px 12px; }
}

/* ── BOTTOM NAV BAR ──────────────────────────────────────────── */
.bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: 72px;
  background: linear-gradient(135deg, var(--clr-purple-dk) 0%, var(--clr-purple) 60%, var(--clr-purple-mid) 100%);
  backdrop-filter: blur(16px) saturate(1.4);
  border-top: 3px solid #f472b6;
  box-shadow: 0 -4px 24px rgba(124,58,237,.45), 0 -1px 0 rgba(244,114,182,.3);
}
.bottom-nav__inner {
  display: flex; align-items: stretch;
  justify-content: space-around;
  height: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 4px;
}
.bottom-nav__item {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  color: rgba(255,255,255,.7); text-decoration: none;
  font-family: var(--ff-condensed); font-size: .6rem;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative; padding: 8px 30px;
  min-width: 68px;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav__item svg { width: 20px; height: 20px; stroke-width: 1.8; flex-shrink: 0; }
.bottom-nav__item.active { color: #fff; }
.bottom-nav__item:active { color: #fff; background: rgba(255,255,255,.15); }
.bottom-nav__item .cart-badge {
  position: absolute; top: 6px; right: calc(50% - 18px);
  min-width: 16px; height: 16px; border-radius: 999px;
  background: #f472b6; color: #fff;
  font-size: 9px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* Show bottom nav on mobile, hide hamburger */
@media (max-width: 768px) {
  .bottom-nav { display: flex; }
  .hamburger { display: none !important; }
  .mobile-nav { display: none !important; }
  body { padding-bottom: 72px; }
}

/* Scotiabank button */
.btn--scotia {
  background: #ec0000;
  color: #fff;
  border-color: #ec0000;
}
.btn--scotia:hover { border-color: #c00000; box-shadow: 0 8px 24px rgba(236,0,0,.3); }

/* ===== CASH ON DELIVERY BUTTON ===== */
.btn--cod {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}
.btn--cod:hover {
  background: #15803d;
  border-color: #15803d;
}
