/* shop.tyrereviews.com - storefront, on the new site look.
   Same design language as the rebuilt tyrereviews.com pages (fp-/tf-/sr-):
   one --tr-* palette, an ink header band with a mono eyebrow, alternating
   paper/mist sections on a 1180px wrap, flat 1px cards, and the monospace
   face for anything measured - prices, counts, sizes, order numbers, dates.
   The header mirrors the main navbar, the footer mirrors footer.css.

   Every class the storefront JS binds to (shop.js, checkout.js, express.js,
   reviews.js) keeps its name; only the styling changed. */

:root {
    --tr-ink: #0e1216;            /* full-bleed dark bands */
    --tr-paper: #ffffff;
    --tr-mist: #eef1f4;           /* alternating section ground */
    --tr-line: #dde3e9;           /* hairline borders */
    --tr-text: #17202a;
    --tr-muted: #5d6a75;
    --tr-muted-on-ink: #9fadb9;   /* muted text on the dark bands */
    --tr-cyan: #0db1e7;           /* the single accent */
    --tr-cyan-dark: #0a9bcc;      /* the accent on white, and hover */
    --tr-cyan-soft: #e6f7fd;
    --tr-good: #1d9e55;
    --tr-mid: #b57a00;
    --tr-poor: #c0392b;
    --tr-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
    --tr-nav: #212529;            /* the main-site navbar */
    --tr-radius: 6px;
    --tr-radius-sm: 4px;
    --shp-wrap: 1180px;
    --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* the hidden attr must beat display:flex rows */
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--tr-text);
    background: var(--tr-paper);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a { color: var(--tr-cyan-dark); text-decoration: none; }
a:hover { color: var(--tr-cyan); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--tr-cyan); outline-offset: 2px;
}

.wrap, .shp-wrap { width: 100%; max-width: var(--shp-wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--tr-muted); }
.site-main { flex: 1 0 auto; display: flex; flex-direction: column; }

/* Measured things. */
.shp-text { font-family: var(--font); letter-spacing: 0; }

