/* ==========================================================================
   Rawaha: main stylesheet
   Mobile first. Breakpoints: 768px (tablet), 1150px (desktop nav).
   Colors and fonts match the live buyrawaha.com theme.
   ========================================================================== */

/* ---------- 1. Fonts (local copies, so the site works offline) ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("../fonts/pt-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- 2. Design tokens ---------- */
:root {
  /* Brand colors */
  --gold: #c29522;          /* announcement bar */
  --gold-btn: #a9873c;      /* add to cart buttons, price units */
  --gold-btn-hover: #8f7131;
  --dark: #1b1919;          /* header, footer */
  --charcoal: #313131;      /* dark buttons, active tab */
  --cream: #f7eedd;         /* "What sets Rawaha apart" */
  --sale: #f54e05;          /* discount badge */
  --soft-bg: #f6f6f8;
  --white: #ffffff;
  --text: #000000;
  --text-muted: #555555;
  --border: #dddddd;

  /* Fonts */
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "PT Sans", "DM Sans", system-ui, sans-serif;

  /* Layout */
  --container: 1440px;
  --gutter: 15px;
  --header-h: 60px;
  --radius: 10px;
  --radius-sm: 6px;
  --ease: 0.3s ease;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ---------- 3. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

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

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 999; background: var(--white); padding: 8px 12px; }

.center { text-align: center; margin-top: 30px; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 32px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #434343; }
.btn-gold { background: var(--gold-btn); color: var(--white); }
.btn-gold:hover { background: var(--gold-btn-hover); }
.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover { background: var(--charcoal); color: var(--white); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.link-btn { display: block; margin: 10px auto 0; font-size: 13px; text-decoration: underline; color: var(--text-muted); }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  position: relative;
}

/* Round arrow buttons used by every carousel */
.round-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  transform: translateY(-50%);
  transition: background var(--ease), color var(--ease), opacity var(--ease);
}
.round-arrow svg { width: 18px; height: 18px; }
.round-arrow:hover { background: var(--charcoal); color: var(--white); }
.round-arrow[disabled] { opacity: 0; pointer-events: none; }

/* ---------- 5. Section headings ---------- */
.section { padding: 45px 0; }
.section--tight-top { padding-top: 15px; }

.section-title {
  text-align: center;
  font-size: clamp(26px, 3.4vw, 42px);
  margin-bottom: 14px;
}
.section-text {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 15px;
}

/* ---------- 6. Announcement bar ---------- */
.announcement {
  background: var(--gold);
  color: var(--white);
  text-align: center;
  font-size: clamp(12px, 1.4vw, 14px);
  padding: 9px var(--gutter);
}
.announcement p { margin: 0; }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  color: var(--white);
  transition: transform .35s ease;
}
/* JS adds this while scrolling down, so the header slides away */
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.logo img { width: 125px; height: auto; }

.burger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.burger span { height: 2px; background: currentColor; border-radius: 2px; }

.header-icons { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.header-icons svg { width: 22px; height: 22px; }
.hide-mobile { display: none; }

.count-bubble {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}
.count-bubble.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.4); } }

/* Desktop nav is hidden until 1150px */
.main-nav { display: none; }

/* Search bar */
.search-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px var(--gutter);
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow);
}
.search-bar[hidden] { display: none; }
.search-bar input {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
}
.search-results {
  flex-basis: 100%;
  max-height: 60vh;
  overflow-y: auto;
}
.search-results li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.search-results img { width: 48px; height: 60px; object-fit: cover; border-radius: 4px; }
.search-results .muted { padding: 10px 0; color: var(--text-muted); }

/* ---------- 8. Drawers (mobile menu + cart) & overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(0, 0, 0, .5);
}

.drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  width: min(90vw, 400px);
  background: var(--white);
  color: var(--text);
  visibility: hidden;
  transition: transform .35s ease, visibility .35s ease;
}
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px 12px 20px;
  border-bottom: 1px solid #eee;
}
.drawer-title { font-family: var(--font-heading); font-weight: 700; font-size: 20px; }

/* Mobile menu */
.mobile-nav { padding: 6px 20px; overflow-y: auto; }
.mobile-nav > a,
.mobile-nav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .chev { width: 18px; height: 18px; transition: transform var(--ease); }
.mobile-nav details[open] summary .chev { transform: rotate(180deg); }
.mobile-nav details ul { padding: 6px 0 6px 14px; }
.mobile-nav details li a { display: block; padding: 8px 0; color: var(--text-muted); }

