@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;
        --primary-ink: #0b78c3;
        --accent: #00aee7;
        --page-bg: #f3f5f7;
        --surface: #fff;
        --fam1-background: #f0f0f6;
        --fam1-text: #333;
        --fam2-background: #f7f9fa;
        --fam2-text: #333;
        --text: #19242d;
        --muted: #6d7a84;
        --line: #dce2e7;
        --danger: #b42318;
        --radius: .65rem;
        --shadow: 0 .55rem 1.7rem rgb(24 36 46 / 9%);
        --shell: 1320px;
        --page-title-size: clamp(1.4rem, 1rem + 1.25vw, 1.9rem);
    }
    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: var(--page-title-size); }
    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 {
    .site-header { position: relative; }
    .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; }
    .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(0, 1fr) minmax(500px, 1fr) minmax(405px, 1fr); max-width: 1500px; min-height: var(--header-tools-height, 112px); }
    .brand-row.locked { grid-template-columns: minmax(190px, 1fr) auto; }
    .header-wide-banner { display: block; line-height: 0; position: relative; width: 100%; }
    .header-wide-banner-link { display: block; line-height: 0; overflow: hidden; }
    .header-wide-banner img { display: block; height: auto; max-width: none; width: 100%; }
    .brand-row.wide-banner-layout { grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr) minmax(405px, 1fr); min-height: var(--header-tools-height, 112px); }
    .brand-row.wide-banner-layout.banner-search-integrated { height: 0; left: 50%; min-height: 0; padding: 0; pointer-events: none; position: absolute; top: 0; transform: translateX(-50%); width: 100%; z-index: 26; }
    .brand-row.wide-banner-layout.banner-search-integrated .account-actions { pointer-events: auto; position: absolute; right: 1.25rem; top: 1rem; }
    .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-height: var(--shop-logo-max-height, none); max-width: 100%; object-fit: contain; width: auto; }
    .brand-mark { align-items: center; background: linear-gradient(145deg, var(--primary), color-mix(in srgb, var(--primary), #000 23%)); border-radius: .55rem; color: var(--primary-text); display: flex; font-size: 1.55rem; font-weight: 900; height: 3.2rem; justify-content: center; width: 3.2rem; }
    .image-placeholder, .large-placeholder { background-color: #eef1f3; background-image: url('/public/assets/images/no-photo.svg'); background-position: center; background-repeat: no-repeat; background-size: contain; display: block; }
    .progressive-image-frame { background-color: #f3f7fa; background-image: url('/public/assets/images/image-loading.svg'); background-position: center; background-repeat: no-repeat; background-size: contain; isolation: isolate; overflow: hidden; position: relative; }
    .progressive-image-frame::after { animation: image-loading-sheen 1.35s ease-in-out infinite; background: linear-gradient(105deg, transparent 25%, rgb(255 255 255 / 72%) 46%, transparent 68%); content: ''; inset: 0; pointer-events: none; position: absolute; transform: translateX(-115%); z-index: 1; }
    .progressive-image-frame > .progressive-image { position: relative; z-index: 2; }
    .progressive-image-frame.image-is-loaded, .progressive-image-frame.image-is-fallback { background-color: transparent; background-image: none; }
    .progressive-image-frame.image-is-loaded::after, .progressive-image-frame.image-is-fallback::after { animation: none; opacity: 0; }
    @keyframes image-loading-sheen { to { transform: translateX(115%); } }
    @media (prefers-reduced-motion: reduce) { .progressive-image-frame::after { animation: none; display: none; } }
    .site-search { display: flex; grid-column: 2; justify-self: center; position: relative; width: 100%; z-index: 20; }
    .brand-row.search-starts-at-new-products .site-search { grid-column: 1 / 3; justify-self: start; margin-left: var(--search-new-products-offset, 0px); max-width: 500px; width: 500px; }
    .banner-integrated-search { left: 50%; max-width: 650px; position: absolute; top: 50%; transform: translate(-50%, -50%); width: calc(100% - 2.5rem); z-index: 25; }
    .site-search .search-input-wrap { flex: 1; min-width: 0; position: static; }
    .site-search:focus-within { box-shadow: none; outline: none; }
    .site-search input, .site-search button { height: 2.75rem; min-height: 2.75rem; }
    .site-search input { appearance: none; border-color: var(--primary); border-radius: .5rem 0 0 .5rem; box-shadow: none; min-width: 0; outline: none; width: 100%; }
    .site-search input:focus, .site-search input:focus-visible, .site-search input:active { border-color: var(--primary) !important; box-shadow: none !important; outline: none !important; }
    .site-search button { background: var(--primary); border-radius: 0 .5rem .5rem 0; color: var(--primary-text); gap: .42rem; }
    .search-button-icon { fill: currentColor; flex: 0 0 auto; height: 1.05rem; width: 1.05rem; }
    .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-color: #f1f4f6; border-radius: .35rem; color: var(--primary-ink); 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; line-height: 1.3; overflow-wrap: anywhere; white-space: normal; }
    .search-suggestion-text small { color: var(--muted); font-size: .72rem; }
    .search-all-results { color: var(--primary-ink); 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; grid-column: 3; justify-content: flex-end; }
    .brand-row.locked .account-actions { grid-column: 2; }
    .customer-name-card { align-items: center; background: #f0f0f6; border: 1px solid #d9d9e5; border-radius: .5rem; display: flex; height: 2.75rem; justify-content: flex-start; max-width: 100%; overflow: hidden; padding: 0; width: 405px; }
    .customer-name-content { align-items: center; display: flex; flex: 1 1 auto; gap: .55rem; min-width: 0; padding: .45rem .75rem; }
    .customer-name-icon { align-items: center; background: color-mix(in srgb, var(--primary) 12%, white); border-radius: .35rem; color: var(--primary-ink); display: flex; flex: 0 0 auto; height: 1.9rem; justify-content: center; width: 1.9rem; }
    .customer-name-icon svg { fill: currentColor; height: 1.15rem; width: 1.15rem; }
    .customer-name-card strong { color: var(--text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .customer-logout-form { align-self: stretch; display: flex; flex: 0 0 auto; margin: 0; }
    .customer-logout-button { background: #d6d6e2; border-left: 1px solid #c6c6d4; border-radius: 0; color: #334155; height: 100%; min-height: 0; padding: 0; width: 3rem; }
    .customer-logout-button:hover { background: #c8c8d7; filter: none; }
    .customer-logout-button svg { fill: currentColor; height: 1.2rem; width: 1.2rem; }
    .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-ink); 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-ink); }
    .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; }
    .main-language-nav { align-items: center; border-right: 1px solid rgb(255 255 255 / 22%); flex: 0 0 auto; gap: .28rem; padding: .5rem .7rem .5rem 0; }
    .nav-inner .main-language-nav a { min-height: 2rem; padding: .25rem .38rem; }
    .nav-inner .main-language-nav a.active, .nav-inner .main-language-nav a.active:hover { background: transparent; color: inherit; }
    .nav-inner .main-language-nav a.active .language-flag { border: 2px solid var(--primary-text); box-shadow: 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; }
    .primary-light-theme .nav-inner a:hover, .primary-light-theme .nav-link-button:hover { background: rgb(0 0 0 / 7%); }
    .primary-light-theme .main-language-nav { border-right-color: rgb(0 0 0 / 16%); }
    .primary-light-theme .nav-guest-register { background: rgb(0 0 0 / 6%); }
    .primary-light-theme .nav-guest-register:hover { background: rgb(0 0 0 / 11%) !important; }
    .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 { align-items: center; background: var(--primary); color: var(--primary-text); display: flex; font-size: .95rem; height: 2.75rem; 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: var(--fam1-background); color: var(--fam1-text); cursor: pointer; font-size: .9rem; 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(--fam1-text); }
    .catalog-menu summary a { display: inline; }
    .catalog-menu .submenu { background: var(--fam2-background); }
    .catalog-menu .submenu a { color: var(--fam2-text); font-size: .83rem; padding: .3rem .65rem .3rem 1.15rem; }
    .catalog-menu .all-products:hover { background: color-mix(in srgb, var(--primary) 7%, white); text-decoration: none; }
    .catalog-menu summary:hover { background: color-mix(in srgb, var(--fam1-background) 88%, var(--primary)); color: var(--fam1-text); text-decoration: none; }
    .catalog-menu .submenu a:hover { background: color-mix(in srgb, var(--fam2-background) 88%, var(--primary)); color: var(--fam2-text); 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: var(--primary); border-bottom: 1px solid color-mix(in srgb, var(--primary) 78%, black); color: var(--primary-text); display: flex; gap: .55rem; height: 2.75rem; justify-content: space-between; padding: .72rem .78rem; }
    .mini-cart-heading strong { color: var(--primary-text); font-size: .95rem; white-space: nowrap; }
    .mini-cart-count { color: var(--primary-text); font-size: .78rem; font-weight: 700; margin-left: auto; white-space: nowrap; }
    .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-color: #f2f5f7; border-radius: .35rem; color: var(--primary-ink); 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-family: Arial, Helvetica, sans-serif; font-size: .76rem; font-weight: 400; 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 { background: #93bf3e; border-radius: 0; color: #18320b; flex: 0 0 auto; min-height: 2.8rem; width: 100%; }
    .mini-cart-view:hover { background: #86b036; filter: none; }
    .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; }
    .catalog-page-heading { margin-bottom: .55rem; }
    .catalog-list-title { font-size: clamp(1.2rem, .98rem + .65vw, 1.5rem); line-height: 1.2; padding-inline-start: 20px; }
    .eyebrow { color: var(--primary-ink); 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: transparent; border: 0; border-radius: 0; display: inline-flex; gap: .2rem; overflow: visible; }
    .view-switch a { align-items: center; border-radius: .4rem; 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: 0; }
    .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); height: 212px; max-height: 212px; min-height: 212px; }
    .list-view .product-image { aspect-ratio: auto; height: 212px; max-height: 212px; min-height: 0; padding: .85rem 1.2rem; }
    .list-view .product-card-body { gap: .3rem; height: 212px; max-height: 212px; overflow: hidden; padding: .65rem 1.25rem; position: relative; }
    .list-view .product-card h2 { display: -webkit-box; font-size: 1.15rem; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .list-view .product-card p { max-width: 70ch; }
    .list-view .product-card-body > p:not(.box-quantity) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .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-color: #fff; display: flex; justify-content: center; overflow: hidden; padding: .35rem .75rem .45rem; }
    .product-image img { height: 100%; object-fit: contain; object-position: center top; width: 100%; }
    .image-placeholder { border-radius: .8rem; height: 54%; width: 44%; }
    .product-card-body { display: flex; flex: 1; flex-direction: column; gap: .45rem; padding: .7rem 1rem 1rem; }
    .product-code { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .product-code-list { display: none; }
    .list-view .product-code-list { bottom: .65rem; display: block; margin-top: 0; position: absolute; right: 1.25rem; text-align: right; }
    .list-view .product-code-grid { display: none; }
    .product-price-code-row { align-items: baseline; display: flex; flex-wrap: nowrap; gap: .6rem; justify-content: space-between; min-width: 0; width: 100%; }
    .product-price-code-row .price { min-width: 0; }
    .product-price-code-row .product-code { flex: 0 0 auto; text-align: right; white-space: nowrap; }
    .product-grid:not(.list-view) .product-price-code-row { padding-right: .3rem; }
    .product-grid:not(.list-view) .product-price-code-row .product-code { text-align: left; }
    .product-grid:not(.list-view) .product-price-code-row .price { margin-left: auto; text-align: right; }
    .product-grid:not(.list-view) .product-buy-row { transform: translateY(-.35rem); }
    .list-view .product-buy-row { align-items: stretch; display: flex; flex-direction: column; gap: .25rem; margin-top: 0; padding-top: 0; }
    .list-view .product-price-code-row { justify-content: flex-end; max-width: none; text-align: right; width: 100%; }
    .list-view .product-price-code-row .price { margin-left: auto; text-align: right; }
    .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: .45rem; color: #fff; font-size: .72rem; font-weight: 900; letter-spacing: .04em; padding: .35rem .65rem; position: absolute; right: 3.65rem; text-transform: uppercase; top: .65rem; z-index: 2; }
    .product-detail-badges { align-items: center; display: flex; flex-wrap: wrap; gap: .5rem; grid-column: 1 / -1; margin-bottom: -.55rem; }
    .detail-promotion-badge, .detail-product-badge { border-radius: .45rem; position: static; }
    .favorite-toggle { display: flex; margin: 0; position: absolute; right: .65rem; top: .65rem; 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-ink); white-space: nowrap; }
    .detail-box-quantity { max-width: 340px; padding: .55rem .7rem; }
    .stock { align-items: center; border-radius: 99px; display: inline-flex; font-size: .72rem; font-weight: 850; gap: .38rem; letter-spacing: .01em; padding: .28rem .62rem; width: fit-content; }
    .stock::before { background: currentColor; border-radius: 50%; content: ""; flex: 0 0 .45rem; height: .45rem; width: .45rem; }
    .in-stock { background: #e6f6ea; color: #1c6c36; }
    .out-stock { background: #fdeaea; color: #9b2c2c; }
    .product-buy-row { align-items: stretch; display: flex; flex-direction: column; gap: .5rem; justify-content: flex-start; margin-top: auto; padding-top: .45rem; }
    .price { color: var(--primary-ink); display: block; font-size: calc(1.1rem + 2px); }
    .list-view .price { font-size: calc(1.1rem + 4px); }
    .price small, .detail-price small { color: var(--muted); font-size: .65em; font-weight: 600; }
    .quick-add { display: flex; width: 100%; }
    .quick-add input[type="number"] { appearance: textfield; border-left: 0; border-radius: 0; border-right: 0; flex: 0 0 4.3rem; font-variant-numeric: tabular-nums; font-weight: 800; max-width: 4.3rem; min-height: 2.35rem; padding: .4rem; text-align: center; width: 4.3rem; }
    .quick-add input[type="number"]:focus, .quick-add input[type="number"]:focus-visible, .quick-add input[type="number"]:active { box-shadow: none; outline: none; }
    .quick-add input[type="number"]::-webkit-inner-spin-button, .quick-add input[type="number"]::-webkit-outer-spin-button { appearance: none; margin: 0; }
    .quick-add button { min-height: 2.35rem; padding: .45rem .65rem; }
    .quick-add .quick-add-step { align-items: center; background: color-mix(in srgb, var(--primary) 8%, white); border: 1px solid color-mix(in srgb, var(--primary) 34%, #bcc7cf); border-radius: 0; color: var(--primary-ink); display: inline-flex; flex: 0 0 2.35rem; font-size: 1.15rem; font-weight: 900; justify-content: center; line-height: 1; padding: 0; transition: background-color .18s ease, border-color .18s ease; width: 2.35rem; }
    .quick-add .quick-add-step:hover { background: color-mix(in srgb, var(--primary) 16%, white); border-color: color-mix(in srgb, var(--primary) 52%, #9eabb4); filter: none; }
    .quick-add .quick-add-step:disabled { cursor: wait; opacity: .55; }
    .quick-add .quick-add-decrease { border-radius: .4rem 0 0 .4rem; }
    .quick-add .quick-add-increase { border-radius: 0 .4rem .4rem 0; }
    .quick-add .quick-add-submit { border-radius: .4rem; flex: 1 1 auto; margin-left: .45rem; }
    .list-view .quick-add { align-items: stretch; max-width: 32rem; }
    .list-view .quick-add input[type="number"] { flex-basis: 4.75rem; max-width: 4.75rem; min-height: 2.65rem; width: 4.75rem; }
    .list-view .quick-add .quick-add-step { flex-basis: 2.65rem; font-size: 1.25rem; min-height: 2.65rem; width: 2.65rem; }
    .list-view .quick-add .quick-add-submit { flex: 1 1 11.5rem; font-weight: 800; max-width: 13.5rem; min-height: 2.65rem; min-width: 9rem; }
    .quick-add[data-cart-mode="replace"] .quick-add-submit { background: var(--primary); color: var(--primary-text); }
    .detail-add[data-cart-mode="replace"] button { background: var(--primary); color: var(--primary-text); }
    .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; justify-content: center; max-width: 100%; overflow-x: auto; padding: 1.5rem .25rem .35rem; scrollbar-width: thin; }
    .pagination-inner { align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: .65rem; box-shadow: 0 .18rem .55rem rgb(20 38 52 / 8%); display: inline-flex; flex: 0 0 auto; justify-content: center; overflow: hidden; }
    .pagination a, .pagination-inner > span { align-items: center; background: var(--surface); border: 0; border-right: 1px solid var(--line); color: var(--text); display: inline-flex; height: 2.85rem; justify-content: center; min-width: 2.85rem; padding: 0 .7rem; text-decoration: none; }
    .pagination-inner > :last-child { border-right: 0; }
    .pagination a:hover { background: color-mix(in srgb, var(--primary) 8%, white); color: var(--primary-ink); text-decoration: none; }
    .pagination .pagination-page.active { background: var(--primary); color: var(--primary-text); font-weight: 900; }
    .pagination-direction { font-weight: 800; gap: .4rem; min-width: auto; }
    .pagination-direction > span[aria-hidden="true"] { font-size: 1.45rem; line-height: 1; }
    .pagination .pagination-direction.disabled { background: #f6f7f8; color: #a4adb4; cursor: not-allowed; }
    .pagination .pagination-ellipsis { color: var(--muted); min-width: 2.25rem; padding-inline: .4rem; }
    .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; height: 280px; 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-ink); 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 { appearance: textfield; border: 0; border-radius: 0; min-width: 0; outline: 0; width: 100%; }
    .detail-quantity-input input::-webkit-inner-spin-button, .detail-quantity-input input::-webkit-outer-spin-button { appearance: none; margin: 0; }
    .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-standard-logo > img { max-height: min(var(--shop-logo-max-height, 10000px), 240px, 26vh); }
    .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 { gap: .55rem; justify-content: center; margin-top: .8rem; }
    .login-language-nav a { background: transparent; border: 0; color: var(--muted); min-height: 0; padding: .18rem; }
    .login-language-nav a.active, .login-language-nav a.active:hover { background: transparent; color: inherit; }
    .login-language-nav .language-flag { height: 24px; width: 36px; }
    .login-language-nav a.active .language-flag { border: 2px solid #334155; box-shadow: none; }
    .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: var(--page-title-size); }
    .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-ink); 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-ink); 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-color: #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: var(--primary-text); display: flex; height: 60%; justify-content: center; opacity: .45; 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-ink); display: block; font-size: .8rem; font-weight: 650; margin-block: .25rem; }
    .cart-quantity-panel { column-gap: .35rem; display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, max-content); justify-content: center; row-gap: .3rem; }
    .cart-quantity-panel.units-only { grid-template-columns: max-content; }
    .cart-quantity-control { min-width: 0; }
    .cart-quantity-control > label { color: var(--muted); display: block; font-size: .72rem; font-weight: 750; margin-bottom: .22rem; text-align: center; }
    .quantity-stepper { display: grid; grid-template-columns: 2rem 4.75rem 2rem; max-width: 100%; width: max-content; }
    .quantity-stepper input { border-radius: 0; font-variant-numeric: tabular-nums; min-height: 2rem; min-width: 0; padding: .25rem .35rem; text-align: center; width: 4.75rem; }
    .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 button:last-child { border-radius: 0 .35rem .35rem 0; }
    .line-total { color: var(--primary-ink); font-size: 1.25rem; font-variant-numeric: tabular-nums; grid-column: 3; grid-row: 1; line-height: 1.15; 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-ink); }
    .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-ink); }
    .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; }
    .checkout-confirm-button { align-items: center; display: flex; gap: .55rem; justify-content: center; }
    .checkout-confirm-button[aria-busy="true"] { cursor: wait; opacity: .82; }
    .checkout-submit-spinner { animation: infinite-loader-spin .75s linear infinite; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; height: 1rem; width: 1rem; }
    .checkout-confirm-button[aria-busy="true"] .checkout-submit-spinner { display: inline-block; }
    .checkout-wait-message { align-items: flex-start; background: color-mix(in srgb, var(--primary) 8%, white); border-radius: .45rem; color: var(--primary-ink); display: flex; font-size: .76rem; gap: .45rem; line-height: 1.45; margin: .65rem 0 0; padding: .65rem .75rem; }
    .checkout-wait-message[hidden] { display: none; }
    .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-ink); }
    .order-detail-link { align-items: center; color: var(--primary-ink); 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: var(--page-title-size); 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-color: #f2f5f7; border-radius: .45rem; color: var(--primary-ink); 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-ink); 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-ink); }
    .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-ink); }
    .admin-settings-tab.active { background: var(--surface); border-color: var(--line); color: var(--primary-ink); 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; }
    .header-logo-height-setting { display: grid; gap: .2rem; margin-top: .85rem; max-width: 420px; }
    .header-logo-height-setting small { color: var(--muted); font-weight: 400; }
    .header-banner-search-toggle { align-items: flex-start; margin-top: .85rem; }
    .header-banner-search-toggle > input { flex: 0 0 auto; margin-top: .2rem; }
    .header-banner-search-toggle > span { display: flex; flex-direction: column; gap: .2rem; }
    .header-banner-search-toggle small { color: var(--muted); font-weight: 400; }
    .header-tools-settings { border: 1px solid var(--line); border-radius: .65rem; margin: .3rem 0 0; padding: 1rem; }
    .header-tools-settings > legend { font-weight: 800; padding-inline: .35rem; }
    .header-tools-settings .toggle { align-items: flex-start; }
    .header-tools-settings .toggle > input { flex: 0 0 auto; margin-top: .2rem; }
    .header-tools-settings .toggle > span { display: flex; flex-direction: column; gap: .2rem; }
    .header-tools-settings small { color: var(--muted); font-weight: 400; }
    .header-tools-settings .pixel-input { margin-top: .35rem; }
    .language-settings { border: 0; margin: 0; min-width: 0; padding: 0; }
    .language-settings legend { font-weight: 800; margin-bottom: -.35rem; }
    .language-settings > p { color: var(--muted); font-size: .84rem; margin-top: .6rem; }
    .language-order-list { display: grid; gap: .55rem; margin-top: .85rem; max-width: 720px; }
    .language-order-row { align-items: stretch; display: grid; gap: .5rem; grid-template-columns: minmax(0, 1fr) auto; transition: opacity .18s; }
    .language-order-row.is-inactive { opacity: .58; }
    .language-order-row .toggle { flex-direction: row; min-width: 0; padding-block: .65rem; }
    .language-order-row .toggle > span { align-items: center; display: flex; gap: .55rem; }
    .language-order-row .language-flag { height: 1rem; width: 1.45rem; }
    .language-order-actions { display: grid; gap: .35rem; grid-template-columns: repeat(2, 2.65rem); }
    .language-order-actions button { align-items: center; background: #f7f9fa; border: 1px solid var(--line); color: var(--primary-ink); display: flex; font-size: 1.15rem; justify-content: center; min-height: 2.75rem; padding: .25rem; }
    .language-order-actions button:hover:not(:disabled) { background: color-mix(in srgb, var(--primary) 8%, white); filter: none; }
    .language-order-actions button:disabled { color: #aab4bb; cursor: not-allowed; opacity: .55; }
    .mobile-app-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .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-ink); 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%; }
    .settings-grid label.light-primary-toggle { align-items: flex-start; flex-direction: row; }
    .light-primary-toggle > input { flex: 0 0 auto; margin-top: .2rem; }
    .light-primary-toggle > span { display: flex; flex-direction: column; gap: .2rem; }
    .light-primary-toggle small { color: var(--muted); font-weight: 400; }
    .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; }
    .platform-admin-body { min-height: 100vh; }
    .platform-admin-main { max-width: 1500px; }
    .platform-license-login { max-width: 760px; }
    .platform-license-heading { margin-bottom: 1rem; }
    .platform-license-stats { display: grid; gap: .8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1rem; }
    .platform-license-stats article { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; padding: 1rem 1.1rem; }
    .platform-license-stats article.active { border-left-color: #2f8f46; }
    .platform-license-stats article.inactive { border-left-color: #b42318; }
    .platform-license-stats article.pending { border-left-color: #d68b00; }
    .platform-license-stats span { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; }
    .platform-license-stats strong { font-size: 1.65rem; }
    .platform-license-request { margin-bottom: 1rem; }
    .platform-license-request > summary { list-style: none; width: fit-content; }
    .platform-license-request > summary::-webkit-details-marker { display: none; }
    .platform-license-form { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.2rem; }
    .platform-license-form label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 800; gap: .35rem; }
    .platform-license-form .wide { grid-column: 1 / -1; }
    .platform-license-form textarea { min-height: 7rem; resize: vertical; }
    .platform-license-submit { display: flex; justify-content: flex-end; }
    .platform-license-submit button { min-width: 150px; }
    .platform-license-section + .platform-license-section { margin-top: 1rem; }
    .platform-section-heading { align-items: center; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1rem; }
    .platform-section-heading h2 { font-size: 1.15rem; }
    .platform-section-heading p { color: var(--muted); font-size: .82rem; margin-top: .2rem; }
    .platform-section-heading > span { background: #edf3f7; border-radius: 99px; color: var(--muted); flex: 0 0 auto; font-size: .72rem; font-weight: 800; padding: .35rem .65rem; }
    .platform-license-table { border-collapse: collapse; min-width: 980px; width: 100%; }
    .platform-license-table th, .platform-license-table td { border-bottom: 1px solid var(--line); padding: .7rem .65rem; text-align: left; vertical-align: middle; }
    .platform-license-table th { background: #eef2f5; font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; }
    .platform-license-table td { font-size: .8rem; }
    .platform-license-table code { font-size: .72rem; }
    .platform-license-table form { margin: 0; }
    .xml-failure-table { min-width: 1450px; }
    .xml-failure-table td { vertical-align: top; }
    .xml-failure-subline { color: var(--muted); display: block; font-size: .72rem; margin: .2rem 0 .45rem; }
    .xml-failure-error { color: #8e2118; max-width: 320px; white-space: normal; }
    .xml-failure-status { border-radius: 99px; display: inline-flex; font-size: .72rem; font-weight: 800; padding: .3rem .6rem; white-space: nowrap; }
    .xml-failure-status.pending { background: #fff0df; color: #8a4a00; }
    .xml-failure-status.retrying { background: #e8f1ff; color: #174a8b; }
    .xml-failure-status.resolved { background: #e6f6ea; color: #176331; }
    .xml-failure-action { min-width: 245px; }
    .xml-failure-action form { display: grid; gap: .5rem; margin: 0; }
    .xml-failure-action label { display: grid; font-size: .72rem; font-weight: 750; gap: .25rem; }
    .xml-failure-action input, .xml-failure-action select { font-size: .78rem; min-height: 2.15rem; padding: .4rem .5rem; }
    .xml-retry-warning { background: #fff7e8; border-left: 3px solid #d88716; color: #69420e; font-size: .72rem; line-height: 1.45; margin: 0; padding: .55rem .65rem; }
    .xml-retry-button { background: #2f8f46; font-size: .78rem; min-height: 2.25rem; padding: .45rem .8rem; }
    .xml-retry-button:hover { background: #26773a; }
    .xml-archive-button { background: #687783; font-size: .75rem; min-height: 2.1rem; padding: .35rem .7rem; }
    .xml-archive-button:hover { background: #4e5c66; }
    .xml-retry-disabled { color: var(--muted); font-size: .72rem; }
    .xml-empty-state { margin-top: 1rem; }
    .xml-empty-state h2 { margin-top: 0; }
    .platform-license-group-row th, .statistics-group-row th { background: #e8eff4; color: #23313c; font-size: .78rem; padding: .65rem .75rem; text-align: left; text-transform: none; }
    .platform-license-group-row th span, .statistics-group-row th span { color: var(--muted); float: right; font-size: .7rem; font-weight: 700; }
    .license-filter { align-items: center; display: flex; gap: .6rem; margin-bottom: .9rem; }
    .license-filter label { color: var(--muted); font-size: .75rem; font-weight: 800; }
    .license-filter select { max-width: 250px; min-height: 2.4rem; }
    .platform-license-config-table { min-width: 1220px; }
    .license-hostname-input { font-size: .76rem; min-height: 2.25rem; min-width: 180px; padding: .45rem .55rem; width: 100%; }
    .license-setting-checkbox { align-items: center; display: inline-flex; font-size: .75rem; font-weight: 750; gap: .45rem; white-space: nowrap; }
    .license-setting-checkbox input { accent-color: #2f8f46; height: 1.1rem; margin: 0; min-height: 0; width: 1.1rem; }
    .license-config-save { font-size: .72rem; min-height: 2.15rem; padding: .4rem .65rem; white-space: nowrap; }
    .license-status { border-radius: 99px; display: inline-flex; font-size: .7rem; font-weight: 800; padding: .25rem .55rem; }
    .license-status.active { background: #e6f6ea; color: #176331; }
    .license-status.inactive { background: #fff0ef; color: #8e2118; }
    button.license-toggle { font-size: .72rem; min-height: 2rem; padding: .3rem .6rem; }
    button.license-toggle.activate { background: #2f8f46; }
    button.license-toggle.deactivate { background: #b42318; }
    .platform-request-table { min-width: 1180px; }
    .request-address { max-width: 320px; white-space: normal; }
    .platform-empty { background: #f7f9fa; border: 1px dashed var(--line); border-radius: .5rem; color: var(--muted); padding: 1.25rem; text-align: center; }
    .platform-admin-nav a { color: #fff; font-size: .82rem; font-weight: 750; }
    .statistics-view-tabs { border-bottom: 1px solid var(--line); display: flex; gap: .4rem; margin: 0 0 1rem; }
    .statistics-view-tabs a { border: 1px solid transparent; border-bottom: 0; border-radius: .55rem .55rem 0 0; color: var(--muted); font-weight: 800; padding: .7rem 1rem; }
    .statistics-view-tabs a.active { background: var(--surface); border-color: var(--line); color: var(--primary-ink); margin-bottom: -1px; }
    .platform-statistics-card { margin-bottom: 1rem; }
    .statistics-filter { align-items: end; display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.25rem; }
    .statistics-filter label { color: var(--muted); display: flex; flex-direction: column; font-size: .72rem; font-weight: 800; gap: .25rem; }
    .statistics-filter input { min-height: 2.75rem; min-width: 155px; }
    .statistics-filter button, .statistics-filter .button { min-height: 2.75rem; }
    .statistics-heading { margin-bottom: .8rem; }
    .platform-statistics-table { min-width: 820px; }
    .platform-monthly-table { min-width: 1220px; }
    .platform-statistics-table td:first-child { min-width: 190px; }
    .statistics-reference { color: var(--muted); display: block; font-size: .68rem; margin-top: .18rem; }
    .statistics-count, .statistics-month-count { font-variant-numeric: tabular-nums; font-weight: 800; }
    .statistics-count { color: var(--primary-ink); font-size: .95rem !important; }
    .statistics-month-count { text-align: center !important; }
    .statistics-unavailable { color: #8e2118; font-size: .75rem !important; font-weight: 750; }
    .statistics-note { background: #fff8e8; border: 1px solid #efd99c; border-radius: .5rem; color: #6d5115; font-size: .8rem; margin-top: .8rem; padding: .8rem 1rem; }
    .statistics-status-form { align-items: center; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; }
    .statistics-status-form .license-toggle { font-size: .7rem; min-height: 2rem; padding: .3rem .55rem; }
    .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; }
    .back-to-top { align-items: center; background: rgb(25 36 45 / 82%); border: 1px solid rgb(255 255 255 / 24%); border-radius: 999px; bottom: 1rem; box-shadow: 0 .25rem .8rem rgb(0 0 0 / 16%); color: #fff; display: inline-flex; font-size: .78rem; gap: .3rem; min-height: 2.85rem; min-width: 4.15rem; opacity: .88; padding: .55rem .85rem; position: fixed; right: 1rem; z-index: 9000; }
    .back-to-top[hidden] { display: none; }
    .back-to-top:hover, .back-to-top:focus-visible { background: var(--primary); color: var(--primary-text); filter: none; opacity: 1; }
    .back-to-top span:first-child { font-size: 1.05rem; line-height: 1; }
    .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-ink); 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-ink); 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-ink); 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-ink); 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-ink); }
    .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-ink); 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-ink); 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: minmax(100px, 1fr) minmax(340px, 500px) minmax(270px, 1fr); }
        html.responsive .brand-row.wide-banner-layout { grid-template-columns: minmax(100px, 1fr) minmax(340px, 500px) minmax(270px, 1fr); }
        html.responsive .account-actions { grid-column: 3; flex-direction: row; justify-content: flex-end; padding-bottom: 0; }
        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) {
        .platform-admin-header .shell { align-items: flex-start; flex-direction: column; gap: .7rem; padding-block: .8rem; }
        .platform-admin-nav { flex-wrap: wrap; gap: .65rem !important; }
        .statistics-filter { align-items: stretch; }
        .statistics-filter label, .statistics-filter input, .statistics-filter button, .statistics-filter .button { width: 100%; }
        .statistics-heading { align-items: flex-start; flex-direction: column; }
        html.responsive .shell { padding-inline: .85rem; }
        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-row.wide-banner-layout.banner-search-integrated { height: 0; left: 50%; min-height: 0; padding: 0; position: absolute; top: 0; transform: translateX(-50%); width: 100%; }
        html.responsive .brand-row.wide-banner-layout.banner-search-integrated .account-actions { left: .85rem; margin: 0; position: absolute; right: .85rem; top: .65rem; width: auto; }
        html.responsive .header-wide-banner.with-integrated-search .header-wide-banner-link img { height: 128px; min-height: 128px; object-fit: cover; }
        html.responsive .brand { width: 100%; }
        html.responsive .brand img { max-height: min(80px, var(--shop-logo-max-height, 80px)); }
        html.responsive .site-search { order: 3; width: 100%; }
        html.responsive .brand-row.search-starts-at-new-products .site-search { margin-left: 0; max-width: none; width: 100%; }
        html.responsive .banner-integrated-search { bottom: .65rem; left: 50%; max-width: none; order: initial; position: absolute; top: auto; transform: translateX(-50%); width: calc(100% - 1.7rem); }
        html.responsive .account-actions { align-items: stretch; gap: .5rem; margin-left: auto; padding: 0; width: 100%; }
        html.responsive .customer-name-card { 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); height: 262px; max-height: 262px; min-height: 262px; }
        html.responsive .list-view .product-image { height: 262px; max-height: 262px; min-height: 0; padding: .65rem .75rem; }
        html.responsive .list-view .product-card-body { height: 262px; max-height: 262px; padding: .65rem .8rem; }
        html.responsive .list-view .product-code-list { right: .8rem; }
        html.responsive .list-view .product-buy-row { gap: .25rem; }
        html.responsive .list-view .product-price-code-row { width: 100%; }
        html.responsive .list-view .quick-add { display: grid; grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem; max-width: none; row-gap: .4rem; }
        html.responsive .list-view .quick-add input[type="number"] { flex-basis: auto; max-width: none; min-height: 2.35rem; width: 100%; }
        html.responsive .list-view .quick-add .quick-add-step { flex-basis: auto; font-size: 1.15rem; min-height: 2.35rem; width: 100%; }
        html.responsive .list-view .quick-add .quick-add-submit { grid-column: 1 / -1; margin-left: 0; max-width: none; min-height: 2.35rem; min-width: 0; width: 100%; }
        html.responsive .cart-quantity-panel { gap: .3rem; grid-column: 1 / -1; grid-template-columns: max-content; justify-content: center; }
        html.responsive .cart-quantity-panel.units-only { grid-template-columns: max-content; }
        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; }
        html.responsive .back-to-top { bottom: .75rem; right: .75rem; }
        html.responsive .pagination { justify-content: flex-start; margin-inline: -.2rem; }
        html.responsive .pagination-inner { margin-inline: auto; }
        html.responsive .pagination a, html.responsive .pagination-inner > span { height: 2.55rem; min-width: 2.55rem; padding-inline: .55rem; }
        html.responsive .pagination-direction-label { display: none; }
        .settings-grid, .toggle-grid, .taxonomy-mapping-grid, .taxonomy-language-grid, .login-mode-options, .pixel-spacing-grid, .platform-license-stats, .platform-license-form, .mobile-app-link-grid { grid-template-columns: 1fr; }
        .platform-license-form .wide { grid-column: auto; }
        .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%; }
        .language-order-list { max-width: none; }
    }
    @media (max-height: 740px) {
        .login-banner-only > img { max-height: 18vh; }
        .login-banner-only.login-standard-logo > img { max-height: min(var(--shop-logo-max-height, 10000px), 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: var(--page-title-size); }
        .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-standard-logo > img { max-height: min(var(--shop-logo-max-height, 10000px), 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; }
    }
}

@layer components {
    .mobile-app-required-body { align-items: center; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--primary) 13%, var(--page-bg)) 0, var(--page-bg) 56%); display: flex; justify-content: center; min-height: 100svh; padding: 1.1rem; }
    .mobile-app-required-card { align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: 0 1.2rem 3.2rem rgb(20 38 52 / 14%); display: flex; flex-direction: column; max-width: 39rem; overflow: hidden; padding: clamp(1.25rem, 6vw, 2.5rem); text-align: center; width: 100%; }
    .mobile-app-required-brand { align-items: center; display: flex; gap: .65rem; justify-content: center; margin-bottom: 1.5rem; max-height: 8.5rem; min-height: 2.8rem; width: 100%; }
    .mobile-app-required-brand img { max-height: 8.5rem; object-fit: contain; width: 100%; }
    .mobile-app-required-brand strong { color: var(--primary-ink); font-size: 1.15rem; }
    .mobile-app-required-icon { align-items: center; background: color-mix(in srgb, var(--primary) 11%, white); border-radius: 50%; color: var(--primary-ink); display: flex; height: 4.3rem; justify-content: center; margin-bottom: 1rem; width: 4.3rem; }
    .mobile-app-required-icon svg { fill: currentColor; height: 2.35rem; width: 2.35rem; }
    .mobile-app-required-card .eyebrow { color: var(--primary-ink); font-size: .75rem; font-weight: 900; letter-spacing: .09em; margin-bottom: .5rem; text-transform: uppercase; }
    .mobile-app-required-card h1 { font-size: clamp(1.45rem, 6vw, 2rem); max-width: 30rem; }
    .mobile-app-required-message { color: var(--muted); font-size: 1rem; margin-top: .85rem; max-width: 31rem; }
    .mobile-app-platforms { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; width: min(100%, 28rem); }
    .mobile-app-platform { align-items: center; background: #20272d; border-radius: .65rem; color: #fff; display: flex; font-size: .8rem; font-weight: 800; gap: .55rem; justify-content: center; min-height: 3.25rem; padding: .7rem .8rem; }
    .mobile-app-platform:hover { background: #0f1519; text-decoration: none; }
    .mobile-app-platforms.platform-count-1 { grid-template-columns: minmax(0, 1fr); }
    .mobile-app-platform svg { fill: currentColor; flex: 0 0 auto; height: 1.45rem; width: 1.45rem; }
    .mobile-app-language-nav { align-items: center; border-top: 1px solid var(--line); display: flex; gap: .55rem; justify-content: center; margin-top: 1.55rem; padding-top: 1rem; width: 100%; }
    .mobile-app-language-nav a { border: 2px solid transparent; border-radius: .45rem; display: block; padding: .3rem; }
    .mobile-app-language-nav a.active { border-color: var(--primary); }
    .mobile-app-language-nav .language-flag { height: 1.15rem; width: 1.65rem; }
    @media (max-width: 390px) {
        .mobile-app-platforms { grid-template-columns: 1fr; }
        .mobile-app-required-card { padding-inline: 1rem; }
    }
}
