/* Hallmark · shape: storefront (multi-brand shop) · genre: editorial · theme: brand
 * paper: #f1efe9 field paper, white per brand · accent: olive #3e4a2c, per brand gold #9f8b5e / orange #ff4200 / khaki #a58e63 · display: Fira Sans Condensed, Roboto, Oswald, Roboto Condensed · body: Fira Sans, Roboto, Roboto Condensed (all with Cyrillic)
 * nav: store bar with the three brand logos and the cart · signature: three brand doors, each in its own colours, on the first screen · states: default, hover, focus, active, disabled, current, error, empty
 * axes: light/display-condensed/neutral · posture: shop · contrast: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P3 H3 E3 S3 R2 V3 · weakest: R, the brand doors repeat one composition by design so the three brands compare like for like */
/* waive 7b: pure black and white are the brands' own surfaces (511tactical.com and carinthia.eu headers are #000, product photos sit on #fff) */
/* waive 37: five families because each storefront wears its brand's faces; any one screen shows two */
/* answered F4: .qty-btn is an outline stepper on the surface colour, not a second filled primary */
/* waive 54: headings are set in capitals because all three source brands set them that way; labels, nav and buttons stay sentence case */
@import url("./tokens.css");
@import url("./base.css");

h1, h2, h3 { text-transform: var(--display-case); }
#view { outline: none; min-height: 60vh; }
.noscript { padding-block: var(--space-xl); }

.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-toast); background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); }
.skip:focus-visible { top: var(--space-xs); }

