:root{--navy:#092b70;--ink:#101827;--muted:#687386;--line:#e7eaf0;--white:#fff;--shadow:0 18px 45px rgba(18,36,70,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}.topbar{height:76px;padding:0 clamp(20px,5.5vw,92px);display:grid;grid-template-columns:1fr auto 1fr;align-items:center;border-bottom:1px solid #edf0f4;background:rgba(255,255,255,.96);position:relative;z-index:5}.brandmark{display:flex;align-items:center;width:166px;height:44px;color:var(--navy);text-decoration:none;flex:0 0 auto}
.brandmark-image{display:block;width:100%;height:100%;background-color:currentColor;-webkit-mask:url("../assets/wosip-logo-mask.png") center/contain no-repeat;mask:url("../assets/wosip-logo-mask.png") center/contain no-repeat}nav{height:100%;display:flex;align-items:center;gap:clamp(20px,3.2vw,52px)}nav a{height:100%;display:flex;align-items:center;text-decoration:none;color:#182235;font-size:15px;font-weight:650;position:relative}nav a.active{color:var(--navy)}nav a.active:after{content:"";position:absolute;bottom:14px;left:0;right:0;height:3px;background:var(--navy);border-radius:3px}.search{justify-self:end;width:min(310px,24vw);height:42px;border:1px solid #dfe4ec;border-radius:24px;display:flex;align-items:center;padding:0 14px;gap:9px;color:var(--navy)}.search span{font-size:26px;line-height:1}.search input{border:0;outline:0;width:100%;font-size:13px;color:var(--ink);background:transparent}.mobile-menu{display:none}.hero{max-width:1540px;margin:auto;text-align:center;padding:28px 30px 24px;overflow:hidden}.eyebrow{font-size:11px;letter-spacing:4px;color:#738098;font-weight:800;text-transform:uppercase}.hero>.eyebrow{margin:0 0 9px}h1{font-size:clamp(34px,4vw,58px);letter-spacing:-2px;color:var(--navy);margin:0 0 5px;font-weight:850}.subtitle{font-size:clamp(15px,1.5vw,20px);color:#667186;margin:0}.filters{display:flex;justify-content:center;gap:12px;margin:20px auto 8px;overflow-x:auto;padding:3px 5px 8px}.brand-chip{white-space:nowrap;border:1px solid #dce2eb;background:#fff;color:#182235;border-radius:30px;padding:11px 25px;cursor:pointer;font-size:14px;font-weight:650;box-shadow:0 3px 9px #152a4a0a;transition:.2s}.brand-chip.selected,.brand-chip:hover{background:var(--navy);color:#fff;border-color:var(--navy)}.showcase{height:clamp(360px,40vw,500px);position:relative;perspective:1400px;overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}.product-track{position:absolute;inset:0;z-index:1;transform-style:preserve-3d;pointer-events:none}.product-card{pointer-events:auto}.product-card{position:absolute;left:50%;top:50%;width:clamp(130px,17vw,220px);height:88%;max-height:450px;display:flex;align-items:center;justify-content:center;transform-style:preserve-3d;transition:opacity .18s ease,filter .18s ease;cursor:grab;will-change:transform;backface-visibility:hidden}.showcase.is-dragging .product-card{cursor:grabbing}.product-card img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 15px 12px rgba(16,29,52,.14));pointer-events:none}.product-card.center img{filter:drop-shadow(0 20px 16px rgba(16,29,52,.19))}.product-card .no-image{width:70%;height:76%;border-radius:28px;background:linear-gradient(145deg,#f3f5f8,#e5e9ef);display:grid;place-items:center;color:#7b8493;font-size:13px}.arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:20;pointer-events:auto;width:58px;height:58px;border:0;border-radius:50%;background:#fff;box-shadow:0 6px 24px rgba(20,38,68,.13);font-size:36px;line-height:1;color:#0d1d39;cursor:pointer}.arrow:hover{background:var(--navy);color:#fff}.prev{left:1.5%}.next{right:1.5%}.dots{display:flex;justify-content:center;gap:12px;margin:0 0 20px;min-height:12px}.dots button{width:10px;height:10px;border:0;border-radius:50%;background:#c8ced8;padding:0;cursor:pointer}.dots button.active{background:var(--navy);transform:scale(1.22)}.product-info{max-width:1050px;margin:0 auto;display:grid;grid-template-columns:1fr 260px;align-items:center;gap:35px;padding:0 24px}.info-copy{text-align:center}.info-copy h2{font-size:clamp(22px,2.1vw,30px);letter-spacing:-.5px;margin:7px 0 4px;color:#111a2b}.info-copy p{color:#69758a;font-size:15px;margin:0}.swatches{display:flex;justify-content:center;gap:12px;margin-top:17px;flex-wrap:wrap}.swatch{width:27px;height:27px;border-radius:50%;border:1px solid #d9dee7;cursor:pointer;box-shadow:inset 0 0 0 1px #ffffff50}.swatch.active{outline:2px solid var(--navy);outline-offset:3px}.detail-btn{background:var(--navy);color:#fff;border:0;border-radius:36px;padding:19px 30px;min-width:240px;font-size:15px;font-weight:750;cursor:pointer;box-shadow:0 8px 20px #092b7020}.detail-btn:hover{background:#061f55}.detail-btn span{margin-left:22px;font-size:21px}.status{font-size:11px;color:#9aa3b2;margin:18px 0 0;min-height:14px}.about{border-top:1px solid #edf0f4;padding:35px clamp(24px,8vw,120px);display:flex;align-items:center;justify-content:space-between;gap:25px}.about h2{margin:7px 0 0;font-size:19px;color:var(--navy)}.about>p{font-size:13px;color:#7b8493}.dialog-image-wrap{height:430px;background:#fff;display:flex;align-items:center;justify-content:center;padding:42px 24px 8px}.dialog-image-wrap img{max-width:100%;max-height:100%;object-fit:contain;object-position:center}.dialog-copy{padding:10px 34px 32px;text-align:center}.dialog-copy h2{font-size:23px;margin:8px 0}.dialog-copy p{color:#657086;font-size:14px}.dialog-close{position:absolute;right:14px;top:9px;border:0;background:#fff;border-radius:50%;width:36px;height:36px;font-size:27px;cursor:pointer;z-index:2}dialog{border:0;border-radius:22px;padding:0;width:min(560px,92vw);box-shadow:0 20px 80px #0004}dialog::backdrop{background:#07152c80}
@media(max-width:760px){.topbar{height:62px;padding:0 17px;grid-template-columns:1fr auto auto;gap:12px}.brandmark{width:132px;height:35px}nav{display:none;position:absolute;top:61px;left:0;right:0;height:auto;background:#fff;padding:12px 20px 18px;box-shadow:0 12px 18px #0b1a3020;flex-direction:column;align-items:stretch;gap:0}nav.menu-open{display:flex}nav a{height:42px;font-size:14px}nav a.active:after{display:none}.search{width:min(46vw,210px);height:36px;padding:0 10px}.search input{font-size:11px}.mobile-menu{display:block;border:0;background:none;font-size:23px;color:var(--navy)}.hero{padding:26px 8px 20px}.eyebrow{font-size:9px;letter-spacing:3px}h1{font-size:clamp(29px,8vw,39px);letter-spacing:-1.3px}.subtitle{font-size:14px}.filters{justify-content:flex-start;padding:3px 10px 9px;gap:8px;margin-top:16px}.brand-chip{padding:9px 17px;font-size:12px}.showcase{height:clamp(330px,105vw,430px)}.product-card{width:clamp(112px,31vw,150px);height:80%}.arrow{width:40px;height:40px;font-size:27px}.prev{left:1%}.next{right:1%}.dots{margin-bottom:17px}.product-info{grid-template-columns:1fr;gap:17px;padding:0 12px}.info-copy h2{font-size:21px;overflow-wrap:anywhere}.info-copy p{font-size:12px}.swatches{gap:10px;margin-top:14px}.swatch{width:24px;height:24px}.detail-btn{width:min(100%,300px);justify-self:center;padding:15px 25px;min-width:0}.about{padding:25px 20px;display:block}.about>p{margin-bottom:0}.dialog-image-wrap{height:320px;padding:38px 18px 6px}.dialog-copy{padding:8px 20px 22px}}
@media(max-width:390px){.search{width:42vw}.showcase{height:330px}.product-card{width:32vw}.arrow{width:36px;height:36px}}

/* WOSIP mobile first-screen layout: make View Details visible sooner.
   Desktop styles are untouched. On phones, the carousel is intentionally shorter
   so the product information and View Details button can fit in the first screen. */
@media (max-width:760px){
  .hero{padding:16px 8px 6px}
  .hero>.eyebrow{margin-bottom:6px}
  h1{font-size:clamp(27px,7.2vw,34px);margin-bottom:3px}
  .subtitle{font-size:13px}
  .filters{margin:10px auto 2px;padding:2px 10px 5px;gap:8px}
  .brand-chip{padding:8px 15px;font-size:12px}
  .showcase{height:280px}
  .product-card{height:82%;top:48%;width:clamp(108px,29vw,140px)}
  .arrow{width:36px;height:36px;font-size:25px}
  .dots{margin:0 0 7px;min-height:10px;gap:9px}
  .dots button{width:9px;height:9px}
  .product-info{grid-template-columns:1fr;gap:9px;padding:0 10px}
  .info-copy h2{font-size:18px;margin:4px 0 2px}
  .info-copy p{font-size:11px}
  .swatches{gap:8px;margin-top:9px}
  .swatch{width:21px;height:21px}
  .detail-btn{width:min(100%,280px);padding:12px 20px;min-width:0;font-size:14px}
  .status{margin:8px 0 0}
}
@media (max-width:390px){
  .showcase{height:280px}
  .product-card{width:30vw;height:82%;top:48%}
  .info-copy h2{font-size:17px}
  .detail-btn{padding:11px 18px}
}



/* Final mobile refinement: compact spacing, balanced bottle scale, subtle ground light.
   No solid platform; desktop styles remain unchanged. */
@media (max-width:760px){
  .hero{padding-top:13px;padding-bottom:6px}
  .hero>.eyebrow{margin-bottom:5px}
  .filters{margin:9px auto 0;padding:2px 10px 4px;gap:8px}
  .showcase{
    height:280px;
    margin-top:0;
    position:relative;
    isolation:isolate;
    overflow:hidden;
  }
  .product-track{z-index:2}
  .product-card{
    width:clamp(116px,34vw,150px);
    height:88%;
    top:38%;
  }
  .product-card img{
    object-fit:contain;
    filter:drop-shadow(0 12px 10px rgba(17,31,55,.17));
  }
  .product-card.center img{
    filter:drop-shadow(0 15px 12px rgba(17,31,55,.20));
  }
  .arrow{z-index:5}
  .dots{position:relative;z-index:3;margin:-38px 0 8px;gap:9px;transform:translateY(-12px)}
  .dots button{width:9px;height:9px}
  .product-info{position:relative;z-index:3}
  .info-copy h2{margin-top:5px}
  .swatches{margin-top:12px}
}
@media (max-width:390px){
  .showcase{height:280px}
  .product-card{width:34vw;height:88%;top:38%}
}


/* WOSIP V7 desktop refinement. Mobile rules above remain unchanged. */
@media (min-width:761px){
  .topbar{height:82px;padding-inline:clamp(36px,6vw,110px);grid-template-columns:minmax(190px,1fr) auto minmax(260px,1fr);column-gap:clamp(32px,5vw,82px)}
  .brandmark{width:176px;height:47px}
  nav{gap:clamp(30px,3.5vw,58px)}
  .search{width:min(330px,23vw);height:44px}
  .hero{max-width:1600px;padding:22px clamp(34px,4vw,72px) 12px}
  .hero>.eyebrow{font-size:12px;margin-bottom:9px}
  h1{font-size:clamp(42px,4.1vw,64px);letter-spacing:-2.2px;margin-bottom:5px}
  .subtitle{font-size:clamp(17px,1.45vw,22px)}
  .filters{gap:14px;margin:15px auto 2px;padding:3px 6px 5px}
  .brand-chip{padding:12px 28px;font-size:15px}
  .showcase{height:clamp(350px,29vw,420px);max-width:1460px;margin:0 auto;overflow:hidden}
  .product-card{width:clamp(130px,13vw,205px);height:82%;max-height:390px;top:48%}
  .arrow{width:60px;height:60px}
  .dots{gap:13px;margin:0 0 14px;min-height:13px}
  .dots button{width:11px;height:11px}
  .product-info{max-width:1120px;grid-template-columns:minmax(0,1fr) 280px;gap:34px;padding:0 28px}
  .info-copy .eyebrow{font-size:12px}
  .info-copy h2{font-size:clamp(27px,2.3vw,34px);margin:9px 0 6px}
  .info-copy p{font-size:16px}
  .swatches{gap:14px;margin-top:16px}
  .swatch{width:32px;height:32px}
  .detail-btn{min-width:260px;padding:20px 30px;font-size:17px}
  .detail-btn span{font-size:23px}
  .status{margin-top:12px}
  .about{padding:42px clamp(48px,8vw,140px)}
  .about h2{font-size:23px}
  .about>p{font-size:15px}
}


/* Center product indicator — attached to the product card so it moves with the bottle.
   Uses the existing .center state from app.js; no SKU text is added beside the marker. */
.product-card::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-14px;
  width:0;
  height:0;
  border-left:9px solid transparent;
  border-right:9px solid transparent;
  border-bottom:12px solid #d62828;
  transform:translateX(-50%);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:4;
  transition:opacity .16s ease, visibility .16s ease;
}
.product-card.center::after{
  opacity:1;
  visibility:visible;
}


/* Final spacing refinement: keep a visible gap between the bottle base and marker.
   Desktop triangle remains 20% smaller than the previous desktop size. */
.product-card::after{
  bottom:29px; /* mobile: move marker down by 5px */
}

@media (min-width:761px){
  .product-card::after{
    bottom:34px;
    border-left-width:10.4px;
    border-right-width:10.4px;
    border-bottom-width:13.6px;
  }
}
