@layer reset, base, components, responsive;

@layer reset {
    *, *::before, *::after { box-sizing: border-box; }
    html { color-scheme: light; }
    body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
    img { max-width: 100%; display: block; }
    button, input, select, textarea { font: inherit; }
    a { color: inherit; }
}

@layer base {
    :root {
        --primary: #0b78c3;
        --primary-text: #fff;
        --accent: #00aee7;
        --page-bg: #f3f5f7;
        --surface: #fff;
        --text: #19242d;
        --muted: #6d7a84;
        --line: #dce2e7;
        --danger: #b42318;
        --radius: .65rem;
        --shadow: 0 .55rem 1.7rem rgb(24 36 46 / 9%);
        --shell: 1320px;
    }
    html { min-width: 320px; background: var(--page-bg); }
    html.fixed-layout { min-width: 1180px; }
    body { min-height: 100vh; background: var(--page-bg); color: var(--text); font: 400 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
    a { text-decoration: none; }
    a:hover { text-decoration: underline; text-underline-offset: .18em; }
    h1, h2, h3 { line-height: 1.17; letter-spacing: -.02em; }
    h1 { font-size: clamp(1.8rem, 3vw, 2.65rem); }
    button, .button { border: 0; border-radius: .45rem; background: var(--accent); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; min-height: 2.75rem; padding: .65rem 1rem; text-decoration: none; transition: filter .18s, transform .18s; }
    button:hover, .button:hover { filter: brightness(.94); text-decoration: none; }
    button:active, .button:active { transform: translateY(1px); }
    button[aria-busy="true"] { opacity: .65; pointer-events: none; }
    input, select, textarea { background: #fff; border: 1px solid #bcc7cf; border-radius: .4rem; color: var(--text); min-height: 2.65rem; padding: .55rem .75rem; }
    input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 35%, white); outline-offset: 2px; }
    .shell { margin-inline: auto; max-width: var(--shell); padding-inline: 1.25rem; width: 100%; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .skip-link { background: #fff; left: 1rem; padding: .75rem 1rem; position: fixed; top: -6rem; z-index: 100; }
    .skip-link:focus { top: 1rem; }
}

@layer components {
    .platform-landing-body { align-items: center; background: radial-gradient(circle at 18% 18%, #fff 0, #edf7fd 42%, #dceff9 100%); display: flex; justify-content: center; min-height: 100vh; padding: 1.5rem; }
    .platform-landing-card { background: rgb(255 255 255 / 92%); border: 1px solid rgb(11 120 195 / 15%); border-radius: 1.25rem; box-shadow: 0 1.5rem 4rem rgb(15 72 110 / 15%); max-width: 760px; padding: clamp(2rem, 7vw, 4.5rem); text-align: center; width: 100%; }
    .platform-landing-brand { align-items: center; display: inline-flex; gap: .85rem; margin-bottom: 2rem; }
    .platform-landing-brand-mark { align-items: center; background: linear-gradient(145deg, #00aee7, #0b78c3); border-radius: .8rem; box-shadow: 0 .55rem 1.2rem rgb(11 120 195 / 22%); color: #fff; display: flex; height: 4rem; justify-content: center; width: 4rem; }
    .platform-landing-brand-mark svg { fill: currentColor; height: 2.2rem; width: 2.2rem; }
    .platform-landing-brand strong { color: #063066; font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: -.04em; }
    .platform-landing-powered { color: #657685; font-size: 1.05rem; margin-top: 1rem; }
    .platform-landing-powered strong { color: #0b78c3; }
    .utility-bar { background: #23313c; color: #dfe8ee; font-size: .78rem; }
    .utility-inner { align-items: center; display: flex; justify-content: space-between; min-height: 2rem; }
    .utility-customer { align-items: baseline; display: flex; gap: .45rem; min-width: 0; }
    .utility-customer small { color: #aebbc4; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
    .utility-customer strong { color: #fff; max-width: min(45vw, 520px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .language-nav { display: flex; gap: .2rem; }
    .language-nav a { align-items: center; border-radius: .25rem; display: inline-flex; justify-content: center; min-height: 1.7rem; padding: .22rem .38rem; }
    .language-nav a.active { background: #fff; color: #23313c; font-weight: 800; }
    .language-flag { border: 1px solid rgb(0 0 0 / 16%); border-radius: .12rem; box-shadow: 0 1px 2px rgb(0 0 0 / 18%); height: 16px; object-fit: cover; width: 24px; }
    .brand-row { align-items: center; display: grid; gap: 2rem; grid-template-columns: minmax(190px, .7fr) minmax(300px, 1.4fr) auto; min-height: 112px; }
    .brand-row.locked { grid-template-columns: minmax(190px, 1fr) auto; }
    .header-wide-banner { display: block; line-height: 0; overflow: hidden; width: 100%; }
    .header-wide-banner img { display: block; height: auto; max-width: none; width: 100%; }
    .brand-row.wide-banner-layout { grid-template-columns: minmax(300px, 1.4fr) auto; min-height: 96px; }
    .brand-row.wide-banner-layout.locked { display: none; }
    .brand { align-items: center; display: flex; font-size: 1.45rem; font-weight: 800; gap: .75rem; }
    .brand img { height: auto; max-width: 100%; object-fit: contain; width: auto; }
    .brand-mark, .image-placeholder, .large-placeholder { align-items: center; background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary), #000 23%)); color: var(--primary-text); display: flex; font-weight: 900; justify-content: center; }
    .brand-mark { border-radius: .55rem; font-size: 1.55rem; height: 3.2rem; width: 3.2rem; }
    .site-search { display: flex; position: relative; z-index: 20; }
    .site-search .search-input-wrap { flex: 1; min-width: 0; position: relative; }
    .site-search input { border-radius: .5rem 0 0 .5rem; min-width: 0; width: 100%; }
    .site-search button { background: var(--primary); border-radius: 0 .5rem .5rem 0; }
    .search-suggestions { background: var(--surface); border: 1px solid var(--line); border-radius: .55rem; box-shadow: 0 .9rem 2.4rem rgb(20 40 55 / 19%); left: 0; max-height: min(430px, 65vh); overflow-y: auto; position: absolute; right: 0; top: calc(100% + .35rem); }
    .search-suggestions[hidden] { display: none; }
    .search-suggestion { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: .75rem; grid-template-columns: 48px minmax(0, 1fr); padding: .55rem .65rem; }
    .search-suggestion:hover, .search-suggestion.active { background: color-mix(in srgb, var(--primary) 8%, white); text-decoration: none; }
    .search-suggestion-thumb { align-items: center; aspect-ratio: 1; background: #f1f4f6; border-radius: .35rem; color: var(--primary); display: flex; font-size: 1.05rem; font-weight: 900; justify-content: center; overflow: hidden; }
    .search-suggestion-thumb img { height: 100%; object-fit: contain; width: 100%; }
    .search-suggestion-text { display: flex; flex-direction: column; min-width: 0; }
    .search-suggestion-text strong { font-size: .87rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .search-suggestion-text small { color: var(--muted); font-size: .72rem; }
    .search-all-results { color: var(--primary); display: block; font-size: .8rem; font-weight: 800; padding: .65rem .75rem; text-align: center; }
    .search-all-results:hover, .search-all-results:focus-visible { background: #f3f8fc; text-decoration: none; }
    .account-actions { align-items: stretch; display: flex; font-size: .9rem; gap: .65rem; justify-content: flex-end; }
    .header-action-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; box-shadow: 0 .25rem .85rem rgb(20 40 55 / 7%); display: grid; gap: .65rem; grid-template-columns: 2.45rem minmax(0, 1fr); min-height: 3.75rem; min-width: 150px; padding: .5rem .7rem; }
    a.header-action-card:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: 0 .35rem 1rem rgb(20 40 55 / 12%); text-decoration: none; }
    .header-action-icon { align-items: center; background: color-mix(in srgb, var(--primary) 10%, white); border-radius: 99px; color: var(--primary); display: flex; height: 2.45rem; justify-content: center; width: 2.45rem; }
    .header-action-icon svg { fill: currentColor; height: 1.25rem; width: 1.25rem; }
    .header-action-copy { display: flex; flex-direction: column; min-width: 0; }
    .header-action-copy small { color: var(--muted); font-size: .68rem; font-weight: 700; line-height: 1.2; }
    .header-action-copy strong { font-size: .82rem; line-height: 1.35; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cart-link .header-action-icon { background: color-mix(in srgb, var(--accent) 13%, white); color: color-mix(in srgb, var(--accent) 82%, #005879); }
    .cart-link .header-action-copy strong { color: var(--primary); }
    .cart-link.cart-bump { animation: cart-bump .5s ease; }
    @keyframes cart-bump { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.2) rotate(-4deg); } }
    .main-nav { background: var(--primary); color: var(--primary-text); box-shadow: 0 .2rem .7rem rgb(0 0 0 / 10%); }
    .nav-scroll-frame { position: relative; }
    .nav-inner { align-items: stretch; display: flex; min-height: 3.4rem; overflow-x: auto; }
    .nav-inner a { align-items: center; display: inline-flex; flex: 0 0 auto; font-weight: 700; padding: .75rem 1.2rem; }
    .nav-inner a:hover { background: rgb(255 255 255 / 12%); text-decoration: none; }
    .nav-inner .nav-favorite-link { gap: .4rem; }
    .nav-favorite-link strong { align-items: center; background: var(--primary-text); border-radius: 99px; color: var(--primary); display: inline-flex; font-size: .7rem; height: 1.35rem; justify-content: center; min-width: 1.35rem; padding-inline: .25rem; }
    .nav-logout-form { display: flex; flex: 0 0 auto; margin-left: auto; }
    .nav-guest-actions { display: flex; flex: 0 0 auto; margin-left: auto; }
    .nav-guest-login-form { display: flex; }
    .nav-guest-register { background: rgb(255 255 255 / 11%); }
    .nav-guest-register:hover { background: rgb(255 255 255 / 20%) !important; }
    .nav-link-button { background: transparent; border-radius: 0; color: var(--primary-text); font-weight: 700; min-height: auto; padding: .75rem 1.2rem; white-space: nowrap; }
    .nav-link-button:hover { background: rgb(255 255 255 / 12%); filter: none; }
    .nav-scroll-more { display: none; }
    .page-grid { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: 255px minmax(0, 1fr); padding-block: 1.5rem 3rem; }
    .page-grid.with-mini-cart { grid-template-columns: 225px minmax(0, 1fr) 270px; max-width: 1500px; }
    .page-grid.no-sidebar { grid-template-columns: minmax(0, 1fr); }
    .page-grid.no-sidebar .main-content { margin-inline: auto; max-width: 960px; width: 100%; }
    .catalog-menu-toggle { display: none; }
    .catalog-menu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: clip; }
    .catalog-menu h2 { background: var(--primary); color: var(--primary-text); font-size: .95rem; padding: .72rem .78rem; }
    .catalog-menu .all-products, .catalog-menu summary, .catalog-menu .submenu a { border-bottom: 1px solid var(--line); display: block; line-height: 1.25; }
    .catalog-menu .all-products { font-size: .82rem; font-weight: 700; padding: .46rem .7rem; }
    .catalog-menu summary { background: #fbfcfd; cursor: pointer; font-size: .83rem; font-weight: 750; list-style: none; padding: .48rem 1.75rem .48rem .7rem; position: relative; }
    .catalog-menu summary::-webkit-details-marker { display: none; }
    .catalog-menu summary::after { content: "+"; font-size: .9rem; position: absolute; right: .7rem; top: .42rem; }
    .catalog-menu details[open] summary::after { content: "−"; }
    .catalog-menu details[open] summary { color: var(--primary); }
    .catalog-menu summary a { display: inline; }
    .catalog-menu .submenu { background: #f7f9fa; }
    .catalog-menu .submenu a { color: #4d5b65; font-size: .76rem; padding: .3rem .65rem .3rem 1.15rem; }
    .catalog-menu .all-products:hover, .catalog-menu summary:hover, .catalog-menu .submenu a:hover { background: color-mix(in srgb, var(--primary) 7%, white); text-decoration: none; }
    .main-content { min-width: 0; }
    .mini-cart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; max-height: calc(100vh - 2rem); min-width: 0; overflow: hidden; position: sticky; top: 1rem; }
    .mini-cart-heading { align-items: center; background: color-mix(in srgb, var(--primary) 7%, white); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: .8rem; }
    .mini-cart-heading > div { display: flex; flex-direction: column; min-width: 0; }
    .mini-cart-eyebrow { color: var(--muted); font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .mini-cart-heading strong { color: var(--primary); font-size: .88rem; }
    .mini-cart-icon { align-items: center; background: color-mix(in srgb, var(--accent) 13%, white); border-radius: 99px; color: var(--primary); display: flex; flex: 0 0 auto; height: 2rem; justify-content: center; width: 2rem; }
    .mini-cart-icon svg { fill: currentColor; height: 1rem; width: 1rem; }
    .mini-cart-items { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
    .mini-cart-line { align-items: start; border-bottom: 1px solid var(--line); display: grid; gap: .55rem; grid-template-columns: 46px minmax(0, 1fr) auto; padding: .65rem; }
    .mini-cart-thumb { align-items: center; aspect-ratio: 1; background: #f2f5f7; border-radius: .35rem; color: var(--primary); display: flex; font-size: .85rem; font-weight: 900; justify-content: center; overflow: hidden; }
    .mini-cart-thumb:hover { text-decoration: none; }
    .mini-cart-thumb img { height: 100%; object-fit: contain; width: 100%; }
    .mini-cart-copy { display: flex; flex-direction: column; min-width: 0; }
    .mini-cart-copy small { color: var(--muted); font-size: .65rem; line-height: 1.2; }
    .mini-cart-copy > a { display: -webkit-box; font-size: .76rem; font-weight: 750; line-height: 1.3; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .mini-cart-copy span { color: var(--muted); font-size: .68rem; line-height: 1.35; margin-top: .2rem; }
    .mini-cart-line form { display: flex; }
    button.mini-cart-remove { background: transparent; border: 1px solid transparent; border-radius: 99px; color: var(--danger); font-size: 1.05rem; height: 1.7rem; min-height: 0; padding: 0; width: 1.7rem; }
    button.mini-cart-remove:hover { background: #fff0ef; border-color: #efc3be; filter: none; }
    .mini-cart-empty { align-items: center; color: var(--muted); display: flex; flex-direction: column; gap: .25rem; justify-content: center; min-height: 120px; padding: 1rem; text-align: center; }
    .mini-cart-empty > span { align-items: center; background: #f0f3f5; border-radius: 99px; display: flex; font-size: 1.2rem; height: 2.5rem; justify-content: center; width: 2.5rem; }
    .mini-cart-empty p { font-size: .78rem; }
    .mini-cart-view { border-radius: 0; flex: 0 0 auto; min-height: 2.8rem; width: 100%; }
    .flash { border: 1px solid; border-radius: .5rem; margin-bottom: 1rem; padding: .85rem 1rem; }
    .flash-success { background: #eaf8ef; border-color: #9bd4ad; color: #176331; }
    .flash-error { background: #fff0ef; border-color: #efaaa3; color: #8e2118; }
    .flash-info { background: #edf6ff; border-color: #a9cee9; color: #205677; }
    .page-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 1.3rem; }
    .eyebrow { color: var(--primary); font-size: .75rem; font-weight: 800; letter-spacing: .1em; margin-bottom: .35rem; text-transform: uppercase; }
    .result-count { color: var(--muted); font-size: .9rem; }
    .catalog-toolbar { align-items: center; display: flex; gap: 1rem; }
    .view-switch { background: var(--surface); border: 1px solid var(--line); border-radius: .45rem; display: inline-flex; overflow: hidden; }
    .view-switch a { align-items: center; color: var(--muted); display: inline-flex; font-size: .78rem; font-weight: 700; gap: .35rem; min-height: 2.35rem; padding: .4rem .65rem; }
    .view-switch a + a { border-left: 1px solid var(--line); }
    .view-switch a:hover { background: #eef5fa; text-decoration: none; }
    .view-switch a.active { background: var(--primary); color: var(--primary-text); }
    .view-switch svg { fill: currentColor; height: 1.05rem; width: 1.05rem; }
    .product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .product-grid.list-view { grid-template-columns: minmax(0, 1fr); }
    .list-view .product-card { display: grid; grid-template-columns: 210px minmax(0, 1fr); }
    .list-view .product-image { aspect-ratio: auto; min-height: 210px; }
    .list-view .product-card-body { padding: 1.25rem; }
    .list-view .product-card h2 { font-size: 1.15rem; }
    .list-view .product-card p { max-width: 70ch; }
    .product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 .2rem .8rem rgb(20 40 55 / 5%); display: flex; flex-direction: column; min-width: 0; overflow: hidden; position: relative; transition: box-shadow .2s, transform .2s; }
    .product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
    .product-image { align-items: center; aspect-ratio: 4 / 3; background: #fff; display: flex; justify-content: center; overflow: hidden; padding: .75rem; }
    .product-image img { height: 100%; object-fit: contain; width: 100%; }
    .image-placeholder { border-radius: .8rem; font-size: 3.5rem; height: 54%; opacity: .18; width: 44%; }
    .product-card-body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1rem; }
    .product-code { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .product-card h2 { font-size: 1.02rem; }
    .product-card p { color: var(--muted); font-size: .88rem; }
    .box-quantity { align-items: center; background: color-mix(in srgb, var(--primary) 7%, white); border: 1px solid color-mix(in srgb, var(--primary) 18%, white); border-radius: .4rem; display: flex; font-size: .76rem; gap: .55rem; justify-content: space-between; padding: .35rem .5rem; width: 100%; }
    .product-card .box-quantity { background: transparent; border: 0; color: var(--muted); font-size: .68rem; gap: .3rem; justify-content: flex-start; line-height: 1.25; padding: 0; width: fit-content; }
    .product-card .box-quantity strong { color: inherit; font-size: .72rem; font-weight: 700; }
    .promotion-badge { background: #d92d20; border-radius: 0 0 .45rem 0; color: #fff; font-size: .72rem; font-weight: 900; left: 0; letter-spacing: .04em; padding: .35rem .65rem; position: absolute; text-transform: uppercase; top: 0; z-index: 2; }
    .new-product-badge { background: var(--accent); border-radius: 0 0 0 .45rem; color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .04em; padding: .35rem .65rem; position: absolute; right: 0; text-transform: uppercase; top: 0; z-index: 2; }
    .detail-promotion-badge { border-radius: 99px; position: static; }
    .detail-product-badge { border-radius: 99px; position: static; }
    .favorite-toggle { position: absolute; right: .55rem; top: 2.45rem; z-index: 4; }
    .favorite-button { background: rgb(255 255 255 / 94%); border: 1px solid #d6dde2; border-radius: 99px; box-shadow: 0 .25rem .8rem rgb(20 40 55 / 16%); color: #8a969f; font-size: 1.2rem; height: 2.35rem; min-height: 2.35rem; padding: 0; width: 2.35rem; }
    .favorite-button:hover { color: #c02635; }
    .favorite-button.active { background: #fff0f1; border-color: #eaa4ab; color: #c02635; }
    .detail-favorite-toggle { align-self: flex-start; position: static; }
    .detail-favorite-toggle .favorite-button { font-size: .9rem; gap: .45rem; height: auto; min-height: 2.5rem; padding: .45rem .8rem; width: auto; }
    .detail-favorite-toggle .favorite-button > span:first-child { font-size: 1.2rem; }
    .price del, .detail-price del { color: var(--muted); display: block; font-size: .75em; font-weight: 600; }
    .promotion-until { color: #8c2d26; display: block; font-size: .68rem; font-weight: 750; margin-top: .12rem; }
    .box-quantity strong { color: var(--primary); white-space: nowrap; }
    .detail-box-quantity { max-width: 340px; padding: .55rem .7rem; }
    .stock { align-items: center; border-radius: 99px; display: inline-flex; flex-wrap: wrap; font-size: .72rem; font-weight: 700; gap: .25rem; padding: .2rem .55rem; width: fit-content; }
    .stock strong { font-weight: 900; white-space: nowrap; }
    .in-stock { background: #e6f6ea; color: #1c6c36; }
    .out-stock { background: #f5eee1; color: #78551f; }
    .product-buy-row { align-items: end; display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; margin-top: auto; padding-top: .45rem; }
    .price { color: var(--primary); font-size: 1.1rem; }
    .price small, .detail-price small { color: var(--muted); font-size: .65em; font-weight: 600; }
    .quick-add { display: flex; }
    .quick-add input { border-radius: .4rem 0 0 .4rem; max-width: 4.3rem; min-height: 2.35rem; padding: .4rem; }
    .quick-add button { border-radius: 0 .4rem .4rem 0; min-height: 2.35rem; padding: .45rem .65rem; }
    .quick-add[data-cart-mode="replace"] button { background: var(--primary); }
    .detail-add[data-cart-mode="replace"] button { background: var(--primary); }
    .quick-add button, .detail-add button { position: relative; }
    .add-button-loader { align-items: center; display: none; inset: 0; justify-content: center; position: absolute; }
    .quick-add button[aria-busy="true"], .detail-add button[aria-busy="true"] { opacity: 1; }
    .quick-add button[aria-busy="true"] .add-button-label, .detail-add button[aria-busy="true"] .add-button-label { visibility: hidden; }
    .quick-add button[aria-busy="true"] .add-button-loader, .detail-add button[aria-busy="true"] .add-button-loader { display: flex; font-size: 1.05rem; animation: add-hourglass-turn .9s ease-in-out infinite; }
    @keyframes add-hourglass-turn { 0%, 42% { transform: rotate(0deg); } 58%, 92% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) { .quick-add button[aria-busy="true"] .add-button-loader, .detail-add button[aria-busy="true"] .add-button-loader { animation: none; } }
    .pagination { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; padding-top: 1.5rem; }
    .pagination a { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: .3rem; display: inline-flex; height: 2.35rem; justify-content: center; min-width: 2.35rem; }
    .pagination a.active { background: var(--primary); color: var(--primary-text); }
    .infinite-catalog-loader { align-items: center; display: flex; flex-direction: column; gap: .65rem; justify-content: center; min-height: 5.5rem; padding: 1.25rem 0 .25rem; }
    .infinite-catalog-status { color: var(--muted); font-size: .82rem; min-height: 1.2rem; text-align: center; }
    .infinite-catalog-button { align-items: center; display: inline-flex; gap: .55rem; justify-content: center; min-width: 190px; }
    .infinite-spinner { border: 3px solid rgb(255 255 255 / 45%); border-radius: 50%; border-top-color: currentColor; display: none; height: 1.05rem; width: 1.05rem; }
    .infinite-catalog-button[aria-busy="true"] .infinite-spinner { animation: infinite-loader-spin .75s linear infinite; display: inline-block; }
    @keyframes infinite-loader-spin { to { transform: rotate(360deg); } }
    @media (prefers-reduced-motion: reduce) { .infinite-catalog-button[aria-busy="true"] .infinite-spinner { animation: none; } }
    .empty-state { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(2rem, 6vw, 5rem); text-align: center; }
    .empty-state p { color: var(--muted); margin: .8rem auto 1.4rem; max-width: 38rem; }
    .breadcrumbs { align-items: center; color: var(--muted); display: flex; font-size: .85rem; gap: .5rem; margin-bottom: 1rem; }
    .product-detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; column-gap: 2rem; row-gap: 1.25rem; grid-template-columns: minmax(300px, 1fr) 1.1fr; padding: clamp(1rem, 3vw, 2.25rem); }
    .product-detail-title { border-bottom: 1px solid var(--line); grid-column: 1 / -1; margin: 0; padding-bottom: 1rem; width: 100%; }
    .product-gallery { align-items: center; display: flex; justify-content: center; min-height: 370px; }
    .product-gallery img { max-height: 520px; object-fit: contain; }
    .large-placeholder { border-radius: 1rem; font-size: 7rem; height: 280px; opacity: .18; width: 280px; }
    .product-info { align-items: start; display: flex; flex-direction: column; gap: 1rem; }
    .product-info .description { color: #4d5a64; }
    .product-specifications { border: 1px solid #cbd3d9; border-radius: .55rem; margin: 0; overflow: hidden; width: 100%; }
    .product-specifications > div { display: grid; grid-template-columns: minmax(145px, 42%) minmax(0, 1fr); }
    .product-specifications > div + div { border-top: 1px solid #cbd3d9; }
    .product-specifications dt, .product-specifications dd { margin: 0; min-width: 0; padding: .65rem .75rem; }
    .product-specifications dt { background: #f3f5f7; border-right: 1px solid #cbd3d9; font-weight: 800; }
    .product-specifications dd { overflow-wrap: anywhere; }
    .detail-price { color: var(--primary); font-size: 1.7rem; font-weight: 800; }
    .detail-add { background: #f3f7f4; border: 1px solid #d7e8da; border-radius: .6rem; display: flex; flex-direction: column; gap: .8rem; padding: 1rem; width: 100%; }
    .detail-quantity-grid { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .detail-quantity-grid.units-only { grid-template-columns: 1fr; }
    .detail-quantity-field { display: grid; font-weight: 800; gap: .35rem; min-width: 0; }
    .detail-quantity-input { align-items: center; background: var(--surface); border: 1px solid #b9c7bd; border-radius: .45rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow: hidden; }
    .detail-quantity-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent); }
    .detail-quantity-input input { border: 0; border-radius: 0; min-width: 0; outline: 0; width: 100%; }
    .detail-quantity-input input[readonly] { background: var(--surface); color: var(--text); cursor: default; }
    .detail-quantity-input small { border-left: 1px solid #d7e0da; color: var(--muted); font-size: .75rem; font-weight: 800; padding: .65rem; white-space: nowrap; }
    .detail-quantity-stepper { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; }
    .detail-quantity-stepper > button { border-radius: 0; font-size: 1.2rem; min-width: 0; padding: .4rem; }
    .detail-quantity-stepper > button:first-child { border-radius: .45rem 0 0 .45rem; }
    .detail-quantity-stepper > button:last-child { border-radius: 0 .45rem .45rem 0; }
    .detail-quantity-stepper .detail-quantity-input { border-left: 0; border-radius: 0; border-right: 0; }
    .detail-quantity-stepper .detail-quantity-input:focus-within { box-shadow: none; }
    .detail-add > button { min-height: 2.75rem; width: 100%; }
    .auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 2rem; grid-template-columns: .9fr 1.1fr; margin: 2rem auto; max-width: 900px; padding: clamp(1.5rem, 5vw, 3.5rem); }
    .login-page-body { background: var(--page-bg); display: flex; flex-direction: column; min-height: 100vh; }
    .login-banner-only { align-items: center; background: var(--surface); box-sizing: border-box; display: flex; justify-content: center; overflow: hidden; width: 100%; }
    .login-banner-only > img { display: block; height: auto; max-height: min(240px, 26vh); max-width: 100%; object-fit: contain; width: auto; }
    .login-banner-only.login-wide-banner > img { max-height: none; max-width: none; width: 100%; }
    .login-banner-fallback { align-items: center; display: flex; font-size: 1.55rem; gap: .8rem; justify-content: center; min-height: min(120px, 18vh); padding: .75rem; }
    .login-main { flex: 1 0 auto; margin-inline: auto; max-width: 620px; padding: clamp(.75rem, 3vh, 1.75rem) 1rem 1rem; width: 100%; }
    .login-main-wide { max-width: 1080px; }
    .login-footer { flex: 0 0 auto; margin-top: auto; }
    .login-footer-inner { align-items: center; display: grid; gap: 1rem 2rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; padding-block: 1.15rem; }
    .login-footer-company, .login-footer-contact { display: flex; flex-direction: column; gap: .18rem; min-width: 0; }
    .login-footer-company span, .login-footer-contact a { font-size: .86rem; overflow-wrap: anywhere; }
    .login-contact-button { min-width: 130px; }
    .login-language-nav { justify-content: center; margin-top: .8rem; }
    .login-language-nav a { border: 1px solid var(--line); color: var(--muted); }
    .login-language-nav a.active { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
    .login-card-minimal { gap: 1rem; grid-template-columns: 1fr; margin: 0; max-width: none; padding: clamp(1rem, 3.5vw, 2rem); }
    .login-heading { text-align: center; }
    .login-heading p:not(.eyebrow) { margin-top: .35rem; }
    .login-card-minimal .guest-access, .login-card-minimal .register-access { grid-column: auto; justify-content: center; }
    .login-card-minimal .guest-access form, .login-card-minimal .guest-access button, .login-card-minimal .register-access .button { width: 100%; }
    .login-choice-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .85fr); margin: 0; overflow: hidden; }
    .login-choice-presentation, .login-choice-actions { min-width: 0; padding: clamp(1.5rem, 4vw, 3rem); }
    .login-choice-presentation { border-right: 2px solid color-mix(in srgb, var(--primary) 72%, white); }
    .login-choice-presentation h1 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
    .login-welcome-text { color: #3f4d56; font-size: .98rem; line-height: 1.8; margin-top: 1.25rem; overflow-wrap: anywhere; white-space: normal; }
    .login-choice-actions { align-content: center; display: grid; gap: 1rem; }
    .login-choice-actions h2 { font-size: 1.12rem; margin-bottom: .25rem; }
    .login-choice-actions form { display: flex; }
    .login-choice-button { background: var(--primary); color: var(--primary-text); justify-content: space-between; min-height: 3.35rem; padding-inline: 1.2rem; width: 100%; }
    .login-choice-button svg { fill: currentColor; }
    .login-particular-note { color: var(--muted); font-size: .78rem; line-height: 1.5; }
    .auth-card p:not(.eyebrow) { color: var(--muted); margin-top: .8rem; }
    .stack-form { display: flex; flex-direction: column; gap: .45rem; }
    .stack-form label { font-weight: 700; margin-top: .1rem; }
    .stack-form button { margin-top: .35rem; }
    .password-label-row { align-items: baseline; display: flex; gap: .75rem; justify-content: space-between; margin-top: .1rem; }
    .password-label-row label { margin: 0; }
    .password-label-row a { color: var(--primary); font-size: .78rem; font-weight: 700; }
    .password-input-wrap { position: relative; width: 100%; }
    .password-input-wrap > input { padding-right: 3.25rem; width: 100%; }
    .password-visibility-toggle { background: transparent; border: 0; border-radius: .35rem; color: var(--muted); height: 2.25rem; min-height: 0; padding: .42rem; position: absolute; right: .28rem; top: 50%; transform: translateY(-50%); width: 2.35rem; }
    .password-visibility-toggle:hover { background: color-mix(in srgb, var(--primary) 8%, white); color: var(--primary); filter: none; }
    .password-visibility-toggle:active { transform: translateY(-50%); }
    .password-visibility-toggle svg { fill: currentColor; height: 1.35rem; width: 1.35rem; }
    .password-visibility-toggle .password-eye-closed { display: none; }
    .password-visibility-toggle[aria-pressed="true"] .password-eye-open { display: none; }
    .password-visibility-toggle[aria-pressed="true"] .password-eye-closed { display: block; }
    .password-recovery-card { max-width: 540px; }
    .recovery-form { position: relative; }
    .button-with-icon { gap: .5rem; }
    .button-with-icon svg { fill: currentColor; flex: 0 0 auto; height: 1.2rem; width: 1.2rem; }
    .login-secondary-actions { border-top: 1px solid var(--line); display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: 1rem; }
    .login-secondary-actions.single-action { grid-template-columns: 1fr; }
    .login-secondary-actions form, .login-secondary-actions button, .login-secondary-actions .button { height: 100%; width: 100%; }
    .login-secondary-actions button, .login-secondary-actions .button { font-size: .82rem; line-height: 1.2; min-height: 2.75rem; padding: .55rem .65rem; text-align: center; }
    .guest-access, .register-access { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 1rem; grid-column: 1 / -1; justify-content: space-between; padding-top: 1.25rem; }
    .button-secondary { background: #e9eef2; color: var(--text); }
    .button-danger { background: #b42318; color: #fff; width: 100%; }
    .support-block-card > p { color: #465761; line-height: 1.65; margin: 0; text-align: center; }
    .support-block-card > .button, .support-block-card > .back-link { justify-self: center; }
    .cart-layout { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr) 310px; }
    .cart-heading-tools { align-items: end; display: flex; flex-direction: column; gap: .45rem; }
    .cart-sort-form { align-items: end; display: flex; gap: .4rem; }
    .cart-sort-form label { color: var(--muted); font-size: .72rem; font-weight: 750; }
    .cart-sort-form select { min-height: 2.35rem; min-width: 180px; padding: .35rem 2rem .35rem .55rem; }
    .cart-sort-form button { min-height: 2.35rem; padding: .4rem .7rem; }
    .cart-group-form label { align-items: center; color: #3f4d56; cursor: pointer; display: flex; font-size: .78rem; font-weight: 750; gap: .45rem; }
    .cart-group-form input { accent-color: var(--primary); height: 1rem; width: 1rem; }
    .cart-lines { display: flex; flex-direction: column; gap: .75rem; }
    .cart-family-group { display: flex; flex-direction: column; gap: .75rem; }
    .cart-family-heading { align-items: center; background: #e9edf0; border-left: 4px solid var(--primary); border-radius: .45rem; display: flex; justify-content: space-between; padding: .65rem .8rem; }
    .cart-family-heading h2 { color: #34434d; font-size: 1rem; }
    .cart-family-heading span { color: var(--muted); font-size: .72rem; font-weight: 700; }
    .cart-line { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .8rem 1rem; grid-template-columns: 82px minmax(150px, 1fr) auto auto; padding: .8rem; }
    .cart-thumb { align-items: center; aspect-ratio: 1; background: #fff; display: flex; justify-content: center; }
    .cart-thumb img { height: 100%; object-fit: contain; width: 100%; }
    .cart-thumb span { align-items: center; background: var(--primary); border-radius: .4rem; color: #fff; display: flex; height: 60%; justify-content: center; opacity: .25; width: 60%; }
    .cart-line h2 { font-size: .98rem; margin-block: .25rem; }
    .cart-line-main > span:last-child { color: var(--muted); font-size: .82rem; }
    .cart-line-main .cart-packaging { color: var(--primary); display: block; font-size: .8rem; font-weight: 650; margin-block: .25rem; }
    .cart-quantity-panel { display: grid; gap: .55rem; grid-column: 2 / 4; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cart-quantity-panel.units-only { grid-template-columns: minmax(0, 260px); }
    .cart-quantity-control { min-width: 0; }
    .cart-quantity-control > label { color: var(--muted); display: block; font-size: .72rem; font-weight: 750; margin-bottom: .22rem; }
    .quantity-stepper { display: grid; grid-template-columns: 2rem minmax(3.6rem, 1fr) 2rem 2.4rem; }
    .quantity-stepper input { border-radius: 0; min-height: 2rem; min-width: 0; padding: .25rem .35rem; text-align: center; width: 100%; }
    .quantity-stepper button { border-radius: 0; font-size: .9rem; min-height: 2rem; padding: .2rem; }
    .quantity-stepper button:first-child { border-radius: .35rem 0 0 .35rem; }
    .quantity-stepper .quantity-apply { border-radius: 0 .35rem .35rem 0; font-size: .68rem; }
    .line-total { grid-column: 3; grid-row: 1; min-width: 90px; text-align: right; }
    .cart-line > form:last-child { grid-column: 4; grid-row: 1; }
    .remove-button { background: transparent; color: var(--danger); font-size: 1.6rem; min-height: 2rem; padding: .2rem; }
    .cart-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: sticky; top: 1rem; }
    .cart-summary h2 { margin-bottom: 1rem; }
    .cart-summary dl > div { display: flex; justify-content: space-between; padding-block: .45rem; }
    .cart-summary .quantity-summary { border-bottom: 1px solid var(--line); margin-bottom: .4rem; padding-bottom: .4rem; }
    .cart-summary .quantity-summary dd { color: var(--primary); }
    .cart-summary .discount-row { background: #edf7e3; border-radius: .35rem; color: #426b15; margin-block: .25rem; padding-inline: .45rem; }
    .cart-summary .discount-row dd { color: #426b15; }
    .cart-summary .after-discount-row { border-top: 1px dashed var(--line); margin-top: .3rem; padding-top: .7rem; }
    .cart-summary .after-discount-row strong { color: var(--primary); }
    .cart-summary dd { font-weight: 700; }
    .cart-summary .summary-total { border-top: 1px solid var(--line); font-size: 1.05rem; margin-top: .5rem; padding-top: .9rem; }
    .full { margin-top: 1.1rem; width: 100%; }
    .button.checkout-finish-button { background: #93bf3e; color: #18320b; gap: .55rem; }
    .button.checkout-finish-button:hover { background: #86b036; filter: none; }
    .checkout-finish-button svg { fill: none; flex: 0 0 auto; height: 1.25rem; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.5; width: 1.25rem; }
    .back-link { display: block; margin-top: .8rem; text-align: center; }
    .cart-clear-form { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; }
    .cart-clear-button { background: #fff; border: 1px solid color-mix(in srgb, var(--danger) 55%, white); color: var(--danger); gap: .4rem; width: 100%; }
    .cart-clear-button:hover { background: color-mix(in srgb, var(--danger) 8%, white); filter: none; }
    .checkout-layout { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1fr) 330px; }
    .checkout-forms { display: flex; flex-direction: column; gap: 1rem; }
    .checkout-forms fieldset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; padding: 1.2rem; }
    .checkout-forms legend { font-size: 1.08rem; font-weight: 800; padding-inline: .35rem; }
    .form-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 700; gap: .3rem; }
    .form-grid .wide { grid-column: 1 / -1; }
    .form-grid textarea { resize: vertical; }
    .terms { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; }
    .terms summary { cursor: pointer; font-weight: 800; }
    .terms div { color: var(--muted); margin-top: .8rem; max-height: 16rem; overflow: auto; }
    .accept-terms { align-items: flex-start; display: flex; gap: .6rem; font-weight: 700; }
    .accept-terms input { min-height: auto; margin-top: .3rem; }
    .checkout-summary { position: sticky; top: 1rem; }
    .success-icon { align-items: center; background: #e6f6ea; border-radius: 999px; color: #1c6c36; display: flex; font-size: 2rem; height: 4rem; justify-content: center; margin: 0 auto 1rem; width: 4rem; }
    .table-scroll { overflow-x: auto; }
    .orders-table { background: var(--surface); border-collapse: collapse; border-radius: var(--radius); min-width: 680px; overflow: hidden; width: 100%; }
    .orders-table th, .orders-table td { border-bottom: 1px solid var(--line); padding: .8rem .65rem; text-align: left; }
    .orders-table th { background: #eef2f5; font-size: .78rem; text-transform: uppercase; }
    .order-row { cursor: pointer; transition: background .16s; }
    .order-row:hover, .order-row:focus-visible { background: color-mix(in srgb, var(--primary) 6%, white); outline: none; }
    .order-reference-link { color: var(--primary); }
    .order-detail-link { align-items: center; color: var(--primary); display: inline-flex; font-size: .75rem; font-weight: 800; gap: .35rem; white-space: nowrap; }
    .status-pill { background: #e6f6ea; border-radius: 99px; color: #1c6c36; display: inline-flex; font-size: .75rem; font-weight: 800; padding: .25rem .6rem; }
    .order-back-link { display: inline-flex; margin-bottom: 1rem; }
    .order-detail-heading { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; gap: 1.5rem; justify-content: space-between; margin-bottom: 1rem; padding: 1.25rem; }
    .order-detail-heading h1 { font-size: clamp(1.45rem, 2.5vw, 2.15rem); margin-bottom: .55rem; }
    .order-metadata { display: grid; gap: .45rem; min-width: min(280px, 45%); }
    .order-metadata > div { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; gap: 1rem; justify-content: space-between; padding-bottom: .35rem; }
    .order-metadata dt { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
    .order-metadata dd { font-size: .82rem; font-weight: 750; text-align: right; }
    .order-detail-lines { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
    .order-lines-heading { align-items: center; background: #eef2f5; display: flex; justify-content: space-between; padding: .8rem 1rem; }
    .order-lines-heading h2 { font-size: 1rem; }
    .order-lines-heading span { color: var(--muted); font-size: .78rem; }
    .order-product-line { align-items: center; border-top: 1px solid var(--line); display: grid; gap: .8rem 1rem; grid-template-columns: 68px minmax(0, 1fr) minmax(150px, auto); padding: .85rem; }
    .order-product-thumb { align-items: center; aspect-ratio: 1; background: #f2f5f7; border-radius: .45rem; color: var(--primary); display: flex; font-weight: 900; justify-content: center; overflow: hidden; }
    .order-product-thumb:hover { text-decoration: none; }
    .order-product-thumb img { height: 100%; object-fit: contain; width: 100%; }
    .order-product-copy { min-width: 0; }
    .order-product-copy small { color: var(--muted); font-size: .68rem; }
    .order-product-copy h2 { font-size: .9rem; margin-block: .15rem .4rem; }
    .order-product-quantities { color: var(--muted); display: flex; flex-wrap: wrap; font-size: .72rem; gap: .4rem .9rem; }
    .order-product-quantities strong { color: var(--text); }
    .order-product-price { display: grid; gap: .35rem; min-width: 145px; text-align: right; }
    .order-product-price dt { color: var(--muted); font-size: .65rem; text-transform: uppercase; }
    .order-product-price dd { font-size: .78rem; }
    .order-product-price dd strong { color: var(--primary); font-size: .92rem; }
    .order-totals { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-left: auto; margin-top: 1rem; max-width: 360px; padding: 1rem 1.2rem; }
    .order-totals > div { align-items: center; display: flex; gap: 1rem; justify-content: space-between; padding: .35rem 0; }
    .order-total-gross { border-top: 1px solid var(--line); font-size: 1.05rem; margin-top: .35rem; padding-top: .75rem !important; }
    .order-total-gross strong { color: var(--primary); }
    .admin-header { background: #23313c; color: #fff; }
    .admin-header .shell { align-items: center; display: flex; justify-content: space-between; min-height: 76px; }
    .admin-brand { align-items: center; display: flex; gap: .7rem; }
    .admin-brand .brand-mark { height: 2.7rem; width: 2.7rem; }
    .admin-brand > span:last-child { display: flex; flex-direction: column; }
    .admin-brand small { color: #b8c6cf; }
    .admin-header nav { align-items: center; display: flex; gap: 1.2rem; }
    .admin-header nav form { display: inline; }
    .admin-header .link-button { color: #fff; }
    .admin-language-nav { padding-right: .2rem; }
    .admin-main { padding-block: 2rem 4rem; }
    .admin-lead { color: var(--muted); margin-top: .45rem; }
    .admin-settings-tabs { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: .35rem; margin: 1.25rem 0 1rem; overflow-x: auto; }
    .admin-settings-tab { border: 1px solid transparent; border-bottom: 0; border-radius: .65rem .65rem 0 0; color: var(--muted); flex: 0 0 auto; font-weight: 800; padding: .75rem 1rem; }
    .admin-settings-tab:hover { background: #f7f9fa; color: var(--primary); }
    .admin-settings-tab.active { background: var(--surface); border-color: var(--line); color: var(--primary); margin-bottom: -1px; }
    .admin-settings { display: flex; flex-direction: column; gap: 1rem; }
    .settings-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.35rem; }
    .settings-card > p { color: var(--muted); margin-top: .35rem; }
    .settings-grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1rem; }
    .settings-grid label { display: flex; flex-direction: column; font-weight: 700; gap: .4rem; }
    .settings-grid .wide { grid-column: 1 / -1; }
    .company-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .company-contact-grid small { color: var(--muted); font-weight: 400; }
    .login-mode-settings { display: flex; flex-direction: column; gap: .85rem; }
    .login-mode-settings > p { margin-top: 0; }
    .login-mode-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .login-welcome-settings { grid-template-columns: 1fr; margin-top: 0; }
    .login-logo-spacing { border: 1px solid var(--line); border-radius: .65rem; margin: 0; padding: 1rem; }
    .login-logo-spacing > p { color: var(--muted); font-size: .82rem; margin: 0 0 .8rem; }
    .pixel-spacing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pixel-input { align-items: stretch; display: grid; grid-template-columns: minmax(0, 1fr) 46px; margin-top: .35rem; }
    .pixel-input input { border-bottom-right-radius: 0; border-top-right-radius: 0; margin: 0; min-width: 0; }
    .pixel-input > span { align-items: center; background: #e9eef2; border: 1px solid var(--line); border-left: 0; border-radius: 0 .45rem .45rem 0; color: var(--muted); display: flex; font-size: .82rem; font-weight: 700; justify-content: center; text-transform: uppercase; }
    .login-welcome-settings textarea { line-height: 1.55; resize: vertical; }
    .login-welcome-settings small { color: var(--muted); font-weight: 400; }
    .login-mode-note { background: color-mix(in srgb, var(--primary) 7%, white); border-left: 3px solid var(--primary); border-radius: .35rem; font-size: .82rem; padding: .65rem .75rem; }
    .header-image-mode { border: 1px solid var(--line); border-radius: .65rem; margin: .3rem 0 0; padding: 1rem; }
    .header-image-mode > legend { font-weight: 800; padding-inline: .35rem; }
    .header-image-mode-note { color: var(--muted); font-size: .82rem; margin: .75rem 0 0; }
    .language-settings { border: 0; margin: 0; min-width: 0; padding: 0; }
    .language-settings legend { font-weight: 800; margin-bottom: -.35rem; }
    .taxonomy-translation-settings { border: 0; border-top: 1px solid var(--line); margin: .5rem 0 0; min-width: 0; padding: 1rem 0 0; }
    .taxonomy-translation-settings > legend { font-size: 1rem; font-weight: 800; padding-right: .5rem; }
    .taxonomy-translation-settings > p { color: var(--muted); font-size: .84rem; margin-top: .35rem; }
    .taxonomy-fallback-note { font-weight: 700; }
    .taxonomy-mapping-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
    .taxonomy-mapping-card { background: #f7f9fa; border: 1px solid var(--line); border-radius: .6rem; min-width: 0; padding: 1rem; }
    .taxonomy-mapping-card h3 { font-size: .95rem; margin-bottom: .8rem; }
    .taxonomy-mapping-card h3 code { color: var(--muted); font-size: .72rem; overflow-wrap: anywhere; }
    .taxonomy-language-grid { display: grid; gap: .65rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .taxonomy-language-grid label { display: flex; flex-direction: column; font-size: .78rem; font-weight: 800; gap: .3rem; min-width: 0; }
    .taxonomy-language-grid label > span { align-items: baseline; display: flex; gap: .35rem; justify-content: space-between; }
    .taxonomy-language-grid small { color: var(--muted); font-size: .62rem; font-weight: 600; }
    .taxonomy-language-grid select { min-width: 0; width: 100%; }
    .taxonomy-preview { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .8rem; }
    .taxonomy-preview summary { color: var(--primary); cursor: pointer; font-size: .8rem; font-weight: 800; }
    .taxonomy-preview-scroll { margin-top: .75rem; max-height: 430px; overflow: auto; }
    .taxonomy-preview table { border-collapse: collapse; font-size: .7rem; min-width: 100%; width: max-content; }
    .taxonomy-preview th, .taxonomy-preview td { border: 1px solid var(--line); max-width: 230px; padding: .42rem .5rem; text-align: left; vertical-align: top; }
    .taxonomy-preview th { background: #e8edf0; position: sticky; top: 0; z-index: 1; }
    .taxonomy-preview td { background: #fff; overflow-wrap: anywhere; }
    .taxonomy-preview .empty-value { color: #a3adb4; }
    .home-mode-settings { border: 0; margin: .4rem 0 0; min-width: 0; padding: 0; }
    .home-mode-settings > legend { font-size: 1rem; font-weight: 800; margin-bottom: .7rem; }
    .home-mode-options { display: grid; gap: .75rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .catalog-navigation-settings .home-mode-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-navigation-settings > label { margin-top: .9rem; max-width: 260px; }
    .home-mode-options > label { align-items: flex-start; background: #f7f9fa; border: 1px solid var(--line); border-radius: .55rem; cursor: pointer; display: flex; flex-direction: row; gap: .65rem; padding: .85rem; }
    .home-mode-options > label:has(input:checked) { background: color-mix(in srgb, var(--primary) 7%, white); border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); }
    .home-mode-options input { flex: 0 0 auto; margin-top: .2rem; min-height: auto; }
    .home-mode-options span { display: flex; flex-direction: column; gap: .2rem; }
    .home-mode-options small, .home-fam2-select small { color: var(--muted); font-weight: 400; }
    .home-fam2-select { margin-top: .9rem; }
    .settings-grid input[type="color"] { cursor: pointer; height: 3rem; padding: .2rem; width: 100%; }
    .upload-label small { color: var(--muted); font-weight: 400; }
    .current-banner { background: #f7f9fa; border: 1px solid var(--line); border-radius: .55rem; overflow: hidden; }
    .current-banner-heading { align-items: center; display: flex; gap: 1rem; justify-content: space-between; padding: .75rem 1rem; }
    .current-banner > img { background: #fff; border-top: 1px solid var(--line); display: block; height: auto; max-height: 240px; object-fit: contain; padding: .5rem; width: 100%; }
    .banner-remove-button { background: #fff; border: 1px solid color-mix(in srgb, var(--danger) 55%, white); color: var(--danger); min-height: 2.35rem; padding: .45rem .75rem; }
    .banner-remove-button:hover { background: color-mix(in srgb, var(--danger) 8%, white); filter: none; }
    .favicon-setting { align-items: end; background: #f7f9fa; border: 1px solid var(--line); border-radius: .55rem; display: grid; gap: .75rem 1rem; grid-template-columns: minmax(0, 1fr) auto; padding: 1rem; }
    .favicon-setting > p { color: var(--muted); font-size: .82rem; grid-column: 1 / -1; }
    .current-favicon { align-items: center; display: flex; flex-direction: column; font-size: .72rem; font-weight: 700; gap: .3rem; }
    .current-favicon img { background: #fff; border: 1px solid var(--line); border-radius: .4rem; height: 48px; image-rendering: auto; object-fit: contain; padding: .25rem; width: 48px; }
    .favicon-remove-button { background: #fff; border: 1px solid color-mix(in srgb, var(--danger) 55%, white); color: var(--danger); font-size: .72rem; min-height: 2.15rem; padding: .35rem .55rem; }
    .favicon-remove-button:hover { background: color-mix(in srgb, var(--danger) 8%, white); filter: none; }
    .toggle-grid { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
    .toggle { align-items: center; background: #f7f9fa; border: 1px solid var(--line); border-radius: .5rem; display: flex; gap: .7rem; padding: .8rem; }
    .toggle input { min-height: auto; }
    .admin-save { align-items: center; background: rgb(243 245 247 / 88%); bottom: 0; display: flex; justify-content: flex-end; padding: .8rem; position: sticky; }
    .admin-login { margin-top: 5vh; }
    .fly-to-cart { align-items: center; background: #fff; border: 2px solid var(--accent); border-radius: 999px; box-shadow: 0 .7rem 2rem rgb(0 0 0 / 24%); color: var(--accent); display: flex; height: 60px; justify-content: center; object-fit: contain; padding: .25rem; pointer-events: none; position: fixed; width: 60px; z-index: 9999; }
    .shop-toast-region { bottom: 1.2rem; display: flex; flex-direction: column; gap: .55rem; max-width: min(360px, calc(100vw - 2rem)); pointer-events: none; position: fixed; right: 1.2rem; z-index: 10000; }
    .shop-toast { background: #183123; border: 1px solid #4f9f69; border-radius: .55rem; box-shadow: 0 .7rem 2rem rgb(0 0 0 / 22%); color: #fff; font-weight: 700; opacity: 0; padding: .85rem 1rem; transform: translateY(12px); transition: opacity .2s, transform .2s; }
    .shop-toast.visible { opacity: 1; transform: translateY(0); }
    .shop-toast-error { background: #6f211b; border-color: #d7756c; }
    .registration-form { display: flex; flex-direction: column; gap: 1rem; }
    .registration-form fieldset { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; padding: 1.2rem; }
    .registration-form legend { font-size: 1.08rem; font-weight: 800; padding-inline: .35rem; }
    .registration-form small { color: var(--muted); font-weight: 400; }
    .registration-actions { align-items: center; display: flex; justify-content: space-between; }
    .contact-heading .admin-lead { max-width: 52rem; }
    .contact-login-return { flex: 0 0 auto; white-space: nowrap; }
    .contact-layout { align-items: start; display: grid; gap: 1.25rem; grid-template-columns: minmax(230px, .65fr) minmax(0, 1.35fr); }
    .contact-details, .contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.2rem, 3vw, 1.7rem); }
    .contact-details h2, .contact-form-card h2 { font-size: 1.18rem; margin-bottom: 1rem; }
    .contact-company { color: var(--primary); display: block; font-size: 1.05rem; margin-bottom: .9rem; }
    .contact-details dl { display: flex; flex-direction: column; gap: .85rem; }
    .contact-details dl > div { border-top: 1px solid var(--line); padding-top: .7rem; }
    .contact-details dt { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
    .contact-details dd { margin-top: .15rem; overflow-wrap: anywhere; }
    .contact-details a { color: var(--primary); font-weight: 700; }
    .contact-form { position: relative; }
    .contact-form-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-form-grid label { display: flex; flex-direction: column; font-size: .85rem; font-weight: 700; gap: .3rem; }
    .contact-form-grid .wide { grid-column: 1 / -1; }
    .contact-form-grid textarea { min-height: 11rem; resize: vertical; }
    .contact-form-trap { height: 1px; left: -10000px; overflow: hidden; position: absolute; top: auto; width: 1px; }
    .contact-form-actions { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin-top: 1rem; }
    .contact-form-actions small { color: var(--muted); }
    .category-browser-heading .admin-lead { margin-top: .35rem; }
    .category-browser-grid { display: grid; gap: .85rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-browser-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 .2rem .8rem rgb(20 40 55 / 5%); display: grid; gap: .8rem; grid-template-columns: 2.8rem minmax(0, 1fr) auto; min-height: 5.2rem; padding: .8rem; transition: border-color .18s, box-shadow .18s, transform .18s; }
    .category-browser-card:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-2px); }
    .category-browser-icon { align-items: center; background: color-mix(in srgb, var(--primary) 10%, white); border-radius: .55rem; color: var(--primary); display: flex; font-size: 1.15rem; font-weight: 900; height: 2.8rem; justify-content: center; width: 2.8rem; }
    .category-browser-copy { display: flex; flex-direction: column; min-width: 0; }
    .category-browser-copy strong { line-height: 1.25; }
    .category-browser-copy small { color: var(--muted); font-size: .75rem; margin-top: .18rem; }
    .category-browser-arrow { color: var(--primary); font-size: 1.65rem; line-height: 1; }
    .category-browser-card.category-photo-card { align-items: stretch; background: #eceff1; border-color: #d6dadd; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 10.5rem auto; min-height: 15rem; overflow: hidden; padding: 0; }
    .category-photo-card .category-browser-photo { align-items: center; background: #f7f8f9; border-bottom: 1px solid #d6dadd; display: flex; grid-column: 1 / -1; justify-content: center; min-width: 0; overflow: hidden; }
    .category-photo-card .category-browser-photo img { height: 100%; object-fit: contain; padding: .5rem; transition: transform .2s ease; width: 100%; }
    .category-photo-card:hover .category-browser-photo img { transform: scale(1.025); }
    .category-photo-card .category-browser-photo img.category-no-photo { opacity: .82; padding: 1.15rem; }
    .category-browser-photo-placeholder { align-items: center; background: #dde2e5; color: #77838b; display: flex; font-size: 2rem; font-weight: 900; height: 100%; justify-content: center; width: 100%; }
    .category-photo-card .category-browser-copy { justify-content: center; padding: .85rem .25rem .85rem .9rem; }
    .category-photo-card .category-browser-copy strong { color: #2f3b43; font-size: .95rem; }
    .category-photo-card .category-browser-arrow { align-self: center; padding: .75rem .85rem .75rem .35rem; }
    .brand-alphabet { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: 1rem; padding: .65rem; }
    .brand-alphabet a, .brand-alphabet span { align-items: center; border-radius: .3rem; display: inline-flex; font-size: .78rem; font-weight: 800; height: 2rem; justify-content: center; width: 2rem; }
    .brand-alphabet a { background: color-mix(in srgb, var(--primary) 9%, white); color: var(--primary); }
    .brand-alphabet a:hover { background: var(--primary); color: var(--primary-text); text-decoration: none; }
    .brand-alphabet span { color: #b1bac0; }
    .brand-groups { columns: 4 180px; column-gap: 1rem; }
    .brand-group { break-inside: avoid; margin-bottom: 1rem; scroll-margin-top: 1rem; }
    .brand-group > h2 { border-bottom: 2px solid var(--accent); color: var(--primary); font-size: 1rem; margin-bottom: .35rem; padding: .35rem .2rem; }
    .brand-list { display: flex; flex-direction: column; }
    .brand-list a { align-items: center; border-bottom: 1px solid var(--line); display: flex; gap: .5rem; justify-content: space-between; padding: .45rem .2rem; }
    .brand-list a:hover { color: var(--primary); text-decoration: none; }
    .brand-list strong { font-size: .8rem; overflow-wrap: anywhere; }
    .brand-list small { color: var(--muted); flex: 0 0 auto; font-size: .65rem; }
    .site-footer { background: #23313c; color: #dfe8ee; }
    .footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 2rem; }
    .footer-grid a { color: #fff; }
}

@layer responsive {
    @media (max-width: 1050px) {
        html.responsive .brand-row { gap: 1rem; grid-template-columns: 1fr 1.5fr; }
        html.responsive .brand-row.wide-banner-layout { grid-template-columns: minmax(0, 1fr) auto; }
        html.responsive .account-actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; padding-bottom: .75rem; }
        html.responsive .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        html.responsive .category-browser-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        html.responsive .brand-groups { columns: 3 170px; }
        html.responsive .cart-layout { grid-template-columns: 1fr; }
        html.responsive .cart-summary { position: static; }
        html.responsive .checkout-layout { grid-template-columns: 1fr; }
        html.responsive .checkout-summary { position: static; }
        html.responsive .page-grid.with-mini-cart { grid-template-columns: 220px minmax(0, 1fr); }
        html.responsive .page-grid.with-mini-cart .mini-cart { grid-column: 1 / -1; max-height: none; position: static; }
        html.responsive .page-grid.with-mini-cart .mini-cart-items { max-height: 360px; }
    }
    @media (max-width: 760px) {
        html.responsive .shell { padding-inline: .85rem; }
        html.responsive .utility-shop-name { display: none; }
        html.responsive .utility-customer { display: flex; max-width: calc(100% - 150px); }
        html.responsive .utility-inner { justify-content: flex-end; }
        html.responsive .brand-row { display: flex; flex-wrap: wrap; min-height: auto; padding-block: 1rem; }
        html.responsive .brand-row.wide-banner-layout { display: flex; }
        html.responsive .brand-row.wide-banner-layout.locked { display: none; }
        html.responsive .brand { width: 100%; }
        html.responsive .brand img { max-height: 80px; }
        html.responsive .site-search { order: 3; width: 100%; }
        html.responsive .account-actions { align-items: stretch; gap: .5rem; margin-left: auto; padding: 0; width: 100%; }
        html.responsive .header-action-card { flex: 1 1 0; min-width: 0; }
        html.responsive .header-action-copy strong { max-width: 100%; }
        html.responsive .nav-inner { overflow-x: auto; }
        html.responsive .nav-inner a { flex: 0 0 auto; padding-inline: .9rem; }
        html.responsive .nav-inner { scrollbar-width: none; }
        html.responsive .nav-inner::-webkit-scrollbar { display: none; }
        html.responsive .nav-scroll-frame.has-more-right .nav-scroll-more { align-items: center; align-self: stretch; animation: nav-more-pulse 1.15s ease-in-out infinite; background: linear-gradient(90deg, transparent, var(--primary) 38%); border: 0; border-radius: 0; bottom: 0; color: var(--primary-text); display: flex; justify-content: flex-end; min-height: 0; padding: 0 .55rem 0 1.5rem; position: absolute; right: .85rem; top: 0; width: 3.25rem; z-index: 3; }
        html.responsive .nav-scroll-more:hover { filter: none; }
        html.responsive .nav-scroll-more svg { fill: currentColor; height: 1.45rem; width: 1.45rem; }
        @keyframes nav-more-pulse { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(.22rem); } }
        html.responsive .page-grid { display: block; padding-block: .9rem 2rem; }
        html.responsive .catalog-menu-toggle { align-items: center; background: var(--primary); border: 0; border-radius: .55rem; color: var(--primary-text); display: grid; font-size: .9rem; font-weight: 800; gap: .7rem; grid-template-columns: 1.35rem minmax(0, 1fr) 1.2rem; margin-bottom: .65rem; padding: .72rem .8rem; text-align: left; width: 100%; }
        html.responsive .catalog-menu-toggle:hover { filter: none; }
        html.responsive .catalog-menu-toggle > svg { fill: currentColor; height: 1.2rem; transition: transform .2s ease; width: 1.2rem; }
        html.responsive .catalog-menu-toggle[aria-expanded="true"] > svg { transform: rotate(180deg); }
        html.responsive .catalog-menu-toggle-icon { display: flex; flex-direction: column; gap: .22rem; }
        html.responsive .catalog-menu-toggle-icon > span { background: currentColor; border-radius: 99px; display: block; height: 2px; transition: transform .2s ease, opacity .2s ease; width: 1.2rem; }
        html.responsive .catalog-menu-toggle[aria-expanded="true"] .catalog-menu-toggle-icon > span:first-child { transform: translateY(.44rem) rotate(45deg); }
        html.responsive .catalog-menu-toggle[aria-expanded="true"] .catalog-menu-toggle-icon > span:nth-child(2) { opacity: 0; }
        html.responsive .catalog-menu-toggle[aria-expanded="true"] .catalog-menu-toggle-icon > span:last-child { transform: translateY(-.44rem) rotate(-45deg); }
        html.responsive .catalog-menu { display: none; margin-bottom: 1rem; max-height: min(68vh, 620px); overflow-y: auto; overscroll-behavior: contain; }
        html.responsive .catalog-menu.is-mobile-open { display: block; }
        html.responsive .catalog-menu > h2 { display: none; }
        html.responsive .mini-cart { margin-top: 1rem; }
        html.responsive .catalog-menu details { display: block; }
        html.responsive .product-grid { grid-template-columns: 1fr; }
        html.responsive .category-browser-grid, .home-mode-options, .catalog-navigation-settings .home-mode-options { grid-template-columns: 1fr; }
        html.responsive .brand-groups { columns: 1; }
        html.responsive .page-heading { align-items: start; flex-direction: column; gap: .4rem; }
        html.responsive .catalog-toolbar { justify-content: space-between; width: 100%; }
        html.responsive .view-switch span { display: none; }
        html.responsive .view-switch a { padding-inline: .7rem; }
        html.responsive .product-detail { grid-template-columns: 1fr; }
        html.responsive .product-gallery { min-height: 240px; }
        html.responsive .detail-quantity-grid { grid-template-columns: 1fr; }
        html.responsive .auth-card { grid-template-columns: 1fr; margin-block: 0; }
        html.responsive .login-choice-card { grid-template-columns: 1fr; }
        html.responsive .login-choice-presentation { border-bottom: 2px solid color-mix(in srgb, var(--primary) 72%, white); border-right: 0; }
        html.responsive .login-footer-inner { align-items: stretch; grid-template-columns: 1fr; text-align: center; }
        html.responsive .login-footer-company, html.responsive .login-footer-contact { align-items: center; }
        html.responsive .login-contact-button { width: 100%; }
        html.responsive .form-grid { grid-template-columns: 1fr; }
        html.responsive .form-grid .wide { grid-column: auto; }
        html.responsive .guest-access { align-items: stretch; flex-direction: column; }
        html.responsive .cart-line { grid-template-columns: 68px minmax(0, 1fr) auto; }
        html.responsive .list-view .product-card { grid-template-columns: 110px minmax(0, 1fr); }
        html.responsive .list-view .product-image { min-height: 150px; padding: .4rem; }
        html.responsive .list-view .product-card-body { padding: .8rem; }
        html.responsive .cart-quantity-panel { grid-column: 1 / -1; grid-template-columns: 1fr; }
        html.responsive .cart-quantity-panel.units-only { grid-template-columns: 1fr; }
        html.responsive .cart-heading-tools { align-items: stretch; width: 100%; }
        html.responsive .cart-sort-form { align-items: stretch; flex-wrap: wrap; }
        html.responsive .cart-sort-form label { width: 100%; }
        html.responsive .cart-sort-form select { flex: 1 1 180px; min-width: 0; }
        html.responsive .line-total { grid-column: 2 / 3; grid-row: auto; text-align: left; }
        html.responsive .remove-button { grid-column: 3; grid-row: 1; }
        html.responsive .cart-line > form:last-child { grid-column: 3; grid-row: 1; }
        html.responsive .order-detail-heading { align-items: stretch; flex-direction: column; }
        html.responsive .order-metadata { min-width: 0; width: 100%; }
        html.responsive .order-product-line { align-items: start; grid-template-columns: 58px minmax(0, 1fr); }
        html.responsive .order-product-price { border-top: 1px solid var(--line); grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: .65rem; text-align: left; }
        html.responsive .order-totals { max-width: none; }
        html.responsive .footer-grid { grid-template-columns: 1fr; }
        html.responsive .contact-layout, html.responsive .contact-form-grid { grid-template-columns: 1fr; }
        html.responsive .contact-login-return { width: 100%; }
        html.responsive .contact-form-grid .wide { grid-column: auto; }
        html.responsive .contact-form-actions { align-items: stretch; flex-direction: column; }
        html.responsive .shop-toast-region { bottom: .8rem; left: .8rem; max-width: none; right: .8rem; }
        .settings-grid, .toggle-grid, .taxonomy-mapping-grid, .taxonomy-language-grid, .login-mode-options, .pixel-spacing-grid { grid-template-columns: 1fr; }
        .favicon-setting { align-items: stretch; grid-template-columns: 1fr; }
        .current-banner-heading { align-items: stretch; flex-direction: column; }
        .banner-remove-button { width: 100%; }
        .current-favicon { align-items: flex-start; }
        .favicon-remove-button { width: 100%; }
    }
    @media (max-height: 740px) {
        .login-banner-only > img { max-height: 18vh; }
        .login-banner-only.login-wide-banner > img { max-height: none; width: 100%; }
        .login-banner-fallback { min-height: 72px; padding: .4rem; }
        .login-main { padding-block: .55rem; }
        .login-card-minimal { gap: .65rem; padding: .85rem 1rem; }
        .login-heading h1 { font-size: 1.55rem; }
        .login-heading p:not(.eyebrow) { margin-top: .2rem; }
        .stack-form { gap: .3rem; }
        .stack-form input { min-height: 2.3rem; padding-block: .35rem; }
        .stack-form button { margin-top: .2rem; min-height: 2.4rem; }
        .login-secondary-actions { padding-top: .65rem; }
        .login-language-nav { margin-top: .5rem; }
        .login-choice-presentation, .login-choice-actions { padding-block: 1rem; }
        .login-choice-card { gap: 0; }
    }
    @media (max-height: 600px) {
        .login-banner-only > img { max-height: 12vh; }
        .login-banner-only.login-wide-banner > img { max-height: none; width: 100%; }
        .login-banner-fallback { min-height: 56px; }
        .login-heading p:not(.eyebrow) { display: none; }
        .login-card-minimal { gap: .45rem; padding-block: .65rem; }
        .login-secondary-actions { padding-top: .45rem; }
    }
}
