:root{
  --bg:#f7f4ee; --panel:#ffffff; --ink:#1c1c1c;
  --coral:#ff5a3c; --coral-deep:#e8461f; --emerald:#0c8a6e;
  --mustard:#f0a91e; --sky:#3d84ce; --blush:#ffd6cc; --mint:#c9ece1;
  --cream-2:#f0e6d0; --muted:#6b6459; --line:rgba(28,28,28,0.10);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Inter',sans-serif;-webkit-font-smoothing:antialiased;}
a{color:inherit;}
h1,h2,h3{font-family:'Baloo 2',sans-serif;margin:0;font-weight:700;}
.wrap{max-width:1560px;margin:0 auto;padding:0 32px;}
@media (max-width:680px){.wrap{padding:0 18px;}}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px;}

.announce{background:var(--ink);color:var(--bg);padding:10px 0;text-align:center;font-size:12.5px;font-weight:500;}

/* Colorful perks strip — sits right under the plain announce bar,
   one bold pill per perk so it reads as highlighted/eye-catching
   rather than another line of plain text. */
.perks-strip{background:var(--bg);padding:10px 0 2px;overflow-x:auto;}
.perks-strip-inner{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;}
.perk-pill{
  display:inline-flex;align-items:center;gap:6px;
  padding:7px 16px;border-radius:999px;
  font-size:12.5px;font-weight:800;color:#fff;
  white-space:nowrap;
  box-shadow:0 4px 10px -4px rgba(0,0,0,0.25);
  animation:perkPop .4s ease-out both;
}
.perk-ship{background:linear-gradient(135deg,var(--emerald),#0a6f58);}
.perk-dispatch{background:linear-gradient(135deg,var(--coral),var(--coral-deep));}
.perk-swap{background:linear-gradient(135deg,var(--sky),#1d4b7c);}
.perk-pill:nth-child(2){animation-delay:.08s;}
.perk-pill:nth-child(3){animation-delay:.16s;}
@keyframes perkPop{from{opacity:0;transform:translateY(4px) scale(.96);}to{opacity:1;transform:translateY(0) scale(1);}}
@media (max-width:680px){
  .perks-strip-inner{justify-content:flex-start;}
  .perk-pill{font-size:11.5px;padding:6px 13px;}
}

nav{display:flex;align-items:center;justify-content:space-between;padding:22px 0;position:sticky;top:0;z-index:50;background:rgba(247,244,238,0.92);backdrop-filter:blur(10px);}
nav .wrap{display:flex;align-items:center;justify-content:space-between;width:100%;position:relative;}
.logo{display:flex;align-items:center;gap:11px;}
.logo-mark{width:30px;height:30px;flex-shrink:0;}
.logo-wordmark{display:flex;flex-direction:column;line-height:1;}
.logo-wordmark b{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:22px;}
.logo-wordmark span{font-family:'Inter',sans-serif;font-weight:600;font-size:9.5px;letter-spacing:0.09em;text-transform:uppercase;color:var(--coral-deep);margin-top:3px;}
.nav-links{display:flex;gap:26px;font-size:14.5px;font-weight:600;}
.nav-links a{text-decoration:none;color:var(--ink);opacity:0.75;}
.nav-links a:hover{opacity:1;}
.nav-cta{background:var(--coral);color:#fff;border:none;border-radius:999px;padding:13px 22px;font-weight:700;font-size:14px;cursor:pointer;}
.nav-mobile-toggle{display:none;background:none;border:none;color:var(--ink);font-size:22px;cursor:pointer;padding:8px;min-width:44px;min-height:44px;align-items:center;justify-content:center;}
@media (max-width:960px){
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--panel);border:1px solid var(--line);border-radius:16px;flex-direction:column;gap:0;padding:10px;margin-top:10px;box-shadow:0 10px 30px rgba(0,0,0,0.08);}
  .nav-links.open{display:flex;}
  .nav-links a{padding:13px 16px;}
  .nav-mobile-toggle{display:flex;}
}

/* Flipkart seller trust banner — the very first eye-catching strip on
   the homepage, right under the nav. Numbers are pulled straight from
   the seller's Flipkart profile (rating/tenure/scores) plus their
   stated total units shipped across all channels. */
.trust-banner{
  background:linear-gradient(100deg,var(--ink) 0%,#2a2118 45%,var(--coral-deep) 100%);
  color:#fff;
  padding:14px 0;
  overflow:hidden;
  position:relative;
}
.trust-banner::before{
  content:"";
  position:absolute; inset:0;
  background:repeating-linear-gradient(-45deg,rgba(255,255,255,0.035) 0 12px,transparent 12px 24px);
  pointer-events:none;
}
.trust-banner-inner{
  display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;
  position:relative;z-index:1;
}
.trust-banner-brand{display:flex;flex-direction:column;gap:4px;}
.trust-banner-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.25);
  color:#fff;font-size:11px;font-weight:700;
  padding:4px 11px;border-radius:999px;
  width:fit-content;letter-spacing:0.02em;
}
.trust-banner-name{
  font-family:'Baloo 2',sans-serif;font-weight:800;font-size:20px;
  display:flex;align-items:center;gap:8px;
}
.trust-banner-rating{color:var(--mustard);font-size:16px;}
.trust-stats{display:flex;align-items:center;gap:0;flex-wrap:wrap;}
.trust-stat{padding:0 22px;text-align:center;border-left:1.5px solid rgba(255,255,255,0.22);}
.trust-stat:first-child{border-left:none;}
.trust-num{font-family:'Baloo 2',sans-serif;font-weight:800;font-size:clamp(18px,2.1vw,26px);line-height:1;color:#fff;}
.trust-label{font-size:10.5px;font-weight:600;color:rgba(255,255,255,0.75);text-transform:uppercase;letter-spacing:0.05em;margin-top:4px;}
@media (max-width:680px){
  .trust-banner-inner{justify-content:center;text-align:center;}
  .trust-banner-brand{align-items:center;}
  .trust-stats{justify-content:center;width:100%;}
  .trust-stat{padding:0 14px;border-left:1px solid rgba(255,255,255,0.2);}
}

.hero{background:var(--mustard);border-radius:22px;margin-top:8px;padding:30px 40px;display:grid;grid-template-columns:1.1fr 1fr;gap:30px;align-items:center;overflow:hidden;}
@media (max-width:960px){.hero{grid-template-columns:1fr;padding:26px 22px;border-radius:18px;}}
.eyebrow{display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:var(--mustard);font-size:11px;font-weight:700;padding:6px 14px;border-radius:999px;margin-bottom:14px;}
.hero h1{font-size:clamp(24px,3.2vw,38px);line-height:1.08;color:var(--ink);margin-bottom:16px;}
.hero h1 span{color:var(--panel);-webkit-text-stroke:2px var(--ink);}
.hero p{font-size:17px;line-height:1.6;color:rgba(28,28,28,0.75);max-width:440px;margin-bottom:30px;font-weight:500;}
.btn-primary{background:var(--ink);color:#fff;border:none;border-radius:999px;padding:17px 28px;font-weight:700;font-size:15px;cursor:pointer;}
.rig{position:relative;width:100%;max-width:210px;margin:0 auto;}

.phone-shell{
  position:relative;
  width:100%;
  aspect-ratio:9/18.5;
  background:linear-gradient(155deg,#23262d 0%,#14161b 55%,#0b0c0f 100%);
  border-radius:44px;
  box-shadow:
    0 30px 55px -15px rgba(0,0,0,0.35),
    0 10px 20px -8px rgba(0,0,0,0.25),
    inset 0 0 0 1.5px rgba(255,255,255,0.09),
    inset 0 0 0 5px #0b0c0f;
  overflow:hidden;
  animation:phoneFloat 4.5s ease-in-out infinite;
}
@keyframes phoneFloat{0%,100%{transform:translateY(0) rotate(-1deg);}50%{transform:translateY(-9px) rotate(1deg);}}

.btn{position:absolute; background:linear-gradient(90deg,#3a3d44,#1c1e22); z-index:6; box-shadow:0 1px 2px rgba(0,0,0,0.3);}
.btn-mute{left:-2px; top:19%; width:3px; height:16px; border-radius:2px 0 0 2px;}
.btn-vol-up{left:-2px; top:26%; width:3px; height:26px; border-radius:2px 0 0 2px;}
.btn-vol-down{left:-2px; top:35%; width:3px; height:26px; border-radius:2px 0 0 2px;}
.btn-power{right:-2px; top:26%; width:3px; height:38px; border-radius:0 2px 2px 0;}

.phone-notch{display:none;}

.camera-island{
  position:absolute; top:7%; left:7%;
  width:32%; aspect-ratio:1/1;
  background:linear-gradient(150deg,#20232a,#0c0d10);
  border-radius:28%;
  z-index:8;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    0 4px 10px rgba(0,0,0,0.35);
  display:grid;
  grid-template-columns:1fr 1fr;
  grid-template-rows:1fr 1fr;
  place-items:center;
  padding:6%;
}
.lens{
  width:78%; aspect-ratio:1/1; border-radius:50%;
  background:radial-gradient(circle at 35% 32%, #4a5568 0%, #14161a 55%, #060708 100%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.08), 0 1px 3px rgba(0,0,0,0.4);
  display:flex; align-items:center; justify-content:center;
}
.lens-glass{
  width:52%; aspect-ratio:1/1; border-radius:50%;
  background:radial-gradient(circle at 40% 35%, rgba(120,170,255,0.55) 0%, rgba(20,20,30,0.9) 45%, #050506 100%);
}
.lens1{grid-column:1; grid-row:1;}
.lens2{grid-column:2; grid-row:2;}
.flash-dot{
  grid-column:2; grid-row:1;
  width:34%; aspect-ratio:1/1; border-radius:50%;
  background:radial-gradient(circle at 40% 35%, #fff8e0, #d8c99a 60%, #8a7c52 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,0,0.15);
  justify-self:center; align-self:center;
}

.design-stage{position:absolute; top:5px; left:5px; right:5px; bottom:5px; overflow:hidden; border-radius:39px;}
.design-layer{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  transition:transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.design-swatch-mark{
  width:56%; height:56%; border-radius:50%;
  background:rgba(0,0,0,0.08);
  border:2px solid rgba(0,0,0,0.12);
}

.phone-sheen{
  position:absolute; inset:0; z-index:9; pointer-events:none;
  background:linear-gradient(115deg, transparent 25%, rgba(255,255,255,0.16) 45%, transparent 62%);
  background-size:250% 250%;
  animation:sheenSweep 6s ease-in-out infinite;
  mix-blend-mode:overlay;
}
@keyframes sheenSweep{
  0%,100%{background-position:0% 0%;}
  50%{background-position:100% 100%;}
}

.design-dots{display:flex; gap:7px; justify-content:center; margin-top:18px;}
.design-dot{width:7px; height:7px; border-radius:50%; background:rgba(28,28,28,0.2); transition:background .3s ease, transform .3s ease;}
.design-dot.active{background:var(--ink); transform:scale(1.3);}
.design-caption{
  text-align:center; margin-top:8px; font-size:12px; font-weight:700;
  color:rgba(28,28,28,0.6); min-height:16px;
}

@media (prefers-reduced-motion: reduce){
  .phone-shell{animation:none;}
  .phone-sheen{animation:none;}
  .design-layer{transition:none;}
}

.section{padding:80px 0;}

.filter-bar{display:flex;gap:12px;margin:24px 0 0;flex-wrap:wrap;}
.filter-bar input[type="text"]{flex:1;min-width:220px;padding:13px 16px;border-radius:12px;border:2px solid var(--line);font-family:'Inter',sans-serif;font-size:14px;background:var(--panel);}
.filter-bar select{padding:13px 14px;border-radius:12px;border:2px solid var(--line);font-family:'Inter',sans-serif;font-size:14px;background:var(--panel);}
@media (max-width:680px){.filter-bar{flex-direction:column;}}

.my-phone-strip{display:flex;align-items:center;justify-content:space-between;background:var(--mint);border-radius:12px;padding:12px 18px;margin-top:12px;font-size:13.5px;font-weight:600;}
.my-phone-strip button{background:var(--panel);border:2px solid var(--ink);border-radius:999px;padding:6px 14px;font-weight:700;font-size:12px;cursor:pointer;}

.phone-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.45);z-index:150;display:none;align-items:center;justify-content:center;padding:20px;}
.phone-modal-overlay.open{display:flex;}
.phone-modal{
  background:var(--panel);border-radius:20px;padding:32px;max-width:360px;width:100%;text-align:center;
  display:flex;flex-direction:column;max-height:100%;
}

/* On phones the on-screen keyboard eats the bottom half of the screen, so the
   sheet sits at the TOP with the search box above a scrollable result list.
   dvh tracks the visible area as the keyboard opens; vh is the fallback. */
@media (max-width:680px){
  .phone-modal-overlay{align-items:flex-start;padding:0;}
  .phone-modal{
    max-width:100%;border-radius:0 0 22px 22px;
    padding:18px 18px 20px;
    max-height:100vh;max-height:100dvh;
  }
  .phone-modal h3{font-size:17px;margin-bottom:4px;}
  .phone-modal p{font-size:12.5px;margin-bottom:12px;}
  .phone-modal input[type="text"]{
    position:sticky;top:0;z-index:2;background:var(--panel);margin-bottom:10px;
  }
  .phone-brand-chips{margin-bottom:10px;}
  .phone-model-list{
    max-height:none;flex:1;min-height:120px;overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .phone-modal-skip{padding:12px 0 2px;}
}
.phone-modal h3{font-size:20px;margin-bottom:8px;}
.phone-modal p{font-size:13.5px;color:var(--muted);margin-bottom:18px;font-weight:500;}
.phone-modal input[type="text"]{
  width:100%;padding:13px 14px;border-radius:12px;border:2px solid var(--line);
  font-family:'Inter',sans-serif;font-size:14px;margin-bottom:12px;
}
.phone-modal input[type="text"]:focus{outline:none;border-color:var(--ink);}
.phone-brand-chips{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;justify-content:center;}
.phone-brand-chip{
  background:var(--panel);border:2px solid var(--line);border-radius:999px;
  padding:9px 15px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:'Inter',sans-serif;
  min-height:44px;display:inline-flex;align-items:center;justify-content:center;
}
.phone-brand-chip.active{background:var(--ink);color:#fff;border-color:var(--ink);}
.phone-model-list{
  max-height:260px;overflow-y:auto;text-align:left;
  border:2px solid var(--line);border-radius:12px;
}
.phone-model-item{
  display:flex;justify-content:space-between;align-items:center;
  padding:12px 14px;cursor:pointer;border-bottom:1px solid var(--line);
  font-size:14px;font-weight:600;
}
.phone-model-item:last-child{border-bottom:none;}
.phone-model-item:hover{background:var(--cream-2);}
.phone-model-item span{font-size:11.5px;color:var(--muted);font-weight:500;}
.phone-model-empty{padding:22px 14px;text-align:center;color:var(--muted);font-size:13.5px;}
.phone-modal-skip{background:none;border:none;color:var(--muted);font-size:13px;font-weight:600;text-decoration:underline;cursor:pointer;margin-top:12px;}
@media (max-width:680px){.section{padding:50px 0;}}
.section-head{margin-bottom:38px;}
.section-head h2{font-size:clamp(28px,3.4vw,40px);}
.section-head p{color:var(--muted);font-size:15px;margin-top:8px;font-weight:500;}

.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;}
@media (max-width:1280px){.product-grid{grid-template-columns:repeat(4,1fr);}}
@media (max-width:1000px){.product-grid{grid-template-columns:repeat(3,1fr);gap:13px;}}
/* Tablets and large phones keep 3 across; only narrow phones drop to 2. */
@media (max-width:680px){.product-grid{grid-template-columns:repeat(3,1fr);gap:10px;}}
@media (max-width:430px){.product-grid{grid-template-columns:repeat(2,1fr);gap:9px;}}
.product-card{background:var(--panel);border-radius:20px;overflow:hidden;border:2px solid var(--line);transition:transform .2s ease,border-color .2s ease;}

/* Case-type product grid — 6 across on desktop, same responsive
   collapse pattern as .product-grid, just one column wider. */
.case-type-product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
@media (max-width:1280px){.case-type-product-grid{grid-template-columns:repeat(5,1fr);}}
@media (max-width:1000px){.case-type-product-grid{grid-template-columns:repeat(4,1fr);gap:13px;}}
@media (max-width:680px){.case-type-product-grid{grid-template-columns:repeat(3,1fr);gap:10px;}}
@media (max-width:430px){.case-type-product-grid{grid-template-columns:repeat(2,1fr);gap:9px;}}
.product-card:hover{transform:translateY(-5px);border-color:var(--ink);}
.product-art{aspect-ratio:1/1;position:relative;display:flex;align-items:center;justify-content:center;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#fff;}
.product-info{padding:11px 11px 13px;}
.product-info h4{font-size:12.5px;font-weight:700;margin-bottom:3px;line-height:1.3;}
.product-info .fit{font-size:11px;color:var(--muted);margin-bottom:8px;font-weight:500;}
.product-info .fit b{color:var(--ink);font-weight:700;}
.product-price{display:flex;align-items:baseline;gap:6px;margin-bottom:8px;flex-wrap:wrap;}
.product-price .now{color:var(--coral-deep);font-size:14px;font-weight:800;font-family:'Baloo 2',sans-serif;}
.product-price .was{color:var(--muted);font-size:11px;text-decoration:line-through;}
.product-stock{font-size:10.5px;color:var(--emerald);font-weight:600;margin-bottom:8px;}
.product-stock.low{color:var(--coral-deep);}
.add-to-cart{width:100%;background:var(--ink);color:#fff;border:none;border-radius:999px;padding:9px;font-weight:700;font-size:12px;cursor:pointer;}
.add-to-cart:disabled{background:var(--line);color:var(--muted);cursor:not-allowed;}

footer{padding:40px 0;}
.footer-bottom{display:flex;justify-content:space-between;padding-top:24px;border-top:2px solid var(--line);font-size:12.5px;color:var(--muted);}
.footer-bottom a{color:var(--muted);}

/* Cart drawer */
.cart-overlay{position:fixed;inset:0;background:rgba(0,0,0,0.4);z-index:90;display:none;}
.cart-overlay.open{display:block;}
.cart-drawer{position:fixed;top:0;right:-420px;width:400px;max-width:90vw;height:100%;background:var(--panel);z-index:100;transition:right .25s ease;display:flex;flex-direction:column;}
.cart-drawer.open{right:0;}
.cart-header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:2px solid var(--line);}
.cart-close{background:none;border:none;font-size:20px;cursor:pointer;}
.cart-items{flex:1;overflow-y:auto;padding:16px 24px;}
.cart-line{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);align-items:center;}
.cart-line-swatch{width:52px;height:52px;border-radius:10px;flex-shrink:0;}
.cart-line-info{flex:1;}
.cart-line-info b{font-size:13.5px;display:block;}
.cart-line-info span{font-size:12px;color:var(--muted);}
.cart-qty{display:flex;align-items:center;gap:8px;margin-top:6px;}
.cart-qty button{width:22px;height:22px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;}
.cart-remove{font-size:11.5px;color:var(--coral-deep);cursor:pointer;background:none;border:none;text-decoration:underline;margin-top:4px;}
.cart-footer{padding:20px 24px;border-top:2px solid var(--line);}
.cart-total-row{display:flex;justify-content:space-between;font-weight:700;font-size:16px;margin-bottom:14px;}
.cart-empty{color:var(--muted);font-size:14px;text-align:center;padding:40px 0;}

/* Checkout page */
.checkout-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;padding:50px 0;}
@media (max-width:860px){.checkout-grid{grid-template-columns:1fr;}}
.checkout-form{background:var(--panel);border:2px solid var(--line);border-radius:20px;padding:32px;}
.form-row{margin-bottom:16px;}
.form-row label{display:block;font-size:13px;font-weight:700;margin-bottom:6px;}
.form-row input,.form-row textarea{width:100%;padding:12px 14px;border-radius:10px;border:2px solid var(--line);font-family:'Inter',sans-serif;font-size:16px;}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.pay-options{display:flex;gap:12px;margin:20px 0;}
.pay-option{flex:1;border:2px solid var(--line);border-radius:12px;padding:16px;cursor:pointer;text-align:center;font-weight:700;font-size:13.5px;}
.pay-option.selected{border-color:var(--ink);background:var(--cream-2);}
.order-summary{background:var(--panel);border:2px solid var(--line);border-radius:20px;padding:28px;height:fit-content;}
.summary-line{display:flex;justify-content:space-between;font-size:14px;padding:8px 0;color:var(--muted);}
.summary-total{display:flex;justify-content:space-between;font-size:18px;font-weight:800;padding-top:14px;border-top:2px solid var(--line);margin-top:8px;}
.error-msg{color:var(--coral-deep);font-size:13.5px;margin-top:10px;font-weight:600;}
.success-box{background:var(--mint);border-radius:16px;padding:40px;text-align:center;}

/* Customer login/signup gate on checkout */
.auth-tabs{display:flex;gap:8px;margin-bottom:22px;border-bottom:2px solid var(--line);}
.auth-tab{background:none;border:none;padding:10px 4px;margin-bottom:-2px;font-size:15px;font-weight:700;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;}
.auth-tab.active{color:var(--ink);border-bottom-color:var(--coral);}
.account-banner{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:18px;padding:12px 16px;background:var(--cream-2);border-radius:12px;font-size:13.5px;}
.account-banner b{font-weight:800;}
.logout-link{background:none;border:none;color:var(--coral-deep);font-weight:700;cursor:pointer;text-decoration:underline;font-size:13px;padding:0;margin-left:auto;}
.otp-block label{display:block;font-size:13px;font-weight:700;margin-bottom:6px;}
.otp-row{display:flex;gap:8px;}
.otp-row input{flex:1;padding:12px 14px;border-radius:10px;border:2px solid var(--line);font-family:'IBM Plex Mono',monospace;font-size:16px;letter-spacing:0.1em;}
.otp-verify-btn{padding:0 18px;border-radius:10px;border:2px solid var(--ink);background:#fff;color:var(--ink);font-weight:700;font-size:13.5px;cursor:pointer;white-space:nowrap;}
.otp-verify-btn:disabled{opacity:0.5;cursor:default;}
.otp-status-row{display:flex;align-items:center;gap:10px;margin-top:6px;}
.otp-verified-tag{color:var(--emerald);font-weight:700;font-size:12.5px;}
.otp-resend-btn{background:none;border:none;color:var(--coral-deep);text-decoration:underline;cursor:pointer;font-size:12.5px;padding:0;}
.otp-resend-btn:disabled{opacity:0.5;cursor:default;text-decoration:none;}

.view-all-row{display:flex;justify-content:center;margin-top:24px;}
.view-all-btn{
  display:inline-block;background:var(--panel);border:2px solid var(--ink);
  color:var(--ink);border-radius:999px;padding:13px 28px;
  font-weight:700;font-size:14px;text-decoration:none;transition:transform .12s ease;
}
.view-all-btn:hover{transform:translateY(-2px);background:var(--ink);color:#fff;}


/* Narrow phones: shrink card text so 2-3 columns don't feel cramped */
@media (max-width:680px){
  .product-info{padding:9px 9px 11px;}
  .product-info h4{font-size:11.5px;line-height:1.25;}
  .product-info .fit{font-size:10px;margin-bottom:6px;}
  .product-price .now{font-size:12.5px;}
  .product-price .was{font-size:10px;}
  .product-stock{font-size:9.5px;margin-bottom:6px;}
  .add-to-cart{padding:7px;font-size:11px;}
  .browse-grid{grid-template-columns:repeat(2,1fr) !important;gap:10px;}
}

/* ---- Trending / new launches strip ---- */
.trending-strip{
  background:linear-gradient(120deg,#1c1c1c 0%,#2b2b2b 55%,#3a2a1a 100%);
  border-radius:20px;padding:20px 24px;margin-top:14px;color:#fff;
}
.trending-head{display:flex;align-items:center;gap:11px;margin-bottom:14px;}
.trending-flag{
  background:var(--coral);color:#fff;font-size:10.5px;font-weight:800;
  letter-spacing:0.08em;padding:4px 10px;border-radius:999px;
  animation:pulseFlag 2.2s ease-in-out infinite;
}
@keyframes pulseFlag{0%,100%{opacity:1;}50%{opacity:0.55;}}
.trending-head h2{font-size:18px;color:#fff;margin:0;}
.trending-chips{display:flex;gap:9px;flex-wrap:wrap;}
.trending-chip{
  background:rgba(255,255,255,0.1);border:1.5px solid rgba(255,255,255,0.22);
  border-radius:999px;padding:9px 16px;font-size:13px;font-weight:700;
  color:#fff;text-decoration:none;transition:all .15s ease;
}
.trending-chip:hover{background:var(--mustard);color:var(--ink);border-color:var(--mustard);transform:translateY(-2px);}
.trending-chip.soon{opacity:0.55;cursor:default;}
.trending-chip.soon:hover{background:rgba(255,255,255,0.1);color:#fff;border-color:rgba(255,255,255,0.22);transform:none;}
@media (max-width:680px){
  .trending-strip{padding:16px;border-radius:16px;}
  .trending-head h2{font-size:15px;}
  .trending-chip{padding:7px 13px;font-size:12px;}
}

/* ---- Customer reviews ---- */
/* Single horizontally-scrolling row — keeps the section compact no matter
   how many reviews come in, and swipes naturally on touch devices. */
.review-grid{
  display:flex;gap:16px;overflow-x:auto;padding:4px 4px 14px;
  scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.review-grid::-webkit-scrollbar{height:7px;}
.review-grid::-webkit-scrollbar-thumb{background:var(--line);border-radius:99px;}
.review-grid::-webkit-scrollbar-thumb:hover{background:var(--muted);}
.review-grid > .review-card{
  flex:0 0 300px;scroll-snap-align:start;
}
@media (max-width:680px){.review-grid > .review-card{flex:0 0 78%;}}
.review-card{background:var(--panel);border:2px solid var(--line);border-radius:18px;padding:20px;}
.review-stars{color:var(--mustard);font-size:15px;letter-spacing:2px;margin-bottom:8px;}
.review-text{font-size:13.5px;line-height:1.6;color:var(--ink);margin-bottom:14px;}
.review-who{display:flex;align-items:center;gap:10px;}
.review-avatar{
  width:34px;height:34px;border-radius:50%;flex-shrink:0;
  background:var(--cream-2);display:flex;align-items:center;justify-content:center;
  font-family:'Baloo 2',sans-serif;font-weight:800;font-size:14px;color:var(--ink);
}
.review-who b{font-size:13px;display:block;}
.review-who span{font-size:11.5px;color:var(--muted);}
.review-verified{
  font-size:10px;font-weight:800;color:var(--emerald);
  border:1px solid var(--emerald);border-radius:999px;padding:2px 7px;margin-left:auto;
}
.review-empty{color:var(--muted);font-size:14px;grid-column:1/-1;}
.star-pick{display:flex;gap:6px;margin-bottom:14px;font-size:26px;color:var(--line);}
.star-pick span{cursor:pointer;transition:transform .12s ease;}
.star-pick span:hover{transform:scale(1.15);}
.star-pick span.on{color:var(--mustard);}
.phone-modal textarea{
  width:100%;padding:13px 14px;border-radius:12px;border:2px solid var(--line);
  font-family:'Inter',sans-serif;font-size:14px;resize:vertical;
}

/* ---- Review photos + featured layout ---- */
.rv-photo-row{display:flex;gap:12px;align-items:center;margin-top:12px;}
.rv-photo-preview{
  width:56px;height:56px;border-radius:12px;flex-shrink:0;
  border:2px dashed var(--line);background:#faf8f4;
  display:flex;align-items:center;justify-content:center;color:#c9c2b4;font-size:20px;
  background-size:cover;background-position:center;
}
.rv-photo-preview.filled{border-style:solid;border-color:var(--emerald);color:transparent;}
.rv-photo-btn{
  display:inline-block;border:2px solid var(--ink);border-radius:999px;
  padding:7px 15px;font-size:12.5px;font-weight:700;cursor:pointer;
}
.rv-photo-btn:hover{background:var(--ink);color:#fff;}
.rv-photo-hint{font-size:11px;color:var(--muted);margin-top:5px;}

.review-card{position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;}
.review-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(28,28,28,0.08);}
.review-card .quote-mark{
  position:absolute;top:-6px;right:14px;font-family:'Baloo 2',sans-serif;
  font-size:64px;color:var(--cream-2);line-height:1;pointer-events:none;
}
.review-photo{
  width:100%;aspect-ratio:4/3;border-radius:12px;margin-bottom:12px;
  background-size:cover;background-position:center;cursor:zoom-in;
  border:1px solid var(--line);
}
/* The newest photo review gets a wide highlight card. */
.review-grid > .review-card.featured{
  flex:0 0 420px;
  background:linear-gradient(135deg,#fff 0%,#fdf6ee 100%);
  border-color:var(--mustard);
}
@media (max-width:680px){.review-grid > .review-card.featured{flex:0 0 88%;}}
.review-card.featured .review-text{font-size:15px;line-height:1.65;}
.review-card.featured .review-photo{aspect-ratio:16/9;}


.rv-lightbox{
  position:fixed;inset:0;background:rgba(0,0,0,0.85);z-index:200;
  display:none;align-items:center;justify-content:center;padding:24px;cursor:zoom-out;
}
.rv-lightbox.open{display:flex;}
.rv-lightbox img{max-width:100%;max-height:100%;border-radius:14px;}

.review-rail{position:relative;}
.rail-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:5;
  width:38px;height:38px;border-radius:50%;border:2px solid var(--line);
  background:var(--panel);color:var(--ink);font-size:20px;line-height:1;
  cursor:pointer;box-shadow:0 4px 12px rgba(28,28,28,0.12);
  display:flex;align-items:center;justify-content:center;
}
.rail-arrow:hover{border-color:var(--ink);}
.rail-arrow.left{left:-12px;}
.rail-arrow.right{right:-12px;}
.rail-arrow[disabled]{opacity:0;pointer-events:none;}
@media (max-width:900px){.rail-arrow{display:none;}}

/* ---- Colour variants (product page) ---- */
.pdp-colors{margin-bottom:18px;}
.pdp-colors-label{font-size:13.5px;font-weight:600;margin-bottom:10px;}
.pdp-fit{font-size:13.5px;color:var(--muted);font-weight:500;margin:2px 0 12px;}
.pdp-fit b{color:var(--ink);font-weight:700;}
.pdp-swatches{display:flex;gap:9px;flex-wrap:wrap;}
.pdp-swatch{
  width:34px;height:34px;border-radius:50%;border:3px solid transparent;
  cursor:pointer;padding:0;outline:none;
  box-shadow:0 2px 6px rgba(28,28,28,0.18);
  transition:transform .15s ease,box-shadow .15s ease;
}
.pdp-swatch:hover{transform:scale(1.15);}
.pdp-swatch.active{border-color:var(--ink);transform:scale(1.18);box-shadow:0 4px 10px rgba(28,28,28,0.26);}

/* ---- Colour editor in admin ---- */
.color-editor{margin-top:14px;}
.color-row{display:grid;grid-template-columns:36px 1fr 90px auto;gap:8px;align-items:center;margin-bottom:8px;}
.color-swatch-pick{width:40px;height:40px;border-radius:8px;border:2px solid var(--line);cursor:pointer;padding:0;}
.color-row input[type="text"]{padding:8px 10px;border-radius:9px;border:2px solid var(--line);font-size:13px;}
.color-row .color-img-btn{
  font-size:11px;font-weight:700;color:#3d84ce;cursor:pointer;
  border:1px solid #3d84ce;border-radius:8px;padding:6px 8px;white-space:nowrap;
}
.color-row .color-img-btn:hover{background:#3d84ce;color:#fff;}
.color-thumb{width:32px;height:32px;border-radius:6px;object-fit:cover;background:#f7f4ee;display:none;}
.add-color-btn{
  font-size:12.5px;font-weight:700;color:var(--emerald);cursor:pointer;
  border:2px dashed var(--emerald);border-radius:9px;padding:9px 14px;
  background:none;margin-top:4px;
}
.add-color-btn:hover{background:#f0faf6;}

.product-colors{display:flex;gap:4px;align-items:center;margin-top:5px;flex-wrap:wrap;}
.product-color-dot{
  width:12px;height:12px;border-radius:50%;border:1.5px solid rgba(28,28,28,0.14);
  display:inline-block;
}

/* ---- Palette picker popup ---- */
.palette-popup{
  display:flex;flex-wrap:wrap;gap:7px;padding:12px;
  background:#fff;border:2px solid var(--line);border-radius:14px;
  margin-bottom:10px;box-shadow:0 8px 24px rgba(28,28,28,0.1);
}
.palette-chip{
  width:30px;height:30px;border-radius:50%;border:2.5px solid transparent;
  cursor:pointer;transition:transform .12s ease,border-color .12s ease;
}
.palette-chip:hover{transform:scale(1.18);}
.palette-chip.active{border-color:var(--ink);transform:scale(1.22);}

/* ---- Newly launched / Trending bands: 2 rows × 8 products ---- */
.featured-band{padding:30px 0 26px;border-bottom:2px solid var(--line);}
.featured-band:last-of-type{border-bottom:none;}
.featured-band-head{display:flex;align-items:center;gap:12px;margin-bottom:18px;}
.featured-band-head h2{font-size:clamp(18px,2vw,22px);margin:0;}
.featured-flag{
  font-size:10.5px;font-weight:800;letter-spacing:0.07em;
  padding:5px 11px;border-radius:999px;flex-shrink:0;
}
.new-flag{background:#e0f4ec;color:#0c8a6e;}
.trend-flag{background:#ffe9cc;color:#c05500;}

/* 8 visible at a time on wide screens, stepping down responsively —
   a single sliding row instead of wrapping into a second row. */
.featured-viewport{overflow:hidden;--featured-visible:8;}
.featured-track{
  display:flex;
  gap:12px;
  transition:transform .5s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
/* Each card is an exact fraction of the viewport so 8 (or fewer, at
   narrower widths) fit precisely, accounting for the gaps between them.
   min-width:0 overrides the flex default of min-width:auto — without
   it, a card containing an aspect-ratio box can refuse to shrink below
   its own content size and blow out to fill the row instead of sitting
   at its intended fraction. Hardcoded per breakpoint (not var()-driven)
   so there's no dependency on custom-property inheritance timing. */
.featured-track > *{
  flex:0 0 calc((100% - 7*12px) / 8);
  max-width:calc((100% - 7*12px) / 8);
  min-width:0;
}
@media (max-width:1400px){.featured-viewport{--featured-visible:6;}.featured-track > *{flex-basis:calc((100% - 5*12px) / 6);max-width:calc((100% - 5*12px) / 6);}}
@media (max-width:1100px){.featured-viewport{--featured-visible:5;}.featured-track > *{flex-basis:calc((100% - 4*12px) / 5);max-width:calc((100% - 4*12px) / 5);}}
@media (max-width:860px) {.featured-viewport{--featured-visible:4;}.featured-track > *{flex-basis:calc((100% - 3*12px) / 4);max-width:calc((100% - 3*12px) / 4);}}
@media (max-width:680px) {.featured-viewport{--featured-visible:3;}.featured-track{gap:9px;}.featured-track > *{flex-basis:calc((100% - 2*9px) / 3);max-width:calc((100% - 2*9px) / 3);}}
@media (max-width:420px) {.featured-viewport{--featured-visible:2;}.featured-track > *{flex-basis:calc((100% - 1*9px) / 2);max-width:calc((100% - 1*9px) / 2);}}
@media (prefers-reduced-motion: reduce){.featured-track{transition:none;}}

/* Compact card style inside the featured band — no "Add to cart" button visible
   until hover so the grid stays clean at 8-across */
.featured-band .product-card{border-radius:10px;border-width:1px;}
/* Very compact info block — remove the "Fits …" model line, shrink text & padding */
.featured-band .product-info{padding:6px 8px 8px;}
.featured-band .product-info h4{font-size:11px;line-height:1.25;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.featured-band .product-info .fit{display:none;}
.featured-band .product-info .product-stock{display:none;}
.featured-band .product-price .now{font-size:12px;font-weight:800;}
.featured-band .product-price .was{font-size:10px;}
.featured-band .product-art{aspect-ratio:1/1;}
/* Hide add-to-cart on the compact card; tap → product page */
.featured-band [style*="padding:0 13px 13px"]{display:none;}

/* ══ DESIGN-YOUR-OWN ROW ══
   Row 1: fixed, non-scrolling — up to 6 equal cards (both CTAs + up to
   4 static product cards). Row 2: every listing, sliding one card every
   2s. --cd-visible controls how many show at once in row 2 so the count
   and the slide distance can never disagree. */
.design-flag{background:#f3e8ff;color:#7c3aed;}

.cd-fixed-row{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:14px;
  margin-bottom:14px;
}

/* Fixed designer CTA(s) — never scroll away */
.cd-cta{
  display:flex;flex-direction:column;
  border:2px solid var(--coral,#e8461f);
  border-radius:12px;overflow:hidden;
  background:linear-gradient(160deg,#fff5f3,#ffe9e4);
  text-decoration:none;color:inherit;
  transition:transform .15s, box-shadow .15s;
}
.cd-cta:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(232,70,31,.18);}
.cd-cta-art{
  aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
  background:repeating-linear-gradient(45deg,#fff 0 10px,#fff5f3 10px 20px);
  border-bottom:2px solid var(--coral,#e8461f);
  overflow:hidden;
}
.cd-cta-icon{font-size:clamp(28px,3.4vw,44px);}
.cd-cta-body{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1;}
.cd-cta-body h4{font-size:13px;margin:0;line-height:1.25;}
.cd-cta-body p{font-size:11px;color:var(--muted);margin:0;line-height:1.35;}
.cd-cta-btn{
  margin-top:auto;font-size:11.5px;font-weight:800;
  color:var(--coral,#e8461f);
}

/* Row 1's static product cards should look like the fixed CTA cards'
   neighbours — same compact sizing as the carousel cards below. */
.cd-fixed-row .product-card{border-radius:12px;}
.cd-fixed-row .product-info{padding:6px 8px 8px;}
.cd-fixed-row .product-info h4{font-size:11px;line-height:1.25;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cd-fixed-row .product-info .fit{display:none;}
.cd-fixed-row .product-info .product-stock{display:none;}
.cd-fixed-row .product-price .now{font-size:12px;font-weight:800;}
.cd-fixed-row .product-price .was{font-size:10px;}
.cd-fixed-row .product-art{aspect-ratio:1/1;}
.cd-fixed-row [style*="padding:0 13px 13px"]{display:none;}

/* Sliding window (row 2) — single row, never wraps to a second line;
   --cd-visible controls how many cards show at once and must stay in
   sync with the JS slide-distance calculation in loadCustomDesignRow(). */
.cd-viewport{overflow:hidden;--cd-visible:8;}
.cd-track{
  display:flex;
  flex-wrap:nowrap;
  gap:12px;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
/* Each card is an exact fraction of the viewport so --cd-visible fit
   precisely, accounting for the gaps between them. min-width:0
   overrides the flex default of min-width:auto — without it, a card
   containing an aspect-ratio box can refuse to shrink below its own
   content size and blow out to fill the row instead of its intended
   fraction. */
.cd-track > *{
  flex:0 0 calc((100% - (var(--cd-visible) - 1) * 12px) / var(--cd-visible));
  min-width:0;
}

@media (max-width:1400px){
  .cd-viewport{--cd-visible:6;}
}
@media (max-width:1100px){
  .cd-fixed-row{grid-template-columns:repeat(4,minmax(0,1fr));}
  .cd-viewport{--cd-visible:4;}
}
@media (max-width:860px) {
  .cd-fixed-row{grid-template-columns:repeat(3,minmax(0,1fr));}
  .cd-viewport{--cd-visible:3;}
}
@media (max-width:680px) {
  .cd-fixed-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .cd-viewport{--cd-visible:2;}
  .cd-track{gap:9px;}
  .cd-track > *{flex:0 0 calc((100% - (var(--cd-visible) - 1) * 9px) / var(--cd-visible));min-width:0;}
}
@media (max-width:460px) {
  .cd-fixed-row{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cd-viewport{--cd-visible:2;}
}

/* Reuse the compact featured-band card look inside the sliding carousel */
.cd-track .product-card{border-radius:10px;border-width:1px;}
.cd-track .product-info{padding:6px 8px 8px;}
.cd-track .product-info h4{font-size:11px;line-height:1.25;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.cd-track .product-info .fit{display:none;}
.cd-track .product-info .product-stock{display:none;}
.cd-track .product-price .now{font-size:12px;font-weight:800;}
.cd-track .product-price .was{font-size:10px;}
.cd-track .product-art{aspect-ratio:1/1;}
.cd-track [style*="padding:0 13px 13px"]{display:none;}

/* Respect reduced-motion: show the row without auto-sliding */
@media (prefers-reduced-motion: reduce){
  .cd-track{transition:none;}
}

/* ── Shop by case type — single draggable line, no auto-advance ── */
.ct-viewport{
  overflow-x:auto;
  overflow-y:hidden;
  cursor:grab;
  scrollbar-width:none;               /* Firefox */
  -ms-overflow-style:none;            /* old Edge */
  scroll-behavior:smooth;
}
.ct-viewport::-webkit-scrollbar{display:none;}     /* Chrome/Safari */
.ct-viewport.dragging{cursor:grabbing;scroll-behavior:auto;}
.ct-track{display:flex;gap:14px;padding-bottom:2px;}
.ct-tile{
  flex:0 0 180px;
  background:var(--panel);border:2px solid var(--line);border-radius:16px;
  overflow:hidden;text-decoration:none;color:inherit;display:block;
  transition:transform .18s ease, border-color .18s ease;
  user-select:none;
}
.ct-tile:hover{transform:translateY(-3px);border-color:var(--ink);}
.ct-tile-art{
  aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;
  background-size:contain;background-position:center;background-repeat:no-repeat;
  background-color:var(--cream-2);
  pointer-events:none;                /* image never intercepts the drag */
}
.ct-tile-initial{
  font-family:'Baloo 2',sans-serif;font-size:32px;font-weight:800;
  color:var(--ink);opacity:.25;
}
.ct-tile-body{padding:11px 13px 14px;pointer-events:none;}
.ct-tile-body b{display:block;font-size:13px;margin-bottom:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ct-tile-body span{font-size:11.5px;color:var(--muted);font-weight:600;}
@media (max-width:680px){ .ct-tile{flex:0 0 148px;} }
