.shop-page{background:#fff;color:#111;min-width:0}
.shop-page .page-heading{margin-bottom:28px}
.shop-page .page-title{font-size:clamp(35px,3.3vw,54px);line-height:1.05;margin:0;letter-spacing:-1.5px}
.shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.shop-course{min-width:0;background:#fff;border:1px solid var(--frame,#fff);border-radius:12px;overflow:hidden}
.shop-course-cover{position:relative;display:flex;align-items:flex-end;min-height:246px;background:#111;isolation:isolate;overflow:hidden;padding:28px}
.shop-course-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#000d,transparent 95%);z-index:-1;pointer-events:none}
.shop-course-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.shop-course-cover h3{font-family:var(--display);font-size:clamp(23px,2.2vw,30px);font-weight:850;line-height:1.15;letter-spacing:-.7px;text-transform:uppercase;color:#fff;margin:0;max-width:370px;overflow-wrap:normal;hyphens:manual}
.shop-course-body{display:flex;flex-direction:column;align-items:flex-start;padding:27px 28px 28px;gap:22px}
.shop-price{display:grid;gap:5px}
.shop-list-price{font-size:16px;line-height:1.4;color:#686868}
.shop-price strong{font-family:var(--display);font-size:clamp(35px,3.4vw,46px);font-weight:850;line-height:1.1;letter-spacing:-1.5px;color:#111}
.shop-buy{display:inline-flex;align-items:center;gap:12px;min-height:var(--control-height,44px);padding:8px 14px;line-height:1.4;background:var(--red);color:#fff;font-size:16px;border:0;border-radius:7px}
.shop-buy:hover{background:var(--red);color:#fff;border-color:var(--red)}
.shop-buy svg{flex-shrink:0}
.shop-actions{display:grid;gap:16px;justify-items:start;width:100%}
.shop-buy:disabled{background:var(--red);border-color:var(--red);color:#fff;opacity:1;cursor:not-allowed}
.shop-consultation{display:inline-flex;align-items:center;gap:10px;color:var(--red);font-size:16px;line-height:1.4;font-weight:650;min-height:44px;text-decoration:underline;text-underline-offset:4px}
.shop-consultation svg{flex-shrink:0}
.shop-consultation:hover{color:var(--red)}
@media(max-width:760px){.shop-grid{gap:18px}.shop-course-cover{padding:23px;min-height:220px}.shop-course-body{padding:23px}.shop-course-cover h3{font-size:24px}}
@media(max-width:600px){.shop-grid{grid-template-columns:minmax(0,1fr)}.shop-course-cover{min-height:214px}.shop-page .page-heading{margin-bottom:23px}}

/* Keep cover artwork in a positive paint layer on mobile browsers. */
.shop-course-cover{isolation:isolate}
.shop-course-cover img{z-index:0;object-position:center 62%}
.shop-course-cover:after{z-index:1;background:linear-gradient(0deg,#000b,transparent 72%)}
.shop-course-cover h3{position:relative;z-index:2}

.shop-category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0 0 30px}
.shop-category-tabs>button{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:48px;padding:12px 6px;border:0;border-radius:7px;background:#111;color:#fff;font:600 16px/1.3 var(--font);cursor:pointer}
.shop-category-tabs>button:hover{background:#292929;border-color:#292929}
.shop-category-tabs>button[aria-selected="true"]{background:var(--red);border-color:var(--red);color:#fff}
.shop-category-tabs>button:focus-visible,.shop-product-card:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.shop-panel{min-width:0;outline:none}
.shop-panel:focus-visible{outline:2px solid var(--gold);outline-offset:6px}
.shop-collection-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 22px}
.shop-collection-heading h2{font:800 clamp(25px,2.6vw,34px)/1.15 var(--display);letter-spacing:-.8px;margin:0;color:#111}
.shop-collection-heading h2 em{font-style:normal;color:var(--red)}
.shop-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.shop-product-card{display:flex;flex-direction:column;min-width:0;width:100%;height:100%;border:1px solid var(--frame,#fff);border-radius:10px;background:#fff;color:#111;text-align:left;text-decoration:none;font-family:var(--font);overflow:hidden;cursor:pointer}
.shop-product-card:hover{border-color:#111}
.shop-product-image{position:relative;display:grid;place-items:center;width:100%;min-width:0;aspect-ratio:1;background:#fafafa;border-bottom:1px solid var(--line,#111);padding:20px}
.shop-product-image>img{display:block;width:100%;height:100%;min-width:0;min-height:0;max-height:100%;object-fit:contain}
.shop-product-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;width:100%;min-width:0;padding:18px;gap:9px}
.shop-product-copy>strong{display:block;min-width:0;margin:0;color:#111;font:700 18px/1.3 var(--font);overflow-wrap:anywhere}
.shop-product-price{color:#555;font-size:14px;line-height:1.4}
.shop-product-detail-link{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:auto;padding-top:14px;color:#111;font-size:14px;font-weight:600;line-height:1.4}
.shop-product-detail-link>svg{flex-shrink:0;color:var(--red)}
@media(max-width:850px){.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.shop-category-tabs{gap:6px;margin-bottom:25px}.shop-category-tabs>button{font-size:14px;min-height:46px;padding:11px 3px}.shop-collection-heading{margin-bottom:20px}.shop-course-cover h3{font-size:24px}.shop-product-grid{gap:12px}.shop-product-image{padding:15px}.shop-product-copy{padding:14px;gap:7px}.shop-product-copy>strong{font-size:16px}.shop-product-detail-link{font-size:14px;padding-top:12px}}
@media(max-width:350px){.shop-product-grid{gap:9px}.shop-product-image{padding:10px}.shop-product-copy{padding:11px}.shop-product-copy>strong{font-size:15px}}
.shop-category-tabs{display:flex;flex-wrap:wrap}
.shop-category-tabs>button{flex:1 1 min(105px,30%);width:auto}
.shop-product-description{margin:0;color:var(--muted);line-height:1.45;overflow-wrap:anywhere}
.shop-product-static{cursor:default}
.shop-product-static:hover{border-color:var(--frame,#fff)}
.shop-empty{margin:0;padding:20px;border-radius:8px;background:var(--soft);color:var(--ink)}
@media(max-width:540px){
  .shop-category-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .shop-category-tabs:has(>button:only-child){grid-template-columns:minmax(0,1fr)}
  .shop-category-tabs>button{width:100%}
}
