/* Korak store overrides (store tenants only; loaded after the kit and the :root deal).
   1) Neutralise the shared src/app/(frontend)/styles.css (written for the content tenants) —
      every rule is scoped to html[data-type], which only the store layout sets.
   2) Page CSS for the store's own parts (k-*), on the kit's tokens. Never edit /korak-kit. */

/* ---- 1. neutralise styles.css ---- */
html[data-type] { font-size: 100%; line-height: normal; background: var(--bg); height: auto; }
html[data-type] body {
  height: auto; color: var(--ink); margin: 0;
  font: 400 var(--t-body)/1.55 var(--font-text);
}
html[data-type] :where(h1, h2, h3, h4) { margin: 0; }
html[data-type] h1 { font-size: var(--t-h1); line-height: 1.04; font-weight: var(--display-weight); }
html[data-type] p { margin: 0; }
html[data-type] a:focus { opacity: 1; }
html[data-type] a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Devanagari accents (collection names) */
[lang="hi"] { font-family: "Tiro Devanagari Hindi", var(--font-display); font-weight: 400; letter-spacing: 0; }
.k-hi { color: var(--muted); font-size: 0.8em; }

/* ---- nav ---- */
.nav__logo .k-logo { height: 44px; width: auto; display: block; }
@media (max-width: 767px) { .nav__logo .k-logo { height: 34px; } }
.ground-inverse .nav__logo .k-logo, .footer--dark .nav__logo .k-logo { filter: invert(1); }
.k-cart { gap: 8px; display: inline-flex; align-items: center; }
.k-cart svg { flex: none; }
.k-cart__count {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 999px; background: var(--p-accent); color: var(--p-accent-ink);
  font-size: 13px; font-weight: 600; line-height: 1;
}
.k-cart__count[data-empty] { display: none; }

/* ---- main: inner pages start under the fixed header ---- */
.k-page { padding-top: calc(var(--nav, 72px) + var(--s-7, 48px)); padding-bottom: var(--s-8, 64px); min-height: 70svh; }
.k-page .wrap { display: grid; gap: var(--s-6, 32px); align-content: start; }
.k-page__head { display: grid; gap: var(--s-3, 12px); max-width: 760px; }
.k-page__head p { color: var(--muted); }

/* ---- hero stage (product hero: the tee on the page ground, no box) ---- */

