/* =============================================
   DUAFE — Organic Hair Growth Oil
   style.css — Main Stylesheet

   HOW TO EDIT:
   - Colors: change values under :root at the top
   - Fonts: loaded from Google Fonts in each HTML <head>
   - To add a new page: copy any HTML file, update
     the <nav> active class to match the new page
   ============================================= */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --cream:      #f5f0eb;
  --sand:       #dfd5c6;
  --black:      #1e1e1e;
  --gray:       #777;
  --light-gray: #dfd5c6;
  --divider:    rgba(0,0,0,0.07);

  --font-serif: 'Jost', sans-serif;
  --font-sans:  'Jost', sans-serif;

  --nav-height: 68px;
  --promo-height: 40px;

  --ease: 0.2s ease;
  --ease-slow: 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
}

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

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

button {
  cursor: pointer;
  font-family: var(--font-sans);
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ─── IMAGE PLACEHOLDERS ─── */
/* Image slots are HIDDEN from first paint and only revealed by media-apply.js
   when a real uploaded image exists for that slot. This prevents the sand/cream
   placeholder box from flashing before the image map loads (or showing at all
   when no image has been uploaded). The empty hero banner is collapsed too so
   it leaves no gap. The admin panel re-enables the visible style separately. */
[data-media-slot] { display: none; }

.img-placeholder {
  background: transparent;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.img-placeholder span {
  display: none;
}

/* ─── TYPOGRAPHY HELPERS ─── */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.currency-picker { display: none !important; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 40px;
  border: 1px solid transparent;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, opacity 0.22s ease;
  cursor: pointer;
  line-height: 1;
}

.btn-dark {
  background: #1e1e1e;
  color: #fff;
  border-color: #1e1e1e;
}
.btn-dark:hover {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid #1e1e1e;
}
.btn-outline:hover {
  background: #1e1e1e;
  color: #fff;
  border-color: #1e1e1e;
}

/* Light button — simple smooth invert, no sweep */
.btn-light {
  background: rgba(255,255,255,0.95);
  color: #000;
  border-color: rgba(255,255,255,0.95);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.btn-light::before { content: none; }

.btn-light:hover {
  background: #1e1e1e;
  color: #fff;
  border-color: #1e1e1e;
}

/* Dark-section btn-light: stay transparent on hover so it reads on dark bg */
.home-statement .btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ─── PROMO BAR ─── */
.promo-bar {
  background: #dfd5c6;
  height: var(--promo-height);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 101;
}

.promo-slide-wrap {
  flex: none;
  width: min(560px, calc(100vw - 72px));
  position: relative;
  height: var(--promo-height);
  overflow: hidden;
}

.promo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transform: translateY(100%);
  text-transform: uppercase;
  /* transition only enabled after .ready is added by JS — prevents load-flash */
}

.promo-bar.ready .promo-slide {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Suppress transition during position reset so snap-back is invisible */
.promo-slide.resetting { transition: none !important; }

.promo-slide.active  { transform: translateY(0); }
.promo-slide.leaving { transform: translateY(-100%); }

.promo-nav-btn {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: rgba(0,0,0,0.4);
  padding: 0 6px;
  height: var(--promo-height);
  display: flex;
  align-items: center;
  transition: color 0.2s ease;
}
.promo-nav-btn:hover { color: rgba(0,0,0,0.75); }

/* ─── CURRENCY PICKER ─── */
.currency-picker {
  position: relative;
  flex-shrink: 0;
}

.currency-picker-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1e1e1e;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 7px 13px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.currency-picker-trigger:hover { background: #333; }

.currency-picker-trigger svg {
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.currency-picker[data-open] .currency-picker-trigger svg {
  transform: rotate(180deg);
}

.currency-picker-menu {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  background: #1e1e1e;
  min-width: 80px;
  z-index: 300;
  display: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.currency-picker-menu.open { display: block; }

.currency-picker-item {
  display: block;
  width: 100%;
  padding: 9px 16px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  text-transform: uppercase;
}

.currency-picker-item:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}

.currency-picker-item.active {
  color: #fff;
}

/* ─── HEADER / NAV ─── */
.site-header {
  position: sticky;
  top: var(--promo-height);
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--divider);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  position: relative;
  transition: color var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--black);
  transition: width var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  font-weight: 300;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: color 0.25s ease;
}

.nav-icon:hover {
  color: #aaa;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: all 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav drawer — full screen overlay (starts below promo bar so it stays visible) */
.nav-mobile {
  display: none;
  position: fixed;
  top: 40px; left: 0; right: 0; bottom: 0;
  background: var(--cream);
  z-index: 9999;
  flex-direction: column;
  overflow-y: auto;
}

.nav-mobile.open {
  display: flex;
}

/* Close (X) button inside menu */
.nav-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Links block — padded from top to clear promo+nav height */
.nav-mobile-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
}

.nav-mobile-links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  display: block;
}

.nav-mobile-links a:first-child {
  border-top: 1px solid var(--divider);
}

.nav-mobile-links a.active {
  font-weight: 300;
}

/* Footer: login + follow */
.nav-mobile-footer {
  padding: 28px 32px 40px;
  border-top: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-mobile-login {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-mobile-divider {
  height: 1px;
  background: var(--light-gray);
  margin: 4px 0;
}

.nav-mobile-follow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-mobile-follow-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

.nav-mobile-follow-icons {
  display: flex;
  gap: 14px;
}

.nav-mobile-follow-icons a {
  color: var(--black);
  display: flex;
  align-items: center;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--divider);
  padding: 56px 32px 0;
  overflow-x: clip; /* contain 100vw pseudo-elements so they don't cause horizontal scroll */
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  position: relative;
}
.footer-top::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--divider);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  margin-top: 8px;
}

.footer-nav-col h4,
.footer-legal-col h4,
.footer-social-col h4 {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-nav-col ul,
.footer-legal-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col a,
.footer-legal-col a,
.footer-social-col a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-nav-col a:hover,
.footer-legal-col a:hover,
.footer-social-col a:hover {
  color: var(--black);
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-social-icons a {
  display: flex;
  align-items: center;
  color: var(--gray);
  transition: color var(--ease);
}

.footer-social-icons a:hover {
  color: var(--black);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  position: relative;
}
.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--divider);
}
.footer-credit {
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  padding-bottom: 16px;
  opacity: .7;
}
.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── BRAND CURRENCY SELECT (account page) ─── */
.nav-currency-select {
  appearance: none;
  -webkit-appearance: none;
  background: #1e1e1e;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 7px 28px 7px 13px;
  border: none;
  cursor: pointer;
  outline: none;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l3 3 3-3' stroke='rgba(255,255,255,0.6)' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.nav-currency-select option {
  background: #1e1e1e;
  color: #fff;
}

/* Shop count uppercase */
.shop-count { text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── SECTION WRAPPER ─── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ═══════════════════════════════════════════════
   HOME PAGE SECTIONS
═══════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  /* full-bleed: no max-width, no padding */
}

.hero-banner {
  width: 100%;
  height: 72vh;
  min-height: 340px;
  overflow: hidden;
  background: transparent;
  /* Hidden until media-apply.js injects a real hero image — no empty sand box,
     no flash. media-apply.js sets display:block when an image exists. */
  display: none;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner-placeholder {
  width: 100%;
  height: 100%;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 32px 72px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 14px 0 22px;
}

.hero-headline em {
  font-style: normal;
}

.hero-tagline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--gray);
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

/* Legacy classes kept for safety */
.hero-left { }
.hero-right { display: none; }
.hero-img-wrap { display: none; }
.hero-img { display: none; }

@media (max-width: 768px) {
  .hero-banner { height: 52vh; min-height: 260px; }
  .hero-content { padding: 36px 20px 56px; }
}
@media (max-width: 480px) {
  .hero-banner { height: 44vh; }
  .hero-headline { font-size: 7.5vw; white-space: nowrap; }
  .hero-tagline { margin-bottom: 16px; }
}

/* ─── BENEFITS STRIP ─── */
.benefits-strip {
  background: var(--sand);
  padding: 40px 32px;
}

.benefits-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: center;
}

