/* STRIDE — athletic footwear marketplace styles. */

:root { color-scheme: light; }
html { scroll-behavior: smooth; }
body { font-family:"Figtree",ui-sans-serif,system-ui,sans-serif; -webkit-font-smoothing:antialiased; background: oklch(0.975 0.004 80); }
.font-display { letter-spacing:-0.02em; }
.eyebrow { text-transform:uppercase; letter-spacing:0.16em; font-size:11px; font-weight:700; }

/* content always visible; data-rise inert */

.ph { position:relative; background-color: oklch(0.92 0.008 80); background-image: repeating-linear-gradient(45deg, oklch(0.89 0.008 80) 0 1px, transparent 1px 12px); display:flex; align-items:center; justify-content:center; overflow:hidden; color: oklch(0.55 0.012 60); font-size:11px; }

.no-scrollbar { -ms-overflow-style:none; scrollbar-width:none; }
.no-scrollbar::-webkit-scrollbar { display:none; }
::-webkit-scrollbar { width:12px; height:12px; }
::-webkit-scrollbar-thumb { background: oklch(0.84 0.01 75); border:3px solid oklch(0.975 0.004 80); border-radius:999px; }

*:focus-visible { outline:2px solid oklch(0.68 0.20 45); outline-offset:2px; }
.marquee-mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* star rating */
.stars { display:inline-block; position:relative; font-family:"Figtree",sans-serif; color: oklch(0.86 0.01 75); white-space:nowrap; letter-spacing:.5px; }
.stars::before { content:"\2605\2605\2605\2605\2605"; }
.stars > span { position:absolute; inset:0; width:var(--pct,100%); overflow:hidden; color: oklch(0.78 0.15 75); }
.stars > span::before { content:"\2605\2605\2605\2605\2605"; }

@keyframes badgepop { 0%{transform:scale(1)} 40%{transform:scale(1.4)} 100%{transform:scale(1)} }
.badge-pop { animation: badgepop .35s ease; }

/* size chip */
.size-chip { display:grid; place-items:center; height:46px; border:1px solid oklch(0.86 0.01 75); border-radius:10px; font-weight:600; font-size:14px; cursor:pointer; transition:all .15s; }
.size-chip:hover { border-color: oklch(0.20 0.01 60); }
.size-chip.is-on { background: oklch(0.20 0.01 60); color:#fff; border-color: oklch(0.20 0.01 60); }
.size-chip.is-out { color: oklch(0.78 0.01 75); text-decoration:line-through; cursor:not-allowed; background: oklch(0.96 0.006 80); }
.size-chip.is-out:hover { border-color: oklch(0.86 0.01 75); }

input[type="range"]{ accent-color: oklch(0.68 0.20 45); }
#toast { transition: transform .35s cubic-bezier(.2,.7,.3,1), opacity .35s; }

/* shared inputs */
.v-input,.ck-input,.ct-input,.ord-input { width:100%; height:50px; padding:0 16px; background:#fff; border:1px solid oklch(0.89 0.008 75); color: oklch(0.20 0.01 60); font-size:15px; border-radius:12px; transition:border-color .15s, box-shadow .15s; }
.v-input::placeholder,.ck-input::placeholder,.ct-input::placeholder,.ord-input::placeholder { color: oklch(0.64 0.012 60); }
.v-input:focus,.ck-input:focus,.ct-input:focus,.ord-input:focus { outline:none; border-color: oklch(0.68 0.20 45); box-shadow:0 0 0 3px oklch(0.68 0.20 45 / 0.14); }
.v-input.invalid,.ck-input.invalid,.ct-input.invalid,.ord-input.invalid { border-color: oklch(0.58 0.20 28); }
.v-err,.ck-err,.ct-err,.ord-err { color: oklch(0.58 0.20 28); font-size:13px; margin-top:5px; }
textarea.v-input,textarea.ct-input { height:auto; padding:13px 16px; min-height:150px; resize:vertical; }
option { color:#1c1810; background:#fff; }

@media (prefers-reduced-motion: reduce) { html{scroll-behavior:auto;} .animate-marquee{animation:none !important;} }