.shp-mono,
.shp-trail,
.shp-facts__n,
.card__price,
.product__price,
.size-opt span,
.qty input,
.cart-item__price,
.summary__row > span:last-child,
.summary__item > div:last-child,
.rate-opt__price,
.order-card__num,
.order-card__status,
.order-card__meta,
.review__date,
.reviews__avg-num,
.reviews__bar-n,
.review-reward__code-value,
.shp-code {
    font-family: var(--tr-mono);
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Header - the main-site navbar, without the menus
   ========================================================================== */
.announce {
    background: var(--tr-cyan); color: var(--tr-ink);
    text-align: center; font-weight: 700; font-size: .95rem;
    padding: 8px 16px; line-height: 1.3;
}
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--tr-nav);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo { width: 175px; height: auto; display: block; }   /* same size as the main-site nav logo */
.brand__tag {
    font-weight: 600; font-size: 1.05rem; color: #fff; line-height: 1;
    padding-left: 12px; border-left: 1px solid rgba(255,255,255,.3);
}
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav__link { display: inline-flex; align-items: center; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 500; }
.site-nav__link:hover { color: #fff; }
.site-nav__link .site-nav__label { margin-left: 6px; }
.cart-link { position: relative; display: inline-flex; align-items: center; color: #fff; }
.cart-link:hover { color: #fff; }
.cart-link__count {
    position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px;
    padding: 0 5px; border-radius: 999px; background: var(--tr-cyan); color: #fff;
    font-family: var(--tr-mono); font-size: .66rem; font-weight: 700; line-height: 18px; text-align: center;
    transform: scale(0); transition: transform .15s ease;
}
.cart-link__count.is-active { transform: scale(1); }
@media (max-width: 600px) {
    .brand { gap: 9px; }
    .brand__logo { width: 120px; }
    .brand__tag { font-size: .88rem; padding-left: 9px; }
    .site-nav { gap: 14px; }
    .site-nav__link { font-size: .8rem; }
    .site-nav__link .site-nav__label { display: none; }
}

/* ==========================================================================
   Header band (ink) - every page opens on one
   ========================================================================== */
.shp-head {
    position: relative;             /* containing block for the photo layer */
    background: var(--tr-ink);
    color: #fff;
    padding: 14px 0 28px;
}
.shp-head > .shp-wrap { position: relative; z-index: 1; }
.shp-head--slim { padding: 14px 0 22px; }
.shp-trail {
    display: flex; flex-wrap: wrap; gap: 8px;
    font-size: .72rem; letter-spacing: .04em; color: var(--tr-muted-on-ink);
    margin: 0 0 16px;
}
.shp-trail a { color: var(--tr-muted-on-ink); }
.shp-trail a:hover { color: #fff; text-decoration: underline; }
.shp-trail span:last-child { color: #e6ecf1; }
.shp-eyebrow {
    font-family: var(--tr-mono); font-size: .72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .16em; color: var(--tr-cyan);
    margin: 0 0 12px;
}
.shp-head__title { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; color: #fff; margin: 0; }
.shp-head__lede { margin: 12px 0 0; font-size: 1rem; line-height: 1.6; color: #cfd8de; max-width: 66ch; }
.shp-head__lede a { color: var(--tr-cyan); font-weight: 700; }
.shp-head__lede strong { color: #fff; }
.shp-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 12px 0 0; }
.shp-facts {
    list-style: none; margin: 22px 0 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px;
}
.shp-facts li { display: flex; flex-direction: column; border-left: 2px solid var(--tr-cyan); padding-left: 12px; }
.shp-facts__n { font-size: clamp(1.05rem, 4.2vw, 1.35rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; color: #fff; }
.shp-facts__label { margin-top: 3px; font-size: .76rem; line-height: 1.35; color: var(--tr-muted-on-ink); }
.shp-facts__label a { color: var(--tr-muted-on-ink); text-decoration: underline; }
.shp-facts__label a:hover { color: #fff; }
@media (min-width: 768px) {
    .shp-head { padding: 14px 0 36px; }
    .shp-head--slim { padding: 14px 0 26px; }
    .shp-head__title { font-size: 2.6rem; }
    .shp-head--slim .shp-head__title { font-size: 2.1rem; }
    .shp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* The optional photograph behind the band. Copied from style.css so the shop
   renders it identically without loading the main stylesheet: desktop only,
   a fixed 1500px frame centred on the content column, and two scrims that
   keep the left-hand column on solid ink for the copy. */
.tr-headphoto { display: none; }
@media (min-width: 768px) {
    .tr-headphoto {
        display: block; position: absolute; top: 0; bottom: 0; left: 50%;
        transform: translateX(-50%); width: min(100%, 1500px); z-index: 0;
        background-image: var(--tr-head-img); background-size: cover;
        background-position: var(--tr-head-pos, right center);
    }
    .tr-headphoto::after {
        content: ""; position: absolute; inset: 0;
        background:
            linear-gradient(90deg,
                rgba(14, 18, 22, 1) 0%, rgba(14, 18, 22, 0.84) 6%, rgba(14, 18, 22, 0.68) 26%,
                rgba(14, 18, 22, 0.48) 46%, rgba(14, 18, 22, 0.24) 62%, rgba(14, 18, 22, 0.06) 74%,
                rgba(14, 18, 22, 0.06) 84%, rgba(14, 18, 22, 0.45) 92%, rgba(14, 18, 22, 0.80) 97%,
                rgba(14, 18, 22, 1) 100%),
            linear-gradient(180deg,
                rgba(14, 18, 22, 0.55) 0%, rgba(14, 18, 22, 0) 26%,
                rgba(14, 18, 22, 0) 64%, rgba(14, 18, 22, 0.5) 100%);
    }
    .tr-headphoto ~ .shp-wrap .shp-head__lede { max-width: 60ch; text-shadow: 0 1px 3px rgba(11, 14, 18, .65); }
    .tr-headphoto ~ .shp-wrap .shp-facts,
    .tr-headphoto ~ .shp-wrap .shp-trail { text-shadow: 0 1px 3px rgba(11, 14, 18, .65); }
    .tr-headphoto ~ .shp-wrap .shp-facts__label { color: #e3e9ee; text-shadow: 0 1px 2px rgba(11, 14, 18, .9), 0 0 10px rgba(11, 14, 18, .5); }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.shp-sec { padding: 26px 0 32px; background: var(--tr-paper); }
.shp-sec--mist { background: var(--tr-mist); }
.shp-sec--grow { flex: 1 0 auto; }
.shp-sec__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--tr-text); margin: 0; }
.shp-sec__lede { margin: 8px 0 0; font-size: .95rem; line-height: 1.6; color: var(--tr-muted); }
.shp-sec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
.shp-sec__link { font-size: .88rem; font-weight: 700; color: var(--tr-cyan-dark); white-space: nowrap; }
@media (min-width: 768px) {
    .shp-sec { padding: 32px 0 40px; }
    .shp-sec__title { font-size: 1.8rem; }
}

/* A paper card on a mist ground: the working surface of every form page. */
.shp-card { background: var(--tr-paper); border: 1px solid var(--tr-line); border-radius: var(--tr-radius); padding: 20px 22px; }
.shp-card + .shp-card { margin-top: 16px; }
.shp-card__title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.shp-card__eyebrow {
    font-family: var(--tr-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--tr-cyan-dark); margin: 0 0 8px;
}
.shp-card p { margin: 0 0 12px; color: var(--tr-muted); line-height: 1.6; }
.shp-card p:last-child { margin-bottom: 0; }
.shp-narrow { max-width: 680px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
    padding: 12px 22px; border-radius: var(--tr-radius-sm); border: 1px solid transparent;
    transition: background .15s, border-color .15s, color .15s;
    text-align: center; line-height: 1.1; white-space: nowrap;
}
.btn--primary { background: var(--tr-cyan); color: #fff; }
.btn--primary:hover { background: var(--tr-cyan-dark); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 14px 26px; font-size: .98rem; }
.btn--sm { padding: 7px 14px; font-size: .82rem; }
.btn--ghost { background: transparent; border-color: var(--tr-line); color: var(--tr-text); }
.btn--ghost:hover { border-color: var(--tr-muted); color: var(--tr-text); }
.btn--danger { background: transparent; border-color: #efc3bd; color: var(--tr-poor); }
.btn--danger:hover { border-color: var(--tr-poor); color: var(--tr-poor); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.shp-head .btn--ghost { color: #e6ecf1; border-color: rgba(255,255,255,.3); }
.shp-head .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ==========================================================================
   Home - product grid + the funding band
   ========================================================================== */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }

.card {
    display: flex; flex-direction: column; background: var(--tr-paper); color: var(--tr-text);
    border: 1px solid var(--tr-line); border-radius: var(--tr-radius); overflow: hidden;
    transition: border-color .15s ease;
}
.card:hover { border-color: var(--tr-cyan); color: var(--tr-text); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--tr-mist); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__flag {
    position: absolute; top: 10px; left: 10px; z-index: 1;
    padding: 4px 8px; border-radius: 3px;
    font-family: var(--tr-mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: #fff; background: var(--tr-ink);
}
.card__flag--sale { background: var(--tr-poor); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.card__name { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; margin: 0; }
.card__rating { display: flex; align-items: center; gap: 6px; margin: 2px 0 0; font-size: .8rem; color: var(--tr-muted); }
.card__rating .rstars { font-size: 13px; }
.card__price { margin-top: 4px; font-size: .95rem; font-weight: 600; color: var(--tr-text); }
.card__price-was { color: var(--tr-muted); font-weight: 400; text-decoration: line-through; margin-right: 6px; }
.card__cta { margin-top: 10px; font-size: .86rem; font-weight: 700; color: var(--tr-cyan-dark); }
.card:hover .card__cta { color: var(--tr-cyan); }

/* "Where the money goes" - the counts are the same ones the homepage prints. */
.shp-fund { display: grid; grid-template-columns: 1fr; gap: 22px 48px; align-items: start; }
.shp-fund p { margin: 10px 0 0; font-size: .98rem; line-height: 1.65; color: var(--tr-muted); }
.shp-fund p strong { color: var(--tr-text); }
.shp-fund__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; }
.shp-fund__stats li { border-left: 2px solid var(--tr-cyan); padding-left: 12px; }
.shp-fund__n { display: block; font-family: var(--tr-mono); font-variant-numeric: tabular-nums; font-size: clamp(1.2rem, 3.5vw, 1.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; color: var(--tr-text); }
.shp-fund__label { display: block; margin-top: 3px; font-size: .78rem; color: var(--tr-muted); line-height: 1.35; }
.shp-fund__label a { color: var(--tr-muted); text-decoration: underline; }
.shp-fund__label a:hover { color: var(--tr-cyan-dark); }
@media (min-width: 860px) {
    .shp-fund { grid-template-columns: 1.3fr 1fr; }
    .shp-fund__stats { grid-template-columns: 1fr; gap: 16px; margin-top: 6px; }
}

/* ==========================================================================
   Product page
   ========================================================================== */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
@media (max-width: 820px) { .product { grid-template-columns: 1fr; gap: 26px; } }
/* Let the columns shrink so the size-chart's overflow-x:auto scrolls inside its box
   instead of forcing the whole grid (and the image) wider than the screen on mobile. */
.product > * { min-width: 0; }
.product__media-col { align-self: start; }
.product__media { border: 1px solid var(--tr-line); border-radius: var(--tr-radius); overflow: hidden; background: var(--tr-mist); aspect-ratio: 1/1; }
.product__media-caption {
    display: flex; align-items: center; gap: 9px; margin: 12px 0 0; padding: 10px 14px;
    background: var(--tr-mist); border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm);
    color: var(--tr-muted); font-size: .88rem; line-height: 1.4;
}
.product__media-caption svg { flex: 0 0 auto; color: var(--tr-cyan-dark); }
.product__zoom { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.product__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__zoom-hint {
    position: absolute; right: 12px; bottom: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 999px;
    background: rgba(14, 18, 22, .72); color: #fff;
    opacity: 0; transition: opacity .15s ease; pointer-events: none;
}
.product__zoom:hover .product__zoom-hint, .product__zoom:focus-visible .product__zoom-hint { opacity: 1; }
@media (hover: none) { .product__zoom-hint { opacity: 1; } }
.product__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.product__thumb {
    width: 64px; height: 64px; padding: 0; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm);
    overflow: hidden; background: var(--tr-mist); cursor: pointer; flex: 0 0 auto;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product__thumb:hover { border-color: var(--tr-muted); }
.product__thumb.is-active { border-color: var(--tr-cyan); box-shadow: 0 0 0 1px var(--tr-cyan); }

/* The name, rating and flags live in the header band; the buy box opens on the price. */
.product__rating { display: inline-flex; align-items: center; gap: 8px; color: #cfd8de; font-size: .88rem; }
.product__rating .rstars { font-size: 16px; }
.product__rating-num { font-family: var(--tr-mono); font-weight: 700; color: #fff; }
.product__rating-count { color: var(--tr-muted-on-ink); }
.product__rating:hover .product__rating-count { color: #fff; text-decoration: underline; }
.product__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.product__badges:empty { display: none; }
.product__badge {
    display: inline-block; padding: 4px 9px; border-radius: 3px;
    font-family: var(--tr-mono); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.22); color: #e6ecf1;
}
.product__badge--soon { background: rgba(255,255,255,.1); }
.product__badge--preorder { border-color: rgba(255, 193, 77, .55); color: #ffd27a; }
.product__badge--sale { border-color: rgba(255, 120, 100, .6); color: #ffa79a; }

.product__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; margin: 0 0 6px; color: var(--tr-text); }
.product__price-was { font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--tr-muted); text-decoration: line-through; }
.product__price-save {
    font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--tr-poor); border: 1px solid #efc3bd; border-radius: 3px; padding: 3px 8px;
}
.product__ship-estimate { display: flex; align-items: center; gap: 7px; margin: 0 0 18px; color: var(--tr-muted); font-size: .9rem; }
.product__ship-estimate svg { color: var(--tr-cyan-dark); flex: 0 0 auto; }
.product__ship-estimate strong { color: var(--tr-text); }
.product__desc { color: var(--tr-text); line-height: 1.65; margin: 0 0 22px; }
.product-notice {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--tr-mist); border-left: 3px solid var(--tr-mid);
    color: var(--tr-text); border-radius: var(--tr-radius-sm); padding: 12px 14px; margin: 0 0 22px;
    font-size: .9rem; line-height: 1.55;
}
.product-notice svg { flex: 0 0 auto; margin-top: 1px; color: var(--tr-mid); }
.product-notice div { min-width: 0; }

/* Fit & sizing - a mist section with the size chart as a table in the site's idiom. */
.tee-info__cols { display: grid; grid-template-columns: 1fr; gap: 20px 40px; margin-top: 18px; }
@media (min-width: 768px) { .tee-info__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); } }
/* Let the chart scroll inside its own box rather than widening the page. */
.tee-info__cols > * { min-width: 0; }
.tee-info p { color: var(--tr-muted); margin: 0 0 10px; line-height: 1.6; }
.tee-info ul { margin: 0 0 12px; padding-left: 18px; color: var(--tr-muted); line-height: 1.7; }
.tee-info h3 { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--tr-muted); margin: 0 0 8px; }
.tee-info__note { font-size: .84rem; margin-top: 12px; }
.size-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--tr-paper); border: 1px solid var(--tr-line); border-radius: var(--tr-radius); }
.size-chart table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .9rem; }
.size-chart th, .size-chart td { padding: 10px 12px; border-bottom: 1px solid var(--tr-line); text-align: center; white-space: nowrap; }
.size-chart tbody tr:last-child th, .size-chart tbody tr:last-child td { border-bottom: 0; }
.size-chart tbody tr:hover { background: var(--tr-mist); }
.size-chart td { font-family: var(--tr-mono); font-variant-numeric: tabular-nums; }
.size-chart th { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--tr-muted); }
.size-chart thead th { background: var(--tr-mist); }
.size-chart th:first-child { text-align: left; }
.size-chart tbody th { color: var(--tr-text); }

/* Customizable product: free-text note on the product page */
.customize { margin: 4px 0 22px; }
.customize__req { color: var(--tr-poor); font-weight: 700; font-size: .82em; letter-spacing: 0; text-transform: none; }
.customize__input {
    display: block; width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem;
    padding: 11px 13px; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm);
    background: #fff; color: var(--tr-text); resize: vertical; min-height: 84px;
}
.customize__input:focus { outline: none; border-color: var(--tr-cyan); box-shadow: 0 0 0 3px rgba(13, 177, 231, .2); }
.customize__hint { color: var(--tr-muted); font-size: .85rem; margin: 7px 0 0; }

/* Coming-soon "notify me" capture */
.interest { border: 1px solid var(--tr-line); border-radius: var(--tr-radius); background: var(--tr-mist); padding: 20px 22px; }
.interest__title { font-size: 1.1rem; margin: 0 0 6px; }
.interest__text { color: var(--tr-muted); margin: 0 0 14px; line-height: 1.55; }
.interest__form { display: flex; gap: 10px; flex-wrap: wrap; }
.interest__input {
    flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1rem;
    padding: 12px 14px; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm); background: #fff; color: var(--tr-text);
}
.interest__input:focus { outline: none; border-color: var(--tr-cyan); box-shadow: 0 0 0 3px rgba(13, 177, 231, .2); }
.interest__ok, .interest__err { display: flex; align-items: center; gap: 9px; border-radius: var(--tr-radius-sm); padding: 12px 14px; font-size: .95rem; }
.interest__ok { background: #e8f6ee; border-left: 3px solid var(--tr-good); color: #155e37; }
.interest__ok svg { color: var(--tr-good); flex: 0 0 auto; }
.interest__err { background: #fbe9e7; border-left: 3px solid var(--tr-poor); color: #8f2a1f; margin: 0 0 12px; }

/* Field labels: the table-header idiom. */
.field-label, label.input-label, .input-label {
    display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    color: var(--tr-muted); margin: 0 0 7px;
}
.input-label .muted, .field-label .muted { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: .78rem; }

.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-opt span {
    display: inline-flex; align-items: center; justify-content: center; min-width: 54px; height: 44px; padding: 0 14px;
    border: 1.5px solid var(--tr-line); border-radius: var(--tr-radius-sm); font-weight: 600; font-size: .92rem; color: var(--tr-text);
    background: var(--tr-paper); transition: border-color .12s, background .12s; user-select: none;
}
.size-opt:hover span { border-color: var(--tr-muted); }
.size-opt input:checked + span { border-color: var(--tr-cyan); background: var(--tr-cyan-soft); color: var(--tr-cyan-dark); }
.size-opt input:focus-visible + span { outline: 3px solid var(--tr-cyan); outline-offset: 2px; }
/* When sizes carry different prices, stack the size + up-charge on each button. */
.sizes--priced .size-opt span { flex-direction: column; gap: 1px; height: auto; min-height: 52px; padding: 6px 12px; line-height: 1.1; }
.size-opt__delta { font-size: .68rem; font-weight: 500; color: var(--tr-muted); }
.size-opt input:checked + span .size-opt__delta { color: var(--tr-cyan-dark); }
.size-note { color: var(--tr-muted); font-size: .84rem; margin: -12px 0 22px; }

.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.qty-row .field-label { margin: 0; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm); overflow: hidden; background: var(--tr-paper); }
.qty button { width: 40px; height: 42px; border: none; background: var(--tr-paper); font-size: 1.2rem; cursor: pointer; color: var(--tr-muted); }
.qty button:hover { background: var(--tr-mist); color: var(--tr-text); }
.qty input { width: 46px; height: 42px; border: none; text-align: center; font-size: .95rem; font-weight: 600; color: var(--tr-text); background: var(--tr-paper); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

/* ==========================================================================
   Notices
   ========================================================================== */
.notice { padding: 12px 14px; border-radius: var(--tr-radius-sm); font-size: .92rem; line-height: 1.5; margin: 0 0 18px; border-left: 3px solid var(--tr-cyan); background: var(--tr-mist); color: var(--tr-text); }
.notice--info { background: var(--tr-cyan-soft); border-left-color: var(--tr-cyan); }
.notice--ok { background: #e8f6ee; border-left-color: var(--tr-good); color: #155e37; }
.notice--err { background: #fbe9e7; border-left-color: var(--tr-poor); color: #8f2a1f; }
.notice a { font-weight: 700; }
.notice strong { font-weight: 700; }

/* ==========================================================================
   Cart
   ========================================================================== */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 820px) { .cart { grid-template-columns: 1fr; } }
.cart-items { padding-top: 2px; padding-bottom: 2px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--tr-line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item__media { width: 72px; height: 72px; border-radius: var(--tr-radius-sm); overflow: hidden; background: var(--tr-mist); border: 1px solid var(--tr-line); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-weight: 700; margin: 0; }
.cart-item__meta { color: var(--tr-muted); font-size: .86rem; }
.cart-item__custom { font-size: .88rem; color: var(--tr-muted); margin-top: 6px; line-height: 1.45; }
.cart-item__custom span { font-weight: 700; color: var(--tr-text); }
.cart-item__ship { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; color: var(--tr-muted); }
.cart-item__ship svg { flex: 0 0 auto; color: var(--tr-cyan-dark); }
.cart-item__ship strong { color: var(--tr-text); font-weight: 700; }
.cart-item__ship--preorder { color: var(--tr-mid); }
.cart-item__ship--preorder svg, .cart-item__ship--preorder strong { color: var(--tr-mid); }
.cart-item__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__price { font-weight: 700; font-size: 1.02rem; }
.link-danger { background: none; border: none; padding: 0; color: var(--tr-muted); font: inherit; font-size: .84rem; cursor: pointer; text-decoration: underline; }
.link-danger:hover { color: var(--tr-poor); }
@media (max-width: 480px) {
    .cart-item { grid-template-columns: 64px 1fr; }
    .cart-item__media { width: 64px; height: 64px; }
    .cart-item__right { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
}

.summary { background: var(--tr-paper); border: 1px solid var(--tr-line); border-radius: var(--tr-radius); padding: 20px 22px; position: sticky; top: 72px; }
.summary h2 { margin: 0 0 12px; font-size: 1.05rem; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; color: var(--tr-muted); font-size: .92rem; }
.summary__row > span:last-child { color: var(--tr-text); }
.summary__row--discount, .summary__row--discount > span:last-child { color: var(--tr-good); font-weight: 600; }
.summary__row--total { border-top: 1px solid var(--tr-line); margin-top: 8px; padding-top: 14px; color: var(--tr-text); font-weight: 700; font-size: 1.05rem; }
.summary__row--total > span:last-child { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.summary .btn { margin-top: 16px; }
.summary__note { font-size: .8rem; color: var(--tr-muted); margin: 12px 0 0; line-height: 1.5; }
.summary__note a { text-decoration: underline; color: var(--tr-muted); }
.summary__note a:hover { color: var(--tr-cyan-dark); }
.summary__items { margin: 0 0 12px; padding: 0 0 12px; border-bottom: 1px solid var(--tr-line); display: flex; flex-direction: column; gap: 12px; }
.summary__item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.summary__item img { width: 48px; height: 48px; border-radius: var(--tr-radius-sm); object-fit: cover; background: var(--tr-mist); border: 1px solid var(--tr-line); }
.summary__item-qty { color: var(--tr-muted); font-size: .8rem; }
.summary__item-custom { font-size: .82rem; color: var(--tr-muted); margin-top: 3px; }

/* Discount code box */
.promo { display: flex; gap: 8px; margin: 4px 0 14px; }
.promo input {
    flex: 1; min-width: 0; font: inherit; font-family: var(--tr-mono); padding: 10px 12px; border: 1px solid var(--tr-line);
    border-radius: var(--tr-radius-sm); background: #fff; color: var(--tr-text); text-transform: uppercase;
}
.promo input:focus { outline: none; border-color: var(--tr-cyan); box-shadow: 0 0 0 3px rgba(13, 177, 231, .2); }
.promo button { white-space: nowrap; padding: 10px 16px; }
.promo-applied { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #e8f6ee; color: #155e37; border-left: 3px solid var(--tr-good); border-radius: var(--tr-radius-sm); padding: 8px 12px; font-size: .88rem; margin: 4px 0 14px; }
.promo-applied strong { font-family: var(--tr-mono); }
.promo-applied button { background: none; border: none; color: #155e37; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* Express checkout (wallets) on the cart */
#express-wrap { margin: 16px 0 4px; }
#express-checkout-element { min-height: 44px; }
.express-divider { display: flex; align-items: center; text-align: center; color: var(--tr-muted); font-size: .68rem; margin: 14px 0; }
.express-divider::before, .express-divider::after { content: ''; flex: 1; border-top: 1px solid var(--tr-line); }
.express-divider span { padding: 0 12px; text-transform: uppercase; letter-spacing: .1em; }

/* ==========================================================================
   Forms + checkout
   ========================================================================== */
.input {
    width: 100%; font: inherit; padding: 11px 13px; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm);
    background: #fff; color: var(--tr-text); transition: border-color .12s, box-shadow .12s;
}
.input:focus { outline: none; border-color: var(--tr-cyan); box-shadow: 0 0 0 3px rgba(13, 177, 231, .2); }
select.input { appearance: none; -webkit-appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6a75' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center; }
textarea.input { resize: vertical; min-height: 120px; line-height: 1.5; }
.field { display: flex; flex-direction: column; }
.field-err { color: var(--tr-poor); font-size: .8rem; margin-top: 4px; }
.field-err:empty { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.checkbox-line { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .9rem; color: var(--tr-muted); line-height: 1.45; }
.checkbox-line input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--tr-cyan-dark); cursor: pointer; }
.hint { color: var(--tr-muted); font-size: .88rem; margin: 2px 0 14px; }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .checkout__summary { order: -1; } }
.checkout__step { padding: 22px 0; border-top: 1px solid var(--tr-line); }
.checkout__step:first-child, #address-form > .checkout__step:first-child { border-top: 0; padding-top: 0; }
#address-form + .checkout__step { border-top: 1px solid var(--tr-line); }
.checkout__step h2 { font-size: 1.05rem; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 999px;
    background: var(--tr-ink); color: #fff; font-family: var(--tr-mono); font-size: .74rem; font-weight: 700; letter-spacing: 0;
}
.checkout__step p.hint { margin: -6px 0 14px; }
.step-indent { margin-top: 16px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.rates { display: flex; flex-direction: column; gap: 10px; }
.rate-opt { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--tr-line); border-radius: var(--tr-radius-sm); padding: 13px 15px; cursor: pointer; transition: border-color .12s, background .12s; }
.rate-opt:hover { border-color: var(--tr-muted); }
.rate-opt input { accent-color: var(--tr-cyan-dark); width: 18px; height: 18px; flex: 0 0 auto; }
.rate-opt.is-selected { border-color: var(--tr-cyan); background: var(--tr-cyan-soft); }
.rate-opt__name { font-weight: 600; }
.rate-opt__eta { color: var(--tr-muted); font-size: .84rem; }
.rate-opt__price { margin-left: auto; font-weight: 700; white-space: nowrap; }

#payment-element { margin-top: 6px; }
.checkout__summary .summary { position: sticky; top: 72px; }

.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-hidden { display: none !important; }

/* ==========================================================================
   Confirmation
   ========================================================================== */
.shp-status { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--tr-mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tr-cyan); }
.shp-status__dot { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(29, 158, 85, .18); color: #4fd38a; }
.shp-status--pending .shp-status__dot { background: rgba(13, 177, 231, .16); }
.shp-status--pending .spinner { width: 16px; height: 16px; border-color: rgba(13, 177, 231, .35); border-top-color: var(--tr-cyan); }
.shp-address { margin: 0; line-height: 1.65; color: var(--tr-text); }

/* ==========================================================================
   Legal / policy pages, empty states
   ========================================================================== */
.legal { max-width: 760px; }
.legal__lead { font-size: 1.05rem; color: var(--tr-muted); line-height: 1.6; margin: 0 0 8px; }
.legal__body { color: var(--tr-text); }
.legal__body h2 { font-size: 1.1rem; margin: 28px 0 8px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin: 0 0 12px; color: var(--tr-muted); line-height: 1.65; }
.legal__body ul { margin: 0 0 12px; padding-left: 20px; color: var(--tr-muted); }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { color: var(--tr-text); }
.legal__updated { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--tr-line); font-size: .82rem; color: var(--tr-muted); font-family: var(--tr-mono); }

.empty { text-align: center; padding: 56px 20px; }
.empty h2 { font-size: 1.35rem; margin: 0 0 8px; }
.empty p { color: var(--tr-muted); margin: 0 0 22px; }

/* ==========================================================================
   Account (passwordless)
   ========================================================================== */
.account__signin { max-width: 520px; }
.account__lead { color: var(--tr-muted); font-size: .95rem; line-height: 1.55; margin: 0 0 16px; }
.account__hint { color: var(--tr-muted); font-size: .85rem; margin: 0 0 14px; }
.account__form { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.account__form .field, .account__form .form-grid { width: 100%; }
.account__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .account__grid { grid-template-columns: 1fr; } }
.account__empty { color: var(--tr-muted); margin: 0; }
.account__orders { display: flex; flex-direction: column; gap: 10px; }
.order-card { display: block; border: 1px solid var(--tr-line); border-radius: var(--tr-radius-sm); padding: 12px 14px; color: var(--tr-text); transition: border-color .15s ease; }
.order-card:hover { border-color: var(--tr-cyan); color: var(--tr-text); }
.order-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.order-card__num { font-weight: 700; color: var(--tr-text); }
.order-card__status { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; background: var(--tr-mist); color: var(--tr-muted); }
.order-card__status--paid { background: var(--tr-cyan-soft); color: var(--tr-cyan-dark); }
.order-card__status--fulfilled { background: #e8f6ee; color: var(--tr-good); }
.order-card__status--refunded, .order-card__status--cancelled { background: #fbe9e7; color: var(--tr-poor); }
.order-card__meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; color: var(--tr-muted); font-size: .86rem; }
.order-card__track { margin-top: 6px; font-size: .8rem; color: var(--tr-muted); }
.account__newsletter { margin-top: 4px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }
.contact__lead { color: var(--tr-muted); font-size: .96rem; line-height: 1.55; margin: 0 0 18px; }
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.contact__form .btn { align-self: flex-start; }
.contact__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact__info p { color: var(--tr-muted); font-size: .92rem; line-height: 1.55; margin: 0 0 14px; }
.contact__info p strong { color: var(--tr-text); }
.contact__note { font-size: .85rem; }
.contact__privacy { font-size: .82rem; color: var(--tr-muted); margin: 0; line-height: 1.5; }
.contact__privacy a { text-decoration: underline; color: var(--tr-muted); }
.contact__privacy a:hover { color: var(--tr-cyan-dark); }

/* ==========================================================================
   Footer - footer.css, reduced to the shop's four columns
   ========================================================================== */
.site-footer { flex-shrink: 0; background: #1a1a1a; color: #b0b0b0; font-size: .9rem; line-height: 1.6; }
.site-footer a { color: #d0d0d0; transition: color .2s ease, padding-left .2s ease; }
.site-footer a:hover { color: var(--tr-cyan); }
.site-footer__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; padding: 40px 20px 36px; }
@media (max-width: 860px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .site-footer__inner { grid-template-columns: 1fr; gap: 26px; } }
.site-footer__col h3 { color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 1.1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--tr-cyan); }
.site-footer__col p { margin: 0; color: #b0b0b0; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: .5rem; }
.site-footer__col li a { display: inline-block; padding: .15rem 0; }
.site-footer__col li a:hover { padding-left: .25rem; }
.site-footer__bar { background: #000; }
.site-footer__bar-inner { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 16px 20px; }
.site-footer__bar-inner .muted { color: #8a949e; font-size: .82rem; }
.site-footer__trust { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.trust { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: #b0b0b0; }
.site-footer__logo { width: 120px; height: auto; opacity: .85; }

/* ==========================================================================
   Product image lightbox (built by shop.js)
   ========================================================================== */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    background: rgba(14, 18, 22, .9);
    opacity: 0; transition: opacity .2s ease;
    cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; }
.lightbox img {
    max-width: min(92vw, 1000px); max-height: 90vh;
    border-radius: var(--tr-radius); box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    transform: scale(.98); transition: transform .2s ease;
    cursor: default;
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
    position: absolute; top: 18px; right: 22px;
    width: 44px; height: 44px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1;
    cursor: pointer; transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .24); }
.lightbox__caption {
    position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
    max-width: min(88vw, 640px);
    padding: 9px 18px; border-radius: 999px;
    background: rgba(255, 255, 255, .14); color: #fff;
    font-size: .9rem; line-height: 1.4; text-align: center;
    opacity: 0; transition: opacity .2s ease .05s;
}
.lightbox.is-open .lightbox__caption { opacity: 1; }
.lightbox__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .12); color: #fff; font-size: 34px; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background .15s ease;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@media (max-width: 560px) { .lightbox__nav { width: 42px; height: 42px; font-size: 26px; } .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }

/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
    max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 18px;
    flex-wrap: wrap; background: var(--tr-ink); color: #fff; border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--tr-radius); padding: 16px 20px; box-shadow: 0 8px 30px rgba(0,0,0,.28); }
.consent__text { margin: 0; font-size: .88rem; line-height: 1.5; flex: 1 1 280px; color: #cfd8de; }
.consent__text a { color: #fff; text-decoration: underline; }
.consent__actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent .btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.consent .btn--ghost:hover { border-color: #fff; }
@media (max-width: 520px) { .consent { gap: 12px; } .consent__actions { width: 100%; } .consent__actions .btn { flex: 1; } }

/* ==========================================================================
   Customer reviews
   ========================================================================== */
/* Static star display (read-only): grey row with a gold overlay clipped to %. */
.rstars{position:relative;display:inline-block;font-size:16px;line-height:1;white-space:nowrap;color:#cfd6dc;font-family:Arial,Helvetica,sans-serif}
.rstars::before{content:"\2605\2605\2605\2605\2605"}
.rstars__on{position:absolute;left:0;top:0;overflow:hidden;color:#f5a623;white-space:nowrap}
.rstars__on::before{content:"\2605\2605\2605\2605\2605"}
.shp-head .rstars{color:rgba(255,255,255,.28)}

/* Interactive star picker (pure CSS, no JS): radios reversed in the DOM. */
.star-input{display:inline-flex;flex-direction:row-reverse;justify-content:flex-end;font-size:32px;line-height:1}
.star-input input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.star-input label{color:#cfd6dc;cursor:pointer;transition:color .12s ease;padding:0 2px}
.star-input label:hover,.star-input label:hover ~ label,.star-input input:checked ~ label{color:#f5a623}
.star-input input:focus-visible + label{outline:3px solid var(--tr-cyan);outline-offset:2px;border-radius:4px}

/* Review submission form */
.review-page{max-width:680px}
.review-page__lead{color:var(--tr-muted);font-size:1rem;line-height:1.55;margin:0 0 18px}
.review-page__lead strong{color:var(--tr-text);font-family:var(--tr-mono)}
.review-form{display:flex;flex-direction:column;gap:16px;align-items:flex-start}
.review-form > .field{width:100%}
.review-card{border:1px solid var(--tr-line);border-radius:var(--tr-radius);padding:18px 20px;margin:0;background:var(--tr-paper);width:100%;min-width:0}
.review-card .field{margin-top:14px}
.review-card__head{display:flex;gap:14px;align-items:center;margin:0 0 4px}
.review-card__img{border-radius:var(--tr-radius-sm);object-fit:cover;flex:0 0 auto;border:1px solid var(--tr-line)}
.review-card__name{font-size:1.05rem;margin:0}
.review-card__variant{margin:2px 0 0;color:var(--tr-muted);font-size:.86rem;font-family:var(--tr-mono)}
.review-card__status{margin:4px 0 0;color:var(--tr-good);font-size:.82rem}
.review-thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.review-thumbs img{border-radius:var(--tr-radius-sm);object-fit:cover;border:1px solid var(--tr-line)}
.review-file{display:block;margin:4px 0;font-size:.9rem}
.review-file__preview{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.review-file__chip{width:64px;height:64px;object-fit:cover;border-radius:var(--tr-radius-sm);border:1px solid var(--tr-line)}
.review-file__chip.is-too-big{outline:2px solid var(--tr-poor);opacity:.6}
.review-file__hint{color:var(--tr-muted);font-size:.82rem;margin:6px 0 0;line-height:1.45}
.review-recommend{display:flex;align-items:center;gap:8px;margin:16px 0 0;font-size:.92rem;color:var(--tr-text);cursor:pointer}
.review-recommend input{width:18px;height:18px;accent-color:var(--tr-cyan-dark)}

/* Earned reward shown on the review thank-you page */
.review-reward{margin:16px 0 0;padding:22px 20px;background:var(--tr-paper);border:1px solid var(--tr-line);border-left:3px solid var(--tr-good);border-radius:var(--tr-radius);text-align:center}
.review-reward__lead{margin:0 0 12px;font-size:1rem;line-height:1.5;color:var(--tr-text)}
.review-reward__code{margin:0 0 8px}
.review-reward__code-value{display:inline-block;font-size:1.4rem;font-weight:600;letter-spacing:.08em;color:var(--tr-text);background:var(--tr-mist);border:1px dashed var(--tr-muted);border-radius:var(--tr-radius-sm);padding:10px 20px}
.review-reward__fine{margin:0 0 16px;color:var(--tr-muted);font-size:.84rem;line-height:1.5}

/* Product-page review section */
.reviews__summary{display:flex;flex-wrap:wrap;gap:24px 40px;align-items:center;margin:20px 0 0;padding:18px 20px;border:1px solid var(--tr-line);border-radius:var(--tr-radius);background:var(--tr-mist)}
.reviews__list{max-width:760px;margin-top:8px}
.reviews__avg{text-align:center;flex:0 0 auto;min-width:110px}
.reviews__avg-num{font-size:2.4rem;font-weight:600;letter-spacing:-0.04em;line-height:1;color:var(--tr-text)}
.reviews__avg .rstars{font-size:18px;margin:6px 0 2px}
.reviews__avg-count{display:block;color:var(--tr-muted);font-size:.8rem}
.reviews__bars{flex:1 1 240px;min-width:220px;max-width:420px;display:flex;flex-direction:column;gap:5px}
.reviews__bar{display:flex;align-items:center;gap:10px;font-size:.8rem;color:var(--tr-muted)}
.reviews__bar-label{width:40px;white-space:nowrap}
.reviews__bar-track{flex:1;height:8px;background:var(--tr-line);border-radius:4px;overflow:hidden}
.reviews__bar-fill{height:100%;background:#f5a623;border-radius:4px}
.reviews__bar-n{width:26px;text-align:right}
.reviews__cta{margin:10px 0 0;color:var(--tr-muted);font-size:.92rem;line-height:1.55;max-width:66ch}

.review{border-top:1px solid var(--tr-line);padding:18px 0}
.review:first-child{border-top:0;padding-top:12px}
.review__head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}
.review__author{font-weight:700;color:var(--tr-text)}
.review__verified{display:inline-flex;align-items:center;gap:4px;color:var(--tr-good);font-family:var(--tr-mono);font-size:.64rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:2px 7px;border:1px solid #bfe5cd;border-radius:3px}
.review__date{color:var(--tr-muted);font-size:.78rem;margin-left:auto}
.review__variant{color:var(--tr-muted);font-size:.82rem;font-family:var(--tr-mono)}
.review__title{font-weight:700;margin:8px 0 4px;font-size:1rem}
.review__body{color:var(--tr-text);line-height:1.6;margin:4px 0 0;white-space:pre-line}
.review__photos{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}
.review__photos a{display:block}
.review__photos img{width:84px;height:84px;object-fit:cover;border-radius:var(--tr-radius-sm);border:1px solid var(--tr-line)}
.review__reply{margin:12px 0 0;padding:12px 14px;background:var(--tr-mist);border-radius:var(--tr-radius-sm);border-left:3px solid var(--tr-ink)}
.review__reply-who{font-weight:700;font-size:.82rem;margin:0 0 4px}
.review__reply-body{color:var(--tr-muted);font-size:.9rem;line-height:1.5;margin:0;white-space:pre-line}
.review__foot{margin:12px 0 0}
.review-helpful{display:inline-flex;align-items:center;gap:7px;background:var(--tr-paper);border:1px solid var(--tr-line);border-radius:var(--tr-radius-sm);padding:5px 12px;font:inherit;font-size:.8rem;color:var(--tr-muted);cursor:pointer}
.review-helpful:hover{border-color:var(--tr-text);color:var(--tr-text)}
.review-helpful.is-voted{border-color:var(--tr-good);color:var(--tr-good);cursor:default}

/* Jump link from the size picker down to the chart. */
.size-opt__help { font-weight: 600; letter-spacing: 0; text-transform: none; font-size: .78rem; margin-left: 8px; }
