/* Collections presentation and requested shared frontend refinements. */
#site-header{position:sticky;top:0;z-index:40}
body[data-page=index] #site-header{position:fixed}
#site-header .desktop-nav .is-current,#site-header .desktop-nav .is-current:hover,#site-header .mobile-nav .is-current{color:var(--accent-text);opacity:1}
#site-header .mobile-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:16px var(--pad) 24px;background:var(--surface);color:var(--ink);max-height:min(75dvh,600px);overflow-y:auto}
#site-header .mobile-nav.open>a,#site-header .mobile-nav.open>button,#site-header .stage-mobile-categories>summary{display:block;width:100%;padding:12px 14px;text-align:left;border-bottom:1px solid var(--line);font-size:15px;font-weight:650;line-height:1.35;color:var(--accent-text)}
#site-header .mobile-nav.open>button{background:none}
#site-header .stage-mobile-categories{width:100%}
#site-header .stage-mobile-categories>summary{cursor:pointer}
#site-header .stage-mobile-category-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 0 14px}
#site-header .stage-mobile-category-links a{display:block;min-width:0;padding:10px 14px;border:1px solid var(--line);border-radius:7px;color:var(--ink);background:var(--stone);font-size:13px;line-height:1.3}
#site-header .stage-mobile-category-links a:hover,#site-header .stage-mobile-category-links a:focus-visible{border-color:var(--accent-text);color:var(--accent-text)}
#site-header .mobile-nav .search-wrap{width:100%;margin-top:14px}

