@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap');

/* ==========================================================================
   TOKENS
   ========================================================================== */
:root{
  --obsidian: #0D0D0D;
  --charcoal: #171615;
  --ivory: #F4F0E8;
  --stone: #A9A39A;
  --champagne: #C8B58A;
  --beige: #D8CFC0;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap-md: 2rem;
  --gap-lg: 4rem;
  --gap-xl: 7rem;

  --max-width: 1240px;
  --transition: 320ms cubic-bezier(.4,0,.2,1);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--ivory);
  color: var(--obsidian);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; cursor:pointer; }
input, select{ font-family:inherit; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

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

.container{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px){
  .container{ padding: 0 3rem; }
}

.eyebrow{
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--stone);
  font-weight: 500;
}

.serif{ font-family: var(--font-display); }

h1,h2,h3{
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1{ font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2{ font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3{ font-size: 1.4rem; }
p{ margin:0; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--obsidian);
  background: transparent;
  color: var(--obsidian);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-primary{
  background: var(--obsidian);
  color: var(--ivory);
}
.btn-primary:hover{ background: var(--champagne); border-color: var(--champagne); color: var(--obsidian); }
.btn:not(.btn-primary):hover{ background: var(--obsidian); color: var(--ivory); }
.btn-light{
  border-color: var(--ivory);
  color: var(--ivory);
}
.btn-light:hover{ background: var(--ivory); color: var(--obsidian); }
.btn[disabled]{ opacity:0.4; cursor:not-allowed; }
.btn[disabled]:hover{ background:transparent; color:var(--obsidian); }

/* ==========================================================================
   ANNOUNCEMENT BAR
   ========================================================================== */
.announcement{
  background: var(--obsidian);
  color: var(--beige);
  text-align:center;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  padding: 0.55rem 1rem;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244,240,232,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13,13,13,0.08);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 1.1rem 1.5rem;
}
@media (min-width: 768px){ .nav{ padding: 1.3rem 3rem; } }

.logo{
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.14em;
}

.nav-links{
  display:none;
  gap: 2.4rem;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
}
.nav-links a{ position:relative; padding-bottom:2px; }
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:-2px;
  width:0; height:1px;
  background: var(--obsidian);
  transition: width var(--transition);
}
.nav-links a:hover::after{ width:100%; }
@media (min-width: 900px){ .nav-links{ display:flex; } }

.nav-actions{
  display:flex;
  align-items:center;
  gap: 1.2rem;
}
.icon-btn{
  background:none; border:none; padding:0.3rem;
  position:relative;
  color: var(--obsidian);
}
.icon-btn svg{ width:20px; height:20px; }
.cart-count{
  position:absolute; top:-4px; right:-6px;
  background: var(--obsidian); color: var(--ivory);
  font-size:0.62rem; width:16px; height:16px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.country-pill{
  border:1px solid rgba(13,13,13,0.25);
  background:none;
  padding: 0.4rem 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  display:none;
}
@media (min-width: 900px){ .country-pill{ display:inline-flex; } }

.menu-toggle{
  display:flex;
  flex-direction:column;
  gap:5px;
  background:none; border:none;
  padding:0.4rem;
}
.menu-toggle span{ width:20px; height:1px; background:var(--obsidian); display:block; }
@media (min-width: 900px){ .menu-toggle{ display:none; } }

/* mobile menu panel */
.mobile-menu{
  position: fixed; inset:0;
  background: var(--ivory);
  z-index: 60;
  transform: translateX(100%);
  transition: transform var(--transition);
  display:flex; flex-direction:column;
  padding: 1.5rem;
}
.mobile-menu.open{ transform: translateX(0); }
.mobile-menu-top{ display:flex; justify-content:flex-end; margin-bottom:3rem; }
.mobile-menu-links{ display:flex; flex-direction:column; gap:1.6rem; font-family:var(--font-display); font-size:1.9rem; }
.mobile-menu-foot{ margin-top:auto; display:flex; flex-direction:column; gap:1rem; }

/* ==========================================================================
   OVERLAY BACKDROP (shared by drawer / modals)
   ========================================================================== */
.overlay-backdrop{
  position: fixed; inset:0;
  background: rgba(13,13,13,0.5);
  z-index:50;
  opacity:0; pointer-events:none;
  transition: opacity var(--transition);
}
.overlay-backdrop.visible{ opacity:1; pointer-events:auto; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height: 88vh;
  display:flex;
  align-items:flex-end;
  background: var(--obsidian);
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
}
.hero-media img{
  width:100%; height:100%; object-fit:cover;
  opacity:0.78;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.55) 65%, rgba(13,13,13,0.92) 100%);
}
.hero-content{
  position:relative;
  color: var(--ivory);
  padding: 0 1.5rem 4.5rem;
  max-width: 720px;
}
@media (min-width:768px){ .hero-content{ padding: 0 3rem 6rem; } }
.hero-content .eyebrow{ color: var(--champagne); margin-bottom:1.2rem; display:block; }
.hero-content h1{ margin-bottom:1.4rem; }
.hero-content p{ color: var(--beige); font-size:1.05rem; max-width:34ch; margin-bottom:2.2rem; }
.hero-ctas{ display:flex; flex-wrap:wrap; gap:1rem; }