.benefit-item {
  text-align: center;
  padding: 16px 24px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--black);
  opacity: 0.7;
}

.benefit-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.benefit-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: #666;
  letter-spacing: 0.04em;
}

.benefit-divider {
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.15);
}

/* ─── ABOUT TEASER ─── */
.about-teaser {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-teaser-img {
  aspect-ratio: 1 / 1;
}

.about-teaser-content {
  padding: 24px 0;
}

.about-teaser-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  margin: 16px 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-teaser-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 32px;
}

.text-link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--black);
  transition: opacity var(--ease);
}

.text-link:hover {
  opacity: 0.5;
}

/* ─── PRODUCT FEATURE ─── */
.product-feature {
  padding: 96px 32px;
  text-align: center;
  background: var(--cream);
}

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

.product-feature-heading {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-feature-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.product-feature-img {
  aspect-ratio: 3 / 4;
  max-width: 300px;
  margin: 0 auto 48px;
}

.product-benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.product-benefit {
  padding: 20px;
  border: 1px solid var(--divider);
}

.product-benefit-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.product-benefit-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ─── RITUAL SECTION ─── */
.ritual-section {
  background: var(--black);
  color: #fff;
  padding: 96px 32px;
  text-align: center;
}

.ritual-heading {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ritual-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.ritual-section .btn-light {
  font-size: 12px;
  letter-spacing: 0.14em;
}
.ritual-section .btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 96px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonials-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 48px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  padding: 36px 32px;
  border: 1px solid var(--divider);
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 24px;
  color: var(--black);
}

.testimonial-author {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
}

/* ─── INSTAGRAM STRIP ─── */
.instagram-strip {
  padding: 64px 32px;
  text-align: center;
}

.instagram-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.instagram-item {
  aspect-ratio: 1 / 1;
  transition: opacity var(--ease);
  cursor: pointer;
}

.instagram-item:hover {
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════ */

.page-hero {
  padding: 80px 32px 64px;
  text-align: center;
  border-bottom: 1px solid var(--divider);
  max-width: 1280px;
  margin: 0 auto;
}

.page-hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.page-hero-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto;
}

.about-story {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: stretch;
}

.about-story-img {
  aspect-ratio: 3 / 4;
}

.about-story-content {
  display: flex;
  flex-direction: column;
}

.about-story-content h2 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin: 36px 0 6px;
}

.about-story-content h2:first-child { margin-top: 0; }

.about-story-content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: #444;
  margin-bottom: 10px;
}

.about-story-content .btn {
  margin-top: auto;
  align-self: flex-start;
}

.values-section {
  background: var(--sand);
  padding: 96px 32px;
}

.values-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.values-heading {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 56px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.values-grid {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.value-card {
  background: var(--sand);
  padding: 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--black);
  opacity: 0.55;
  flex-shrink: 0;
}

.value-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(0,0,0,0.15);
  flex-shrink: 0;
}

.value-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.value-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.mission-statement {
  padding: 120px 32px;
  text-align: center;
  max-width: 1280px;
  margin: 0 auto;
}

.mission-quote {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 300;
  line-height: 1.55;
  max-width: 720px;
  margin: 0 auto 32px;
  color: var(--black);
}

.mission-attr {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ═══════════════════════════════════════════════
   SHOP PAGE
═══════════════════════════════════════════════ */

.shop-header {
  padding: 64px 32px 48px;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.shop-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 60px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.shop-count {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
}

.shop-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  cursor: pointer;
}

.product-card-img {
  aspect-ratio: 3 / 4;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-card-img .img-placeholder {
  transition: transform var(--ease-slow);
}

.product-card:hover .img-placeholder {
  transform: scale(1.02);
}

.product-card-name {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 6px;
}

.product-card-size {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.product-card-price {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  margin-bottom: 16px;
}

.product-card-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Free From Badges */
.free-from-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.badge {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--sand);
  border-radius: 2px;
}

/* Directions Accordion */
.accordion {
  border-top: 1px solid var(--divider);
  margin-top: 32px;
}

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

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
}

.accordion-trigger .plus {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .plus {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  padding: 0 0 24px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.accordion-item.open .accordion-content {
  display: block;
}

/* Product Detail Layout (used in shop expanded view) */
.product-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-detail-img {
  aspect-ratio: 3 / 4;
  position: sticky;
  top: calc(var(--promo-height) + var(--nav-height) + 32px);
}

.product-detail-info .eyebrow {
  margin-bottom: 16px;
}

.product-detail-name {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 12px;
}

.product-detail-size {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.product-detail-price {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 22px;
  margin-bottom: 8px;
}

.product-detail-price-note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 32px;
}

.product-detail-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  margin-bottom: 32px;
}

.product-detail .btn-dark {
  width: 100%;
  text-align: center;
  padding: 18px;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════ */

.contact-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 32px 120px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 96px;
  align-items: start;
}

.contact-info-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-info-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 48px;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #25D366;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--ease);
  margin-bottom: 48px;
}

.whatsapp-cta:hover {
  background: #1db954;
}

.contact-detail-item {
  margin-bottom: 20px;
}

.contact-detail-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.contact-detail-value {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--black);
}

/* Contact Form */
.contact-form-group {
  margin-bottom: 24px;
}

.contact-form-group label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--divider);
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--black);
  outline: none;
  transition: border-color var(--ease);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
  border-bottom-color: var(--black);
}

.contact-form-group textarea {
  resize: none;
  min-height: 120px;
}

.contact-form .btn-dark {
  margin-top: 16px;
  padding: 16px 48px;
  width: 100%;
  text-align: center;
}

.form-note {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  margin-top: 12px;
  text-align: center;
}