/* ---- goods tiles ---- */
.k-goods { row-gap: var(--s-7, 48px); }
.k-tile { display: grid; gap: var(--s-2, 8px); align-content: start; color: var(--ink); }
.k-tile__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-md);
  background: #fbf8f2; display: grid; place-items: center;
}
.k-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur, .3s) var(--ease, ease), opacity var(--dur, .3s) var(--ease, ease); }
.k-tile:hover .k-tile__media img { transform: scale(1.03); }
/* photographs that are not close to the card's 4:5 (a wide logo, a square mug shot) stay whole */
.k-tile__media img.is-contain { object-fit: contain; }
/* the no-photo placeholder keeps the logo at its own size, never cropped */
.k-tile__media img.k-ph-logo { width: 55%; height: auto; max-width: 200px; object-fit: contain; transition: none; transform: none; }
/* a second photograph fades in over the first on hover (only when the design has one) */
.k-tile__alt { position: absolute; inset: 0; opacity: 0; background: #fbf8f2; }
.k-tile:hover .k-tile__alt, .k-tile:focus-visible .k-tile__alt { opacity: 1; }
.k-tile__ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--p-surface);
  font: var(--display-weight) 48px/1 var(--font-display); letter-spacing: var(--display-tracking);
}
.k-tile__name { font: 500 var(--t-body)/1.35 var(--font-text); letter-spacing: 0; margin-top: var(--s-2, 8px); }
.k-tile__price { color: var(--ink); font-weight: 600; }
.k-from { color: var(--muted); font-weight: 400; }
.k-badge {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 4px;
  background: var(--p-accent); color: var(--p-accent-ink); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.k-badge--out { background: var(--ink); color: var(--bg); }
.k-fit {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 4px;
  background: color-mix(in oklab, var(--bg) 92%, transparent); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.k-sizes-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.k-sizes-mini li { min-width: 34px; padding: 3px 8px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: 12px; font-weight: 500; text-align: center; }
.k-sizes-mini li[data-out] { color: var(--muted); text-decoration: line-through; border-color: var(--line); }
@media (max-width: 1023px) { .k-goods > .span-3 { grid-column: span 6; } }
@media (max-width: 639px) { .k-goods { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; } .k-goods > * { grid-column: auto !important; } }


/* Dense commerce sections grow with their grid instead of the kit's fixed screens (user-requested density) */
/* (section.k-flow outweighs the kit's `main > :is(section, .section)`: a tie would lose to its later sheet) */
main > section.k-page, main > section.k-flow { height: auto; min-height: 0; }
main > section.k-page { min-height: 70svh; }
main > .k-page > .wrap, main > .k-flow > .wrap { height: auto; }

/* White photograph backgrounds melt into the sand ground and the card tint instead of boxing in */
.k-tile__media > img:not(.k-ph-logo):not(.k-tile__alt) { mix-blend-mode: multiply; }
/* the hover photo is a plain opaque layer (as on the home tees): multiplying it ghosts the model shot through */
.k-tile__media > img.k-tile__alt { mix-blend-mode: normal; background: #fff; }
/* the hero photo sits in an animated layer, which multiply cannot blend through: round it instead */


/* ---- trust strip (above the footer, every store page) ---- */
.k-trust { background: var(--p-surface); border-top: 1px solid var(--line); }
.k-trust__row { list-style: none; margin: 0; padding: var(--s-6, 32px) 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: start; gap: var(--s-5, 24px); }
.k-trust__row li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.k-trust__row svg { width: 28px; height: 28px; color: var(--p-accent); }
.k-trust__row strong { display: block; font-weight: 600; }
.k-trust__row span { color: var(--muted); font-size: 15px; }
@media (max-width: 1023px) { .k-trust__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .k-trust__row { grid-template-columns: 1fr; } }

/* ---- listing header: breadcrumb, title + count, toolbar ---- */
.k-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); }
.k-crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent; transition: text-decoration-color var(--dur, .2s); }
.k-crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (max-width: 767px) { .k-crumbs a { display: inline-block; padding: 11px 6px; margin: -11px -6px; } }
.k-crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.k-page__title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.k-count { color: var(--muted); font-size: 16px; }
.k-toolbar { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 767px) {
  .k-toolbar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-height: 69px; }
  .k-toolbar::-webkit-scrollbar { display: none; }
  .k-toolbar .k-chip { flex: none; }
}