/* ---------- store bar ---------- */
.store-bar { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-bar); color: var(--color-bar-ink); }
.store-bar :focus-visible, .brand-band :focus-visible, .store-foot :focus-visible, .door :focus-visible { outline-color: var(--color-bar-ink); }
.store-bar__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg); min-height: 64px; }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.05; text-decoration: none; color: inherit; white-space: nowrap; }
.wordmark:hover { color: var(--color-bar-muted); }
.brand-switch { display: flex; justify-content: center; gap: var(--space-2xs); }
.brand-switch a { display: flex; align-items: center; height: 64px; padding-inline: var(--space-md); box-shadow: inset 0 -3px transparent; transition: box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.brand-switch a:hover { background: color-mix(in oklab, var(--color-bar-ink) 8%, transparent); }
.brand-switch img { height: 20px; width: auto; }
.brand-switch [data-brand-link="11tactical"] img { height: 36px; }
.brand-switch [data-brand-link="511"] img { height: 24px; }
.brand-switch [data-brand-link="carinthia"] img { height: 16px; }
.brand-switch [data-brand-link="11tactical"][aria-current] { box-shadow: inset 0 -3px var(--c11-accent); }
.brand-switch [data-brand-link="511"][aria-current] { box-shadow: inset 0 -3px var(--c511-accent); }
.brand-switch [data-brand-link="carinthia"][aria-current] { box-shadow: inset 0 -3px var(--ccar-accent); }
.store-bar__tools, .store-bar__prefs { display: flex; align-items: center; gap: var(--space-sm); }
.lang { display: flex; border: 1px solid color-mix(in oklab, var(--color-bar-ink) 35%, transparent); border-radius: var(--radius-card); }
.lang__btn { min-width: 40px; min-height: 36px; padding: 0 var(--space-xs); background: transparent; color: var(--color-bar-muted); border: 0; font-weight: 600; font-size: var(--text-sm); cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.lang__btn:hover { color: var(--color-bar-ink); }
.lang__btn[aria-pressed="true"] { background: var(--color-bar-ink); color: var(--color-bar); }
.lang__btn:active { transform: translateY(1px); }
.cart-btn { display: inline-flex; align-items: center; gap: var(--space-xs); padding: var(--space-xs) var(--space-md); background: transparent; color: var(--color-bar-ink); border: 1px solid color-mix(in oklab, var(--color-bar-ink) 35%, transparent); border-radius: var(--radius-card); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.cart-btn:hover { border-color: var(--color-bar-ink); }
.cart-btn:active { transform: translateY(1px); }
.cart-btn__count { min-width: 1.6em; padding: 0 var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); text-align: center; font-variant-numeric: tabular-nums; font-size: var(--text-sm); }

/* ---------- buttons, fields ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: var(--space-sm) var(--space-lg); border: 1px solid transparent; border-radius: var(--radius-card); font-weight: 600; font-size: var(--text-md); text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover:not(:disabled) { background: color-mix(in oklab, var(--color-accent) 82%, var(--color-ink)); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-paper-2); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.link-btn { background: none; border: 0; padding: var(--space-2xs); color: var(--color-muted); text-decoration: underline; text-underline-offset: 0.16em; cursor: pointer; font-size: var(--text-sm); }
.link-btn:hover { color: var(--color-ink); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid transparent; border-radius: var(--radius-card); color: inherit; cursor: pointer; }
.icon-btn:hover { border-color: var(--color-rule); }

.field { display: grid; gap: var(--space-2xs); margin-bottom: var(--space-md); }
.field > span:first-child { font-weight: 500; font-size: var(--text-sm); }
.optional { font-style: normal; font-weight: 400; color: var(--color-muted); margin-left: 0.35em; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: var(--space-xs) var(--space-sm); background: var(--color-surface); color: var(--color-ink); border: 1px solid var(--color-rule); border-radius: var(--radius-card); transition: border-color var(--dur-short) var(--ease-out); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--color-ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled { background: var(--color-paper-2); cursor: not-allowed; }
.field__error, .opt__error, .form-error { color: var(--color-error); font-size: var(--text-sm); }
.field--inline { display: flex; align-items: center; gap: var(--space-xs); margin: 0; }
.field--inline input { width: 220px; }
.field--inline select { width: auto; }
.field--qty { margin: 0; width: 88px; }

/* ---------- photos (served by the brands' own sites) ---------- */
.photo { position: relative; display: block; overflow: hidden; background: var(--color-photo); }
.photo > img { width: 100%; height: 100%; object-fit: contain; }
.photo.is-missing > img { visibility: hidden; }
.photo.is-missing::after { content: attr(data-brand-name); position: absolute; inset: 0; display: grid; place-items: center; color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- home: hero with the three brand doors ---------- */
.hero { padding-block: var(--space-xl) var(--space-2xl); }
.hero__text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: var(--gap-columns); margin-bottom: var(--space-xl); }
.hero h1 { max-width: 20ch; }
:lang(ru) .hero h1 { max-width: 24ch; font-size: clamp(2.3rem, 4.4vw, 3.8rem); }
.hero .lead { color: var(--color-ink-2); padding-bottom: var(--space-xs); }
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.door { display: flex; flex-direction: column; background: var(--color-surface); color: var(--color-ink); text-decoration: none; border: 1px solid var(--color-rule); }
.door__bar { display: flex; align-items: center; justify-content: center; height: 84px; padding-inline: var(--space-lg); }
.door__logo { width: auto; height: 60px; }
.door__logo--511 { height: 40px; }
.door__logo--carinthia { height: 28px; }
.door__photo { height: 236px; }
.door__photo > img { padding: var(--space-md); }
.door { transition: border-color var(--dur-short) var(--ease-out); }
.door:hover { border-color: var(--color-ink); }
.door__foot { display: grid; gap: var(--space-3xs); padding: var(--space-md) var(--space-lg) var(--space-lg); border-top: 1px solid var(--color-rule); }
.door__name { font-weight: 700; text-transform: uppercase; font-size: 1.35rem; line-height: 1.1; }
.door__tag { color: var(--color-ink-2); font-size: var(--text-sm); }
.door__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); margin-top: var(--space-sm); }
.door__count { color: var(--color-muted); font-size: var(--text-sm); }
.door__cta { flex: none; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card); font-weight: 600; transition: background-color var(--dur-short) var(--ease-out); }
.door--11tactical .door__bar { background: var(--c11-bar); }
.door--11tactical .door__name, .door--11tactical .door__tag { font-family: var(--font-11); }
.door--11tactical .door__cta { background: var(--c11-accent); color: var(--c11-bar); font-family: var(--font-11); }
.door--511 .door__bar { background: var(--c511-bar); }
.door--511 .door__name { font-family: var(--font-511); font-weight: 600; font-size: 1.6rem; }
.door--511 .door__cta { background: var(--c511-accent); color: var(--c511-bar); }
.door--carinthia .door__bar { background: var(--ccar-bar); }
.door--carinthia .door__name, .door--carinthia .door__tag { font-family: var(--font-car); }
.door--carinthia .door__cta { background: var(--ccar-accent); color: var(--ccar-bar); font-family: var(--font-car); }
.door:hover .door__cta { background: var(--color-ink); color: var(--color-paper); }