/* ─── ORDER SIZE + QUANTITY ─── */
.order-sizes {
  margin-bottom: 24px;
}

.order-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
}

.order-size-row:first-child {
  border-top: 1px solid var(--divider);
}

.order-size-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.order-size-name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
}

.order-size-floz {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.06em;
}

.order-size-price {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  margin-top: 2px;
  color: var(--black);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--divider);
}

.qty-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 300;
  color: var(--black);
  line-height: 1;
  transition: background 0.2s ease;
  font-family: var(--font-sans);
}

.qty-btn:hover {
  background: var(--sand);
}

.qty-btn:disabled {
  color: #ccc;
  cursor: default;
}

.qty-btn:disabled:hover {
  background: none;
}

.qty-value {
  min-width: 40px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 300;
  user-select: none;
}

.order-notice {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px solid var(--divider);
  display: none;
}

.order-notice.visible {
  display: block;
}

/* ─── SIZE SELECTOR ─── */
.size-selector-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  display: block;
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.size-option {
  padding: 10px 18px;
  border: 1px solid var(--divider);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  background: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
  line-height: 1;
}

.size-option:hover {
  border-color: var(--black);
}

.size-option.selected {
  border-color: var(--black);
  background: var(--black);
  color: #fff;
}

.size-option-ml {
  display: block;
  font-weight: 300;
  font-size: 14px;
  margin-bottom: 3px;
}

.size-option-floz {
  display: block;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

/* ─── MULTI-PRODUCT ORDER COLLECTION ─── */
.order-collection {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.order-product-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 56px 0;
  border-bottom: 1px solid var(--divider);
  align-items: start;
}

.order-product-section:first-child {
  padding-top: 0;
}

.order-product-img-wrap {
  aspect-ratio: 3 / 4;
  position: sticky;
  top: calc(var(--promo-height) + var(--nav-height) + 24px);
}

.order-product-name-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
}

.order-product-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.2;
}

.order-product-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 24px;
}

.order-cta-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 32px 96px;
  border-top: none;
}

@media (max-width: 768px) {
  .order-product-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .order-product-img-wrap {
    position: static;
    aspect-ratio: 4 / 3;
    max-height: 280px;
    overflow: hidden;
  }
}

/* ─── PAGE LOAD ANIMATION ─── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

main {
  animation: pageFadeIn 0.55s ease both;
}

/* ─── HEADER SCROLL STATE ─── */
.site-header {
  transition: box-shadow 0.3s ease;
}
.site-header.header-scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* ─── FADE-IN ON SCROLL ─── */
@keyframes duafe-fade-fallback {
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
  /* Fallback: auto-reveal if IntersectionObserver never fires */
  animation: duafe-fade-fallback 0.7s cubic-bezier(0.22,1,0.36,1) 1.2s forwards;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0;
  }

  .hero-right {
    order: -1;
  }

  .hero-img-wrap {
    max-width: 100%;
  }

  .hero-img {
    aspect-ratio: 16 / 9;
  }

  .hero-left {
    padding: 48px 0 64px;
  }

  .about-teaser {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .values-grid {
    flex-wrap: wrap;
    gap: 2px;
  }
  .value-card { flex-basis: calc(50% - 1px); }
  .value-divider { display: none; }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 0;
  }

  .about-story-img {
    position: static;
    aspect-ratio: 3 / 4;
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
  }

  .about-story-content .btn {
    margin-top: 32px;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-detail-img {
    position: static;
    aspect-ratio: 3 / 4;
    max-height: 500px;
    overflow: hidden;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

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

  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-benefits-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  /* Prevent iOS Safari from auto-zooming the page when tapping any input.
     iOS zooms when an input's font-size is below 16px — this stops that. */
  input, textarea, select {
    font-size: 16px !important;
  }

  /* Mobile nav layout: logo + hamburger left, icons right */
  .nav-inner {
    justify-content: flex-start;
  }

  .nav-logo {
    order: 1;
  }

  .nav-logo img {
    height: 26px !important;
  }

  .nav-hamburger {
    order: 2;
    display: flex;
    margin-left: 10px;
  }

  .nav-right {
    order: 3;
    margin-left: auto;
    gap: 0;
  }

  .nav-links {
    display: none;
  }

  /* Icon order on mobile: account, favorites, cart */
  #navAccountBtn { order: 1; }
  #navFavBtn     { order: 2; }
  #navCartBtn    { order: 3; }

  .nav-icons {
    gap: 12px;
  }

  .benefits-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .benefit-divider {
    display: none;
  }

  .benefits-strip {
    padding: 40px 24px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .shop-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .shop-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .values-grid { flex-direction: column; gap: 2px; }
  .value-card { width: 100%; flex-basis: auto; }

  .product-benefits-row {
    grid-template-columns: 1fr;
  }

  .mission-quote {
    font-size: 18px;
  }

  .page-hero {
    padding: 48px 24px 40px;
  }

  /* Panels full-width on mobile */
  .side-panel {
    width: 100vw;
  }

  /* Auth modal padding */
  .auth-box {
    padding: 40px 24px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Contact layout gap */
  .contact-layout {
    gap: 40px;
    padding: 48px 24px 80px;
  }

  /* Account layout */
  .account-layout {
    padding: 56px 24px 80px;
  }
}

@media (max-width: 480px) {
  /* Promo bar: shrink text + strip tracking so it fits the narrow slide-wrap */
  .promo-slide {
    font-size: 10px;
    letter-spacing: 0;
  }

  /* Side panel footer: tighter horizontal padding on tiny screens */
  .side-panel-footer {
    padding: 14px 20px 24px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .currency-picker-trigger {
    padding: 6px 10px;
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .nav-right {
    gap: 10px;
  }

  .nav-icons {
    gap: 8px;
  }

  .section,
  .about-teaser,
  .product-feature,
  .ritual-section,
  .testimonials,
  .instagram-strip,
  .benefits-strip,
  .about-story,
  .values-section,
  .mission-statement,
  .shop-header,
  .shop-grid,
  .product-detail,
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero banner: full bleed edge-to-edge on mobile */
  .hero { padding-left: 0; padding-right: 0; }
  .hero-content { padding-left: 16px; padding-right: 16px; }

  .contact-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Reduce hero vertical padding */
  .hero-left {
    padding: 32px 0 48px;
  }

  /* Section headings tighter */
  .shop-header {
    padding: 40px 16px 32px;
  }

  /* Product benefits row */
  .product-benefits-row {
    grid-template-columns: 1fr;
  }

  /* Footer tighter */
  .site-footer {
    padding-top: 40px;
  }

  /* Toast full width on tiny screens */
  .duafe-toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    text-align: center;
  }
}

/* ═══════════════════════════════════════════════════════
   PRODUCT GRID  (2-column, new shop layout)
═══════════════════════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 56px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

/* Card shell */
.product-card {
  display: flex;
  flex-direction: column;
}

/* Image area */
.card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
  margin-bottom: 22px;
}

.card-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img-el { transform: scale(1.02); }

/* Favourite button */
.fave-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--black);
  transition: background 0.2s ease, transform 0.15s ease;
  backdrop-filter: blur(4px);
}
.fave-btn:hover  { background: var(--cream); transform: scale(1.1); }
.fave-btn.active { color: #c0392b; }

/* Card body text */
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-name {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 300;
  margin: 6px 0 10px;
  line-height: 1.25;
}

.product-badge-inline {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: var(--black);
  color: #fff;
  margin-left: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.product-card-desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Size pills */
.size-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.size-pill {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border: 1px solid #ccc;
  background: none;
  cursor: pointer;
  color: var(--black);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.size-pill:hover           { border-color: var(--black); }
.size-pill.selected        { background: var(--black); color: #fff; border-color: var(--black); }

/* Price + qty row */
.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.card-price {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
}

/* Details accordion (native <details>) */
.card-details {
  margin-top: 22px;
  border-top: 1px solid var(--divider);
}

.card-details-trigger {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
  user-select: none;
  transition: color 0.2s ease;
}
.card-details-trigger::-webkit-details-marker { display: none; }
.card-details-trigger::after                  { content: '+'; font-size: 16px; font-weight: 300; }
.card-details[open] .card-details-trigger     { color: var(--black); }
.card-details[open] .card-details-trigger::after { content: '−'; }

.card-details-body { padding-bottom: 20px; }

.card-detail-section {
  margin-bottom: 20px;
}
.card-detail-section h4 {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}
.card-detail-section p,
.card-detail-section ul {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
  color: #444;
}
.card-detail-section ul { padding-left: 18px; list-style: disc; }
.card-detail-section.caution-section p { color: #999; font-size: 12px; }

/* Checkout note (below grid) */
.checkout-note-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px 64px;
  border-top: 1px solid var(--divider);
  text-align: center;
}
.checkout-note-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 0.02em;
  line-height: 1.7;
  padding-top: 24px;
  max-width: 540px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════
   SIDE PANELS  (cart + favourites)
═══════════════════════════════════════════════════════ */
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100%;
  background: var(--cream);
  z-index: 400;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--divider);
}
.side-panel.open { transform: translateX(0); }

.panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  z-index: 399;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s ease;
}
.panel-overlay.open { opacity: 1; pointer-events: auto; }

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--divider);
  flex-shrink: 0;
}
.side-panel-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.side-panel-close {
  font-size: 24px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  opacity: 0.45;
  padding: 4px;
  transition: opacity 0.2s ease;
}
.side-panel-close:hover { opacity: 1; }