/* ==========================================================================
   SECTION SPACING
   ========================================================================== */
.section{ padding: var(--gap-xl) 0; }
.section-head{
  display:flex;
  flex-direction:column;
  gap:0.8rem;
  margin-bottom: var(--gap-lg);
  max-width: 640px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; align-items:center; }

/* ==========================================================================
   COLLECTIONS GRID
   ========================================================================== */
.collections-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width:640px){ .collections-grid{ grid-template-columns: 1fr 1fr; } }

.collection-card{
  position:relative;
  aspect-ratio: 4/5;
  overflow:hidden;
  background: var(--charcoal);
}
.collection-card img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 700ms cubic-bezier(.4,0,.2,1);
}
.collection-card:hover img{ transform: scale(1.05); }
.collection-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0) 55%);
}
.collection-card-label{
  position:absolute; left:1.6rem; right:1.6rem; bottom:1.6rem;
  color: var(--ivory); z-index:2;
}
.collection-card-label h3{ margin-bottom:0.35rem; }
.collection-card-label p{ color: var(--beige); font-size:0.9rem; }

/* ==========================================================================
   PRODUCT GRID + CARDS
   ========================================================================== */
.product-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.2rem;
}
@media (min-width:768px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); gap: 2rem 1.8rem; }
}

.product-card{
  display:flex; flex-direction:column;
}
.product-card-media{
  position:relative;
  aspect-ratio: 3/4;
  background: var(--charcoal);
  overflow:hidden;
  margin-bottom: 0.9rem;
}
.product-card-media img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 700ms cubic-bezier(.4,0,.2,1);
}
.product-card:hover .product-card-media img{ transform: scale(1.04); }
.product-card-name{ font-size:0.95rem; margin-bottom:0.35rem; }
.product-card-price{ font-size:0.85rem; color: var(--stone); margin-bottom:0.8rem; }
.product-card-price.set{ color: var(--obsidian); }
.product-card .btn{ align-self:flex-start; padding:0.7rem 1.3rem; font-size:0.72rem; }

/* ==========================================================================
   GALAXY / EDITORIAL FEATURE
   ========================================================================== */