/* ---------- sections ---------- */
.section { padding-block: var(--section-gap-s); }
.section--tint { background: var(--color-paper-2); }
.section--tight { padding-block: var(--space-2xl); border-top: 1px solid var(--color-rule); }
.section__head { margin-bottom: var(--space-xl); }

.depts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.dept { display: grid; gap: var(--space-2xs); text-decoration: none; color: var(--color-ink); }
.dept__photo { height: 280px; border: 1px solid var(--color-rule); margin-bottom: var(--space-sm); }
.dept__photo > img { padding: var(--space-lg); }
.dept__photo { transition: border-color var(--dur-short) var(--ease-out); }
.dept:hover .dept__photo { border-color: var(--color-ink); }
.dept__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: 1.05; text-transform: uppercase; }
.dept:hover .dept__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.dept__meta { color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.card { display: flex; flex-direction: column; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); }
.card__photo { aspect-ratio: 3 / 4; border: 1px solid var(--color-rule); }
.card__photo > img { padding: var(--space-sm); }
.card__photo { transition: border-color var(--dur-short) var(--ease-out); }
.card:hover .card__photo { border-color: var(--color-ink); }
.card__badge { position: absolute; left: var(--space-xs); top: var(--space-xs); z-index: var(--z-raised); display: flex; align-items: center; height: 26px; padding-inline: var(--space-xs); border-radius: var(--radius-card); }
.card__badge { color: var(--color-bar-ink); }
.card__badge img { height: 13px; width: auto; }
.card__badge--11tactical img { height: 20px; }
.card__badge--11tactical { background: var(--c11-bar); }
.card__badge--511 { background: var(--c511-bar); }
.card__badge--511 img { height: 16px; }
.card__badge--carinthia { background: var(--ccar-bar); }
.card__badge--carinthia img { height: 11px; }
.card__sale { position: absolute; right: var(--space-xs); top: var(--space-xs); z-index: var(--z-raised); padding: var(--space-3xs) var(--space-xs); background: var(--color-sale); color: var(--color-surface); font-size: var(--text-sm); font-weight: 600; border-radius: var(--radius-card); }
.card__meta { display: grid; gap: var(--space-3xs); }
.card__sub { font-size: var(--text-sm); color: var(--color-muted); }
.card__name { font-family: var(--font-body); font-size: var(--text-md); font-weight: 500; line-height: 1.3; text-transform: none; max-width: none; }
.card:hover .card__name { text-decoration: underline; text-underline-offset: 0.16em; }
.card__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price-old { color: var(--color-muted); font-weight: 400; }
.empty { grid-column: 1 / -1; color: var(--color-muted); padding-block: var(--space-2xl); }

/* ---------- brand storefront band ---------- */
.brand-band { background: var(--color-bar); color: var(--color-bar-ink); border-bottom: 4px solid var(--color-accent); padding-top: var(--space-2xl); }
.brand-band__in { display: grid; grid-template-columns: minmax(160px, 260px) minmax(0, 1fr); align-items: center; gap: var(--space-2xl); padding-bottom: var(--space-xl); }
.brand-band__logo { width: 100%; height: auto; max-height: 72px; object-fit: contain; object-position: left center; }
.brand-band__logo--511 { max-height: 80px; }
.brand-band__logo--11tactical { max-height: 110px; }
.brand-band h1 { font-size: var(--text-display-s); max-width: 22ch; }
.brand-band .lead { color: var(--color-bar-muted); margin-top: var(--space-sm); }
[data-brand="511"] .brand-band h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.chip { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: var(--space-2xs) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-card); color: var(--color-ink); text-decoration: none; font-weight: 500; font-size: var(--text-sm); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.chip:hover { border-color: var(--color-ink); }
.chip[aria-current] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.chip__n { opacity: 0.7; font-variant-numeric: tabular-nums; }
.brand-band .chips { padding-bottom: var(--space-lg); }
.brand-band .chip { color: var(--color-bar-ink); border-color: color-mix(in oklab, var(--color-bar-ink) 28%, transparent); }
.brand-band .chip:hover { border-color: var(--color-bar-ink); }
.brand-band .chip[aria-current] { color: var(--color-accent-ink); border-color: var(--color-accent); }

