/* ===== Product page: "from our shelf to your door" (checked -> packed -> insured and tracked) ===== */
.ksh{--ksh-dur:5000ms;--gold:#e6c88f;position:relative;display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(18px,3vw,44px);align-items:center;min-height:300px;margin-top:28px;padding:clamp(22px,2.6vw,36px) clamp(22px,3vw,44px);overflow:hidden;border-radius:var(--r);color:#fbf4ea;background:radial-gradient(70% 130% at 78% 45%,#4a2a20 0%,#2a1813 45%,#150c09 100%);box-shadow:inset 0 -1px 0 #c9a66b,0 30px 60px -40px rgba(20,8,6,.9);isolation:isolate}
.ksh::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.05) 1px,transparent 0) 0 0/18px 18px;-webkit-mask:linear-gradient(90deg,transparent 35%,#000);mask:linear-gradient(90deg,transparent 35%,#000)}
.ksh-kicker{margin:0 0 8px;color:var(--gold);font:800 11px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase}
body .ksh h2{max-width:18ch;margin:0;color:#fdf7ee!important;font:500 clamp(28px,2.4vw,40px)/1.06 var(--serif)!important;letter-spacing:-.025em}
.ksh-steps{display:grid;gap:8px;margin:18px 0 0;padding:0;list-style:none}
.ksh-steps li{position:relative;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid rgba(240,217,166,.18);border-radius:11px;background:rgba(255,255,255,.03);cursor:pointer;overflow:hidden;transition:background .3s,border-color .3s}
.ksh-ic{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:rgba(240,217,166,.12);color:var(--gold);transition:background .3s,color .3s}
.ksh-ic .i{width:17px;height:17px}
.ksh-steps li>span:not(.ksh-ic){display:flex;flex-direction:column;color:#d4bfae;font-size:12.5px;line-height:1.4}
.ksh-steps b{color:#fdf7ee;font:500 16px/1.25 var(--serif)}
.ksh-steps i{position:absolute;left:0;bottom:0;width:100%;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left}
.ksh[data-scene="1"] [data-step="1"],.ksh[data-scene="2"] [data-step="2"],.ksh[data-scene="3"] [data-step="3"]{border-color:rgba(240,217,166,.55);background:rgba(255,255,255,.08)}
.ksh[data-scene="1"] [data-step="1"] .ksh-ic,.ksh[data-scene="2"] [data-step="2"] .ksh-ic,.ksh[data-scene="3"] [data-step="3"] .ksh-ic{background:var(--gold);color:#3a1d12}
.ksh.is-live[data-scene="1"] [data-step="1"] i,.ksh.is-live[data-scene="2"] [data-step="2"] i,.ksh.is-live[data-scene="3"] [data-step="3"] i{animation:kshBar var(--ksh-dur) linear both}
.ksh.is-paused *{animation-play-state:paused!important}
@keyframes kshBar{to{transform:none}}

.ksh-stage{position:relative;height:280px;min-width:0}
.ksh-glow{position:absolute;left:50%;top:50%;width:62%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(255,200,150,.2),transparent 65%);transform:translate(-50%,-50%);filter:blur(10px)}
.ksh-check,.ksh-pack,.ksh-route{position:absolute;opacity:0;transition:opacity .45s}
.ksh[data-scene="1"] .ksh-check,.ksh[data-scene="2"] .ksh-pack,.ksh[data-scene="3"] .ksh-route{opacity:1}

/* 1: the exact piece, framed and checked */
.ksh-check{inset:0}
.ksh-photo{position:absolute;left:6%;top:50%;width:clamp(200px,17vw,250px);aspect-ratio:4/3;border-radius:10px;background:#f6f1e8;box-shadow:0 26px 44px -22px rgba(0,0,0,.85);transform:translateY(-50%) rotate(-2deg)}
.ksh-photo img{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain;border-radius:6px}
.ksh-corner{position:absolute;width:22px;height:22px;border:2.5px solid var(--gold);opacity:0}
.ksh-corner.c1{left:-9px;top:-9px;border-right:0;border-bottom:0;border-radius:6px 0 0 0}
.ksh-corner.c2{right:-9px;top:-9px;border-left:0;border-bottom:0;border-radius:0 6px 0 0}
.ksh-corner.c3{left:-9px;bottom:-9px;border-right:0;border-top:0;border-radius:0 0 0 6px}
.ksh-corner.c4{right:-9px;bottom:-9px;border-left:0;border-top:0;border-radius:0 0 6px 0}
.ksh-flash{position:absolute;inset:0;border-radius:10px;background:#fff;opacity:0}
.ksh-chips{position:absolute;right:2%;top:50%;display:grid;gap:9px;margin:0;padding:0;list-style:none;transform:translateY(-50%)}
.ksh-chips li{display:flex;align-items:center;gap:10px;padding:9px 14px 9px 10px;border:1px solid rgba(240,217,166,.28);border-radius:22px;background:rgba(10,4,2,.35);color:#fdf7ee;font-size:13px;font-weight:700;white-space:nowrap;opacity:0;backdrop-filter:blur(4px)}
.ksh-chips li::before{content:"";flex:none;width:20px;height:20px;border-radius:50%;background:#e6c88f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a1d12' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat}
.ksh.is-live[data-scene="1"] .ksh-photo{animation:kshIn .6s cubic-bezier(.16,1,.3,1) both}
.ksh.is-live[data-scene="1"] .ksh-corner{animation:kshCorner .5s cubic-bezier(.34,1.56,.64,1) both .5s}
.ksh.is-live[data-scene="1"] .ksh-flash{animation:kshFlash .5s ease-out both 1.15s}
.ksh.is-live[data-scene="1"] .ksh-chips li{animation:kshChip .45s cubic-bezier(.34,1.56,.64,1) both;animation-delay:calc(1.6s + var(--i) * .55s)}
.ksh:not(.is-live) .ksh-chips li,.ksh:not(.is-live) .ksh-corner{opacity:1}
@keyframes kshIn{from{opacity:0;transform:translateY(-44%) rotate(-6deg) scale(.92)}}
@keyframes kshCorner{from{opacity:0;transform:scale(1.8)}to{opacity:1;transform:none}}
@keyframes kshFlash{0%{opacity:0}15%{opacity:.85}100%{opacity:0}}
@keyframes kshChip{from{opacity:0;transform:translateX(16px)}to{opacity:1;transform:none}}

/* 2: into the box, tissue, lid, tape, seal */
.ksh-pack{inset:0}
.ksh-box{position:absolute;left:50%;top:60%;width:230px;height:140px;transform:translate(-50%,-50%)}
.ksh-box-back{position:absolute;inset:0;border-radius:4px;background:linear-gradient(180deg,#8f6538,#a87a47)}
.ksh-item{position:absolute;left:50%;bottom:26px;width:150px;height:108px;margin-left:-75px;border-radius:6px;background:#f6f1e8;box-shadow:0 10px 20px -10px rgba(0,0,0,.6)}
.ksh-item img{width:100%;height:100%;padding:6px;box-sizing:border-box;object-fit:contain}
.ksh-tissue{position:absolute;left:-6px;right:-6px;top:26px;height:46px;border-radius:40% 45% 8px 8px;background:radial-gradient(60% 80% at 30% 30%,#fffaf1,#efe4d2);box-shadow:inset 0 -6px 12px rgba(160,130,90,.25);opacity:0}
.ksh-tissue.t2{top:36px;left:10px;right:-10px;border-radius:45% 40% 8px 8px;background:radial-gradient(60% 80% at 70% 30%,#fff6ec,#eadcc6)}
.ksh-box-front{position:absolute;left:0;right:0;bottom:0;height:62%;display:grid;place-items:center;border-radius:0 0 6px 6px;background:linear-gradient(180deg,#d6aa76,#bf8d59);box-shadow:inset 0 2px 0 rgba(255,255,255,.25),0 22px 40px -20px rgba(0,0,0,.8)}
.ksh-label{display:flex;flex-direction:column;align-items:center;padding:6px 14px;border-radius:3px;background:#fbf6ee;color:#5b1019;font:500 15px/1.1 var(--serif)}
.ksh-label small{color:#8a7a68;font:800 7.5px/1.4 var(--sans);letter-spacing:.16em;text-transform:uppercase}
.ksh-lid{position:absolute;left:-8px;right:-8px;top:-16px;height:26px;border-radius:4px;background:linear-gradient(180deg,#dcb07c,#c69460);box-shadow:0 8px 14px -8px rgba(0,0,0,.6);opacity:0}
.ksh-tape{position:absolute;left:50%;top:-16px;bottom:0;width:30px;margin-left:-15px;background:rgba(236,220,186,.9);box-shadow:inset 0 0 0 1px rgba(160,120,70,.2);transform:scaleY(0);transform-origin:top}
.ksh-sticker{position:absolute;right:12px;bottom:10px;width:50px;height:50px;opacity:0;filter:drop-shadow(0 6px 8px rgba(60,6,10,.5))}
.ksh-sticker img{width:100%;height:100%;object-fit:contain}
.ksh.is-live[data-scene="2"] .ksh-item{animation:kshDrop .8s cubic-bezier(.3,1.3,.5,1) both .2s}
.ksh.is-live[data-scene="2"] .ksh-tissue.t1{animation:kshTissue .5s ease-out both 1.25s}
.ksh.is-live[data-scene="2"] .ksh-tissue.t2{animation:kshTissue .5s ease-out both 1.55s}
.ksh.is-live[data-scene="2"] .ksh-lid{animation:kshLid .6s cubic-bezier(.3,1.4,.5,1) both 2.3s}
.ksh.is-live[data-scene="2"] .ksh-tape{animation:kshTape .5s ease-out both 3s}
.ksh.is-live[data-scene="2"] .ksh-sticker{animation:kshStamp .5s cubic-bezier(.3,1.6,.5,1) both 3.6s}
.ksh:not(.is-live) .ksh-tissue,.ksh:not(.is-live) .ksh-lid,.ksh:not(.is-live) .ksh-sticker{opacity:1}
.ksh:not(.is-live) .ksh-tape{transform:none}
@keyframes kshDrop{from{opacity:0;transform:translateY(-190px) rotate(-6deg)}to{opacity:1;transform:none}}
@keyframes kshTissue{from{opacity:0;transform:translateY(-30px) scale(.9)}to{opacity:1;transform:none}}
@keyframes kshLid{from{opacity:0;transform:translateY(-120px)}to{opacity:1;transform:none}}
@keyframes kshTape{to{transform:none}}
@keyframes kshStamp{0%{opacity:0;transform:scale(2.4) rotate(-30deg)}60%{opacity:1}100%{opacity:1;transform:rotate(-8deg)}}

/* 3: insured, tracked, delivered */
.ksh-route{left:50%;top:50%;width:520px;height:220px;transform:translate(-50%,-50%) scale(var(--ksh-s,1))}
.ksh-path{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.ksh-path path{fill:none;stroke-linecap:round}
.ksh-path .base{stroke:rgba(240,217,166,.25);stroke-width:2;stroke-dasharray:3 9}
.ksh-path .draw{stroke:var(--gold);stroke-width:2.5;stroke-dasharray:1;stroke-dashoffset:1}
.ksh-pin{position:absolute;display:grid;place-items:center;width:48px;height:48px;margin:-24px 0 0 -24px;border-radius:50%}
.ksh-pin.from{left:40px;top:170px}
.ksh-pin.from img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.5))}
.ksh-pin.to{left:480px;top:70px;background:#fbf6ee;box-shadow:0 0 0 5px rgba(240,217,166,.18),0 10px 20px -8px rgba(0,0,0,.6)}
.ksh-pin.to svg{width:22px;height:22px;fill:#8e1522}
.ksh-parcel{position:absolute;left:0;top:0;width:34px;height:28px;offset-path:path("M40 170 C 150 40, 260 220, 360 110 S 470 60, 480 70");offset-distance:0%;offset-rotate:0deg;opacity:0}
.ksh-parcel span{position:absolute;inset:0;border-radius:4px;background:linear-gradient(180deg,#dcb07c,#c08e5a);box-shadow:0 8px 14px -6px rgba(0,0,0,.7)}
.ksh-parcel span::after{content:"";position:absolute;left:50%;top:0;bottom:0;width:7px;margin-left:-3.5px;background:rgba(236,220,186,.9)}
.ksh-tag{position:absolute;display:inline-flex;align-items:center;gap:7px;padding:7px 12px 7px 9px;border:1px solid rgba(240,217,166,.3);border-radius:18px;background:rgba(10,4,2,.45);color:#fdf7ee;font-size:12.5px;font-weight:700;white-space:nowrap;opacity:0;backdrop-filter:blur(4px)}
.ksh-tag .i{width:15px;height:15px;color:var(--gold)}
.ksh-tag.t1{left:110px;top:44px}
.ksh-tag.t2{left:250px;top:176px}
.ksh-done{position:absolute;left:400px;top:4px;display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 7px;border-radius:18px;background:var(--gold);color:#3a1d12;font-size:12.5px;font-weight:800;opacity:0}
.ksh-done .i{width:16px;height:16px;padding:2px;border-radius:50%;background:#3a1d12;color:var(--gold)}
.ksh.is-live[data-scene="3"] .ksh-path .draw{animation:kshDraw 3.2s cubic-bezier(.45,0,.3,1) both .5s}
.ksh.is-live[data-scene="3"] .ksh-parcel{animation:kshTravel 3.2s cubic-bezier(.45,0,.3,1) both .5s}
.ksh.is-live[data-scene="3"] .ksh-tag.t1{animation:kshChip .45s cubic-bezier(.34,1.56,.64,1) both 1.2s}
.ksh.is-live[data-scene="3"] .ksh-tag.t2{animation:kshChip .45s cubic-bezier(.34,1.56,.64,1) both 2.2s}
.ksh.is-live[data-scene="3"] .ksh-done{animation:kshPop .5s cubic-bezier(.34,1.56,.64,1) both 3.75s}
.ksh.is-live[data-scene="3"] .ksh-pin.to{animation:kshRing 1s ease-out both 3.7s}
.ksh:not(.is-live) .ksh-path .draw{stroke-dashoffset:0}
.ksh:not(.is-live) .ksh-tag,.ksh:not(.is-live) .ksh-done{opacity:1}
@keyframes kshDraw{to{stroke-dashoffset:0}}
@keyframes kshTravel{0%{opacity:0;offset-distance:0%}8%{opacity:1}92%{opacity:1}100%{opacity:0;offset-distance:100%}}
@keyframes kshPop{from{opacity:0;transform:translateY(8px) scale(.8)}to{opacity:1;transform:none}}
@keyframes kshRing{40%{box-shadow:0 0 0 14px rgba(240,217,166,.28),0 10px 20px -8px rgba(0,0,0,.6)}}
.ksh[data-scene="0"] .ksh-stage>*:not(.ksh-glow){opacity:0}

@media(max-width:1250px){.ksh{--ksh-s:.85}}
@media(max-width:980px){.ksh{grid-template-columns:1fr;--ksh-s:.9}.ksh-steps{grid-template-columns:repeat(3,minmax(0,1fr))}.ksh-steps li{flex-direction:column;align-items:flex-start}}
@media(max-width:600px){.ksh{--ksh-s:.62;padding:22px 16px}.ksh-stage{height:230px}.ksh-steps{grid-template-columns:1fr}.ksh-steps li{flex-direction:row;align-items:center}.ksh-photo{left:0;width:170px}.ksh-chips li{font-size:11.5px;padding:7px 10px 7px 8px}}
@media(prefers-reduced-motion:reduce){.ksh *{animation:none!important;transition:none!important}}