.stage-collections{background:none!important;overflow-y:auto!important;overflow-x:hidden!important;color:#fff!important}
.collections-scene{position:relative;isolation:isolate;min-height:100%;overflow:hidden;background:#102943 url('collections-terrace-dark.webp') center/cover no-repeat;color:#fff}
.collections-scene::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#04132778,#04132724 42%,#07101d78)}
html[data-theme=light] .collections-scene{background-image:url('collections-terrace-light.webp');color:#18212b}
html[data-theme=light] .collections-scene::before{background:linear-gradient(180deg,#fffaf2b0,#fffaf225 44%,#f7f3ead0)}
.stage-overlay-top{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:25px;padding:22px clamp(20px,4vw,70px);font-size:13px;letter-spacing:.12em;color:inherit}
.stage-overlay-top span{white-space:nowrap;font-weight:800}
.stage-overlay-top nav{display:flex;gap:24px;font-size:13px;letter-spacing:0;font-weight:650}
.stage-overlay-top nav a:hover{color:#ff792c}
.stage-overlay-top button{justify-self:end;display:grid;place-items:center;width:54px;height:54px;padding:0;border-radius:50%;border:1px solid currentColor;background:#19304b70;color:inherit;font-size:34px;line-height:1}
.stage-overlay-top button:hover{background:#f56a20;color:#fff}
.stage-collection-intro{text-align:center;margin:8px auto 0;padding:0 18px}
.stage-collection-intro h2{font:800 clamp(34px,4.5vw,67px)/1.06 Inter,"Segoe UI",Arial,sans-serif!important;letter-spacing:-.05em;margin:0;color:inherit}
.stage-collection-intro .eyebrow{color:#f77735;margin:0 0 12px}
.collections-carousel{width:100%;max-width:1680px;margin:0 auto;padding:0 0 18px}
.collection-deck{position:relative;height:clamp(430px,61dvh,640px);perspective:1400px;overflow:visible}
.collection-card{position:absolute;top:5%;left:50%;display:flex;flex-direction:column;width:clamp(280px,26vw,410px);height:88%;overflow:hidden;border:1px solid #ffffff94;border-radius:20px;background:#16222c;box-shadow:0 20px 40px #020b18a8;transform:translateX(calc(-50% + var(--shift))) rotateY(var(--angle)) scale(var(--size));opacity:var(--opacity);z-index:var(--layer);transition:transform .48s cubic-bezier(.2,.75,.2,1),opacity .48s,border-color .3s,box-shadow .3s;cursor:pointer}
.collection-card[data-offset="0"]{--shift:0px;--angle:0deg;--size:1;--opacity:1;--layer:5;border-color:#ff8a3e;box-shadow:0 20px 40px #020b18b8,0 0 0 2px #ff8a3e91,0 0 22px #ff732865}
.collection-card[data-offset="-1"]{--shift:-30vw;--angle:12deg;--size:.78;--opacity:.91;--layer:3}
.collection-card[data-offset="1"]{--shift:30vw;--angle:-12deg;--size:.78;--opacity:.91;--layer:3}
.collection-card[data-offset="-2"]{--shift:-49vw;--angle:18deg;--size:.62;--opacity:.72;--layer:1}
.collection-card[data-offset="2"]{--shift:49vw;--angle:-18deg;--size:.62;--opacity:.72;--layer:1}
.collection-card[data-offset="0"]::after{content:'';position:absolute;inset:-1px;z-index:4;pointer-events:none;border-radius:inherit;border:2px solid transparent;background:linear-gradient(110deg,transparent 20%,#ff8a43,transparent 45%,#66b8ff,transparent 80%) border-box;mask:linear-gradient(#fff 0 0) padding-box,linear-gradient(#fff 0 0);mask-composite:exclude;background-size:320% 100%;animation:collection-edge 7s linear infinite}
@keyframes collection-edge{to{background-position:-320% 0}}
.collection-card-image{height:61%;flex:none;overflow:hidden;background:#39516a}
.collection-card-image img{width:100%;height:100%;object-fit:cover;object-position:center 53%}
.collection-card-content{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px 20px 18px;background:linear-gradient(150deg,#141e29,#172532);color:#fff;text-align:center}
.collection-number{align-self:flex-start;color:#ff873e;font-size:12px;font-weight:800;letter-spacing:.12em}
.collection-card h3{font:800 clamp(23px,2vw,32px)/1.1 Inter,"Segoe UI",Arial,sans-serif!important;margin:0;color:#fff}
.collection-card p{margin:0;color:#d9e1e9;font-size:clamp(11px,.9vw,14px);line-height:1.35}
.collection-explore{display:inline-flex;align-items:center;justify-content:center;min-height:38px;margin-top:7px;padding:8px 20px;border:1px solid #ff9b63;border-radius:999px;background:#f26822;color:#fff;font-size:12px;font-weight:750;white-space:nowrap;transition:background .2s,transform .2s,box-shadow .2s}
.collection-explore:hover,.collection-explore:focus-visible{background:#c94d10;color:#fff;box-shadow:0 0 0 3px #ffb37580;transform:translateY(-2px)}
.collection-controls{display:flex;align-items:center;justify-content:center;gap:35px;color:inherit;font-weight:800;letter-spacing:.12em}
.collection-controls button{display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid #73b7ed;border-radius:50%;background:#0b365b;color:#fff;font-size:29px;line-height:1;transition:background .2s,transform .2s}
.collection-controls button:last-child{background:#f26822;border-color:#ff9d57}
.collection-controls button:hover,.collection-controls button:focus-visible{background:#1469a3;transform:translateY(-2px)}
.collection-controls button:last-child:hover,.collection-controls button:last-child:focus-visible{background:#c94d10}
.collection-count{min-width:65px;text-align:center;font-size:16px}
.stage-discover.section{max-width:none;padding:0;margin:0;overflow:hidden}
.stage-discover .collections-scene{padding:74px 0 70px}
.stage-discover .collection-deck{height:clamp(430px,48vw,580px)}
.stage-discover .collection-card{width:clamp(280px,26vw,390px)}
.collections-full-button{display:flex;width:max-content;margin:25px auto 0}
html[data-theme=light] .collection-card-content{background:linear-gradient(145deg,#203448,#16293c)}
.stage-deals-list{gap:16px}
.stage-deal-card{display:grid;grid-template-columns:120px minmax(0,1fr);min-height:160px;padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 8px 20px #0001;transition:transform .23s,border-color .23s,box-shadow .23s}
.stage-deal-card:hover,.stage-deal-card:focus-within{transform:translateY(-3px) scale(1.01);border-color:var(--accent);box-shadow:0 6px 22px #e65a2540}
.stage-deal-image{display:block;aspect-ratio:1;align-self:center;background:var(--stone);border-radius:8px;overflow:hidden}
.stage-deal-image img{width:100%;height:100%;object-fit:contain;padding:6px}
.stage-deal-copy{display:flex;flex-direction:column;justify-content:space-between;gap:12px;padding:5px 3px 5px 14px}
.stage-deal-copy strong{display:block;font-size:15px;line-height:1.3}
.stage-deal-copy small{display:block;color:var(--muted);font-size:12px}
.stage-deal-prices{display:flex;gap:10px;align-items:baseline;font-size:13px}.stage-deal-prices s{color:var(--muted)}.stage-deal-prices b{color:var(--accent-text);font-size:16px}
.stage-deal-link{align-self:flex-start;border:1px solid var(--accent-text);border-radius:7px;padding:6px 12px;color:var(--accent-text);font-weight:750;font-size:12px}
.stage-deal-link:hover{background:var(--accent);color:#fff}
.product-detail{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,5vw,72px)}
.product-detail>div:first-child{min-width:0}
.gallery-main{display:block;width:min(100%,590px);height:auto;aspect-ratio:1;object-fit:contain;padding:clamp(12px,2vw,26px);border:1px solid var(--line);border-radius:12px;background:var(--stone);box-shadow:0 0 0 1px #f36c2c29,0 8px 26px #0001}
.gallery-thumbs img{object-fit:contain;background:var(--stone)}
.price-compare{margin-right:10px;color:var(--muted);font-size:.7em;font-weight:400}
.stage-featured .section-heading .text-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 17px;border:1px solid var(--accent);border-radius:8px;background:var(--accent);color:#fff;font-size:14px;font-weight:700}
.stage-featured .section-heading .text-link:hover,.stage-featured .section-heading .text-link:focus-visible{background:#b34510;color:#fff}
@media(max-width:800px){.product-detail{grid-template-columns:1fr}.gallery-main{margin-inline:auto}.stage-overlay-top{grid-template-columns:1fr auto}.stage-overlay-top nav{display:none}.collection-deck{height:490px}.collection-card{width:min(70vw,340px);height:88%}.collection-card[data-offset="-1"]{--shift:-63vw}.collection-card[data-offset="1"]{--shift:63vw}.collection-card[data-offset="-2"],.collection-card[data-offset="2"]{opacity:0;pointer-events:none}.stage-discover .collections-scene{padding:60px 0}.stage-discover .collection-deck{height:490px}.stage-discover .collection-card{width:min(70vw,340px)}}
@media(max-width:520px){.stage-overlay-top{padding:14px 18px}.stage-overlay-top span{font-size:10px;letter-spacing:.06em}.stage-overlay-top button{width:42px;height:42px;font-size:27px}.stage-collection-intro h2{font-size:clamp(31px,8vw,42px)}.collection-deck,.stage-discover .collection-deck{height:clamp(440px,70dvh,530px)}.collection-card,.stage-discover .collection-card{width:min(78vw,315px);height:87%}.collection-card-image{height:57%}.collection-card-content{padding:11px 14px}.collection-card h3{font-size:23px}.collection-card p{font-size:11px}.collection-controls{gap:23px}.collection-controls button{width:45px;height:45px}.stage-collections .collections-scene{min-height:100dvh;padding-bottom:25px}.stage-discover .collections-scene{padding-bottom:55px}.stage-deal-card{grid-template-columns:96px minmax(0,1fr)}.stage-deal-copy{padding-left:10px}}
@media(max-width:560px){#site-header .stage-mobile-category-links{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.collection-card,.collection-card::after,.collection-controls button,.collection-explore,.stage-deal-card{animation:none!important;transition:none!important}}

/* Undo the old Deals row rule on links nested inside the new card. */
.stage-deals-list .stage-deal-card a{display:inline;padding:0;border:0;gap:0;min-width:0}
.stage-deals-list .stage-deal-card .stage-deal-image{display:block;aspect-ratio:1;align-self:center;border-radius:8px;overflow:hidden}
.stage-deals-list .stage-deal-card .stage-deal-link{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border:1px solid var(--accent-text);border-radius:7px}

/* Deals reuse the exact shared product card and cart/variant handlers. */
.stage-deals-list .product-card{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto;gap:0 12px;padding:11px;min-height:160px}
.stage-deals-list .product-card .product-image{grid-column:1;grid-row:1/3;width:112px;height:112px;margin:0;align-self:center}
.stage-deals-list .product-card-body{grid-column:2;grid-row:1;min-height:0;padding:2px 0 5px}
.stage-deals-list .product-card .product-meta{display:block}
.stage-deals-list .product-card .product-meta h3{font-size:15px}
.stage-deals-list .product-card .product-meta b{display:block;margin:5px 0 0;font-size:15px}
.stage-deals-list .product-card-actions{grid-column:2;grid-row:2;gap:7px;min-height:43px;margin:0;padding-top:5px}
.stage-deals-list .product-card-bag{width:36px;height:36px}
.stage-deals-list .product-card-view{min-height:34px;font-size:12px}
.stage-deals-list .card-variant-picker{grid-column:1/-1;grid-row:3;margin:10px 0 0}
.stage-deals-list .product-card a{border-color:initial}
.stage-deals-list .product-card .product-card-view{border-color:var(--accent-text)}
@media(max-width:390px){.stage-deals-list .product-card{grid-template-columns:88px minmax(0,1fr)}.stage-deals-list .product-card .product-image{width:88px;height:88px}}
.stage-deals-list .product-card a{display:inline;padding:0;border:0;gap:0}
.stage-deals-list .product-card .product-image{display:block}
.stage-deals-list .product-card .product-card-view{display:inline-flex;padding:6px 8px;border:1.5px solid var(--accent-text)}