.side-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 28px;
}
.side-panel-footer {
  padding: 18px 28px 28px;
  border-top: 1px solid var(--divider);
  flex-shrink: 0;
}

/* Panel items */
.panel-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
}
.panel-item-img {
  width: 84px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.panel-item-img-empty { background: var(--sand); }

.panel-item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.panel-item-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}
.panel-item-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
}
.panel-item-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 6px;
}
.panel-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: none;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: var(--font-sans);
  transition: background 0.15s ease;
}
.panel-qty-btn:hover { background: var(--sand); }
.panel-item-qty {
  min-width: 32px;
  height: 28px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 0 6px;
}
.panel-remove-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #bbb;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 10px;
  padding: 0;
  transition: color 0.2s ease;
}
.panel-remove-btn:hover { color: var(--black); }

.panel-item-price {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  margin-top: 6px;
}
.panel-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 14px;
}
.checkout-note-panel {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  line-height: 1.65;
  margin-bottom: 14px;
  text-align: center;
}
.panel-empty {
  padding: 56px 0;
  text-align: center;
}
.panel-empty p {
  font-family: var(--font-sans);
  font-weight: 300;
  color: #999;
}

/* ═══════════════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════════════ */
#authModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}

.auth-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}
.auth-box {
  position: relative;
  background: var(--cream);
  width: 420px;
  max-width: 92vw;
  padding: 52px 48px;
  max-height: 90vh;
  overflow-y: auto;
}
.auth-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--black);
  opacity: 0.4;
  padding: 4px;
  transition: opacity 0.2s ease;
}
.auth-close:hover { opacity: 1; }

.auth-heading {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 4px;
}
.auth-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
}
.auth-field { margin-bottom: 18px; }
.auth-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: #555;
}
.auth-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--black);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
.auth-field input:focus { border-color: var(--black); }

/* password field with eye toggle */
.auth-pw-wrap { position: relative; display: flex; align-items: center; }
.auth-pw-wrap input { flex: 1; padding-right: 40px; }
.auth-eye-btn { position: absolute; right: 10px; background: none; border: none; cursor: pointer; color: #aaa; display: flex; align-items: center; padding: 0; transition: color .15s; }
.auth-eye-btn:hover { color: var(--black); }
.auth-pw-hint { font-family: var(--font-sans); font-size: 11px; font-weight: 300; color: var(--gray); margin-top: 6px; letter-spacing: .03em; transition: color .2s; }

.auth-phone-row { display: flex; gap: 8px; }
.auth-phone-code {
  width: 110px;
  flex-shrink: 0;
  padding: 11px 8px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--black);
  outline: none;
}
.auth-phone-code:focus { border-color: var(--black); }
.auth-phone-row input { flex: 1; min-width: 0; }

.auth-error {
  font-family: var(--font-sans);
  font-size: 12px;
  color: #c0392b;
  min-height: 16px;
  margin-bottom: 10px;
}
.auth-btn {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}
.auth-switch {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #888;
  margin-top: 18px;
  text-align: center;
}
.auth-switch a { color: var(--black); font-weight: 300; }

.auth-greeting-label {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 6px;
}
.auth-email-display {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #888;
  margin-bottom: 0;
}
.auth-signout-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  border: 1px solid #e0e0e0;
  background: none;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: #888;
  transition: border-color 0.2s, color 0.2s;
}
.auth-signout-btn:hover { border-color: var(--black); color: var(--black); }

/* ═══════════════════════════════════════════════════════
   CART BADGE  (on nav cart icon)
═══════════════════════════════════════════════════════ */
#navCartBtn { position: relative; }
#navFavBtn  { position: relative; }
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 17px;
  height: 17px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════ */
.duafe-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 12px 22px;
  z-index: 600;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.duafe-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════
   ACCOUNT PAGE
