/* Home page – flowing layout. One spacing scale for the whole page:
   sections 80px apart, header→content 40px, grid gap 24px. Titles #0078c0, Capitalised. */
:root{--blue:#0078c0;--navy:#01316c;--sec:80px;--hd:40px;--gap:24px}
.hm section,.hm .hm-sec{padding:0}
.hm-sec{margin-top:var(--sec)}
.hm-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:var(--hd)}
.hm-head .btn{flex:none}
.hm-title{font-size:clamp(30px,3.6vw,44px);line-height:1.15;font-weight:700;color:var(--blue);text-transform:capitalize}
.hm-sub{font-size:18px;color:#333;margin-top:10px;line-height:1.4}
.hm .btn{text-transform:capitalize}

/* hero */
.hm-hero{position:relative;min-height:560px;display:flex;align-items:center;overflow:hidden;background:#dff4f3}
.hm-slides{position:absolute;inset:0}
.hm-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s,visibility .7s}
.hm-slide.on{opacity:1;visibility:visible}
.hm-slide img,.hm-slide video{display:block;width:100%;height:100%;object-fit:cover;object-position:35% center}
.hm-slide video{object-position:center}
.hm-ctl{position:absolute;left:50%;bottom:44px;transform:translateX(-50%);display:flex;align-items:center;gap:6px;max-width:94%;background:rgba(255,255,255,.9);border-radius:30px;padding:4px 8px;box-shadow:0 4px 16px rgba(1,49,108,.14)}
.hm-ctl button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:30px;height:30px;border:0;border-radius:50%;background:none;color:#01316c;padding:0;cursor:pointer}
.hm-ctl button:hover{background:#e8eff8}
.hm-ctl svg{width:14px;height:14px;fill:currentColor}
.hm-ctl .hm-dots{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.hm-ctl .hm-dots button{width:18px;border-radius:9px}
.hm-ctl .hm-dots button::before{content:"";width:9px;height:9px;border-radius:5px;background:#b8cbe3;transition:width .25s,background .25s}
.hm-ctl .hm-dots button.on{width:34px}
.hm-ctl .hm-dots button.on::before{width:24px;background:#01316c}
.hm-ctl [data-pause] .play,.hm-ctl [data-pause].paused .pause{display:none}
.hm-ctl [data-pause].paused .play{display:block}
.hm-hero .sh-wrap{position:relative;width:100%;transition:opacity .3s}
.hm-hero.moving .sh-wrap{opacity:0}
.hm-hero h1{font-size:clamp(30px,4.2vw,60px);font-weight:700;color:var(--blue);text-transform:capitalize;line-height:1.12;margin-bottom:22px}
.hm-hero p{font-size:18px;line-height:1.4;color:#1e1e1e;max-width:420px;margin-bottom:30px}
.hm-hero .cta{display:flex;gap:16px;flex-wrap:wrap}

/* occasion strip – same width as the page content */
.hm-strip{margin-top:var(--sec);position:relative;z-index:2}
.hm-hero+.hm-strip{margin-top:-30px}
.hm-strip .in{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid #d0e3fa;border-radius:40px;padding:18px 48px;box-shadow:0 6px 24px rgba(1,49,108,.08);overflow-x:auto;scrollbar-width:none}
.hm-strip .it{display:flex;align-items:center;gap:8px;font-weight:600;font-size:16px;color:#013490;white-space:nowrap;transition:color .2s}
.hm-strip .it:hover{color:var(--blue)}
.hm-strip .ic{position:relative;width:24px;height:24px;flex:none}
.hm-strip .ic i{position:absolute;display:block}
.hm-strip .ic i img{width:100%;height:100%;max-width:none;object-fit:contain}

/* product cards */
.hm-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap)}
.hc{display:flex;flex-direction:column;border-radius:28px;overflow:hidden;background:#fff;border:1px solid #edf0f5;box-shadow:0 2px 24px rgba(0,0,0,.05);transition:transform .2s,box-shadow .2s}
.hc:hover{transform:translateY(-3px);box-shadow:0 10px 32px rgba(1,49,108,.12)}
.hc .im{position:relative;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center}
.hc .im img{max-width:78%;max-height:80%;object-fit:contain}
.hc .pill{position:absolute;inset-inline-start:16px;top:16px;height:30px;padding:0 18px;border-radius:15px;font-weight:600;font-size:14px;display:flex;align-items:center}
.hc .bd{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.hc h3{font-size:18px;line-height:1.25;color:#1e1e1e;text-transform:capitalize}
.hc .sub{color:#5a6378;font-size:14px;margin-top:-4px}
.hc .pr{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:auto}
.hc .pr .a{display:flex;align-items:center;gap:5px;font-weight:700;font-size:20px;color:var(--navy)}
.hc .pr .u{display:flex;align-items:center;gap:2px;color:#5a6378;font-size:15px}
.hc .pr .st{display:flex;align-items:center;gap:4px;color:#888;font-size:15px;text-decoration:line-through}
.hc form{margin:0}
.hc .add{width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:30px;border:1.5px solid var(--navy);background:var(--navy);color:#fff;font-weight:600;font-size:15px;cursor:pointer;text-transform:capitalize;transition:background .2s,border-color .2s}
.hc .add img{width:20px;height:20px}
.hc .add[disabled]{opacity:.5;cursor:not-allowed}

/* hydration in motion */
.hm-tiles{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap)}
.hm-tile{position:relative;border-radius:32px;overflow:hidden;min-height:540px}
.hm-tile>img.bgi{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm-tile .glass{position:absolute;inset-inline-start:24px;inset-inline-end:24px;bottom:24px;background:rgba(255,255,255,.75);backdrop-filter:blur(14px);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:22px;align-items:flex-start}
.hm-tile .glass p{font-weight:600;font-size:20px;color:var(--navy);text-transform:capitalize}
.hm-tile .shade{position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85),rgba(0,0,0,0) 55%)}
.hm-tile .play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:0;background:none;cursor:pointer;width:100px;height:100px;padding:0;transition:transform .2s}
.hm-tile .play:hover{transform:translate(-50%,-50%) scale(1.08)}
.hm-tile .play img{width:100%;height:100%}
.hm-tile .cap{position:absolute;inset-inline-start:28px;bottom:26px;font-weight:700;font-size:20px;color:#fff;text-transform:capitalize}
.hm-tile .ctl{position:absolute;inset-inline-end:24px;bottom:24px;display:flex;gap:10px;align-items:center;color:#fff;font-weight:500;font-size:14px}

/* bundle builder */
.hm-bundle{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);align-items:stretch}
.hm-bundle .vis{display:flex;flex-direction:column;gap:var(--gap)}
.hm-bundle .main{flex:1;min-height:340px;border-radius:32px;overflow:hidden;position:relative}
.hm-bundle .main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm-bundle .thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--gap)}
.hm-bundle .thumbs div{border-radius:16px;overflow:hidden;background:#e8eff8;aspect-ratio:1.44/1}
.hm-bundle .thumbs img{width:100%;height:100%;object-fit:cover}
.bcard{background:#fff;border:1px solid #e4eaf3;border-radius:32px;padding:28px;box-shadow:0 2px 32px rgba(1,49,108,.06);display:flex;flex-direction:column;gap:20px}
.bcard .lbl{font-weight:700;font-size:18px;color:#333;text-transform:capitalize}
.bcard .chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}
.bcard .chip{text-transform:capitalize;padding:10px 22px;border-radius:30px;border:1.5px solid #d0e3fa;background:#fff;color:var(--navy);font-weight:600;font-size:15px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.bcard .chip.on{background:var(--navy);border-color:var(--navy);color:#fff}
.bcard .priceln{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bcard .big{display:flex;align-items:center;gap:5px;font-weight:700;font-size:26px;color:var(--navy)}
.bcard .sm{display:flex;align-items:center;gap:10px;font-weight:500;font-size:18px;color:#5a6378}
.bcard .sm span{display:flex;align-items:center;gap:3px}
.bcard .save{font-weight:600;font-size:20px;color:#049763;text-transform:capitalize}
.bcard .fh{display:flex;justify-content:space-between;font-size:16px;color:#333}
.bcard .fh b{font-weight:600;text-transform:uppercase}
.frow{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #edf0f5}
.frow:first-of-type{border-top:0}
.frow .l{display:flex;align-items:center;gap:14px}
.frow .th{position:relative;width:70px;height:70px;border-radius:14px;overflow:hidden;flex:none}
.frow .th img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:82%;max-height:82%;object-fit:contain}
.frow h4{font-size:17px;color:#1e1e1e;font-weight:600}
.frow .n{font-size:14px;color:#5a6378}
.frow .qty{display:flex;align-items:center;gap:6px}
.frow .qty button{width:34px;height:34px;border-radius:50%;border:1.5px solid #d0e3fa;background:#fff;color:var(--navy);font-size:18px;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.frow .qty span{min-width:28px;text-align:center;font-weight:600}
.bcard .free{display:flex;align-items:center;gap:10px;color:#5a6378;font-weight:500;font-size:16px;flex-wrap:wrap}
.bcard .free .p{display:flex;align-items:center;gap:8px}

/* shop by category */
/* needs two classes, or the ".hm section" reset above removes the space inside the blue band */
.hm .hm-cat{background:#eff5fc;padding:calc(var(--sec) * .8) 0;margin-top:var(--sec)}
.hm-cat .wrap{display:grid;grid-template-columns:283px minmax(0,1fr);gap:var(--gap);align-items:start}
.cat-tabs{display:flex;flex-direction:column;gap:16px}
.catbtn{display:flex;align-items:center;gap:11px;padding:14px 18px;border-radius:32px;background:#fff;border:1.5px solid #d0e3fa;font-weight:600;font-size:16px;color:var(--navy);text-transform:capitalize;line-height:1.2;cursor:pointer;text-align:start;width:100%;transition:background .2s,border-color .2s,color .2s}
.catbtn span{flex:1}
.catbtn img{width:22px;height:22px}
.catbtn.on{background:#d1e3f9;border-color:var(--navy)}
.car{min-width:0}
.car-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:4px 2px 12px}
.car-track::-webkit-scrollbar{display:none}
.car-track .hc{min-width:0}
.car-track .hc[hidden]{display:none}
.car-foot{display:none}
.car.is-slider .car-track{display:flex;grid-template-columns:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.car.is-slider .car-track .hc{flex:0 0 calc((100% - 40px)/3);min-width:0;scroll-snap-align:start}
.car.is-slider .car-foot{display:flex;align-items:center;gap:20px;margin-top:20px}
.car-bar{flex:1;height:6px;border-radius:6px;background:#dbe7f6;overflow:hidden}
.car-bar i{display:block;height:100%;width:30%;border-radius:6px;background:var(--navy);transition:width .15s,margin-inline-start .15s}
.car-btns{display:flex;gap:10px}
.car-btns button{width:44px;height:44px;border-radius:50%;border:1.5px solid var(--navy);background:#fff;color:var(--navy);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:background .2s,color .2s,border-color .2s}
.car-btns button svg{width:20px;height:20px;stroke:currentColor}
.car-empty{padding:40px;text-align:center;color:#5a6378}

/* benefits */
.hm-ben{display:grid;grid-template-columns:1fr 1fr;gap:var(--gap);align-items:center}
.hm-ben .tag{display:inline-flex;background:#c4ebfb;border-radius:32px;padding:7px 18px;font-weight:600;font-size:16px;color:var(--navy);text-transform:capitalize}
.hm-ben h2{margin-top:20px}
.hm-ben p.d{margin-top:16px;font-size:18px;color:#333;line-height:1.45;max-width:520px}
.hm-ben .chs{display:flex;gap:10px;margin:22px 0 28px}
.chipna{display:inline-flex;align-items:center;gap:8px;padding-block:6px;padding-inline:6px 16px;border-radius:30px;border:1px solid #dce7f2;font-weight:500;background:#fff}
.chipna i{font-style:normal;font-weight:700;border-radius:20px;padding:5px 10px;font-size:14px}
.hm-ben .pic{border-radius:32px;overflow:hidden;height:395px}
.hm-ben .pic img{width:100%;height:100%;object-fit:cover}
.hm-bcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--gap);margin-top:var(--hd)}
.bcard2{display:flex;gap:14px;background:#fff;border:1.5px solid #01316c;border-radius:20px;padding:22px 20px;transition:box-shadow .2s,transform .2s}
.bcard2:hover{box-shadow:0 8px 24px rgba(1,49,108,.15);transform:translateY(-2px)}
.bcard2 .ic{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex:none}
.bcard2 .ic img{width:20px;height:20px}
.bcard2 h3{font-weight:600;font-size:17px;color:var(--navy);text-transform:capitalize}
.bcard2 p{font-size:14px;line-height:1.45;color:#333;margin-top:4px}

/* promo */
.hm-promo{position:relative;border-radius:32px;overflow:hidden;min-height:340px;display:flex;align-items:center;background:#e4f4f2}
.hm-promo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm-promo .in{position:relative;padding:48px;max-width:560px}
.hm-promo .hm-sub{margin:16px 0 28px}
.hm-end{height:var(--sec)}

/* long titles: keep them on one line on desktop */
@media (min-width:1001px){
  .hm-ben{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
  .hm-ben h2.hm-title{font-size:clamp(26px,2.85vw,40px)}
  .hm-promo .in{max-width:590px}
  .hm-promo h2.hm-title{font-size:clamp(22px,2.15vw,30px)}
  .hm-promo .hm-sub{max-width:min(464px,36vw)}
}

@media (max-width:1000px){
  .hm-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-tiles,.hm-bundle,.hm-ben{grid-template-columns:1fr}
  .hm-cat .wrap{grid-template-columns:1fr}
  .cat-tabs{flex-direction:row;overflow-x:auto;scrollbar-width:none}
  .catbtn{width:auto;white-space:nowrap;flex:none}.catbtn img:last-child{display:none}
  .car-track{grid-template-columns:repeat(2,minmax(0,1fr))}.car.is-slider .car-track .hc{flex-basis:calc((100% - 20px)/2)}
  .hm-bcards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-strip .in{padding:16px 28px;gap:26px;justify-content:flex-start}
}
@media (max-width:600px){
  :root{--sec:56px;--hd:28px}
  .hm-head{flex-direction:column;align-items:flex-start}
  .hm-grid4{grid-template-columns:1fr}
  .car-track{grid-template-columns:1fr}.car.is-slider .car-track .hc{flex-basis:84%}
  .hm-tile{min-height:440px}.hm-hero{min-height:480px}
  .hm-hero.has-ctl{padding:36px 0 108px}
  .hm-promo .in{padding:30px 24px}
  .hm-bcards{grid-template-columns:1fr}
}

.hm-bundle .thumbs .th{border:2px solid transparent;padding:0;border-radius:16px;overflow:hidden;background:#e8eff8;aspect-ratio:1.44/1;cursor:pointer;transition:border-color .2s,transform .15s}
.hm-bundle .thumbs .th:hover{border-color:#0078c0;transform:translateY(-2px)}
.hm-bundle .thumbs .th.on{border-color:#01316c}
.hm-bundle .thumbs .th img{width:100%;height:100%;object-fit:cover}
.hm-bundle .main img{transition:opacity .15s}


/* motion video tile */
.hm-tile>video.bgi{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hm-video{cursor:pointer}
.hm-tile .ctl .ctl-btn{border:0;background:none;padding:0;margin:0;cursor:pointer;line-height:0}
.hm-tile .ctl .ctl-btn img{display:block}


/* featured brand video */
.hm-video-sec{padding-top:26px}
.hm-video-sec .vhead{flex-direction:column;align-items:center;text-align:center;margin-bottom:30px}
.hm-video-sec .vhead .hm-sub{margin-top:8px;max-width:600px}
.hm-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#049763;background:#e6f7ef;padding:6px 15px;border-radius:30px;margin-bottom:14px}
.hm-video-feature{position:relative;border-radius:28px;overflow:hidden;background:#000;aspect-ratio:16/9;box-shadow:0 26px 64px rgba(1,49,108,.20);border:1px solid rgba(1,49,108,.05)}
.hm-video-feature video{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.vsound{position:absolute;inset-inline-end:18px;bottom:62px;display:inline-flex;align-items:center;gap:8px;background:rgba(1,49,108,.92);color:#fff;border:0;border-radius:30px;padding:10px 18px;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .25s,transform .2s;z-index:2}
.vsound:hover{transform:translateY(-1px);background:rgba(1,49,108,1)}
.vsound.hide{opacity:0;pointer-events:none;transform:translateY(6px)}
@media(max-width:700px){.hm-video-feature{border-radius:18px}.vsound{bottom:52px;inset-inline-end:12px;padding:8px 14px;font-size:13px}}

/* hero on phones and small tablets: wording on top, the whole product picture underneath,
   so a wide banner is never cut through the product */
.hm-slide picture{display:contents}
@media (max-width:900px){
  .hm section.hm-hero,.hm section.hm-hero.has-ctl{--pic:min(75vw,440px);display:block;min-height:0;padding:28px 0 var(--pic)}
  /* the clear left part of the banner, stretched, carries its colour up behind the wording */
  .hm-slide{background:var(--slide,none) left center/400% 100% no-repeat}
  .hm-slide img,.hm-slide video{position:absolute;left:0;bottom:0;height:var(--pic);object-position:90% center}
  .hm-slide img{-webkit-mask-image:linear-gradient(transparent,#000 10%);mask-image:linear-gradient(transparent,#000 10%)}
  .hm-slide video{object-fit:contain;object-position:center bottom}
  .hm-slide.ar-art{background-position:right center}
  .hm-slide.ar-art img{object-position:10% center}
  .hm-hero p{max-width:none;margin-bottom:22px}
  .hm-ctl{bottom:6px}
  .hm-hero+.hm-strip{margin-top:12px}
}
/* a tall phone picture fills the whole banner */
@media (max-width:700px){
  .hm-slide.has-m img{height:100%;object-position:center bottom;-webkit-mask-image:none;mask-image:none}
}
/* narrow phones: the bundle pictures shrink to fit */
@media (max-width:600px){.hm-bundle{grid-template-columns:minmax(0,1fr)}.hm-bundle>*{min-width:0}.hm-bundle .thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}}
/* a phone picture keeps its products below the wording */
@media (max-width:700px){
  .hm section.hm-hero:has(.hm-slide.has-m){padding-bottom:82vw}
  .hm-slide.has-m img{height:min(100%,160vw);-webkit-mask-image:linear-gradient(transparent,#000 10%);mask-image:linear-gradient(transparent,#000 10%)}
}