.listing { padding-block: var(--space-xl) var(--section-gap-s); }
.subbrands { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-md); }
.subbrands__label { font-weight: 600; font-size: var(--text-sm); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); padding-block: var(--space-md); margin-bottom: var(--space-xl); border-block: 1px solid var(--color-rule); }
.toolbar__count { margin-right: auto; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.toolbar__label { font-size: var(--text-sm); color: var(--color-muted); }

/* ---------- page heads, crumbs ---------- */
.page-head { padding-block: var(--space-2xl) var(--space-lg); }
.page-head--tight { padding-bottom: 0; }
.page-head h1 { margin-bottom: var(--space-lg); }
.page-head .lead { margin-bottom: var(--space-lg); }
.crumbs { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-md); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--color-ink); }

/* ---------- product page ---------- */
.product { padding-block: var(--space-xl) var(--space-2xl); }
.product__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.product__photo { aspect-ratio: 4 / 5; border: 1px solid var(--color-rule); }
.product__photo > img { padding: var(--space-xl); }
.product__info { position: sticky; top: calc(64px + var(--space-lg)); display: grid; gap: var(--space-md); }
.product__brand { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; }
.product__name { font-size: var(--text-display-s); max-width: 18ch; }
.product__price { font-size: var(--text-xl); font-weight: 600; font-variant-numeric: tabular-nums; }
.product__buy { display: flex; align-items: end; gap: var(--space-sm); }
.product__note { color: var(--color-muted); font-size: var(--text-sm); }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-weight: 600; margin-bottom: var(--space-xs); padding: 0; }
.opt__row { display: flex; flex-wrap: wrap; gap: var(--space-xs); }
.opt__error { margin-top: var(--space-xs); }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: var(--space-2xs) var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-surface); font-size: var(--text-sm); transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.pill--size span { min-width: 52px; }
.pill:hover span { border-color: var(--color-ink); }
.pill input:checked + span { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.pill input:focus-visible + span { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.pill input:disabled + span { background: var(--color-paper-2); color: var(--color-muted); text-decoration: line-through; cursor: not-allowed; }

/* ---------- cart drawer ---------- */
.scrim { position: fixed; inset: 0; z-index: calc(var(--z-modal) - 1); background: var(--color-scrim); opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.cart { position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-modal); display: flex; flex-direction: column; width: min(440px, 100%); background: var(--color-paper); color: var(--color-ink); transform: translateX(100%); transition: transform var(--dur-long) var(--ease-out); }
.cart-open .cart { transform: none; }
.cart-open .scrim { opacity: 1; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-lg); border-bottom: 1px solid var(--color-rule); }
.cart__head h2 { font-size: var(--text-2xl); }
.cart__body { flex: 1; overflow-y: auto; padding: var(--space-md) var(--space-lg); }
.cart__foot { display: grid; gap: var(--space-md); padding: var(--space-lg); border-top: 1px solid var(--color-rule); }
.cart__empty { color: var(--color-muted); padding-block: var(--space-xl); }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: start; padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.line__photo { width: 72px; height: 96px; border: 1px solid var(--color-rule); }
.line__photo > img { padding: var(--space-2xs); }
.line__info { display: grid; gap: var(--space-3xs); min-width: 0; }
.line__brand, .line__opts { font-size: var(--text-sm); color: var(--color-muted); }
.line__name { font-weight: 500; text-decoration: none; line-height: 1.3; }
.line__name:hover { text-decoration: underline; }
.line__qty { display: flex; align-items: center; gap: var(--space-xs); margin-top: var(--space-2xs); font-variant-numeric: tabular-nums; }
.qty-btn { width: 32px; height: 32px; display: grid; place-items: center; background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-card); color: var(--color-ink); cursor: pointer; }
.qty-btn:hover { border-color: var(--color-ink); }
.qty-btn:active { transform: translateY(1px); }
.line__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.sum { display: flex; justify-content: space-between; font-weight: 600; font-size: var(--text-lg); }