═══════════════════════════════════════════════════════ */
.account-layout {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}
.account-page-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.account-page-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #888;
  margin-bottom: 56px;
}
.account-section {
  padding: 28px 0;
}
.account-section-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 18px;
}
.account-row {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  font-family: var(--font-sans);
  font-size: 14px;
}
.account-row-label  { color: #999; font-weight: 300; width: 130px; flex-shrink: 0; }
.account-row-value  { font-weight: 300; color: var(--black); }
/* prompt shown in place of an empty name/phone value — tappable, link-like */
.acct-row-prompt { background: none; border: none; padding: 0; cursor: pointer; font-family: var(--font-sans); font-weight: 300; font-size: inherit; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.acct-row-prompt:hover { color: var(--black); }
/* account section header with edit toggle */
.account-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.account-section-head .account-section-label { margin-bottom: 0; }
.acct-edit-toggle { background: none; border: none; font-family: var(--font-sans); font-size: 12px; font-weight: 300; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); cursor: pointer; text-decoration: underline; padding: 0; transition: color .15s; }
.acct-edit-toggle:hover { color: var(--black); }

/* account edit fields */
.acct-field { margin-bottom: 16px; }
.acct-field-label { display: block; font-family: var(--font-sans); font-size: 11px; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.acct-field-input { width: 100%; max-width: 360px; font-family: var(--font-sans); font-size: 14px; font-weight: 300; border: 1px solid var(--divider); padding: 10px 12px; outline: none; background: #fff; box-sizing: border-box; transition: border-color .15s; }
.acct-field-input:focus { border-color: var(--black); }
.acct-field-note { font-family: var(--font-sans); font-size: 12px; font-weight: 300; color: var(--gray); margin-bottom: 16px; }
.acct-field-error { font-family: var(--font-sans); font-size: 12px; font-weight: 300; color: #c44; margin-bottom: 12px; min-height: 18px; }
.acct-field-success { font-family: var(--font-sans); font-size: 12px; font-weight: 300; color: #2a6e42; margin-bottom: 12px; min-height: 18px; }
.acct-field-actions { display: flex; align-items: center; gap: 20px; margin-top: 4px; }
.acct-save-btn { padding: 11px 28px; font-size: 12px; }
.acct-cancel-btn { background: none; border: none; font-family: var(--font-sans); font-size: 12px; font-weight: 300; letter-spacing: 0.08em; color: var(--gray); cursor: pointer; text-decoration: underline; padding: 0; }
.acct-cancel-btn:hover { color: var(--black); }

/* password field eye toggle on account page */
.acct-pw-wrap { position: relative; display: inline-flex; align-items: center; width: 100%; max-width: 360px; }
.acct-pw-wrap .acct-field-input { max-width: 100%; padding-right: 40px; }
.acct-eye-btn { position: absolute; right: 10px; background: none; border: none; cursor: pointer; color: #aaa; display: flex; align-items: center; padding: 0; transition: color .15s; }
.acct-eye-btn:hover { color: var(--black); }

.account-signout-btn {
  margin-top: 32px;
  padding: 12px 32px;
  border: 1px solid #e0e0e0;
  background: none;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  color: #888;
  transition: border-color 0.2s, color 0.2s;
}
.account-signout-btn:hover { border-color: var(--black); color: var(--black); }
.account-not-logged {
  text-align: center;
  padding: 96px 32px;
  max-width: 460px;
  margin: 0 auto;
}
.account-not-logged p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: #888;
  margin-bottom: 28px;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — product grid
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .product-grid {
    gap: 56px 32px;
    padding: 36px 24px 64px;
  }
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 28px 20px 56px;
  }
  .auth-box { padding: 40px 24px; }
  .side-panel { width: 100vw; }
}
@media (max-width: 480px) {
  .checkout-note-section { padding: 0 20px 48px; }
}


/* ═══════════════════════════════════════════════════════
   MINIMAL 4-COLUMN PRODUCT GRID (shop.html)
═══════════════════════════════════════════════════════ */
.product-grid-minimal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
  padding: 24px 64px 80px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Card container */
.minimal-product-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Full-area link wrapping the image */
.minimal-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.minimal-card-link:hover .minimal-card-img-el {
  transform: scale(1.04);
  opacity: 1;
}

/* Image wrap */
.minimal-card-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
}

/* Actual image or placeholder fills wrap */
.minimal-card-img-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Placeholder inside minimal card */
.minimal-card-img-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

/* Badge on image (e.g. "For Men") */
.minimal-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  pointer-events: none;
}

.pd-free-from .minimal-card-badge {
  position: static;
  display: inline-block;
}

/* Favourite button overlay */
.minimal-fave-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: opacity 0.2s ease, transform 0.2s ease, background var(--ease);
  z-index: 2;
}
.minimal-fave-btn:hover { background: #fff; }

/* On hover-capable devices, hide fave btn until card is hovered */
@media (hover: hover) {
  .minimal-fave-btn:not(.active) {
    opacity: 0;
    transform: translateY(-4px);
  }
  .minimal-product-card:hover .minimal-fave-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card info below image */
.minimal-card-info {
  padding: 12px 0 0;
}

.minimal-card-name-link {
  text-decoration: none;
  color: inherit;
}

.minimal-card-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.4;
  transition: opacity var(--ease);
}
.minimal-card-name-link:hover .minimal-card-name { opacity: 0.6; }

.minimal-card-price {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #666;
}

/* ── Responsive: 3 → 2 → 1 col ── */
@media (max-width: 1100px) {
  .product-grid-minimal {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 40px 72px;
    gap: 40px 28px;
  }
}
@media (max-width: 768px) {
  .product-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 28px 64px;
    gap: 36px 20px;
  }
}
@media (max-width: 480px) {
  .product-grid-minimal {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px 20px 56px;
    gap: 28px 14px;
  }
}


/* ═══════════════════════════════════════════════════════
   PRODUCT DETAIL PAGE (product.html)
═══════════════════════════════════════════════════════ */
.pd-loading {
  text-align: center;
  padding: 120px 24px;
  font-family: var(--font-sans);
  font-weight: 300;
  color: #999;
  font-size: 14px;
}

/* Breadcrumb */
.pd-breadcrumb {
  padding: 24px 64px 0;
  max-width: 1440px;
  margin: 0 auto;
}
.pd-breadcrumb a {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #888;
  text-decoration: none;
  transition: color var(--ease);
}
.pd-breadcrumb a:hover { color: var(--black); }

/* 2-col layout */
.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 40px 64px 72px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
}

/* Image column */
.pd-image-col {
  position: sticky;
  top: calc(var(--promo-height) + var(--nav-height) + 24px);
}
.pd-img-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  overflow: hidden;
}
.pd-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.18s ease;
}
.pd-img-wrap .img-placeholder {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}
.pd-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
}

/* Info column */
.pd-info-col {
  padding-top: 8px;
}

.pd-name {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 12px;
}

.pd-short-desc {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 18px;
}

.pd-description {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #333;
  margin-bottom: 20px;
}

.pd-free-from {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.pd-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
  color: var(--black);
}

/* Size + qty labels */
.pd-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.pd-size-section { margin-bottom: 24px; }
.pd-qty-section  { margin-bottom: 28px; }