.mobile-extra {
  margin-top: auto;
  padding: 16px 20px 24px;
  background: var(--soft-bg);
}
.mobile-extra > a,
.mobile-extra > button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 15px;
}
.mobile-extra svg { width: 18px; height: 18px; }
.need-help { margin: 12px 0 0; font-size: 14px; line-height: 1.8; }

/* ---------- 9. Slideshow ---------- */
.slideshow { position: relative; overflow: hidden; background: #f2f2f2; }
.slides { display: grid; }
.slide {
  grid-area: 1 / 1;          /* stack all slides on top of each other */
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: auto; }

.slideshow .round-arrow { display: none; }
.slide-prev { left: 20px; }
.slide-next { right: 20px; }

.slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slide-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .6);
  border: 1px solid rgba(0, 0, 0, .25);
  transition: transform var(--ease), background var(--ease);
}
.slide-dots button[aria-selected="true"] { background: var(--white); transform: scale(1.3); }

/* ---------- 10. Marquee ---------- */
.marquee {
  overflow: hidden;
  background: linear-gradient(90deg, #3b3d3c 0%, var(--gold) 100%);
  color: var(--white);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; flex-shrink: 0; }
.marquee-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 19px;
  font-size: 18px;
  white-space: nowrap;
}
.marquee-list img { width: 22px; height: 22px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 11. Tabs ---------- */
.tabs {
  display: flex;
  gap: 10px;
  margin: 0 calc(var(--gutter) * -1) 26px;
  padding: 2px var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 7px 20px;
  border: 2px solid var(--charcoal);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--ease), color var(--ease);
}
.tab:hover,
.tab.is-active { background: var(--charcoal); color: var(--white); }

/* ---------- 12. Carousels (scroll-snap) ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel .round-arrow { display: none; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* How many cards are visible per row (mobile first) */
.products-track { grid-auto-columns: calc((100% - 10px) / 2); }
.collections-track { grid-auto-columns: 82%; gap: 15px; }
.reviews-track { grid-auto-columns: 88%; gap: 15px; }

/* ---------- 13. Product card ---------- */
.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f4f4f4;
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .5s ease, transform .8s ease;
}
/* Second image fades in on hover (desktop) */
.product-media .img-hover { opacity: 0; }
@media (hover: hover) {
  .product-card:hover .img-hover { opacity: 1; }
  .product-card:hover .product-media img { transform: scale(1.04); }
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--sale);
  color: var(--white);
  font-size: 13px;
}
.badge--soldout { background: #8a8a8a; }

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 10px 14px;
  text-align: center;
}
.product-title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 8px;
}
.price {
  font-size: 13px;
  margin-bottom: 12px;
}
.price .unit {
  color: var(--gold-btn);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.price s { color: var(--text-muted); margin-right: 6px; }
.price .sale { color: #ec0101; }

.product-info .btn {
  margin-top: auto;
  min-height: 38px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 400;
}

/* ---------- 14. 50K customers banner ---------- */
.hero-banner { position: relative; color: var(--white); background: #05759d; }
.hero-banner img { width: 100%; }
/* Mobile: text sits below the image on the same blue; tablet+ overlays it */
.hero-banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 20px;
  text-align: center;
}
.hero-banner__content h2 { font-size: clamp(28px, 3.6vw, 44px); }
.hero-banner__content p { max-width: 470px; font-size: 14px; }
.hero-banner__sub { font-size: 16px !important; margin-bottom: 10px; }

/* ---------- 15. Collection cards ---------- */
.collection-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--ease);
}
.collection-card img { width: 100%; }
.collection-card:hover { transform: translateY(-4px); }

.gender-grid {
  display: grid;
  gap: 15px;
}

/* ---------- 16. What sets Rawaha apart ---------- */
.about { background: var(--cream); padding: 45px 0; }
.about-grid { display: grid; gap: 30px; align-items: center; }
.about-text h2 { font-size: clamp(26px, 3vw, 36px); }
.about-text ul { list-style: disc; padding-left: 20px; margin-bottom: 26px; }
.about-text li { margin-bottom: 14px; }
.about-media img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; }

