.merch-page{background:var(--cream)}
.merch-page .button,.merch-page .main-nav .nav-cta{border-radius:14px}
.merch-page main>.section,.merch-page .merch-order,.merch-page .site-footer{position:relative;z-index:2;margin-top:-18px;overflow:clip;border-radius:26px 26px 0 0;box-shadow:0 -14px 34px rgba(43,25,23,.08)}
.merch-hero{position:relative;padding-block:48px 72px;overflow:hidden}
.merch-hero::after{position:absolute;right:-180px;bottom:-190px;width:440px;height:440px;border:1px solid rgba(155,13,13,.14);border-radius:50%;content:""}
.merch-hero-grid{display:grid;gap:36px;align-items:center}
.merch-hero-copy{position:relative;z-index:1}
.merch-hero-copy h1{max-width:760px}
.merch-lead{max-width:660px;margin-bottom:28px;font-size:18px}
.merch-hero-actions{display:grid;gap:10px}
.merch-hero-actions span{color:var(--muted);font-size:12px;text-align:center}
.merch-hero-visual{position:relative;margin:0;overflow:hidden;border-radius:34px;background:var(--rose);box-shadow:var(--shadow)}
.merch-hero-visual img{width:100%;height:auto}
.hero-logo,.merch-product-image::after,.set-item-logo{position:absolute;display:block;background:currentColor;content:"";-webkit-mask:url('/assets/brand/icon-512.png?v=20260823-2') center/contain no-repeat;mask:url('/assets/brand/icon-512.png?v=20260823-2') center/contain no-repeat}
.hero-logo{width:4.6%;aspect-ratio:1/1;transform:translate(-50%,-50%)}
.hero-logo-hoodie{top:20%;left:30%;color:#f5e7d3}
.hero-logo-sweatshirt{top:19.7%;left:80.2%;color:var(--wine)}
.hero-logo-tshirt{top:69%;left:31.2%;color:var(--wine)}
.hero-logo-backpack{top:69%;left:75%;color:#f5e7d3}
.merch-hero-visual figcaption{position:absolute;right:16px;bottom:16px;padding:9px 13px;border:1px solid rgba(255,255,255,.7);border-radius:100px;background:rgba(255,253,249,.88);font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;backdrop-filter:blur(8px)}
.merch-proof{position:relative;z-index:2;padding-bottom:18px;color:#fff;border-radius:28px 28px 0 0;background:var(--wine)}
.merch-proof-grid{display:grid}
.merch-proof-grid div{display:grid;grid-template-columns:100px 1fr;gap:14px;align-items:center;padding-block:23px;border-bottom:1px solid rgba(255,255,255,.16)}
.merch-proof-grid div:last-child{border-bottom:0}
.merch-proof-grid strong{font-family:var(--serif);font-size:22px;font-weight:400}
.merch-proof-grid span{color:#f4dbd6;font-size:12px;line-height:1.4}
.merch-collection{background:var(--paper)}
.merch-grid{display:grid;gap:18px}
.merch-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.merch-product-image{position:relative;aspect-ratio:1/1;background-image:url('/assets/merch/stepmed-capsule-v3-clean.png');background-repeat:no-repeat;background-size:200% 200%}
.merch-product-image::after{width:10%;aspect-ratio:1/1;transform:translate(-50%,-50%)}
.merch-product-hoodie{background-position:0 0}
.merch-product-hoodie::after{top:40%;left:60%;color:#f5e7d3}
.merch-product-sweatshirt{background-position:100% 0}
.merch-product-sweatshirt::after{top:39%;left:61%;color:var(--wine)}
.merch-product-tshirt{background-position:0 100%}
.merch-product-tshirt::after{top:39%;left:61%;color:var(--wine)}
.merch-product-backpack{background-position:100% 100%}
.merch-product-backpack::after{top:39%;left:50%;color:#f5e7d3}
.merch-product-set{overflow:hidden;background:#f2e9df}
.merch-product-set::after{display:none}
.set-photo-stage{position:absolute;inset:-2%;display:block;background:url('/assets/merch/study-set-v2-topdown.png') center/cover no-repeat;filter:contrast(1.04) saturate(1.025);transform:rotate(-2.4deg) scale(.96);transform-origin:center}
.set-photo-stage::before{position:absolute;z-index:1;inset:0;background:radial-gradient(circle at 16% 10%,rgba(255,255,255,.42),transparent 36%),linear-gradient(135deg,transparent 42%,rgba(91,42,32,.075) 100%);mix-blend-mode:soft-light;pointer-events:none;content:""}
.set-photo-stage::after{position:absolute;z-index:1;inset:0;background:linear-gradient(112deg,rgba(255,255,255,.18) 0%,transparent 24% 68%,rgba(89,43,34,.06) 100%);pointer-events:none;content:""}
.set-item-logo{z-index:2;aspect-ratio:1/1;transform:translate(-50%,-50%);opacity:.82}
.set-logo-bottle{top:58%;left:41%;width:5.5%;color:var(--wine);mix-blend-mode:multiply}
.set-logo-tote{top:55%;left:73%;width:7%;color:var(--wine);mix-blend-mode:multiply}
.set-logo-planner{top:59%;left:18%;width:6%;color:#f8ead8;opacity:.76;mix-blend-mode:screen}
.set-logo-pencil{top:89%;left:56%;width:5.8%;color:#f8ead8;opacity:.76;mix-blend-mode:screen}
.merch-card-body{display:flex;flex:1;flex-direction:column;padding:24px 22px 22px}
.merch-card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;color:var(--wine);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.merch-card-top span:last-child{color:var(--muted);text-align:right}
.merch-card h3{margin-bottom:10px;font-family:var(--serif);font-size:25px;font-weight:400}
.merch-card-body>p{margin-bottom:24px;font-size:13px}
.merch-price{display:grid;gap:9px;margin:auto 0 22px;padding-top:20px;border-top:1px solid var(--line)}
.merch-price strong{color:var(--wine);font-family:var(--serif);font-size:34px;font-weight:400;line-height:1}
.merch-price span{color:var(--muted);font-size:12px;line-height:1.45}
.merch-price b{color:var(--ink);font-weight:700}
.merch-card .button{width:100%;min-height:46px;padding:11px 13px;color:var(--wine);border-color:rgba(155,13,13,.28);border-radius:14px;background:#fff;box-shadow:none;font-size:12px;line-height:1.2}
.merch-collection,.merch-rewards{padding-block:72px 88px}
.merch-collection .section-heading,.merch-rewards .section-heading{margin-bottom:32px}
.merch-rewards{background:var(--cream)}
.reward-grid{display:grid;gap:16px}
.reward-grid article{position:relative;display:flex;min-height:218px;flex-direction:column;padding:26px 22px;border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,253,249,.72)}
.reward-grid article>span{position:absolute;top:24px;right:22px;color:var(--wine);font-family:var(--serif)}
.reward-grid strong{display:block;margin-bottom:6px;color:var(--wine);font-family:var(--serif);font-size:30px;font-weight:400}
.reward-grid h3{margin:6px 0 10px;font-family:var(--serif);font-size:20px;font-weight:400}
.reward-grid p{margin:auto 0 0;font-size:12px}
.reward-note{max-width:960px;margin:26px 0 0;font-size:11px}
.merch-order{padding-block:76px calc(92px + env(safe-area-inset-bottom));color:#fff;background:var(--wine)}
.merch-order-grid{display:grid;gap:28px;align-items:center}
.merch-order p{color:#f3d9d5}
.merch-order h2{max-width:780px}
.merch-order-action{display:grid;gap:12px}
.merch-order-action span{color:#efc9c5;font-size:11px;text-align:center}
.merch-page .main-nav [aria-current="page"]{color:var(--wine);font-weight:700}

@media(min-width:720px){
  .merch-page main>.section,.merch-page .merch-order,.merch-page .site-footer{margin-top:-26px;border-radius:38px 38px 0 0;box-shadow:0 -20px 50px rgba(43,25,23,.09)}
  .merch-hero{padding-block:76px 92px}
  .merch-hero-grid{grid-template-columns:1.02fr .78fr;gap:54px}
  .merch-hero-actions{display:flex;align-items:center;gap:18px}
  .merch-hero-actions span{text-align:left}
  .merch-proof-grid{grid-template-columns:repeat(3,1fr)}
  .merch-proof-grid div{display:block;padding:30px 24px;border-right:1px solid rgba(255,255,255,.16);border-bottom:0}
  .merch-proof-grid div:last-child{border-right:0}
  .merch-proof-grid strong,.merch-proof-grid span{display:block}
  .merch-proof-grid strong{margin-bottom:7px}
  .merch-proof{padding-bottom:26px}
  .merch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .merch-collection,.merch-rewards{padding-block:92px 108px}
  .merch-collection .section-heading,.merch-rewards .section-heading{margin-bottom:38px}
  .reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .merch-order{padding-block:88px}
  .merch-order-grid{grid-template-columns:1.2fr .8fr;gap:70px}
}

@media(min-width:980px){
  .merch-hero{min-height:calc(100svh - 78px);display:grid;align-items:center}
  .merch-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .merch-card-body{padding:22px 20px 20px}
  .merch-card h3{font-size:22px}
  .merch-price strong{font-size:30px}
  .reward-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(min-width:1200px){
  .merch-page main>.section,.merch-page .merch-order,.merch-page .site-footer{margin-top:-32px;border-radius:46px 46px 0 0}
  .merch-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
  .merch-proof{padding-bottom:32px}
  .merch-card-body{padding:18px 16px 16px}
  .merch-card-top{height:28px;flex:none;margin-bottom:8px}
  .merch-card h3{min-height:48px;margin-bottom:6px;font-size:20px;line-height:1.18}
  .merch-card-body>p{min-height:50px;margin-bottom:14px;font-size:12px;line-height:1.4}
  .merch-price{min-height:112px;align-content:start;gap:7px;margin:0 0 14px;padding-top:14px}
  .merch-price strong{font-size:28px}
  .merch-collection,.merch-rewards{padding-block:100px 116px}
  .reward-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
  .reward-grid article{min-height:250px;padding:24px 18px}
  .reward-grid strong{max-width:150px;font-size:24px;line-height:1.15}
}

@media(hover:hover){
  .merch-card .button:hover{color:#fff;border-color:var(--wine);background:var(--wine);box-shadow:0 10px 24px rgba(155,13,13,.18)}
}

@media(min-width:980px) and (max-height:820px){
  .merch-hero{min-height:auto;padding-block:54px 76px}
  .merch-hero-copy h1{font-size:54px}
}