/* Add to Cart + Buy Now buttons */
.pd-add-btn,
.pd-buy-btn {
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.pd-add-btn {
  margin-bottom: 10px;
}

.pd-buy-btn {
  margin-bottom: 14px;
}

.pd-buy-btn::before { content: none; }
.pd-buy-btn:hover { background: transparent; color: var(--black); border-color: #1e1e1e; opacity: 0.7; }

/* WhatsApp button */
.pd-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  margin-bottom: 20px;
}
.pd-whatsapp-btn:hover { background: #1dbb58; }

/* Favourite button (text-style) */
.pd-fave-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #888;
  margin-top: 18px;
  margin-bottom: 20px;
  padding: 0;
  transition: color var(--ease);
}
.pd-fave-btn:hover, .pd-fave-btn.active { color: var(--black); }

/* Gift section */
.pd-gift-section { margin-bottom: 28px; }

.pd-gift-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--divider);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--black);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.pd-gift-trigger:hover {
  border-color: var(--black);
  background: var(--sand);
}

/* Active gift indicator */
.pd-gift-active {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f9f5f0;
  border: 1px solid var(--sand);
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 14px;
  border-radius: 2px;
}
.pd-gift-active strong { font-weight: 300; }
.pd-gift-edit,
.pd-gift-remove {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #888;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color var(--ease);
}
.pd-gift-remove { margin-left: auto; }
.pd-gift-edit { margin-left: auto; }
.pd-gift-edit:hover,
.pd-gift-remove:hover { color: var(--black); }

/* Gift modal qty stepper */
.gift-qty-row {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--light-gray);
  width: fit-content;
}
.gift-qty-btn {
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  font-size: 18px;
  font-weight: 300;
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease);
}
.gift-qty-btn:hover { background: var(--cream); }
.gift-qty-row input[type="number"] {
  width: 52px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--light-gray);
  border-right: 1px solid var(--light-gray);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  background: #fff;
  -moz-appearance: textfield;
}
.gift-qty-row input[type="number"]::-webkit-outer-spin-button,
.gift-qty-row input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Delivery note */
.pd-delivery-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  line-height: 1.6;
  border-top: 1px solid var(--divider);
  padding-top: 20px;
}

/* ── Accordions ── */
.pd-accordions {
  border-top: 1px solid var(--divider);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px 80px;
}
.pd-accordion {
  border-bottom: 1px solid var(--divider);
}
.pd-accordion-trigger {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}
.pd-accordion-trigger::-webkit-details-marker { display: none; }
.pd-accordion-trigger::after {
  content: '+';
  font-size: 17px;
  font-weight: 300;
  color: #888;
  flex-shrink: 0;
  margin-left: auto;
}
.pd-accordion[open] .pd-accordion-trigger::after { content: '−'; }

.pd-accordion-body {
  padding: 0 0 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.75;
  color: #444;
}

.pd-benefits-list {
  padding-left: 18px;
}
.pd-benefits-list li {
  margin-bottom: 8px;
}

/* ── Related products ── */
.pd-related-section {
  padding: 64px 64px 80px;
  max-width: 1440px;
  margin: 0 auto;
  border-top: 1px solid var(--divider);
}
.pd-related-heading {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 32px;
}
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.pd-related-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.pd-related-card:hover .minimal-card-img-el { opacity: 0.85; }
.pd-related-card .minimal-card-name { margin-top: 12px; }


/* ═══════════════════════════════════════════════════════
   GIFT MODAL
═══════════════════════════════════════════════════════ */
.gift-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gift-modal-box {
  background: var(--cream);
  width: 100%;
  max-width: 480px;
  padding: 48px 40px 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.gift-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  color: #888;
  line-height: 1;
  transition: color var(--ease);
}
.gift-modal-close:hover { color: var(--black); }

.gift-modal-icon {
  color: var(--black);
  margin-bottom: 16px;
}

.gift-modal-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.gift-modal-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #666;
  line-height: 1.65;
  margin-bottom: 28px;
}

.gift-modal-fields { display: flex; flex-direction: column; gap: 18px; }

.gift-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gift-field-group label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}
.gift-req { color: #cc4444; font-weight: 300; }
.gift-optional { font-size: 10px; color: #aaa; font-weight: 300; text-transform: none; letter-spacing: 0; }

.gift-field-group input,
.gift-field-group textarea {
  width: 100%;
  border: 1px solid var(--divider);
  background: transparent;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color var(--ease);
  resize: vertical;
}
.gift-field-group input:focus,
.gift-field-group textarea:focus { border-color: var(--black); }

.gift-modal-error {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #cc4444;
}

.gift-modal-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gift-modal-actions .btn { width: 100%; }

.gift-cancel-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #888;
  cursor: pointer;
  text-align: center;
  padding: 8px;
  transition: color var(--ease);
}
.gift-cancel-btn:hover { color: var(--black); }


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — product detail page
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .pd-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 32px 56px;
  }
  .pd-image-col {
    position: static;
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }
  .pd-breadcrumb { padding: 20px 32px 0; }
  .pd-accordions { padding: 0 32px 64px; }
  .pd-related-section { padding: 48px 32px 64px; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

@media (max-width: 600px) {
  .pd-layout { padding: 20px 20px 48px; }
  .pd-breadcrumb { padding: 16px 20px 0; }
  .pd-accordions { padding: 0 20px 56px; }
  .pd-related-section { padding: 40px 20px 56px; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }

  /* Gift modal: full-screen on mobile. Box scrolls internally; overlay is just a backdrop. */
  .gift-modal-overlay {
    padding: 0;
    align-items: flex-start;
    overflow: hidden; /* overlay itself doesn't scroll */
  }
  .gift-modal-box {
    width: 100%;
    max-width: none;
    height: 100%;        /* fill full overlay height */
    max-height: none;
    padding: 56px 24px 48px;
    overflow-y: auto;    /* box scrolls when content is taller than screen */
    -webkit-overflow-scrolling: touch;
  }
}


/* ═══════════════════════════════════════════════════════
   FAVE BADGE — number on heart icon
═══════════════════════════════════════════════════════ */
.fave-badge {
  display: none; /* shown via JS */
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
  /* Subtle ring so it reads on any bg */
  box-shadow: 0 0 0 2px var(--cream);
}

/* ═══════════════════════════════════════════════════════
   QUICK-ADD CART BUTTON on shop cards — inline with name
═══════════════════════════════════════════════════════ */
.minimal-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.minimal-card-name-row .minimal-card-name-link {
  flex: 1;
  min-width: 0;
}

.minimal-cart-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: none;
  border: 1px solid var(--divider);
  color: #999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease, opacity 0.2s ease;
}
.minimal-cart-btn:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--sand);
}

/* Cart button always visible on product cards */
.minimal-cart-btn.added {
  border-color: #1dbb58;
  color: #1dbb58;
  background: transparent;
}
@media (hover: none) {
  .minimal-fave-btn { opacity: 1; }
}


/* ═══════════════════════════════════════════════════════
   WISHLIST / FAVOURITES PANEL — full redesign
═══════════════════════════════════════════════════════ */