/* ---- shop filters + pagination ---- */
.k-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.k-chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink); font-weight: 500;
  transition: background var(--dur, .2s) var(--ease, ease), border-color var(--dur, .2s);
}
.k-chip:hover { border-color: var(--ink); }
.k-chip[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.k-pager { display: flex; gap: 12px; align-items: center; justify-content: center; }

/* ---- product page ---- */
.k-pdp { display: grid; gap: var(--s-7, 48px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
@media (max-width: 1023px) { .k-pdp { grid-template-columns: 1fr; } }
.k-gallery { display: grid; gap: 12px; }
.k-gallery__main { aspect-ratio: 4 / 5; background: #fff; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.k-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.k-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.k-thumbs button { width: 72px; height: 90px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; cursor: pointer; }
.k-thumbs button[aria-pressed="true"] { border-color: var(--ink); border-width: 2px; }
.k-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.k-buy { display: grid; gap: var(--s-5, 24px); position: sticky; top: calc(var(--nav, 72px) + 24px); }
.k-buy h1 { font-size: clamp(30px, 2.4vw + 12px, 44px); line-height: 1.08; }
.k-price { font: 500 24px/1.2 var(--font-text); }
.k-opt { display: grid; gap: 10px; }
.k-opt__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.k-opt__label { font-weight: 600; }
.k-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.k-size {
  min-width: 56px; height: 48px; padding: 0 14px; border-radius: var(--r-btn, 8px);
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 500; cursor: pointer;
  transition: border-color var(--dur, .2s), background var(--dur, .2s);
}
.k-size:hover:not(:disabled) { border-color: var(--ink); }
.k-size[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.k-size[data-out-of-stock] { color: var(--muted); text-decoration: line-through; background: var(--surface); }
.k-size:disabled { cursor: not-allowed; }
.k-textbtn { background: none; border: 0; padding: 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; min-height: 44px; }
.k-qtyrow { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.k-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-btn, 8px); height: 48px; }
.k-qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.k-qty span { min-width: 32px; text-align: center; font-weight: 500; }
.k-actions { display: grid; gap: 10px; }
.k-actions .btn { width: 100%; justify-content: center; }
.k-note { color: var(--muted); font-size: 15px; }
.k-alert { padding: 12px 16px; border-radius: var(--r-sm); background: #fde8e8; color: #8a1c1c; }
.k-alert--need { font-weight: 700; padding: 10px 14px; }
.k-sizes[data-need] { outline: 2px solid #b3261e; outline-offset: 4px; border-radius: 4px; }
.k-ok { padding: 12px 16px; border-radius: var(--r-sm); background: var(--p-accent); color: var(--p-accent-ink); }
.k-prose { max-width: 68ch; display: grid; gap: 16px; }
.k-prose :is(ul, ol) { padding-left: 1.2em; display: grid; gap: 6px; }
.k-prose h2 { font-size: var(--t-h3); margin-top: 16px; }

/* size chart dialog */
.k-dialog { border: 0; border-radius: var(--r-lg); padding: 0; max-width: min(720px, calc(100vw - 32px)); width: 100%; color: var(--ink); }
.k-dialog::backdrop { background: rgb(0 0 0 / .45); }
.k-dialog__body { padding: 24px; display: grid; gap: 16px; }
.k-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.k-dialog__head h2 { font-size: var(--t-h3); }
.k-table-scroll { overflow-x: auto; }
.k-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.k-table :is(th, td) { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.k-table thead th { color: var(--muted); font-weight: 500; }

/* ---- forms, cards and lists used by cart / checkout / login / account / order ---- */
.k-card { background: var(--surface); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 16px; align-content: start; }
.k-split { display: grid; gap: var(--s-6, 32px); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
@media (max-width: 1023px) { .k-split { grid-template-columns: 1fr; } }
.k-field { display: grid; gap: 6px; }
.k-field > span, .k-field > label { font-weight: 500; font-size: 15px; }
.k-field :is(input, select, textarea) {
  height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink); font: inherit;
}
.k-field textarea { height: auto; min-height: 96px; padding: 12px 14px; }
.k-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.k-field small { color: #b42318; }
.k-grid2 { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 639px) { .k-grid2 { grid-template-columns: 1fr; } }
.k-lines { list-style: none; padding: 0; margin: 0; display: grid; }
.k-line { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.k-line img, .k-line__ph { width: 80px; height: 100px; object-fit: contain; background: #fff; border-radius: var(--r-sm); }
.k-line__ph { background: var(--p-surface); }
.k-totals { display: grid; gap: 8px; }
.k-totals > div { display: flex; justify-content: space-between; gap: 12px; }
.k-totals > div:last-child { font-weight: 600; font-size: 20px; padding-top: 8px; border-top: 1px solid var(--line); }
.k-dialog__img { width: 100%; height: auto; border-radius: var(--r-sm); }
.k-ph-logo { width: 55%; max-width: 200px; height: auto; }
.k-soldout { color: var(--ink); font-weight: 500; }
/* one collection: image and words side by side across the wrap */
.k-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.k-pay__chip { display: inline-grid; place-items: center; width: 72px; height: 48px; border-radius: var(--r-sm); background: #fff; }
.k-pay__chip img { max-height: 24px; width: auto; }
.k-pay__note { color: var(--muted); font-size: 15px; flex-basis: 100%; }

/* =====================================================================================
   Pass 2: punchy white / jet / electric orange / apricot / dark grey, bolder commerce look.
   White carries the shirts and the buying; orange, apricot and black carry the rest.
   Contrast: orange (#ffb26b) is a FILL that carries #111 text. Never orange text on white.
   ===================================================================================== */
:root { --k-orange: #ffb26b; --k-apricot: #ffe3c8; --k-ink: #111111; --k-grey: #3a3a3a; --k-tint: #f4f4f4; }

/* loud headings and buttons */
main h1, main h2 { text-transform: uppercase; font-weight: 800; letter-spacing: -0.015em; line-height: 1.02; }
.btn { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.btn--secondary { border: 2px solid var(--k-ink); }

/* header: white with an ink rule; the cart count flips to black so it shows on the orange button */
.nav { border-bottom: 2px solid var(--k-ink); }
.k-cart__count { background: var(--k-ink); color: #fff; }

/* hero: an orange colour block with a white product card and a hard offset shadow */
.k-hero {
  --bg: var(--k-orange); --surface: var(--k-apricot); --ink: var(--k-ink); --muted: var(--k-ink);
  --accent: var(--k-ink); --accent-ink: var(--k-orange); --action: var(--k-ink); --action-ink: #fff;
  --line: rgb(17 17 17 / .25); --line-strong: var(--k-ink);
  background: var(--k-orange); color: var(--k-ink);
}
.k-hero .hero__lead { font-weight: 500; }
/* the product card is a card, not a full-width slab */
/* one collection: the banner leads with a big title */
footer.closing h2 { text-transform: uppercase; font-weight: 800; }


/* product cards: neutral tile so white photographs merge, bold price, loud tags */
.k-tile__media { background: var(--k-tint); }
.k-tile__media { border-radius: 6px; }
.k-tile__name { font-weight: 600; }
.k-tile__price { font-size: 17px; font-weight: 800; }
.k-badge { border-radius: 3px; font-weight: 800; background: var(--k-orange); color: var(--k-ink); }
.k-badge--out { background: var(--k-ink); color: #fff; }
.k-fit { background: #fff; color: var(--k-ink); border-radius: 3px; font-weight: 700; }
.k-sizes-mini li { border: 1.5px solid var(--k-ink); border-radius: 3px; font-weight: 700; }
.k-sizes-mini li[data-out] { border-color: var(--line-strong); color: var(--muted); }

.k-banner { --bg: var(--k-apricot); --surface: #fff; --ink: var(--k-ink); --muted: var(--k-ink); --line: rgb(17 17 17 / .25); --line-strong: var(--k-ink); background: var(--k-apricot); color: var(--k-ink); border-block: 2px solid var(--k-ink); }
.k-banner .k-hi { color: var(--k-ink); }

/* trust strip: apricot, black icons and text */
.k-trust { background: var(--k-apricot); border-block: 2px solid var(--k-ink); }
.k-trust__row svg { color: var(--k-ink); }
.k-trust__row span { color: var(--k-ink); }
.k-trust__row strong { text-transform: uppercase; letter-spacing: .02em; }

/* dark footer, orange wordmark */
footer.closing.ground-inverse .close__word { color: var(--k-orange); }

/* listing toolbar: black-outlined chips, black when active, orange on hover */
.k-toolbar { border-top: 2px solid var(--k-ink); border-bottom: 2px solid var(--k-ink); }
.k-chip { border: 2px solid var(--k-ink); border-radius: 4px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.k-chip:hover { background: var(--k-orange); border-color: var(--k-ink); }
.k-chip[aria-current="page"] { background: var(--k-ink); color: #fff; border-color: var(--k-ink); }
.k-count { color: var(--k-ink); font-weight: 700; }

/* product page: thumbs left on desktop, bold price, square size chips, orange selected state */
.k-gallery { grid-template-columns: 84px minmax(0, 1fr); grid-template-areas: "thumbs main"; align-items: start; }
.k-gallery > .k-gallery__main { grid-area: main; background: var(--k-tint); border-radius: 6px; }
.k-gallery > .k-thumbs { grid-area: thumbs; flex-direction: column; flex-wrap: nowrap; }
.k-gallery:not(:has(.k-thumbs)) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.k-gallery__main img { mix-blend-mode: multiply; }
.k-thumbs button { width: 72px; height: 90px; border: 2px solid var(--line-strong); border-radius: 4px; background: var(--k-tint); }
.k-thumbs button[aria-pressed="true"] { border-color: var(--k-ink); box-shadow: 3px 3px 0 var(--k-orange); }
.k-buy h1 { font-size: clamp(28px, 2.2vw + 14px, 44px); }
.k-price { font: 800 30px/1 var(--font-text); }
.k-opt__label { text-transform: uppercase; letter-spacing: .03em; font-size: 14px; font-weight: 800; }
.k-size { min-width: 56px; height: 48px; border: 2px solid var(--k-ink); border-radius: 4px; background: #fff; font-weight: 700; }
.k-size:hover:not(:disabled) { background: var(--k-tint); border-color: var(--k-ink); }
.k-size[aria-pressed="true"] { background: var(--k-orange); color: var(--k-ink); border-color: var(--k-ink); box-shadow: 3px 3px 0 var(--k-ink); }
.k-size[data-out-of-stock] { background: var(--k-tint); color: var(--muted); border-color: var(--line-strong); }
.k-qty { border: 2px solid var(--k-ink); border-radius: 4px; }
.k-textbtn { font-weight: 700; }
@media (max-width: 767px) {
  .k-gallery { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "thumbs"; }
  .k-gallery > .k-thumbs { flex-direction: row; flex-wrap: wrap; }
  /* the buy pair becomes a fixed bottom bar; the page keeps room so the footer is never covered */
  .k-actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; grid-template-columns: 1fr 1fr; gap: 8px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 2px solid var(--k-ink);
  }
  .k-actions .btn { min-height: 48px; padding-inline: 8px; font-size: 13px; }
  main:has(.k-actions) { padding-bottom: 76px; }
  /* sticky makes a stacking context: the product cards further down would paint over the fixed bar */
  .k-buy { position: static; }
}


/* =====================================================================================
   Home: compact split hero, the tees bought in place, what they share, the size chart.
   ===================================================================================== */

/* The kit's hero fills exactly one screen. Here it stops short so the first tees show under it:
   shoppers should see what they can buy before they scroll. */
main > .k-hero.hero { --hgap: 32px; height: auto; min-height: 0; padding-bottom: 40px; }
/* content sections size to their content (the kit's --h is how many screens tall a section is) */
main > section.k-flow { --padt: 80px; --padb: 80px; }
main > section#tees.k-flow { --padt: 48px; }
.k-hero .hero-copy > * + * { margin-top: var(--s-5, 24px); }
.k-hero .hero-copy > .btn-row { margin-top: var(--s-6, 32px); }
.k-hero .hero-text.hero-split { height: auto; align-items: center; }
.k-hero .hero-split > .hero-copy { height: auto; display: block; align-self: center; }
.k-hero .hero-visual { height: clamp(320px, 54svh, 520px); }
.k-hero .hero-visual img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%;
  background: #fff; border: 3px solid var(--k-ink); border-radius: var(--r-lg); box-shadow: 8px 8px 0 var(--k-ink);
}
@media (max-width: 1023px) { .k-hero .hero-visual { flex: none; align-self: stretch; width: 100%; height: clamp(300px, 72vw, 520px); } }

/* ---- a tee, with sizes and both ways to buy ---- */
.k-qb { display: grid; gap: var(--s-3, 12px); align-content: start; }
.k-qb__media {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--k-tint);
  border: 2px solid var(--k-ink); border-radius: 6px;
}
.k-qb__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity var(--dur, .3s) var(--ease, ease); }
.k-qb__media img.k-ph-logo { inset: auto; top: 50%; left: 50%; width: 55%; height: auto; transform: translate(-50%, -50%); object-fit: contain; }
/* the flat view fades in on hover or keyboard focus (the product page shows both photographs) */
.k-qb__alt { opacity: 0; background: #fff; }
.k-qb__media:hover .k-qb__alt, .k-qb__media:focus-visible .k-qb__alt { opacity: 1; }
.k-qb__body { display: grid; gap: 8px; align-content: start; }
.k-qb__name { font: 700 18px/1.25 var(--font-text); letter-spacing: 0; min-height: 2.5em; } /* two lines, so the rows of a long title and a short one stay level */
.k-qb__name a { color: inherit; }
.k-qb__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.k-qb__tag { color: var(--muted); font-size: 15px; line-height: 1.4; max-width: 34ch; min-height: 2.8em; }
.k-qb__price { font: 800 20px/1 var(--font-text); }
.k-qb__sizehead { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.k-qb__sizehead .k-textbtn { text-transform: none; letter-spacing: 0; font-size: 14px; min-height: 32px; display: inline-flex; align-items: center; }
.k-sizes--mini { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
@media (max-width: 639px) { .k-sizes--mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } }
.k-sizes--mini .k-size { min-width: 0; height: 38px; padding: 0; font-size: 13px; border-width: 1.5px; }
@media (max-width: 639px) { .k-sizes--mini .k-size { height: 44px; font-size: 14px; } }
.k-sizes--mini[data-need] { outline: 2px solid #b3261e; outline-offset: 4px; border-radius: 4px; }
.k-qb__hint { min-height: 0; margin: 0; font-size: 14px; font-weight: 600; color: #b3261e; }
.k-qb__actions { display: grid; gap: 8px; }
.k-qb__actions .btn { width: 100%; justify-content: center; min-height: 42px; padding-inline: 12px; font-size: 13px; }
.k-qb__done { font-size: 14px; }
.k-qb__done a { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
/* phones: one tee per row, so the sizes, price and buttons have room (two columns were cramped) */
@media (max-width: 639px) {
  #tees .k-goods { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .k-qb__media { aspect-ratio: 4 / 5; }
  .k-qb__name { font-size: 20px; }
  .k-qb__tag { font-size: 15px; max-width: none; }
  .k-sizes--mini { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
  .k-qb__actions { grid-template-columns: 1fr 1fr; }
  .k-qb__actions .btn { min-height: 48px; padding-inline: 8px; }
  .k-qb__sizehead .k-textbtn { min-height: 44px; font-size: 15px; font-weight: 700; }
  /* size chart dialog: roomy tap targets, table cells that stay readable at 360px */
  .k-dialog__body { padding: 20px 16px; }
  .k-dialog .k-sizes .k-size { min-height: 44px; }
  .k-dialog .k-table { font-size: 15px; }
  .k-dialog .k-table :is(th, td) { padding: 12px 10px; }
  .k-dialog .k-textbtn { min-width: 44px; min-height: 44px; }
}
@media (max-width: 639px) { .k-qb__name { font-size: 16px; min-height: 0; } .k-qb__tag { font-size: 14px; min-height: 0; } }

/* ---- what every tee shares ---- */
.k-care { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6, 32px); }
.k-care > div { display: grid; gap: 8px; align-content: start; padding-top: 16px; border-top: 3px solid var(--k-ink); }
.k-care dt { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.k-care dd { margin: 0; font-size: var(--t-lead); line-height: 1.45; max-width: 38ch; }
@media (max-width: 767px) { .k-care { grid-template-columns: 1fr; gap: var(--s-5, 24px); } }

/* ---- size chart (home band and product dialog) ---- */
.k-chart { display: grid; gap: 16px; }
.k-chart__title { font: 700 var(--t-lead, 20px)/1.3 var(--font-text); letter-spacing: 0; }
.k-chart .k-table { font-size: 15px; }
.k-chart .k-table :is(th, td) { padding: 6px 12px; }
.k-chart { gap: 12px; }
.k-chart .k-table thead th { color: inherit; font-weight: 800; }
.k-chart .k-table tbody th { font-weight: 800; }
.ground-inverse .k-chart .k-size { background: transparent; color: var(--ink); border-color: var(--ink); }
.ground-inverse .k-chart .k-size:hover:not(:disabled) { background: transparent; border-color: var(--k-orange); }
.ground-inverse .k-chart .k-size[aria-pressed="true"] { background: var(--k-orange); color: var(--k-ink); border-color: var(--k-orange); box-shadow: none; }

/* ---- product page: about + fabric, fit, care ---- */
.k-about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7, 48px); align-items: start; }
.k-about .k-prose { max-width: 60ch; gap: 20px; }
.k-about .k-prose h2 { margin-top: 0; }
.k-about .k-prose > div { display: grid; gap: 18px; }
.k-about .k-prose p { margin: 0; line-height: 1.65; font-size: 17px; }
.k-about .k-prose p:first-child { font: 700 clamp(20px, 2vw, 24px)/1.3 var(--font-text); letter-spacing: -.01em; }
.k-specs { margin: 0; display: grid; border: 3px solid var(--k-ink); border-radius: 12px; background: #fff; box-shadow: 8px 8px 0 var(--k-ink); overflow: hidden; }
.k-specs > div { display: grid; gap: 6px; padding: 18px 22px; }
.k-specs > div + div { border-top: 2px solid var(--k-ink); }
.k-specs dt { justify-self: start; padding: 3px 10px; border: 2px solid var(--k-ink); border-radius: 999px; background: var(--k-orange); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.k-specs dd { margin: 0; line-height: 1.55; }
@media (max-width: 1023px) { .k-about { grid-template-columns: 1fr; gap: var(--s-6, 32px); } }


/* ---- OTP popup (checkout mobile verification) ---- */
.k-otp { max-width: min(420px, calc(100vw - 32px)); }
.k-otp .k-dialog__body { gap: 14px; }
.k-otp__lead { margin: 0; color: var(--muted); }
.k-otp__lead strong { color: var(--ink); }
.k-otp__input {
  width: 100%; height: 64px; text-align: center; font: 800 32px/1 var(--font-text); letter-spacing: .5em; text-indent: .5em;
  border: 3px solid var(--k-ink); border-radius: 6px; background: #fff; color: var(--k-ink);
}
.k-otp__input:focus { outline: 3px solid var(--k-orange); outline-offset: 2px; }
.k-otp__input::placeholder { color: #bbb; }
.k-otp__resend { justify-self: center; min-height: 44px; }
.k-otp__resend:disabled { color: var(--muted); }

/* ---- account page: details, verified badges, Verify now ---- */
.k-acct { display: grid; gap: 20px; }
.k-acct__card { display: grid; gap: 16px; padding: 20px; background: #fff; border: 2px solid var(--k-ink); border-radius: 6px; }
.k-acct__title { margin: 0; font: 800 16px/1 var(--font-text); letter-spacing: .03em; text-transform: uppercase; }
.k-acct__row { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.k-acct__title + .k-acct__row { padding-top: 0; border-top: 0; }
.k-acct__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.k-acct__label { font-size: 14px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.k-acct__badge { padding: 5px 9px; border: 1.5px solid; border-radius: 999px; font: 700 12px/1 var(--font-text); }
.k-acct__badge.is-ok { background: #d9f2e0; border-color: #0f4d22; color: #0f4d22; }
.k-acct__badge.is-warn { background: #ffe3c8; border-color: var(--k-ink); color: var(--k-ink); }
.k-acct__body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.k-acct__value { font-weight: 600; word-break: break-all; }
.k-acct__value.is-empty { color: var(--muted); font-weight: 400; }
.k-acct__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.k-acct__btn { min-height: 44px; padding-inline: 16px; font-size: 13px; }
.k-acct__edit { display: grid; gap: 10px; }
.k-acct__hint { margin: 0; font-size: 13px; color: var(--muted); }
.k-acct__done { margin: 0; font-size: 14px; font-weight: 700; color: #0f4d22; }
.k-acct__err { font-size: 14px; font-weight: 700; color: #8a1c1c; }
@media (max-width: 479px) { .k-acct__body { align-items: flex-start; } .k-acct__actions .k-acct__btn { flex: 1 1 auto; } }