.feature-editorial{
  background: var(--charcoal);
  color: var(--ivory);
}
.feature-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items:center;
}
@media (min-width: 900px){
  .feature-grid{ grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.feature-media{ aspect-ratio: 4/5; overflow:hidden; }
.feature-media img{ width:100%; height:100%; object-fit:cover; }
.feature-text .eyebrow{ color: var(--champagne); }
.feature-text h2{ margin: 1rem 0 1.4rem; }
.feature-text p.desc{ color: var(--beige); margin-bottom:2rem; max-width:42ch; }

.price-block{ margin-bottom:2rem; }
.price-block label{
  display:block; font-size:0.72rem; letter-spacing:0.1em; color:var(--stone); margin-bottom:0.6rem;
}
.price-select{
  width:100%; max-width:320px;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 1px solid rgba(13,13,13,0.25);
  color: var(--obsidian);
  margin-bottom:1rem;
}
.feature-editorial .price-select{
  border-color: rgba(244,240,232,0.35);
  color: var(--ivory);
}
.feature-editorial .price-select option{ color: var(--obsidian); }
.price-display{ font-family: var(--font-display); font-size:1.8rem; }

/* ==========================================================================
   LIFESTYLE
   ========================================================================== */
.lifestyle-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
@media (min-width:768px){ .lifestyle-grid{ grid-template-columns: repeat(3, 1fr); } }
.lifestyle-card{ position:relative; aspect-ratio: 3/4; overflow:hidden; background:var(--charcoal); }
.lifestyle-card img{ width:100%; height:100%; object-fit:cover; }
.lifestyle-card::after{ content:""; position:absolute; inset:0; background: linear-gradient(0deg, rgba(13,13,13,0.8), rgba(13,13,13,0) 60%); }
.lifestyle-label{ position:absolute; left:1.4rem; bottom:1.4rem; color:var(--ivory); z-index:2; }
.lifestyle-label .eyebrow{ color: var(--champagne); display:block; margin-bottom:0.3rem; }

/* ==========================================================================
   BRAND STORY
   ========================================================================== */
.brand-story{ text-align:center; }
.brand-story .container{ max-width: 760px; }
.brand-story p{ font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height:1.5; color: var(--charcoal); }

/* ==========================================================================
   WHY LUMRA
   ========================================================================== */
.features-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}
@media (min-width:768px){ .features-row{ grid-template-columns: repeat(4,1fr); } }
.feature-block{ border-top: 1px solid rgba(13,13,13,0.15); padding-top:1.2rem; }
.feature-block h3{ font-size:1.1rem; margin-bottom:0.5rem; }
.feature-block p{ font-size:0.88rem; color: var(--stone); }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter{
  background: var(--obsidian);
  color: var(--ivory);
  text-align:center;
}
.newsletter .container{ max-width:560px; }
.newsletter p{ color: var(--beige); margin: 1rem 0 2rem; }
.newsletter-form{ display:flex; gap:0.8rem; flex-direction:column; }
@media (min-width:540px){ .newsletter-form{ flex-direction:row; } }
.newsletter-form input{
  flex:1;
  background:transparent;
  border: 1px solid rgba(244,240,232,0.35);
  color: var(--ivory);
  padding: 0.9rem 1.1rem;
}
.newsletter-form input::placeholder{ color: var(--stone); }
.form-note{ font-size:0.78rem; color: var(--stone); margin-top:1rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer{
  background: var(--charcoal);
  color: var(--beige);
  padding: var(--gap-lg) 0 var(--gap-md);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  margin-bottom: 3rem;
}
@media (min-width:768px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-col h4{ font-size:0.72rem; letter-spacing:0.12em; color: var(--stone); margin-bottom:1.1rem; }
.footer-col ul{ display:flex; flex-direction:column; gap:0.7rem; font-size:0.9rem; }
.footer-col a:hover{ color: var(--champagne); }
.footer-logo{ font-family:var(--font-display); font-size:1.4rem; letter-spacing:0.1em; color:var(--ivory); margin-bottom:0.8rem; }
.footer-tagline{ font-size:0.78rem; letter-spacing:0.08em; color:var(--stone); }
.social-icons{ display:flex; gap:1rem; margin-top:1.4rem; }
.social-icons a{ width:32px; height:32px; border:1px solid rgba(244,240,232,0.25); border-radius:50%; display:flex; align-items:center; justify-content:center; }
.social-icons svg{ width:14px; height:14px; }
.footer-bottom{
  border-top: 1px solid rgba(244,240,232,0.12);
  padding-top: 1.6rem;
  display:flex; flex-direction:column; gap:0.6rem;
  font-size:0.78rem; color: var(--stone);
}
@media (min-width:640px){ .footer-bottom{ flex-direction:row; justify-content:space-between; } }

/* ==========================================================================
   COUNTRY MODAL (first-visit + re-selection)
   ========================================================================== */
.country-modal{
  position: fixed;
  top:50%; left:50%;
  transform: translate(-50%,-50%) scale(0.96);
  width: min(92vw, 420px);
  background: var(--ivory);
  z-index: 70;
  padding: 2.2rem 1.8rem;
  opacity:0; pointer-events:none;
  transition: opacity var(--transition), transform var(--transition);
}
.country-modal.visible{ opacity:1; pointer-events:auto; transform: translate(-50%,-50%) scale(1); }
.country-modal h3{ margin-bottom:0.4rem; }
.country-modal .eyebrow{ display:block; margin-bottom:0.6rem; }
.country-list{ margin-top:1.4rem; display:flex; flex-direction:column; gap:0.2rem; }
.country-list button{
  width:100%; text-align:left;
  background:none; border:none; border-bottom:1px solid rgba(13,13,13,0.08);
  padding: 0.85rem 0.2rem;
  font-size:0.95rem;
  display:flex; justify-content:space-between;
}
.country-list button:hover{ color: var(--champagne); }
.country-modal-close{
  position:absolute; top:1.2rem; right:1.2rem;
  background:none; border:none; font-size:1.1rem;
}

/* ==========================================================================
   CART DRAWER
   ========================================================================== */
.cart-drawer{
  position: fixed; top:0; right:0; bottom:0;
  width: min(92vw, 420px);
  background: var(--ivory);
  z-index: 70;
  transform: translateX(100%);
  transition: transform var(--transition);
  display:flex; flex-direction:column;
}
.cart-drawer.visible{ transform: translateX(0); }
.cart-drawer-head{
  display:flex; justify-content:space-between; align-items:center;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid rgba(13,13,13,0.1);
}
.cart-drawer-items{ flex:1; overflow-y:auto; padding: 1rem 1.6rem; display:flex; flex-direction:column; gap:1.3rem; }
.cart-line{ display:flex; gap:1rem; }
.cart-line-media{ width:76px; height:96px; background:var(--charcoal); overflow:hidden; flex-shrink:0; }
.cart-line-media img{ width:100%; height:100%; object-fit:cover; }
.cart-line-info{ flex:1; display:flex; flex-direction:column; gap:0.3rem; }
.cart-line-info .name{ font-size:0.92rem; }
.cart-line-info .meta{ font-size:0.78rem; color:var(--stone); }
.cart-line-qty{ display:flex; align-items:center; gap:0.6rem; margin-top:0.3rem; }
.qty-btn{ width:26px; height:26px; border:1px solid rgba(13,13,13,0.2); background:none; }
.cart-line-remove{ background:none; border:none; font-size:0.75rem; color:var(--stone); text-decoration:underline; margin-top:0.3rem; align-self:flex-start; }
.cart-empty{ text-align:center; padding: 3rem 1rem; color: var(--stone); }
.cart-drawer-foot{ padding: 1.4rem 1.6rem 1.8rem; border-top:1px solid rgba(13,13,13,0.1); }
.cart-subtotal-row{ display:flex; justify-content:space-between; margin-bottom:1.1rem; font-size:0.95rem; }
.cart-drawer-foot .btn{ width:100%; }

/* ==========================================================================
   SHOP / COLLECTIONS PAGE HEADERS
   ========================================================================== */
.page-header{ background: var(--charcoal); color: var(--ivory); padding: 5rem 0 3.2rem; text-align:center; }
.page-header .eyebrow{ color: var(--champagne); }
.page-header h1{ margin-top:0.8rem; }

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */
.product-layout{
  display:grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  padding: 2.4rem 0 var(--gap-lg);
}
@media (min-width: 900px){
  .product-layout{ grid-template-columns: 1.1fr 1fr; gap: 4rem; padding-top: 3.2rem; }
}

.gallery{ position:relative; }
.gallery-track{
  display:flex;
  overflow-x:auto;
  scroll-snap-type: x mandatory;
  gap: 0;
  aspect-ratio: 4/5;
  background: var(--charcoal);
  scrollbar-width:none;
}
.gallery-track::-webkit-scrollbar{ display:none; }
.gallery-track img{
  flex: 0 0 100%;
  width:100%; height:100%;
  object-fit:cover;
  scroll-snap-align:start;
}
.gallery-dots{ display:flex; justify-content:center; gap:0.5rem; margin-top:1rem; }
.gallery-dots button{
  width:6px; height:6px; border-radius:50%; border:none;
  background: rgba(13,13,13,0.2);
  padding:0;
}
.gallery-dots button.active{ background: var(--obsidian); width:18px; border-radius:3px; transition: width var(--transition); }

.product-info .breadcrumb{ font-size:0.78rem; color: var(--stone); margin-bottom:1rem; }
.product-info h1{ font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom:1rem; }
.product-info .desc{ color: var(--charcoal); margin-bottom:1.8rem; max-width:48ch; }

.qty-selector{ display:flex; align-items:center; gap:1rem; margin-bottom:1.4rem; }
.qty-selector .qty-btn{ width:38px; height:38px; font-size:1.1rem; }
.qty-value{ min-width:24px; text-align:center; font-size:1rem; }

.add-to-cart-row{ display:flex; flex-direction:column; gap:0.9rem; margin-bottom:1.6rem; }
.add-to-cart-row .btn{ width:100%; padding:1.1rem; }
.delivery-note{ font-size:0.85rem; color: var(--stone); margin-bottom:2rem; }

.accordion{ border-top: 1px solid rgba(13,13,13,0.15); }
.accordion-item{ border-bottom: 1px solid rgba(13,13,13,0.15); }
.accordion-trigger{
  width:100%; display:flex; justify-content:space-between; align-items:center;
  background:none; border:none; padding: 1.1rem 0.1rem;
  font-size:0.95rem; text-align:left;
}
.accordion-trigger .plus{ transition: transform var(--transition); }
.accordion-item.open .accordion-trigger .plus{ transform: rotate(45deg); }
.accordion-panel{
  max-height:0; overflow:hidden; transition: max-height var(--transition);
  font-size:0.9rem; color: var(--stone);
}
.accordion-panel-inner{ padding-bottom:1.2rem; }

.related-heading{ text-align:center; margin: var(--gap-xl) 0 var(--gap-md); }

/* ==========================================================================
   CART / CHECKOUT / CONFIRMATION / TRACK PAGES
   ========================================================================== */
.cart-page-grid{ display:grid; grid-template-columns:1fr; gap: 3rem; }
@media (min-width:900px){ .cart-page-grid{ grid-template-columns: 1.6fr 1fr; } }
.cart-table-row{ display:flex; gap:1.2rem; padding: 1.4rem 0; border-bottom:1px solid rgba(13,13,13,0.1); }
.cart-table-media{ width:90px; height:110px; background:var(--charcoal); flex-shrink:0; overflow:hidden; }
.cart-table-media img{ width:100%; height:100%; object-fit:cover; }
.summary-box{ background: var(--charcoal); color: var(--ivory); padding: 2rem; }
.summary-row{ display:flex; justify-content:space-between; padding: 0.6rem 0; font-size:0.92rem; }
.summary-row.total{ border-top:1px solid rgba(244,240,232,0.2); margin-top:0.8rem; padding-top:1rem; font-family:var(--font-display); font-size:1.3rem; }
.summary-box .btn{ width:100%; margin-top:1.2rem; }

.checkout-grid{ display:grid; grid-template-columns:1fr; gap:3rem; }
@media (min-width:900px){ .checkout-grid{ grid-template-columns: 1.3fr 1fr; } }
.form-group{ margin-bottom:1.2rem; }
.form-group label{ display:block; font-size:0.78rem; letter-spacing:0.05em; color:var(--stone); margin-bottom:0.5rem; }
.form-group input, .form-group select{
  width:100%; padding:0.85rem 1rem;
  border:1px solid rgba(13,13,13,0.2);
  background: var(--ivory);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.form-section-title{ font-size:0.72rem; letter-spacing:0.1em; color:var(--stone); margin: 2rem 0 1.2rem; }
.form-section-title:first-child{ margin-top:0; }
.payment-placeholder{
  border: 1px dashed rgba(13,13,13,0.25);
  padding: 1.6rem; font-size:0.88rem; color: var(--stone);
}

.confirmation-page{ text-align:center; padding: var(--gap-xl) 0; }
.confirmation-page .eyebrow{ color: var(--champagne); }
.order-summary-card{ max-width:480px; margin: 2.4rem auto; text-align:left; border:1px solid rgba(13,13,13,0.15); padding:2rem; }
.order-summary-card .row{ display:flex; justify-content:space-between; padding:0.5rem 0; font-size:0.92rem; }

.track-form{ max-width:440px; margin:0 auto; }

.empty-state{ text-align:center; padding: var(--gap-xl) 1rem; color: var(--stone); }

.filter-row{ display:flex; flex-wrap:wrap; gap:0.7rem; margin-bottom: 2.8rem; }
.filter-chip{
  border: 1px solid rgba(13,13,13,0.2);
  background: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.filter-chip.active{ background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }

@media (max-width: 899px){
  .hide-mobile{ display:none; }
}
@media (min-width: 900px){
  .hide-desktop{ display:none; }
}

/* ==========================================================================
   MINI CART PANEL — Appears from bottom after Add to Cart
   ========================================================================== */
.mini-cart-panel{
  position: fixed;
  bottom: -500px;
  left: 0;
  right: 0;
  max-height: 55vh;
  background: var(--ivory);
  border-top: 1px solid rgba(13,13,13,0.1);
  z-index: 999;
  transition: bottom var(--transition);
  box-shadow: 0 -8px 32px rgba(13,13,13,0.08);
}

.mini-cart-panel.visible{
  bottom: 0;
}

.mini-cart-content{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.4rem;
  overflow-y: auto;
}

.mini-cart-product{
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(13,13,13,0.1);
}

.mini-cart-image{
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: var(--charcoal);
  flex-shrink: 0;
}

.mini-cart-details{
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.mini-cart-name{
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.mini-cart-qty{
  font-size: 0.84rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.mini-cart-price{
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--obsidian);
}

.mini-cart-total{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.8rem;
  padding: 1.2rem 0;
  border-top: 1px solid rgba(13,13,13,0.1);
  border-bottom: 1px solid rgba(13,13,13,0.1);
}

.mini-cart-total-label{
  font-size: 0.84rem;
  color: var(--stone);
}

.mini-cart-total-amount{
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.mini-cart-actions{
  display: flex;
  gap: 0.8rem;
}

.mini-cart-actions .btn{
  flex: 1;
  padding: 0.9rem 1.2rem;
  font-size: 0.84rem;
}

@media (max-width: 600px){
  .mini-cart-panel{
    max-height: 50vh;
  }
  
  .mini-cart-content{
    padding: 1.6rem 1rem;
  }
  
  .mini-cart-image{
    width: 70px;
    height: 90px;
  }
  
  .mini-cart-name{
    font-size: 0.95rem;
  }
  
  .mini-cart-actions{
    flex-direction: column;
  }
  
  .mini-cart-actions .btn{
    width: 100%;
  }
}

/* ==========================================================================
   PRODUCT CARD ENHANCEMENTS — Badges and Sales Counts
   ========================================================================== */
.product-card-media-wrapper{
  position: relative;
  display: block;
}

.product-card-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13,13,13,0.85);
  color: var(--ivory);
  padding: 0.5rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  backdrop-filter: blur(8px);
  z-index: 10;
}

.product-card-content{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-sales{
  font-size: 0.78rem;
  color: var(--stone);
  margin-bottom: 0.6rem;
  margin-top: 0.4rem;
}

.product-card-action{
  margin-top: auto;
}

/* ==========================================================================
   MINI CART v2 — lists every cart item, compact, closable
   ========================================================================== */
.mini-cart-panel{ max-height: 62vh; }
.mini-cart-content{ padding: 1.1rem 1.2rem 1.2rem; }
.mini-cart-head{
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom: 0.7rem;
}
.mini-cart-title{ font-size:0.74rem; letter-spacing:0.12em; font-weight:600; color: var(--stone); }
.mini-cart-close{
  background:none; border:0; font-size:1.6rem; line-height:1; cursor:pointer;
  color: var(--obsidian); padding:0 0.3rem;
}
.mini-cart-items{
  max-height: 26vh; overflow-y: auto; margin-bottom: 0.8rem;
  border-top: 1px solid rgba(13,13,13,0.1);
}
.mini-cart-row{
  display:flex; align-items:center; gap:0.8rem;
  padding: 0.65rem 0; border-bottom: 1px solid rgba(13,13,13,0.08);
}
.mini-cart-row .mini-cart-image{ width:48px; height:60px; object-fit:cover; flex-shrink:0; }
.mini-cart-row .mini-cart-details{ flex:1; min-width:0; }
.mini-cart-row .mini-cart-name{
  font-size:0.86rem; margin:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.mini-cart-row .mini-cart-qty{ margin:0.15rem 0 0; font-size:0.78rem; }
.mini-cart-row .mini-cart-price{ font-size:0.86rem; white-space:nowrap; }
.mini-cart-total{ margin-bottom: 0.9rem; padding: 0.7rem 0; }

/* ==========================================================================
   HOMEPAGE — SELECT YOUR COUNTRY (right after the hero)
   ========================================================================== */
.home-country{ background: var(--ivory); }
.home-country-card{ max-width: 640px; margin: 0 auto; }
.home-country-search{
  width:100%; padding: 0.95rem 1.1rem; font: inherit; font-size:0.95rem;
  border: 1px solid rgba(13,13,13,0.25); background:#fff; color: var(--obsidian);
}
.home-country-list{
  margin-top: 0.8rem; max-height: 320px; overflow-y:auto;
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;
}
.home-country-list button{
  text-align:left; padding: 0.8rem 0.9rem; font: inherit; font-size:0.88rem; cursor:pointer;
  background:#fff; border: 1px solid rgba(13,13,13,0.15); color: var(--obsidian);
}
.home-country-list button:hover{ border-color: var(--champagne); }
.home-country-list button.active{ background: var(--obsidian); color: var(--ivory); border-color: var(--obsidian); }
.home-country-status{ margin-top: 1rem; text-align:center; font-size:0.9rem; color: var(--stone); min-height:1.4em; }
.home-country-status strong{ color: var(--obsidian); }
@media (min-width: 700px){ .home-country-list{ grid-template-columns: repeat(3, 1fr); } }

/* Sold count on the product page (same small, subtle style as on cards) */
.product-sold{ margin: 0 0 0.7rem; }
.gallery{ position: relative; }

/* ==========================================================================
   CUSTOMER CARE FLOATING WIDGET
   ========================================================================== */
.customer-care-fab{
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--obsidian);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(13, 13, 13, 0.25);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.customer-care-fab:hover{
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(13, 13, 13, 0.3);
}

.customer-care-fab.open{
  opacity: 0;
  pointer-events: none;
}

.customer-care-panel{
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-height: 0;
  border-radius: 16px 16px 0 0;
  background: var(--ivory);
  box-shadow: 0 -8px 32px rgba(13, 13, 13, 0.15);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  transform: translateY(100%);
  transition: max-height var(--transition), opacity var(--transition), transform var(--transition);
  overflow: hidden;
}

.customer-care-panel.visible{
  max-height: 55vh;
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px){
  .customer-care-panel{
    bottom: 2rem;
    right: 2rem;
    left: auto;
    width: 380px;
    border-radius: 8px;
  }
  
  .customer-care-panel.visible{
    max-height: 580px;
  }
}

.customer-care-header{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.4rem;
  border-bottom: 1px solid rgba(13, 13, 13, 0.08);
  flex-shrink: 0;
}

.customer-care-header-text h4{
  margin: 0;
  font-size: 1rem;
  font-family: var(--font-display);
  margin-bottom: 0.2rem;
}

.customer-care-status{
  margin: 0;
  font-size: 0.75rem;
  color: var(--stone);
  letter-spacing: 0.02em;
}

.customer-care-close{
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--stone);
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.customer-care-close:hover{
  color: var(--obsidian);
}

.customer-care-messages{
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scroll-behavior: smooth;
}

.customer-care-message{
  display: flex;
  flex-direction: column;
  animation: fadeIn 200ms ease-out;
  margin-bottom: 0.4rem;
}

.customer-care-message.customer{
  align-items: flex-end;
}

.customer-care-bubble{
  max-width: 280px;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.customer-care-message.customer .customer-care-bubble{
  background: var(--charcoal);
  color: var(--ivory);
}

.customer-care-message.assistant .customer-care-bubble{
  background: rgba(13, 13, 13, 0.08);
  color: var(--obsidian);
}

.customer-care-delivered{
  font-size: 0.7rem;
  color: var(--stone);
  margin-top: 0.25rem;
  padding-right: 0.4rem;
}

@keyframes fadeIn{
  from{
    opacity: 0;
    transform: translateY(8px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

.customer-care-input-area{
  padding: 1rem 1.4rem;
  border-top: 1px solid rgba(13, 13, 13, 0.08);
  background: var(--ivory);
  flex-shrink: 0;
}

.customer-care-form{
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.customer-care-input{
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(13, 13, 13, 0.15);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  background: white;
  transition: border-color var(--transition);
}

.customer-care-input:focus{
  outline: none;
  border-color: rgba(13, 13, 13, 0.3);
}

.customer-care-send{
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--obsidian);
  color: var(--ivory);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}

.customer-care-send:hover{
  background: var(--charcoal);
}

.customer-care-send:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile adjustments for keyboard */
@media (max-height: 600px){
  .customer-care-messages{
    max-height: 200px;
  }
}


/* ==========================================================================
   CHECKOUT ADDITIONS — delivery banner, account choice, payment message
   ========================================================================== */
.delivery-banner{ margin-top:.9rem; display:inline-block; padding:.55rem .9rem; border:1px solid var(--champagne); letter-spacing:.14em; font-size:.78rem; font-weight:600; }
.choice-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:.5rem; margin-bottom:.8rem; }
.choice-btn{ padding:.85rem .4rem; font:inherit; font-size:.74rem; letter-spacing:.08em; cursor:pointer; background:#fff; color:var(--obsidian); border:1px solid rgba(13,13,13,.25); }
.choice-btn.active{ background:var(--obsidian); color:var(--ivory); border-color:var(--obsidian); }
.choice-panel{ padding:1rem; border:1px solid rgba(13,13,13,.15); margin-bottom:.6rem; background:#fff; }
.choice-note{ font-size:.84rem; color:var(--stone); margin:.2rem 0 1.4rem; min-height:1.2em; }
.choice-note.bad{ color:#a63a32; }
.checkout-msg{ color:#a63a32; font-size:.9rem; min-height:1.2em; margin-top:1rem; }
.terms-note{ font-size:.78rem; color:var(--stone); margin-top:1rem; line-height:1.6; }
.terms-note a{ text-decoration:underline; }
@media (max-width:480px){ .choice-btn{ font-size:.66rem; letter-spacing:.04em; } }

/* ==========================================================================
   POLICY PAGES + MY ACCOUNT
   ========================================================================== */
.policy{ max-width:760px; margin:0 auto; }
.policy h2{ font-size:1.25rem; margin:2.2rem 0 .7rem; }
.policy p, .policy li{ line-height:1.75; color:#333; }
.policy p{ margin:.7rem 0; }
.policy ul{ padding-left:1.2rem; list-style:disc; margin:.6rem 0; }
.policy li{ margin-bottom:.4rem; }
.policy a{ text-decoration:underline; }
.policy .updated{ color:var(--stone); font-size:.85rem; margin-bottom:1.2rem; }
.acct-card{ max-width:640px; margin:0 auto 1.6rem; padding:1.6rem; background:#fff; border:1px solid rgba(13,13,13,.12); }
.acct-card h2{ font-size:1.2rem; margin-bottom:1rem; }
.acct-tabs{ display:grid; grid-template-columns:1fr 1fr; gap:.5rem; margin-bottom:1rem; }
.acct-row{ display:flex; justify-content:space-between; gap:1rem; padding:.55rem 0; border-bottom:1px solid rgba(13,13,13,.08); }
.acct-order{ padding:1rem 0; border-top:1px solid rgba(13,13,13,.1); }
.acct-order-top, .acct-order-mid{ display:flex; justify-content:space-between; align-items:center; gap:.8rem; flex-wrap:wrap; margin-bottom:.4rem; }
.acct-pills{ display:flex; gap:.4rem; flex-wrap:wrap; }
.acct-items{ width:100%; border-collapse:collapse; margin:.8rem 0; font-size:.88rem; }
.acct-items th, .acct-items td{ text-align:left; padding:.45rem .3rem; border-bottom:1px solid rgba(13,13,13,.08); }
.muted{ color:var(--stone); font-size:.88rem; }
.pill{ display:inline-block; padding:.15rem .55rem; border-radius:999px; font-size:.72rem; border:1px solid currentColor; }
.pill.paid{ color:#2f7d4f; } .pill.pending{ color:#a8741a; } .pill.failed{ color:#a63a32; } .pill.neutral{ color:#555; }

/* Card: sold count sits right under the price, original spacing kept before the button */
.product-card-price + .product-card-sales{ margin-top: -0.5rem; margin-bottom: 0.8rem; }


/* ==========================================================================
   MINI CART v3 — compact bottom sheet so shoppers still see the products
   ========================================================================== */
.mini-cart-panel{ max-height: 34vh; }
.mini-cart-content{ padding: 0.8rem 1rem 0.9rem; }
.mini-cart-head{ margin-bottom: 0.4rem; }
.mini-cart-items{ max-height: 12vh; margin-bottom: 0.5rem; }
.mini-cart-row{ padding: 0.4rem 0; gap: 0.7rem; }
.mini-cart-row .mini-cart-image{ width: 38px; height: 46px; }
.mini-cart-total{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom: 0.6rem; padding: 0.4rem 0;
}
.mini-cart-total-amount{ font-size: 1.15rem; }
@media (max-width: 600px){
  .mini-cart-panel{ max-height: 36vh; }
  .mini-cart-content{ padding: 0.8rem 1rem 0.9rem; }
  .mini-cart-image{ width: 38px; height: 46px; }
  .mini-cart-actions{ flex-direction: row; gap: 0.6rem; }
  .mini-cart-actions .btn{ width: auto; flex: 1; padding: 0.75rem 0.6rem; font-size: 0.78rem; }
}

/* COMPACT HOMEPAGE COUNTRY SELECTOR */
.home-country {
  padding: 2rem 0 1.5rem;
}

.home-country .section-head {
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.home-country .section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.home-country .section-head p {
  margin-top: 0.2rem !important;
  font-size: 0.85rem;
}

.home-country-card {
  max-width: 640px;
}

.home-country-search {
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
}

.home-country-list {
  margin-top: 0.5rem;
  max-height: 180px;
  gap: 0.4rem;
}

.home-country-list button {
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
}

.home-country-status {
  margin-top: 0.5rem;
  min-height: 1rem;
  font-size: 0.82rem;
}

/* Reduce the gap before featured products */
.home-country + .section {
  padding-top: 1rem !important;
}

.home-country + .section .section-head {
  margin-bottom: 1.5rem;
}

/* Country pop-up: always fits the screen and scrolls, so EVERY country can be reached */
#countryModal.country-modal{
  top: 5vh !important;
  transform: translateX(-50%) !important;
  max-height: 90vh !important;
  max-height: 90dvh !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}


/* SUBTLE DIVIDER BETWEEN COUNTRY SELECTOR AND PRODUCTS */
.home-country + .section {
  border-top: 1px solid rgba(13, 13, 13, 0.16);
}