/* ---------- 17. Trust strip ---------- */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 10px;
  padding: 26px 15px;
  background: #f9fafb;
}
.trust-rating { display: flex; align-items: center; gap: 10px; color: var(--gold-btn); }
.stars { display: inline-flex; gap: 2px; color: var(--gold-btn); }
.stars svg { width: 18px; height: 18px; }
.trust-badges { display: flex; gap: 14px; }
.trust-badges li {
  display: grid;
  place-items: center;
  align-content: center;
  width: 66px;
  height: 66px;
  border: 2px solid var(--gold-btn);
  border-radius: 50%;
  color: var(--gold-btn);
  text-align: center;
  line-height: 1.1;
}
.trust-badges strong { font-size: 14px; }
.trust-badges span { font-size: 7px; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- 19. Reviews ---------- */
.reviews { background: var(--white); }
.reviews-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  font-size: 14px;
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.review-card h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; margin: 0; }
.review-card p { margin: 0; font-size: 14px; color: #333; }
.review-author { font-weight: 600; font-size: 14px; }
.review-product {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: var(--text-muted);
}
.review-date { font-size: 12px; color: #999; }

/* ---------- 20. Shipping row ---------- */
.shipping { padding: 40px 0; border-top: 1px solid #eee; }
.shipping-grid { display: grid; gap: 26px; }
.ship-item { display: flex; gap: 16px; align-items: flex-start; }
.ship-item svg { width: 44px; height: 44px; color: var(--text); }
.ship-item h3 { font-size: 18px; margin-bottom: 4px; }
.ship-item p { margin: 0; font-size: 14px; color: var(--text-muted); }

/* ---------- 21. Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .85); }

.newsletter { padding: 44px 0; border-bottom: 1px solid #444; }
.newsletter-inner { display: grid; gap: 24px; }
.newsletter-sub { color: var(--gold); margin-bottom: 6px; font-weight: 500; }
.newsletter h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); }
.newsletter-field {
  display: flex;
  gap: 8px;
}
.newsletter-field input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #555;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  font: inherit;
}
.newsletter-field input::placeholder { color: #aaa; }
.newsletter-field input.is-invalid { border-color: #e74c3c; }
.newsletter-note { margin: 10px 0 0; font-size: 13px; color: #aaa; }

.footer-grid {
  display: grid;
  gap: 10px;
  padding-top: 40px;
  padding-bottom: 30px;
}
.footer-brand img { width: 190px; margin-bottom: 20px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}
.footer-contact svg { width: 18px; height: 18px; margin-top: 3px; color: var(--gold); }
.footer-contact a:hover { color: var(--gold); }

.socials { display: flex; gap: 10px; margin: 18px 0 20px; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #555;
  border-radius: 50%;
  transition: background var(--ease), border-color var(--ease);
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.socials svg { width: 17px; height: 17px; }

.footer-col { border-top: 1px solid #3a3a3a; }
.footer-col summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
}
.footer-col summary::-webkit-details-marker { display: none; }
.footer-col summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--white); }
.footer-col[open] summary::after { content: "−"; }
.footer-col h4 { margin: 0; color: var(--white); font-size: 18px; }
.footer-col ul { padding-bottom: 14px; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  padding: 15px 0;
  border-top: 1px solid #3a3a3a;
  font-size: 13px;
  text-align: center;
}
.footer-bottom p { margin: 0; }

/* ---------- 22. Cart drawer ---------- */
.ship-progress { padding: 14px 20px; border-bottom: 1px solid #eee; font-size: 14px; }
.ship-progress p { margin: 0 0 8px; }
.progress { height: 6px; border-radius: 3px; background: #eee; overflow: hidden; }
.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold-btn);
  transition: width .4s ease;
}

.cart-items { flex: 1; overflow-y: auto; padding: 0 20px; }
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: 6px; }
.cart-item h4 { font-family: var(--font-body); font-size: 14px; font-weight: 500; margin: 0 0 2px; }
.cart-item .variant { font-size: 12px; color: var(--text-muted); margin: 0 0 4px; }
.cart-item .line-price { font-size: 14px; margin: 0 0 8px; }
.cart-item-actions { display: flex; align-items: center; justify-content: space-between; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.qty button { width: 32px; height: 32px; font-size: 18px; }
.qty span { min-width: 26px; text-align: center; font-size: 14px; }
.remove { font-size: 12px; text-decoration: underline; color: var(--text-muted); }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 20px;
  text-align: center;
}
.cart-empty svg { width: 54px; height: 54px; color: #bbb; }
.cart-empty[hidden], .cart-foot[hidden] { display: none; }

.cart-foot { padding: 16px 20px 20px; border-top: 1px solid #eee; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 17px; }
.cart-note { font-size: 12px; color: var(--text-muted); margin: 4px 0 12px; }

/* ---------- 23. Quick add modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 15px;
  background: rgba(0, 0, 0, .5);
}
.modal[hidden] { display: none; }
.modal-box {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  width: min(100%, 520px);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.modal-close { position: absolute; top: 6px; right: 6px; }
.qa-img { width: 110px; height: 138px; object-fit: cover; border-radius: 6px; }
.qa-body h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; padding-right: 26px; }
.qa-label { margin: 0 0 6px; font-size: 13px; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.size-options button {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
}
.size-options button[aria-pressed="true"] { border-color: var(--charcoal); background: var(--charcoal); color: var(--white); }

/* ---------- 24. WhatsApp + toast ---------- */
.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.whatsapp svg { width: 30px; height: 30px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: var(--charcoal);
  color: var(--white);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity var(--ease), transform var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Tablet: 768px+
   ========================================================================== */
@media (min-width: 768px) {
  :root { --header-h: 86px; }

  .logo img { width: 155px; }
  .hide-mobile { display: inline-grid; }

  .section { padding: 60px 0; }
  .section--tight-top { padding-top: 20px; }

  .tabs { justify-content: center; margin-left: 0; margin-right: 0; gap: 30px; }
  .tab { padding: 8px 26px; font-size: 17px; }

  .products-track { grid-auto-columns: calc((100% - 30px) / 3.3); }
  .collections-track { grid-auto-columns: calc((100% - 30px) / 2.2); gap: 30px; }
  .reviews-track { grid-auto-columns: calc((100% - 30px) / 2); }

  .carousel .round-arrow { display: grid; }
  .carousel-prev { left: -5px; }
  .carousel-next { right: -5px; }

  .slideshow .round-arrow { display: grid; }

  .marquee { padding: 18px 0; }
  .marquee-list li { font-size: 24px; padding: 0 25px; }
  .marquee-list img { width: 28px; height: 28px; }

  .product-title { font-size: 15px; }
  .price { font-size: 14px; }

  .hero-banner__content {
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    width: 45%;
    padding: 30px;
  }
  .hero-banner__content p { font-size: 15px; }

  .gender-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .about { padding: 55px 0; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

  .shipping-grid { grid-template-columns: repeat(2, 1fr); }

  .newsletter-inner { grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
  .footer-col { border-top: 0; }
  .footer-col summary { pointer-events: none; padding-top: 0; }
  .footer-col summary::after { display: none; }
  .footer-col h4 { font-size: 20px; }
}

/* ==========================================================================
   Desktop: 1150px+ (inline navigation)
   ========================================================================== */
@media (min-width: 1150px) {
  .menu-toggle { display: none; }

  .header-inner { grid-template-columns: auto 1fr auto; }

  .main-nav { display: block; }
  .nav-list { display: flex; justify-content: center; gap: 22px; }
  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: var(--header-h);
    font-size: 15px;
    font-weight: 500;
    color: var(--white);
    transition: color var(--ease);
  }
  .nav-link:hover { color: var(--gold); }
  .nav-link .chev { width: 16px; height: 16px; transition: transform var(--ease); }

  /* Dropdowns open on hover or keyboard focus (and on click via JS) */
  .has-dropdown { position: relative; }
  .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 10;
    padding: 24px 28px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: var(--white);
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .has-dropdown:hover .chev,
  .has-dropdown.is-open .chev { transform: rotate(180deg); }

  .dropdown--simple { min-width: 230px; }
  .dropdown--simple li a,
  .mega-col li a {
    display: block;
    padding: 6px 0;
    font-size: 15px;
    transition: color var(--ease), transform var(--ease);
  }
  .dropdown a:hover { color: var(--gold-btn); }

  /* Mega menus: centered on the screen, not under the link */
  .has-dropdown:has(.dropdown--mega) { position: static; }
  .dropdown--mega {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 1.4fr;
    gap: 30px;
    width: min(1100px, calc(100vw - 40px));
  }
  .mega-col h4 { font-size: 17px; margin-bottom: 10px; }
  .mega-promo img { border-radius: var(--radius); }

  .dropdown--brands { display: block; max-height: 70vh; overflow-y: auto; }
  .brand-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
  }
  .brand-grid a {
    display: block;
    border: 1px solid #eee;
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--ease);
  }
  .brand-grid a:hover { border-color: var(--gold-btn); }

  .products-track { grid-auto-columns: calc((100% - 40px) / 5); }
  .collections-track { grid-auto-columns: calc((100% - 60px) / 3); }
  .reviews-track { grid-auto-columns: calc((100% - 30px) / 3); }

  .shipping-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   Multi-page additions
   ========================================================================== */

/* ---------- Header extras ---------- */
.nav-list .is-current > .nav-link { color: var(--gold); }
.size-options button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.search-all { justify-content: center; font-weight: 600; color: var(--gold-btn); }

/* ---------- Page hero + breadcrumb ---------- */
.page-hero {
  padding: 34px 0 30px;
  background: var(--cream);
  text-align: center;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 6px; }
.page-hero p { max-width: 720px; margin: 0 auto; }
.page-hero p:empty { display: none; }
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--gold-btn); }

.section--soft { background: var(--soft-bg); }
.narrow { max-width: 860px; }
.prose h2 { font-size: 26px; margin-top: 1em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }

.empty-state {
  grid-column: 1 / -1;
  padding: 50px 15px;
  text-align: center;
  color: var(--text-muted);
}
.empty-state[hidden] { display: none; }
.empty-state .btn { margin-top: 10px; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-muted); }
.field--block { margin-bottom: 14px; }
.field input,
.field select,
.field textarea,
.shop-search input {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .shop-search input:focus {
  outline: none;
  border-color: var(--charcoal);
}
.is-invalid { border-color: #e74c3c !important; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--charcoal); }
.form-status { margin: 10px 0 0; font-size: 14px; }

/* ---------- Collection toolbar + grid ---------- */
.toolbar { display: grid; gap: 14px; margin-bottom: 24px; }
.shop-search { display: flex; gap: 8px; }
.shop-search input { flex: 1; min-width: 0; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }
.filters .check { grid-column: 1 / -1; }
.result-count { margin: 0; font-size: 14px; color: var(--text-muted); }

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

/* Card title is a link + wishlist heart on each card */
.product-title a:hover { color: var(--gold-btn); }
.wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  transition: color var(--ease), transform var(--ease);
}
.wish-btn svg { width: 18px; height: 18px; }
.wish-btn[aria-pressed="true"] { color: #e0245e; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn--static {
  position: static;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

/* ---------- Product page ---------- */
.product-page { padding-top: 20px; padding-bottom: 20px; }
.product-layout { display: grid; gap: 26px; }
.gallery-main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f4f4f4;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery-thumbs button {
  width: 80px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--charcoal); }
.gallery-thumbs img { aspect-ratio: 4 / 5; object-fit: cover; }

.product-details h1 { font-size: clamp(22px, 2.6vw, 30px); }
.product-details .product-price { font-size: 22px; margin-bottom: 4px; }
.product-details .product-price s { font-size: 16px; color: var(--text-muted); margin-right: 6px; }
.stock { font-size: 14px; color: #1a8f3c; margin-bottom: 16px; }
.stock.is-out { color: #c0392b; }
.qa-price { margin-bottom: 10px; }
.qa-price s { color: var(--text-muted); }

.buy-row { display: flex; gap: 10px; margin: 6px 0 12px; }
.buy-row .btn-gold { flex: 1; }
.qty--lg button { width: 42px; height: 44px; }
.qty--lg span { min-width: 30px; font-size: 15px; }

.product-perks { margin: 20px 0; padding: 16px; border-radius: var(--radius); background: var(--soft-bg); }
.product-perks li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; }
.product-perks svg { width: 24px; height: 24px; }

.product-desc { border-top: 1px solid #eee; padding-top: 18px; font-size: 15px; }
.product-desc h3, .product-desc h4 { font-family: var(--font-body); font-size: 17px; margin-top: 1em; }
.product-desc ul { list-style: disc; padding-left: 20px; margin-bottom: 1em; }


/* ---------- Cart page ---------- */
.cart-page { display: grid; gap: 26px; align-items: start; }
.cart-page .cart-items { padding: 0; overflow: visible; }
.cart-page .cart-item { grid-template-columns: 90px 1fr; }
.cart-page .cart-item img { width: 90px; height: 112px; }
.cart-summary {
  padding: 22px;
  border: 1px solid #eee;
  border-radius: var(--radius);
  background: var(--soft-bg);
}
.cart-summary[hidden] { display: none; }
.cart-summary .ship-progress { padding: 0 0 16px; border: 0; }
.cart-summary .btn { margin-bottom: 10px; }
.cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-actions .btn { padding: 8px 10px; }
.cart-item h4 a:hover { color: var(--gold-btn); }

/* ---------- Brands page ---------- */
.brands-page { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.brand-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  font-weight: 500;
  transition: border-color var(--ease), transform var(--ease);
}
.brand-card span { padding: 10px; }
.brand-card:hover { border-color: var(--gold-btn); transform: translateY(-3px); }

/* ---------- About page ---------- */
.founders { display: grid; gap: 24px; }
.founder { text-align: center; }
.founder img {
  width: 220px;
  height: 260px;
  margin: 0 auto 14px;
  object-fit: cover;
  border-radius: var(--radius);
}
.founder h3 { margin-bottom: 0; font-size: 22px; }
.founder-role { color: var(--gold-btn); font-weight: 600; margin-bottom: 8px; }
.founder p:last-child { font-size: 14px; color: #333; }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gold-btn); }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 22px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-btn);
}
.timeline strong { font-family: var(--font-heading); font-size: 20px; }

/* ---------- Contact, outlets, FAQs ---------- */
.contact-grid { display: grid; gap: 30px; }
.form-card { padding: 24px; border: 1px solid #eee; border-radius: var(--radius); background: var(--white); }
.form-card h2, .contact-info h2 { font-size: 24px; }
.info-list li { display: flex; gap: 12px; margin-bottom: 14px; }
.info-list svg { color: var(--gold-btn); margin-top: 2px; }
.info-list a:hover { color: var(--gold-btn); }

.outlets { display: grid; gap: 20px; }
.outlet { padding: 24px; border: 1px solid #eee; border-radius: var(--radius); }
.outlet h2 { font-size: 22px; }
.outlet p { display: flex; gap: 10px; align-items: flex-start; }
.outlet svg { color: var(--gold-btn); width: 20px; height: 20px; margin-top: 3px; }

.faq { border-bottom: 1px solid #eee; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { transition: transform var(--ease); }
.faq[open] .chev { transform: rotate(180deg); }
.faq p { padding-bottom: 18px; margin: 0; color: #333; }

/* ---------- Larger screens ---------- */
@media (min-width: 768px) {
  .page-hero { padding: 50px 0 44px; }
  .toolbar { grid-template-columns: 1fr auto; align-items: end; }
  .shop-search { grid-column: 1 / -1; max-width: 520px; }
  .filters { display: flex; flex-wrap: wrap; }
  .filters .field { min-width: 160px; }
  .filters .check { padding-bottom: 10px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .cart-page { grid-template-columns: 1.6fr 1fr; gap: 40px; }
  .cart-summary { position: sticky; top: calc(var(--header-h) + 20px); }
  .brands-page { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .founders { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1.3fr 1fr; gap: 50px; }
  .outlets { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1150px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .brands-page { grid-template-columns: repeat(6, 1fr); }
}

/* ---------- Shop mega menu: Gender / Categories / Occasion ---------- */
.mobile-shop .mega-col { padding: 4px 0 8px 14px; }
.mobile-shop h4 {
  margin: 8px 0 2px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gold-btn);
}
.mobile-shop ul { padding: 0 !important; }

@media (min-width: 1150px) {
  .dropdown--shop {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: min(780px, calc(100vw - 40px));
    padding: 34px 38px 30px;
  }
  .dropdown--shop h4 {
    margin-bottom: 14px;
    font-family: var(--font-body);
    font-size: 30px;
    font-weight: 400;
  }
  .dropdown--shop li a { padding: 9px 0; font-size: 15px; }
}