/* ---------- checkout ---------- */
.checkout { padding-block: var(--space-xl) var(--section-gap-s); }
.checkout__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl); align-items: start; }
.checkout__form { display: grid; gap: var(--space-md); max-width: 620px; }
.group { border: 0; padding: 0; margin: 0 0 var(--space-md); min-width: 0; }
.group legend { font-weight: 600; font-size: var(--text-lg); margin-bottom: var(--space-md); padding: 0; }
.summary { position: sticky; top: calc(64px + var(--space-lg)); display: grid; gap: var(--space-md); padding: var(--space-lg); background: var(--color-surface); border: 1px solid var(--color-rule); }
.summary h2 { font-size: var(--text-xl); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--text-xl); margin: var(--space-xl) 0 var(--space-xs); }
.prose p { color: var(--color-ink-2); }
.checkout__form .product__note a { color: var(--color-ink); }
.done .lead { margin-bottom: var(--space-lg); }

/* ---------- footer ---------- */
.store-foot { background: var(--color-bar); color: var(--color-bar-ink); padding-block: var(--space-2xl); }
.store-foot__in { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; }
.wordmark--foot { font-size: var(--text-3xl); margin-bottom: var(--space-sm); }
.store-foot__line { color: var(--color-bar-muted); font-size: var(--text-sm); max-width: 40ch; }
.store-foot__links { display: grid; gap: var(--space-xs); }
.store-foot__links a { text-decoration: none; width: fit-content; }
.store-foot__links a:hover { text-decoration: underline; }
.store-foot__contact { display: grid; gap: var(--space-xs); font-style: normal; color: var(--color-bar-muted); }
.store-foot__contact a { text-decoration: none; width: fit-content; }
.store-foot__contact a:hover { text-decoration: underline; color: var(--color-bar-ink); }

/* ---------- responsive ---------- */
@media (max-width: 75rem) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .door__photo { height: 260px; }
}
@media (max-width: 60rem) {
  .store-bar__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "word cart" "brands brands"; gap: 0 var(--space-md); padding-top: var(--space-xs); }
  .wordmark { grid-area: word; }
  .store-bar__tools { grid-area: cart; }
  .brand-switch { grid-area: brands; justify-content: space-between; }
  .brand-switch a { height: 48px; padding-inline: var(--space-xs); }
}
/* phones: currency and language get their own row under the wordmark and cart */
@media (max-width: 34rem) {
  .store-bar__in { grid-template-areas: "word cart" "prefs prefs" "brands brands"; }
  .store-bar__tools { display: contents; }
  .store-bar__prefs { grid-area: prefs; padding-top: var(--space-xs); }
  .cart-btn { grid-area: cart; }
  .lang__btn { min-height: 32px; }
}
@media (max-width: 60rem) {
  .hero__text { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door__photo { height: 240px; }
  .depts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept__photo { height: 220px; }
  .brand-band { padding-top: var(--space-xl); }
  .brand-band__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .brand-band__logo { max-width: 220px; max-height: 56px; }
  .product__grid, .checkout__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .product__info, .summary { position: static; }
  .store-foot__in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg) var(--space-sm); }
  .depts { gap: var(--space-lg) var(--space-sm); }
  .dept__photo { height: 160px; }
  .dept__name { font-size: var(--text-xl); }
  .door__foot { padding: var(--space-md); }
  .field--inline { flex: 1 1 100%; }
  .field--inline input { width: 100%; }
  .toolbar__count { flex: 1 1 100%; }
  .brand-switch img { height: 16px; }
  .brand-switch [data-brand-link="511"] img { height: 20px; }
  .brand-switch [data-brand-link="carinthia"] img { height: 13px; }
}
