/* Product cards: preserve centered sale hierarchy with a framed surface. */
.product-grid{align-items:stretch;gap:22px}
.product-card{position:relative;isolation:isolate;padding:12px 12px 16px;border:1px solid #30303b;border-radius:19px;background:linear-gradient(155deg,#20212b 0%,#191a22 65%,#171820 100%);box-shadow:0 6px 20px #00000016;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;overflow:hidden}
.product-card .card-image{border-radius:11px;overflow:hidden;background:#111217;line-height:0;border:1px solid #ffffff09}
.product-card .card-image img{display:block;width:100%;aspect-ratio:1;object-fit:cover;transition:transform .35s ease}
.product-card>.save{top:22px;right:22px;width:31px;height:31px;border:1px solid #ffffff22;background:#10121bd9;color:#eef1ff;backdrop-filter:blur(8px);box-shadow:0 3px 12px #0003;z-index:2}
.product-card>.save.saved{color:var(--accent);border-color:#69a5ff66}
.product-card>.category{color:var(--muted);font-size:8px;letter-spacing:.13em;margin-top:20px;font-weight:700}
.product-card h3{font-size:15px;line-height:1.45;letter-spacing:-.02em;min-height:44px;margin:9px 4px 13px;font-weight:800}
.card-sale-slot{min-height:27px;margin-bottom:12px}
.product-card .discount-badge{font-size:10px;letter-spacing:.04em;padding:5px 13px;background:linear-gradient(180deg,#f34c58,#cf2b3a);border:1px solid #ff919648;box-shadow:0 2px 8px #d9364322;color:#fff}
.product-card .card-bottom{gap:17px;padding:0 4px}
.card-price-line{min-height:25px;gap:7px}
.card-price-line .price{font-size:21px;font-weight:900;letter-spacing:-.04em}
.card-price-line .regular-price{font-size:12px;font-weight:550;opacity:.8}
.card-price-line small{font-size:8px;letter-spacing:.03em}
.product-card .card-action{border-radius:11px;min-height:44px;background:linear-gradient(180deg,#3479e7,#2863c5);border:1px solid #6ca2f54d;color:#fff;font-size:11px;font-weight:800;box-shadow:inset 0 1px #ffffff12,0 3px 10px #0002;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}
.product-card .card-action:hover{background:linear-gradient(180deg,#438bf8,#3474dc);border-color:#9dc4ff88;transform:none;box-shadow:0 4px 15px #397cff24}
.product-card a:focus-visible,.product-card button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.product-card:hover{transform:translateY(-5px);border-color:#69a5ff66;box-shadow:0 14px 30px #0004,0 0 20px #397cff09}.product-card:hover .card-image img{transform:scale(1.035)}}
html[data-theme="light"] .product-card{background:linear-gradient(145deg,#fff,#f5f7fb);border-color:#dde2ec;box-shadow:0 5px 20px #2639550a}
html[data-theme="light"] .product-card:hover{border-color:#8bb5f2}
html[data-theme="light"] .product-card .card-image{border-color:#dde2ec}
@media(max-width:760px){.product-grid{gap:14px 11px}.product-card{padding:8px 8px 12px;border-radius:14px}.product-card .card-image{border-radius:8px}.product-card>.save{top:15px;right:15px;width:26px;height:26px}.product-card>.category{font-size:7px;letter-spacing:.08em;margin-top:15px}.product-card h3{font-size:12px;min-height:53px;margin:8px 0 9px}.card-sale-slot{min-height:23px;margin-bottom:10px}.product-card .discount-badge{font-size:8px;padding:4px 10px}.product-card .card-bottom{padding:0 2px;gap:12px}.card-price-line{gap:5px}.card-price-line .price{font-size:18px}.card-price-line .regular-price{font-size:10px}.card-price-line small{font-size:7px}.product-card .card-action{font-size:10px;min-height:40px;border-radius:9px;padding:9px 5px}}
@media(prefers-reduced-motion:reduce){.product-card,.product-card .card-image img,.product-card .card-action{transition:none}}

/* Static hero baseplate texture; no drift, glow animation or pointer tracking. */
.product-card{padding:6px 6px 16px;background:#101216;border-color:#252830}
.product-card:before{content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;background:url('/assets/studs-dark.svg') 0 0/22px 22px repeat;opacity:.28;pointer-events:none;animation:none;transition:none}
.product-card .card-image{border-radius:13px}
.product-card>.save{top:16px;right:16px}
.product-card h3{margin-left:10px;margin-right:10px}
.product-card .card-bottom{padding-left:10px;padding-right:10px}
html[data-theme="light"] .product-card{background:#eef0f4;border-color:#d7dbe2}
html[data-theme="light"] .product-card:before{background-image:url('/assets/studs-light.svg')}
@media(max-width:760px){.product-card{padding:4px 4px 12px}.product-card .card-image{border-radius:10px}.product-card>.save{top:11px;right:11px}.product-card h3{margin-left:5px;margin-right:5px}.product-card .card-bottom{padding-left:6px;padding-right:6px}}

/* Final card typography and solid surfaces. */
.product-card:before{content:none;background:none}
.product-card h3{font-size:16px;min-height:47px}
.product-card .card-action{font-size:13px}
.product-card .discount-badge{background:linear-gradient(180deg,#b52232,#8f1825);border-color:#db51603d;box-shadow:0 2px 8px #700b191f}
@media(max-width:760px){.product-card h3{font-size:13px;min-height:57px}.product-card .card-action{font-size:12px}}

/* Corner ribbon adapted from akka89's CodePen zjyLGg. */
.product-card{overflow:visible}
.product-card .card-bottom{padding-top:8px}
.sale-ribbon{position:absolute;right:-5px;top:-5px;z-index:3;overflow:hidden;width:85px;height:85px;text-align:right;pointer-events:none;font-family:inherit}
.sale-ribbon span{font-family:inherit;font-size:11px;font-weight:900;color:#fff;text-transform:uppercase;text-align:center;line-height:24px;transform:rotate(45deg);width:115px;display:block;background:linear-gradient(#be293b 0%,#8f1825 100%);box-shadow:0 3px 10px -5px #000;position:absolute;top:20px;right:-25px;letter-spacing:.02em}
.sale-ribbon span:before{content:'';position:absolute;left:0;top:100%;z-index:-1;border-left:4px solid #68111c;border-right:4px solid transparent;border-bottom:4px solid transparent;border-top:4px solid #68111c}
.sale-ribbon span:after{content:'';position:absolute;right:0;top:100%;z-index:-1;border-left:4px solid transparent;border-right:4px solid #68111c;border-bottom:4px solid transparent;border-top:4px solid #68111c}
@media(max-width:760px){.sale-ribbon{width:75px;height:75px}.sale-ribbon span{font-size:9px;line-height:21px;width:100px;top:18px;right:-21px}.product-card .card-bottom{padding-top:6px}}

/* Rich red ribbons and tighter title-to-price spacing. */
.sale-ribbon span{background:linear-gradient(180deg,#e3213d 0%,#bd102c 100%)}
.sale-ribbon span:before{border-left-color:#8c0a20;border-top-color:#8c0a20}
.sale-ribbon span:after{border-right-color:#8c0a20;border-top-color:#8c0a20}
.product-card h3{margin-bottom:5px}
.product-card .card-bottom{padding-top:0;gap:14px}
@media(max-width:760px){.product-card h3{margin-bottom:4px}.product-card .card-bottom{padding-top:0;gap:11px}}

/* Keep product artwork at its natural size on hover. */
.product-card:hover .card-image img,.product-card .card-image:hover img{transform:none;transition:none}

.card-price-line .regular-price,.regular-price{color:#ef4559;opacity:1}
.sale-announcement{background:linear-gradient(105deg,#030304 0%,#25252b 48%,#080809 100%);border-bottom-color:#ffffff1f}
.sale-announcement>a{gap:18px}
.sale-countdown-label{display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:.08em;white-space:nowrap}
#sale-countdown{font-family:inherit;font-size:12px;font-weight:850;letter-spacing:.04em;font-variant-numeric:tabular-nums;background:#0006;border:1px solid #ffffff20;padding:6px 9px;border-radius:5px}
@media(max-width:760px){.sale-announcement>a{gap:8px 12px}.sale-countdown-label{font-size:8px}#sale-countdown{font-size:11px;padding:5px 7px}.sale-banner-note{font-size:8px}}