/* Override the generic side-panel header for wishlist */
.wishlist-panel {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

/* Panel header */
.wishlist-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 28px 24px 20px;
  background: var(--sand);
  flex-shrink: 0;
}
.wishlist-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
}
.wishlist-panel-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.04em;
}
.wishlist-panel-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.wishlist-count {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #666;
  /* show below title — achieved via parent flex column */
}
/* Move count below title using a sibling trick */
.wishlist-panel-header {
  flex-wrap: wrap;
  row-gap: 4px;
}
.wishlist-panel-title-wrap { width: 100%; }
.wishlist-panel-meta { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; margin-top: 0; }

.wishlist-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  transition: color var(--ease);
}
.wishlist-close-btn:hover { color: var(--black); }

/* Scrollable items body */
.wishlist-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 24px;
  -webkit-overflow-scrolling: touch;
}

/* Empty state */
.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 0;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #999;
}

/* Each wishlist item */
.wishlist-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--divider);
  align-items: flex-start;
}
.wishlist-item:first-child { padding-top: 20px; }

.wishlist-item-img-link {
  display: block;
  flex-shrink: 0;
}
.wishlist-item-img {
  width: 80px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.wishlist-item-img-empty {
  width: 80px;
  aspect-ratio: 3 / 4;
  background: var(--sand);
  display: block;
}

.wishlist-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wishlist-item-price {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #666;
}

.wishlist-item-name-link { text-decoration: none; color: inherit; }
.wishlist-item-name {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 8px;
}
.wishlist-item-name-link:hover .wishlist-item-name { opacity: 0.6; }

.wishlist-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.wishlist-atc-btn {
  flex: 1;
  background: transparent;
  border: 1.5px solid var(--black);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ease), color var(--ease);
}
.wishlist-atc-btn:hover {
  background: var(--black);
  color: #fff;
}

.wishlist-remove-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: none;
  border: 1px solid var(--divider);
  color: #aaa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
}
.wishlist-remove-btn:hover { border-color: var(--black); color: var(--black); }

/* Login-to-save footer strip */
.wishlist-login-footer {
  flex-shrink: 0;
  background: var(--sand);
  padding: 28px 24px 32px;
  border-top: 1px solid var(--divider);
}
.wishlist-login-heading {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}
.wishlist-login-sub {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
}
.wishlist-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--black);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.08em;
  padding: 14px 20px;
  cursor: pointer;
  transition: background var(--ease);
}
.wishlist-login-btn:hover { background: #222; }

/* Gift tag in cart panel */
.panel-gift-tag {
  font-size: 10px;
  font-weight: 300;
  color: #888;
  margin-left: 4px;
}

/* WhatsApp button — cart panel footer */
.panel-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  margin-top: 4px;
}
.panel-wa-btn:hover { background: #1dbb58; }

/* ─── COMING SOON OVERLAY (shop grid cards) ─── */
.coming-soon-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.coming-soon-overlay span {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  border: 1px solid var(--black);
  padding: 6px 14px;
}
.is-coming-soon .minimal-card-img-wrap { position: relative; }
.is-coming-soon .minimal-card-name { color: var(--gray); }
.is-coming-soon .minimal-card-price {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─── PRODUCT DETAIL — COMING SOON BLOCK ─── */
.pd-coming-soon-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  background: var(--sand);
  margin-top: 8px;
}
.pd-coming-soon-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pd-coming-soon-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
}
.pd-coming-soon-ig {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--black);
}

/* ─── PRODUCT DETAIL — BUY NOW BUTTON ─── */
.pd-buynow-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  margin-top: 8px;
}
.pd-buynow-btn:hover { background: #222; }

/* ─── PRODUCT DETAIL — PAYSTACK INLINE FORM ─── */
.pd-paystack-form {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 20px;
  border: 1px solid var(--divider);
  background: var(--cream);
}
.pd-paystack-form.visible { display: flex; }
.pd-paystack-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--divider);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color var(--ease);
}
.pd-paystack-input:focus { border-color: var(--black); }
.pd-paystack-err {
  font-size: 12px;
  color: #b94040;
  display: none;
}
.pd-paystack-row {
  display: flex;
  gap: 8px;
}
.pd-paystack-submit {
  flex: 1;
  padding: 13px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
}
.pd-paystack-submit:hover { background: #222; }
.pd-paystack-cancel {
  padding: 13px 18px;
  border: 1px solid var(--divider);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray);
  cursor: pointer;
  transition: border-color var(--ease);
}
.pd-paystack-cancel:hover { border-color: var(--black); color: var(--black); }

/* ─── PRODUCT DETAIL — PAYMENT SUCCESS ─── */
.pd-pay-success {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  padding: 20px;
  background: #f0faf4;
  border: 1px solid #b2dfcb;
}
.pd-pay-success.visible { display: flex; }
.pd-pay-success-title {
  font-family: var(--font-serif);
  font-size: 16px;
}
.pd-pay-ref {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.pd-pay-note {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: #555;
  line-height: 1.6;
}

/* ─── CART PANEL — CHECKOUT FORM ─── */
.panel-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
}
.panel-checkout-field { display: flex; flex-direction: column; gap: 4px; }
.panel-phone-field { flex-direction: row; gap: 6px; align-items: stretch; }
.panel-phone-field .panel-phone-code { flex: 0 0 150px; width: 150px; }
.panel-phone-field .panel-phone-number { flex: 1; min-width: 0; width: auto; }
.panel-free-intl {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #1dbb58;
  padding: 6px 8px;
  background: #f0fff5;
  border: 1px solid #b8f0cd;
}
.panel-checkout-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--divider);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color var(--ease);
}
.panel-checkout-input:focus { border-color: var(--black); }
.panel-checkout-err {
  font-size: 12px;
  color: #b94040;
  padding: 0 2px;
}
.panel-paystack-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--ease);
  text-align: center;
}
.panel-paystack-btn { position: relative; overflow: hidden; }
.panel-paystack-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.panel-paystack-btn:hover::before { transform: scaleX(1); }
.panel-paystack-btn:hover { background: #111; }

/* Free shipping banner */
.panel-free-shipping-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #e9f5ee;
  color: #2a6e42;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* Checkout gate (guest / sign in / create) */
.panel-checkout-gate {
  padding: 0;
}
.panel-checkout-gate-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
  text-align: center;
}
.panel-checkout-or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.panel-checkout-or::before,
.panel-checkout-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--light-gray);
}
.panel-checkout-or span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  color: var(--gray);
  letter-spacing: 0.06em;
}
.panel-checkout-auth-row {
  display: flex;
  gap: 8px;
}
.panel-checkout-auth-btn {
  flex: 1;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--divider);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.panel-checkout-auth-btn:hover { border-color: var(--black); background: var(--sand); }

.panel-shipping-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  text-align: center;
  letter-spacing: 0.02em;
  margin-top: 10px;
}

/* ─── CART PANEL — GIFT SECTION ─── */
.panel-gift-section {
  border-top: 1px solid var(--divider);
  margin-top: 8px;
  padding-top: 10px;
}
.panel-gift-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: none;
  border: none;
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--black);
  cursor: pointer;
  text-align: left;
}
.panel-gift-toggle svg { flex-shrink: 0; opacity: 0.7; }
.panel-gift-toggle-label { flex: 1; }
.panel-gift-chevron { transition: transform 0.2s ease; opacity: 0.5; }
.panel-gift-toggle.open .panel-gift-chevron { transform: rotate(180deg); }
.panel-gift-fields {
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 10px 0 4px;
}
.panel-gift-fields.open { display: flex; }
.panel-gift-field-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 2px;
}

/* ─── CART PANEL — PAYMENT SUCCESS ─── */
.panel-pay-success {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 16px;
  background: #f0faf4;
  border-top: 1px solid #b2dfcb;
}
.panel-pay-success-title {
  font-family: var(--font-serif);
  font-size: 15px;
}
.panel-pay-ref {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.05em;
  word-break: break-all;
}
.panel-pay-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #555;
  line-height: 1.55;
}

/* ─── PRODUCT SIZE SELECTOR ─── */
.pd-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.pd-size-btn {
  padding: 9px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  border: 1px solid var(--divider);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pd-size-btn:hover {
  border-color: var(--black);
}
.pd-size-btn.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}

/* ─── PRODUCT PAGE TOAST ─── */
.pd-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #1e1e1e;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.06em;
  padding: 11px 24px;
  z-index: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}
.pd-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Free-from badges: desktop inline, mobile stacked after first word */
.badge-w1::after { content: '\00a0'; } /* non-breaking space between words on desktop */
.badge-w2 { display: inline; }

@media (max-width: 600px) {
  .pd-free-from {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 4px;
  }
  .pd-free-from .minimal-card-badge {
    text-align: center;
    line-height: 1.3;
  }
  .badge-w1 { display: block; }
  .badge-w1::after { content: none; }
  .badge-w2 { display: block; }
}

/* ─── ACCORDION ICON ─── */
.pd-acc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.65;
  width: 20px;
  height: 20px;
}


/* ═══════════════════════════════════════════════════════
   FOOTER NEWSLETTER
═══════════════════════════════════════════════════════ */
.footer-newsletter {
  padding: 40px 0 36px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.footer-newsletter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  height: 1px;
  background: var(--divider);
}
.footer-newsletter-text {
  flex: 1;
  min-width: 200px;
}
.footer-newsletter-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-newsletter-sub {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--gray);
}
.footer-newsletter-form {
  display: flex;
  flex: 1;
  max-width: 420px;
  min-width: 240px;
}
.footer-newsletter-input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--divider);
  border-right: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  outline: none;
  transition: border-color var(--ease);
}
.footer-newsletter-input::placeholder { color: #aaa; }
.footer-newsletter-input:focus { border-color: var(--black); }
.footer-newsletter-btn {
  padding: 13px 24px;
  background: var(--black);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--ease);
  flex-shrink: 0;
}
.footer-newsletter-btn:hover { background: #333; border-color: #333; }

/* Cart delivery note */
.cart-delivery-note {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  text-align: center;
  padding: 16px 0 4px;
  line-height: 1.55;
  border-top: 1px solid var(--divider);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .footer-newsletter {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-newsletter-form {
    width: 100%;
    max-width: 100%;
  }
}


/* ═══════════════════════════════════════════════════════
   HOME — PRODUCT SPOTLIGHT
═══════════════════════════════════════════════════════ */
.home-product {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.home-product-img {
  max-width: 480px;
  width: 100%;
}

.home-product-info {
  padding: 24px 0;
}

.home-product-name {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 16px 0 12px;
}

.home-product-sizes {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--gray);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.home-product-price {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  margin-bottom: 36px;
  color: var(--black);
}

@media (max-width: 900px) {
  .home-product {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 64px 32px;
  }
  .home-product-img {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .home-product { padding: 0; gap: 0; }
  .home-product-img { max-width: 100%; margin: 0; }
  .home-product-info { padding: 32px 16px 48px; }
  .home-product-price { margin-bottom: 16px; }
}


/* ═══════════════════════════════════════════════════════
   HOME — BRAND STATEMENT
═══════════════════════════════════════════════════════ */
.home-statement {
  background: #1e1e1e;
  color: #fff;
  padding: 120px 32px;
  text-align: center;
}

.home-statement-quote {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 60px);
  letter-spacing: 0.04em;
  line-height: 1.45;
  margin-bottom: 36px;
}

.home-statement-link {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color var(--ease);
}

.home-statement-link:hover { color: rgba(255,255,255,0.9); }

@media (max-width: 480px) {
  .home-statement { padding: 80px 16px; }
}


/* ─── LEGAL PAGES ─── */
.legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

.legal-heading {
  font-family: var(--font-sans);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-updated {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--divider);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.legal-section p,
.legal-section li {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: var(--black);
  margin-bottom: 14px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
}

.legal-section a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact-box {
  background: var(--sand);
  padding: 32px;
  margin-top: 56px;
}

.legal-contact-box p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.8;
}

/* FAQs accordion */
.faq-item {
  border-bottom: 1px solid var(--divider);
}

.faq-question {
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--black);
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: 0.02em;
}

.faq-question .faq-icon {
  font-size: 18px;
  color: var(--gray);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.85;
  color: var(--gray);
}

.faq-item.open .faq-answer {
  display: block;
}

@media (max-width: 600px) {
  .legal-wrap { padding: 48px 20px 72px; }
}

/* ─── ACCOUNT — ORDER CARDS ─── */
.acct-empty {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 14px;
  color: #aaa;
}
.acct-empty a { color: var(--black); text-decoration: underline; text-underline-offset: 3px; }

.acct-order-card {
  border: 1px solid var(--divider);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.acct-order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.acct-order-ref {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
}

.acct-order-date {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 300;
  color: #aaa;
  margin-top: 3px;
}

.acct-order-total {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  white-space: nowrap;
}

.acct-order-items {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  color: var(--gray);
  line-height: 1.6;
}

/* ── Quick-add size picker ── */
.size-picker-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 7000;
}
.size-picker-overlay.open { display: block; }

.size-picker-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 7001;
  background: var(--cream);
  padding: 28px 24px 44px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border-top: 1px solid var(--sand);
}
.size-picker-sheet.open { transform: translateY(0); }

.size-picker-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--gray);
  line-height: 1;
  padding: 0;
  font-family: var(--font-sans);
}

.size-picker-eyebrow {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.size-picker-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 22px;
}
.size-picker-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.size-picker-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.04em;
  background: none;
  border: 1px solid var(--black);
  color: var(--black);
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.size-picker-btn:hover {
  background: var(--black);
  color: var(--cream);
}
