:root {
    --page: #fbfbfc;
    --paper: #ffffff;
    --ink: #111216;
    --soft-ink: #30343b;
    --muted: #69707d;
    --line: #e3e6ec;
    --line-strong: #cfd5df;
    --shade: #f2f4f8;
    --shade-2: #eceff5;
    --brand: #cb2637;
    --brand-dark: #981729;
    --brand-tint: #faecef;
    --brand-tint-line: #f1ccd3;
    --brand-faint: rgba(203, 38, 55, .12);
    --cyan: #00a4b5;
    --green: #0e8f68;
    --amber: #d99417;
    --shadow: 0 24px 70px rgba(17, 18, 22, 0.11);
    --soft-shadow: 0 14px 38px rgba(17, 18, 22, 0.08);
}

.store-theme-ocean {
    --brand: #006d9c;
    --brand-dark: #004c73;
    --brand-tint: #e8f5fa;
    --brand-tint-line: #c7e4ef;
    --brand-faint: rgba(0, 109, 156, .12);
    --cyan: #00a4b5;
    --green: #0e8f68;
    --amber: #d99417;
}

.store-theme-forest {
    --brand: #0e8f68;
    --brand-dark: #0a654d;
    --brand-tint: #e9f6f1;
    --brand-tint-line: #c7e5da;
    --brand-faint: rgba(14, 143, 104, .12);
    --cyan: #1d7ed0;
    --green: #0e8f68;
    --amber: #c78a12;
}

.store-theme-amber {
    --brand: #d97706;
    --brand-dark: #a85605;
    --brand-tint: #fff3e2;
    --brand-tint-line: #f4d4a6;
    --brand-faint: rgba(217, 119, 6, .12);
    --cyan: #0891b2;
    --green: #0e8f68;
    --amber: #d97706;
}

.store-theme-meksa {
    --page: #ffffff;
    --paper: #ffffff;
    --ink: #202124;
    --soft-ink: #44464a;
    --muted: #66686d;
    --line: #e3e3e5;
    --line-strong: #c9cace;
    --shade: #f5f5f6;
    --shade-2: #ececee;
    --brand: #793a4e;
    --brand-dark: #542639;
    --brand-tint: #f5efec;
    --brand-tint-line: #eadfda;
    --brand-faint: rgba(121, 58, 78, .13);
    --cyan: #0097a7;
    --green: #217b68;
    --amber: #b98538;
    --shadow: 0 16px 40px rgba(20, 20, 22, 0.10);
    --soft-shadow: 0 8px 24px rgba(20, 20, 22, 0.06);
}

.store-theme-meksa body,
body.store-theme-meksa {
    background: var(--page);
}

.store-theme-meksa .store-header {
    border-color: var(--line);
    background: #fff;
}

.store-theme-meksa .store-brand-mark {
    background: var(--brand);
    box-shadow: none;
}

.store-theme-slate {
    --page: #121721;
    --paper: #1b2230;
    --ink: #f5f7fb;
    --soft-ink: #d7deea;
    --muted: #9aa6ba;
    --line: #303a4d;
    --line-strong: #43506a;
    --shade: #171e2a;
    --shade-2: #202838;
    --brand: #6ea2ff;
    --brand-dark: #4c7edb;
    --brand-tint: #1f314f;
    --brand-tint-line: #324768;
    --brand-faint: rgba(110, 162, 255, .16);
    --cyan: #45d3e8;
    --green: #34d399;
    --amber: #fbbf24;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --soft-shadow: 0 14px 38px rgba(0, 0, 0, 0.26);
}

.store-theme-slate .store-header,
.store-theme-slate .store-footer,
.store-theme-slate .product-card,
.store-theme-slate .filter-panel,
.store-theme-slate .empty-state,
.store-theme-slate .cart-items,
.store-theme-slate .checkout-form,
.store-theme-slate .order-summary,
.store-theme-slate .pager-link,
.store-theme-slate .pager-number,
.store-theme-slate .field-control,
.store-theme-slate .icon-link,
.store-theme-slate .cart-link {
    background: var(--paper);
}

.store-theme-slate .store-header,
.store-theme-slate .store-footer,
.store-theme-slate .product-card,
.store-theme-slate .filter-panel,
.store-theme-slate .empty-state,
.store-theme-slate .cart-items,
.store-theme-slate .checkout-form,
.store-theme-slate .order-summary {
    border-color: var(--line);
}

.store-theme-slate .store-search,
.store-theme-slate .filter-check label,
.store-theme-slate .product-card-image,
.store-theme-slate .section-band-quiet,
.store-theme-slate .catalog-title {
    background: var(--shade);
}

.store-theme-slate .action-button-light {
    color: #111827;
}

.store-theme-slate .action-button-dark {
    color: #111827;
    border-color: var(--brand);
    background: var(--brand);
}

.store-theme-slate .action-button-dark:hover {
    color: #111827;
    background: var(--cyan);
    border-color: var(--cyan);
}

* {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(203, 38, 55, 0.05), rgba(255, 255, 255, 0) 420px),
        var(--page);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--brand);
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

label {
    display: block;
}

.store-frame {
    width: min(100% - 40px, 1240px);
    margin-inline: auto;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid rgba(227, 230, 236, 0.86);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.store-header-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto;
    align-items: center;
    gap: 22px;
}

.store-brand,
.auth-brand,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    font-weight: 900;
}

.store-brand-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--ink), var(--brand));
    box-shadow: 0 10px 22px rgba(203, 38, 55, 0.24);
    font-weight: 900;
}

.store-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.store-nav::-webkit-scrollbar {
    display: none;
}

.store-nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--soft-ink);
    font-size: 14px;
    font-weight: 800;
}

.store-nav a:hover {
    color: var(--brand);
    background: rgba(203, 38, 55, 0.08);
}

.store-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.store-search {
    width: min(28vw, 300px);
    min-width: 220px;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--shade);
}

.store-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
}

.store-search input::placeholder,
.field-control::placeholder {
    color: #8b93a1;
}

.store-search-mark,
.icon-bag,
.icon-user,
.icon-dashboard,
.service-check {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
}

.store-search-mark {
    width: 15px;
    height: 15px;
    border: 2px solid var(--muted);
    border-radius: 50%;
}

.store-search-mark::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -2px;
    width: 7px;
    height: 2px;
    border-radius: 99px;
    background: var(--muted);
    transform: rotate(45deg);
}

.icon-link,
.cart-link {
    position: relative;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.icon-link:hover,
.cart-link:hover {
    color: var(--ink);
    border-color: rgba(203, 38, 55, 0.4);
    box-shadow: 0 10px 24px rgba(203, 38, 55, 0.1);
    transform: translateY(-1px);
}

.icon-user {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.icon-user::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 22px;
    height: 10px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    transform: translateX(-50%);
}

.icon-bag {
    width: 18px;
    height: 16px;
    margin-top: 4px;
    border: 2px solid currentColor;
    border-radius: 4px;
}

.icon-bag::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -9px;
    width: 10px;
    height: 9px;
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    transform: translateX(-50%);
}

.icon-dashboard {
    width: 20px;
    height: 18px;
}

.icon-dashboard::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 2px;
    width: 5px;
    height: 11px;
    border-radius: 2px 2px 0 0;
    background: currentColor;
    box-shadow: 7px -6px 0 currentColor, 14px -2px 0 currentColor;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--brand);
    font-size: 11px;
    font-weight: 900;
}

.notice-band {
    margin-top: 16px;
}

.store-notice {
    padding: 14px 16px;
    border: 1px solid rgba(14, 143, 104, 0.22);
    border-radius: 8px;
    color: #0b684d;
    background: rgba(14, 143, 104, 0.08);
    font-weight: 800;
}

.store-hero {
    background: #0c0e12;
}

.story-slider {
    position: relative;
    min-height: clamp(560px, 78vh, 760px);
    overflow: hidden;
    color: #fff;
}

.story-track,
.story-slide {
    position: absolute;
    inset: 0;
}

.story-slide {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 1.2s ease, visibility 0.7s ease;
}

.story-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.story-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 24%, rgba(0, 164, 181, 0.28), rgba(0, 164, 181, 0) 28%),
        linear-gradient(90deg, rgba(6, 7, 10, 0.84), rgba(9, 11, 16, 0.38) 48%, rgba(9, 11, 16, 0.14));
}

.hero-content {
    position: absolute;
    left: max(28px, calc((100vw - 1240px) / 2));
    top: 50%;
    z-index: 2;
    width: min(680px, calc(100% - 56px));
    transform: translateY(-50%);
}

.hero-content h1,
.promo-content h2 {
    margin: 0 0 18px;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 0.96;
    font-weight: 900;
}

.hero-content p,
.promo-content p {
    max-width: 580px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.hero-commerce-panel {
    position: absolute;
    right: max(28px, calc((100vw - 1240px) / 2));
    bottom: 92px;
    z-index: 3;
    width: min(320px, calc(100% - 56px));
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.hero-commerce-panel span {
    color: #97f2ff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-commerce-panel strong {
    display: block;
    margin-top: 4px;
    font-size: 24px;
    font-weight: 900;
}

.hero-commerce-panel p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.76);
}

.story-controls {
    position: absolute;
    left: max(28px, calc((100vw - 1240px) / 2));
    right: max(28px, calc((100vw - 1240px) / 2));
    bottom: 32px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.story-controls > button {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(10px);
}

.story-controls > button::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border: solid currentColor;
    border-width: 2px 2px 0 0;
}

.story-controls > button[data-slide="prev"]::before {
    transform: translateX(2px) rotate(-135deg);
}

.story-controls > button[data-slide="next"]::before {
    transform: translateX(-2px) rotate(45deg);
}

.story-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.story-dots button {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
}

.story-dots button.is-active {
    background: #fff;
}

.section-band {
    padding: 84px 0;
}

.section-band-quiet {
    background: linear-gradient(180deg, #fff, var(--shade));
}

.section-kicker,
.section-heading span,
.promo-content span,
.catalog-title span {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-content .section-kicker,
.promo-content .section-kicker {
    color: #97f2ff;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h1,
.section-heading h2,
.catalog-title h1,
.product-summary h1,
.empty-state h1,
.empty-state h2 {
    margin: 0;
    color: var(--ink);
    font-weight: 900;
    line-height: 1.04;
}

.section-heading h1,
.catalog-title h1 {
    font-size: clamp(36px, 5vw, 58px);
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 50px);
}

.flex-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.action-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    font-weight: 900;
    line-height: 1;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.action-button:hover {
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: var(--soft-shadow);
}

.action-button-dark {
    color: #fff;
    border-color: var(--ink);
    background: var(--ink);
}

.action-button-dark:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

.action-button-light {
    color: var(--ink);
    background: #fff;
}

.action-button-light:hover {
    color: #fff;
    background: var(--brand);
}

.action-button-ghost {
    border-color: var(--line-strong);
    background: transparent;
}

.action-button-ghost:hover {
    border-color: rgba(203, 38, 55, 0.38);
    background: rgba(203, 38, 55, 0.06);
}

.action-button-wide {
    width: 100%;
}

.field-control {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #fff;
    outline: 0;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

textarea.field-control {
    min-height: 118px;
    padding-top: 12px;
    resize: vertical;
}

.field-control:focus {
    border-color: rgba(203, 38, 55, 0.55);
    box-shadow: 0 0 0 4px rgba(203, 38, 55, 0.1);
}

.has-error .field-control {
    border-color: var(--brand);
}

.field-error {
    margin-top: 7px;
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 800;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.story-panel-section {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 164, 181, 0.04)),
        var(--page);
}

.story-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.84fr) minmax(360px, 1.16fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

.story-panel-left .story-panel-media {
    order: -1;
}

.story-panel-copy {
    max-width: 620px;
}

.story-panel-copy h2 {
    margin: 0 0 18px;
    color: var(--ink);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.02;
}

.story-panel-copy p {
    margin: 0 0 22px;
    color: var(--soft-ink);
    font-size: 18px;
}

.story-panel-copy ul {
    display: grid;
    gap: 10px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.story-panel-copy li {
    position: relative;
    padding-left: 28px;
    color: var(--soft-ink);
    font-weight: 800;
}

.story-panel-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: var(--brand);
}

.story-panel-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--shade);
    box-shadow: var(--shadow);
}

.story-panel-media::before {
    content: "";
    position: absolute;
    inset: 14px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 6px;
    pointer-events: none;
}

.story-panel-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transform: scale(1.01);
}

.logo-strip-section {
    padding: 42px 0;
    border-block: 1px solid var(--line);
    background: var(--paper);
}

.section-heading-compact {
    max-width: 620px;
    margin-bottom: 22px;
}

.section-heading-compact h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.logo-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 14px;
}

.logo-strip-item {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.42)),
        var(--shade);
}

.logo-strip-item img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
    opacity: 0.72;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}

.logo-strip-item:hover img {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(-1px);
}

.category-tile {
    position: relative;
    min-height: 230px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #111;
    transform: perspective(900px) rotateX(var(--motion-y, 0deg)) rotateY(var(--motion-x, 0deg));
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile::after,
.product-card::after,
.service-item::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle at var(--motion-glow-x, 50%) var(--motion-glow-y, 50%), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 34%);
    transition: opacity 0.18s ease;
}

.category-tile:hover,
.product-card:hover,
.service-item:hover {
    box-shadow: var(--shadow);
}

.category-tile:hover::after,
.product-card:hover::after,
.service-item:hover::after {
    opacity: 1;
}

.category-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transform: scale(1.02);
    transition: transform 0.36s ease, opacity 0.36s ease;
}

.category-tile:hover img {
    opacity: 0.92;
    transform: scale(1.08);
}

.category-tile span {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.08;
}

.product-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 304px);
    gap: 18px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scroll-snap-type: x mandatory;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-scroll::-webkit-scrollbar {
    display: none;
}

.product-scroll.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.product-scroll-item {
    scroll-snap-align: start;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.store-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    transform: perspective(1000px) rotateX(var(--motion-y, 0deg)) rotateY(var(--motion-x, 0deg));
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    border-color: rgba(203, 38, 55, 0.24);
}

.product-card-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    background:
        linear-gradient(135deg, rgba(203, 38, 55, 0.08), rgba(0, 164, 181, 0.08)),
        var(--shade);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.035);
}

.product-flag {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    background: var(--brand);
    font-size: 12px;
    font-weight: 900;
}

.product-flag-light {
    color: #062f35;
    background: #9df2ff;
}

.product-card-body {
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    padding: 16px;
}

.product-category {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card h3 {
    margin: 7px 0 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.28;
}

.product-card-bottom,
.price-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price-line {
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 17px;
}

.old-price {
    color: var(--muted);
    font-size: 14px;
    text-decoration: line-through;
}

.product-add-button {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease;
}

.product-add-button:hover {
    background: var(--brand);
    transform: rotate(90deg);
}

.promo-band {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #0c0e12;
}

.promo-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 18%, rgba(203, 38, 55, 0.28), rgba(203, 38, 55, 0) 28%),
        linear-gradient(90deg, rgba(5, 6, 10, 0.86), rgba(5, 6, 10, 0.22));
}

.promo-content {
    position: relative;
    z-index: 2;
    width: min(560px, calc(100% - 40px));
    margin-left: max(20px, calc((100vw - 1240px) / 2));
}

.image-card-grid-section {
    background:
        linear-gradient(180deg, var(--paper), var(--shade));
}

.image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.image-card-tile {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    background: #111;
    transform: perspective(900px) rotateX(var(--motion-y, 0deg)) rotateY(var(--motion-x, 0deg));
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.image-card-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at var(--motion-glow-x, 50%) var(--motion-glow-y, 50%), rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0) 34%),
        linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.78));
}

.image-card-tile:hover {
    box-shadow: var(--shadow);
}

.image-card-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.84;
    transform: scale(1.02);
    transition: transform 0.36s ease, opacity 0.36s ease;
}

.image-card-tile:hover img {
    opacity: 0.94;
    transform: scale(1.08);
}

.image-card-tile > div {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
}

.image-card-tile h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 26px;
    font-weight: 900;
}

.image-card-tile p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.service-strip {
    padding: 62px 0;
    color: #fff;
    background:
        radial-gradient(circle at 20% 0, rgba(0, 164, 181, 0.2), rgba(0, 164, 181, 0) 28%),
        #101216;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-item {
    position: relative;
    overflow: hidden;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transform: perspective(900px) rotateX(var(--motion-y, 0deg)) rotateY(var(--motion-x, 0deg));
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-item:hover {
    border-color: rgba(151, 242, 255, 0.28);
}

.service-check {
    width: 26px;
    height: 26px;
    border: 2px solid #97f2ff;
    border-radius: 50%;
}

.service-check::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 5px;
    width: 8px;
    height: 13px;
    border: solid #97f2ff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.service-item h3 {
    margin: 14px 0 7px;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.service-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.contact-panel-section {
    background: var(--page);
}

.contact-panel-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: 24px;
    align-items: stretch;
}

.contact-card-grid {
    display: grid;
    gap: 12px;
    align-content: start;
}

.contact-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    min-height: 92px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--soft-shadow);
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--brand);
    background: var(--brand-tint);
    border: 1px solid var(--brand-tint-line);
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card-icon-address svg path:first-child,
.contact-card-icon-phone svg path {
    fill: var(--brand-faint);
}

.contact-card-body {
    min-width: 0;
    display: grid;
    gap: 5px;
    align-content: center;
}

.contact-card h3 {
    margin: 0;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.contact-card p {
    min-width: 0;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.contact-card a {
    color: var(--ink);
    text-decoration: none;
    text-underline-offset: 4px;
}

.contact-card a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.contact-map {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--shade);
    box-shadow: var(--soft-shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    border: 0;
}

.catalog-title {
    padding: 72px 0 36px;
    background:
        linear-gradient(135deg, rgba(203, 38, 55, 0.08), rgba(255, 255, 255, 0) 55%),
        var(--shade);
}

.catalog-title p {
    max-width: 620px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.catalog-shell {
    padding: 42px 0 84px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 294px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.catalog-filters {
    min-width: 0;
}

.filter-panel {
    position: sticky;
    top: 96px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(17, 18, 22, 0.05);
}

.filter-head,
.catalog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.filter-head {
    margin-bottom: 12px;
}

.filter-head h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.filter-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 900;
}

.filter-group {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.filter-group > label {
    margin-bottom: 8px;
    color: var(--soft-ink);
    font-size: 13px;
    font-weight: 900;
}

.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filter-options {
    display: grid;
    gap: 8px;
}

.filter-check {
    position: relative;
}

.filter-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-check label {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--shade);
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.filter-check input:checked + label {
    color: #fff;
    border-color: var(--brand);
    background: var(--brand);
}

.filter-check em {
    color: inherit;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    opacity: 0.72;
}

.catalog-meta {
    min-height: 46px;
    margin-bottom: 18px;
}

.catalog-meta p {
    margin: 0;
    color: var(--muted);
    font-weight: 900;
}

.catalog-results {
    position: relative;
    min-height: 240px;
}

.catalog-results.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.catalog-pagination {
    margin-top: 28px;
}

.enhanced-ui .catalog-pagination-fallback {
    display: none;
}

.catalog-load-footer {
    margin-top: 26px;
}

.catalog-load-more {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-load-more span {
    display: none;
    color: var(--muted);
    font-weight: 900;
}

.catalog-load-more.is-loading .action-button {
    display: none;
}

.catalog-load-more.is-loading span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.catalog-load-more.is-loading span::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 3px solid var(--line);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: store-spin 0.8s linear infinite;
}

@keyframes store-spin {
    to {
        transform: rotate(360deg);
    }
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pager-pages {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.pager-link,
.pager-number,
.pager-gap {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 900;
}

.pager-link:hover,
.pager-number:hover,
.pager-number.is-current {
    color: #fff;
    border-color: var(--brand);
    background: var(--brand);
}

.pager-link.is-disabled {
    color: #a4abb6;
    background: var(--shade);
    pointer-events: none;
}

.pager-gap {
    color: var(--muted);
    background: transparent;
}

.product-detail {
    padding: 66px 0 42px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 40px;
    align-items: start;
}

.product-gallery {
    display: grid;
    gap: 14px;
}

.product-gallery img {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--shade);
    box-shadow: 0 20px 60px rgba(17, 18, 22, 0.07);
}

.product-summary {
    position: sticky;
    top: 104px;
    padding: 4px 0;
}

.product-summary h1 {
    margin-top: 10px;
    font-size: clamp(34px, 5vw, 56px);
}

.product-summary p {
    color: var(--muted);
    font-size: 17px;
}

.price-large {
    margin: 18px 0;
    font-size: 25px;
}

.product-buy-form {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 12px;
    margin: 28px 0 12px;
}

.product-quantity,
.cart-quantity {
    text-align: center;
    font-weight: 900;
}

.stock-note {
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
}

.feature-table {
    margin-top: 28px;
    border-top: 1px solid var(--line);
}

.feature-table div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.feature-table span {
    color: var(--muted);
}

.feature-table strong {
    text-align: right;
}

.product-description {
    max-width: 840px;
    margin-top: 52px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

.product-description h2 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 900;
}

.product-description p {
    color: var(--soft-ink);
}

.cart-page {
    padding: 70px 0 86px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 352px;
    gap: 28px;
    align-items: start;
}

.cart-items,
.checkout-form,
.order-summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(17, 18, 22, 0.05);
}

.cart-line {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 88px 104px 78px;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
    border-bottom: 0;
}

.cart-line img {
    width: 86px;
    height: 104px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--shade);
}

.cart-line h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.22;
}

.cart-line p {
    margin: 5px 0 0;
    color: var(--muted);
}

.plain-danger {
    padding: 0;
    border: 0;
    color: var(--brand);
    background: transparent;
    font-size: 13px;
    font-weight: 900;
}

.plain-danger:hover {
    color: var(--brand-dark);
}

.order-summary {
    padding: 22px;
}

.order-summary h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
}

.order-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.order-summary > div span {
    color: var(--muted);
}

.summary-total {
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 900;
}

.order-summary .action-button + .action-button {
    margin-top: 10px;
}

.checkout-form {
    padding: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-field {
    min-width: 0;
}

.form-field label {
    margin-bottom: 7px;
    color: var(--soft-ink);
    font-size: 13px;
    font-weight: 900;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.empty-state {
    padding: 72px 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0, rgba(203, 38, 55, 0.08), rgba(203, 38, 55, 0) 34%),
        #fff;
    text-align: center;
    box-shadow: 0 18px 46px rgba(17, 18, 22, 0.05);
}

.empty-state h1,
.empty-state h2 {
    margin-bottom: 10px;
}

.empty-state p {
    max-width: 520px;
    margin: 0 auto 22px;
    color: var(--muted);
}

.success-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: inline-flex;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--green);
}

.success-icon::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 14px;
    width: 16px;
    height: 29px;
    border: solid #fff;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

.store-footer {
    padding: 58px 0;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
}

.footer-brand {
    margin-bottom: 12px;
}

.store-footer p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    flex-wrap: wrap;
    font-weight: 900;
}

.inline-form {
    display: inline;
}

.footer-link-button {
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    font-weight: 900;
}

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at 20% 12%, rgba(203, 38, 55, 0.16), rgba(203, 38, 55, 0) 32%),
        radial-gradient(circle at 80% 80%, rgba(0, 164, 181, 0.14), rgba(0, 164, 181, 0) 30%),
        var(--shade);
}

.auth-panel {
    width: min(100%, 430px);
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.auth-brand {
    justify-content: center;
    margin-bottom: 24px;
    text-align: center;
}

.auth-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    max-width: 230px;
    min-height: 48px;
}

.auth-logo-frame img {
    display: block;
    max-width: 230px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.auth-logo-frame-wide { width: min(230px, 100%); }
.auth-logo-frame-wide img { width: 100%; }

.auth-panel .form-field {
    margin-bottom: 16px;
}

.auth-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 2px 0 18px;
}

.inline-check {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--soft-ink);
    font-weight: 800;
}

.inline-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand);
}

.auth-inline-link {
    flex: 0 0 auto;
    color: var(--brand);
    font-size: 14px;
    font-weight: 900;
}

.auth-helper {
    margin: 0 0 18px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.auth-status {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #a9dfe4;
    border-radius: 8px;
    background: #eefbfc;
    color: #075d66;
    font-weight: 800;
    line-height: 1.45;
}

.auth-switch {
    margin: 22px 0 0;
    color: var(--muted);
    text-align: center;
}

.auth-switch a {
    color: var(--brand);
    font-weight: 900;
}

.reveal-ready {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.54s ease, transform 0.54s ease;
}

.reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.store-marquee {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 12px;
}

.marquee-window { min-width: 0; flex: 1; overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 0 0 auto;
    min-width: var(--marquee-width, 100%);
    gap: 48px;
    padding-right: 48px;
}
.marquee-text { white-space: nowrap; font-size: 14px; font-weight: 600; }
.marquee-text::before { content: '+'; margin-right: 40px; color: currentColor; opacity: .65; }
.text-marquee { min-height: 68px; padding: 12px 24px; color: #fff; background: var(--brand); }
.marquee-ready .marquee-track { animation: storefront-marquee var(--marquee-duration, 35s) linear infinite; animation-play-state: paused; }
.marquee-ready.is-in-view .marquee-track { animation-play-state: running; }
.marquee-ready:is(:hover, :focus-within, .is-paused, .is-page-hidden) .marquee-track { animation-play-state: paused; }
.motion-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid currentColor;
    border-radius: 50%;
    background: transparent;
    color: inherit;
}
.enhanced-ui .motion-toggle { display: inline-flex; }
.motion-toggle span { width: 9px; height: 12px; border-inline: 3px solid currentColor; }
.motion-toggle[aria-pressed="true"] span { width: 0; height: 0; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
.motion-toggle::before, .motion-toggle::after { display: none; }
.motion-toggle:focus-visible, .storefront-body a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@keyframes storefront-marquee { to { transform: translateX(var(--marquee-distance)); } }
.parallax-ready > img {
    top: -72px;
    height: calc(100% + 144px);
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .store-marquee .marquee-track { animation: none; transform: none; width: 100%; }
    .store-marquee .marquee-group { flex-wrap: wrap; gap: 16px 28px; min-width: 0; width: 100%; padding: 8px 0; }
    .store-marquee .marquee-text { white-space: normal; overflow-wrap: anywhere; }
    .store-marquee .marquee-duplicate, .store-marquee .motion-toggle { display: none; }
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal-ready {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1120px) {
    .store-header-inner {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        padding: 12px 0;
    }

    .store-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: flex-start;
        order: 3;
    }

    .store-header-actions {
        grid-column: 2;
        grid-row: 1;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .story-panel,
    .contact-panel-grid {
        grid-template-columns: 1fr;
    }

    .story-panel-left .story-panel-media {
        order: 0;
    }

    .store-product-grid,
    .image-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog-layout,
    .cart-layout,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel,
    .product-summary {
        position: static;
    }

    .cart-layout {
        gap: 22px;
    }
}

@media (max-width: 820px) {
    .store-frame {
        width: min(100% - 28px, 1240px);
    }

    .store-header-inner {
        min-height: 68px;
    }

    .store-search {
        width: 180px;
        min-width: 0;
    }

    .story-slider {
        min-height: 620px;
    }

    .hero-content {
        top: 45%;
    }

    .hero-content h1,
    .promo-content h2 {
        font-size: 44px;
    }

    .hero-content p,
    .promo-content p {
        font-size: 16px;
    }

    .hero-commerce-panel {
        left: 14px;
        right: 14px;
        bottom: 96px;
        width: auto;
    }

    .story-controls {
        left: 14px;
        right: 14px;
    }

    .section-band,
    .cart-page {
        padding: 56px 0;
    }

    .flex-heading,
    .footer-grid {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .story-panel,
    .category-grid,
    .product-grid,
    .store-product-grid,
    .image-card-grid,
    .service-grid,
    .form-grid,
    .contact-panel-grid {
        grid-template-columns: 1fr;
    }

    .story-panel-left .story-panel-media {
        order: 0;
    }

    .product-buy-form {
        grid-template-columns: 1fr;
    }

    .product-scroll {
        grid-auto-columns: minmax(230px, 82vw);
    }

    .cart-line {
        grid-template-columns: 74px minmax(0, 1fr);
        align-items: start;
    }

    .cart-line img {
        width: 74px;
        height: 88px;
    }

    .cart-line .cart-quantity,
    .cart-line strong,
    .cart-line .plain-danger {
        grid-column: 2;
        width: fit-content;
    }

    .cart-line .cart-quantity {
        width: 96px;
    }

    .footer-links {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .store-brand span:last-child,
    .auth-brand .store-brand-mark + span {
        max-width: 140px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-search {
        display: none;
    }

    .store-header-actions {
        gap: 7px;
    }

    .auth-form-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .icon-link,
    .cart-link {
        width: 40px;
        height: 40px;
    }

    .store-nav a {
        padding: 8px 10px;
        font-size: 13px;
    }

    .hero-content {
        top: 39%;
        width: calc(100% - 28px);
    }

    .hero-content h1,
    .promo-content h2 {
        font-size: 38px;
    }

    .catalog-title {
        padding-top: 46px;
    }

    .catalog-shell,
    .product-detail {
        padding-top: 30px;
    }

    .filter-panel,
    .checkout-form,
    .order-summary,
    .auth-panel {
        padding: 18px;
    }

    .category-tile {
        min-height: 190px;
    }

    .pager {
        justify-content: flex-start;
    }
}

/* Meksa keeps the photography prominent and uses a restrained retail frame. */
.store-theme-meksa .store-header .store-brand,
.store-theme-meksa .store-header .store-nav a { color: var(--ink); }
.store-theme-meksa .store-header .store-nav a:hover { background: var(--shade); color: var(--brand); }
.store-theme-meksa .store-search { background: var(--shade); border-color: var(--line); border-radius: 4px; }
.store-theme-meksa .store-search input { color: var(--ink); }
.store-theme-meksa .store-search input::placeholder { color: var(--muted); }
.store-theme-meksa .store-search-mark { color: var(--muted); border-color: currentColor; }
.store-theme-meksa .store-search-mark::after { background: currentColor; }
.store-theme-meksa .store-header .icon-link,
.store-theme-meksa .store-header .cart-link { background: transparent; color: var(--ink); border-color: var(--line); }
.store-theme-meksa .store-nav a { border-radius: 4px; font-weight: 500; }
.store-theme-meksa .story-slider { min-height: 0; }
.store-theme-meksa .story-track { position: relative; display: grid; min-height: max(430px, min(680px, calc(100svh - 210px))); }
.store-theme-meksa .story-slide { position: relative; inset: auto; grid-area: 1 / 1; display: flex; align-items: center; padding: 88px 0; }
.store-theme-meksa .story-slide > img { position: absolute; inset-inline: 0; top: 0; }
.store-theme-meksa .story-slide.parallax-ready > img { top: -72px; }
.store-theme-meksa .hero-shade { background: linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.18) 60%, rgba(0,0,0,.08)); }
.store-theme-meksa .hero-content { position: relative; top: auto; left: auto; margin: 0 auto; width: min(100% - 80px, 1240px); transform: none; }
.store-theme-meksa .hero-content h1 { max-width: 840px; font-size: 76px; font-weight: 700; line-height: 1.06; overflow-wrap: anywhere; }
.store-theme-meksa .hero-content p { max-width: 540px; font-size: 17px; color: #eee; line-height: 1.75; }
.store-theme-meksa .hero-content .section-kicker,
.store-theme-meksa .promo-content .section-kicker { color: #fff; font-weight: 500; }
.store-theme-meksa .action-button { border-radius: 3px; font-size: 14px; font-weight: 600; }
.store-theme-meksa .action-button-light { color: #fff; background: var(--brand); border-color: var(--brand); }
.store-theme-meksa .action-button-light:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.store-theme-meksa .section-band { padding: 88px 0; }
.store-theme-meksa .section-heading { margin-bottom: 32px; }
.store-theme-meksa .section-heading h2,
.store-theme-meksa .story-panel-copy h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 40px; line-height: 1.2; font-weight: 400; }
.store-theme-meksa .section-kicker { color: var(--brand); font-size: 12px; font-weight: 700; }
.store-theme-meksa .story-panel-section { background: var(--paper); }
.store-theme-meksa .story-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.store-theme-meksa .story-panel-copy p { font-size: 16px; line-height: 1.85; }
.store-theme-meksa .story-panel-copy li { font-size: 14px; font-weight: 500; }
.store-theme-meksa .story-panel-media { border-radius: 2px; box-shadow: none; }
.store-theme-meksa .story-panel-media::before { display: none; }
.store-theme-meksa .story-panel-media img { aspect-ratio: 5 / 4; object-fit: cover; }
.store-theme-meksa .logo-strip-section { background: var(--shade); padding: 30px 0; }
.store-theme-meksa .logo-strip-section .section-heading { text-align: center; max-width: none; margin-bottom: 20px; }
.store-theme-meksa .logo-strip-section h2 { font-size: 18px; }
.store-theme-meksa .logo-strip-item { background: transparent; border: 0; border-radius: 0; min-height: 78px; }
.logo-marquee .logo-strip-item { flex: 0 0 150px; width: 150px; }
.logo-marquee .logo-strip-item img { width: 120px; height: 48px; }
.store-theme-meksa .image-card-grid-section { background: #fff; }
.store-theme-meksa .image-card-grid-section .section-heading { text-align: center; }
.store-theme-meksa .image-card-tile { border-radius: 3px; min-height: 380px; transform: none; }
.store-theme-meksa .image-card-tile img { opacity: 1; }
.store-theme-meksa .image-card-tile::after { background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.76)); }
.store-theme-meksa .image-card-tile h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 32px; font-weight: 400; }
.store-theme-meksa .image-card-tile p { font-size: 15px; line-height: 1.65; color: #f2f2f2; }
.store-theme-meksa .product-grid-section { background: var(--shade); }
.store-theme-meksa .product-card { border: 1px solid var(--line); box-shadow: none; transform: none; border-radius: 4px; }
.store-theme-meksa .promo-band { min-height: 430px; padding: 72px 0; }
.store-theme-meksa .promo-band::after { background: rgba(0,0,0,.56); }
.store-theme-meksa .promo-content { margin: auto; width: min(760px, calc(100% - 48px)); text-align: center; }
.store-theme-meksa .promo-content h2 { font-size: 46px; line-height: 1.12; font-weight: 650; overflow-wrap: anywhere; }
.store-theme-meksa .promo-content p { max-width: none; color: #f1f1f1; line-height: 1.8; }
.store-theme-meksa .service-strip { background: var(--shade); color: var(--ink); padding: 42px 0; }
.store-theme-meksa .service-item { background: transparent; border: 0; border-right: 1px solid var(--line); border-radius: 0; transform: none; }
.store-theme-meksa .service-item:last-child { border: 0; }
.store-theme-meksa .service-item h3 { color: var(--ink); font-size: 18px; font-weight: 600; }
.store-theme-meksa .service-item p { color: var(--muted); font-size: 14px; }
.store-theme-meksa .service-check, .store-theme-meksa .service-check::after { border-color: #506e7b; }
.store-theme-meksa .contact-card { border-radius: 3px; box-shadow: none; transform: none; }
.store-theme-meksa .store-footer { background: #fff; color: var(--ink); border-color: var(--line); }
.store-theme-meksa .footer-brand { color: var(--ink); }
.store-theme-meksa .footer-grid p { color: var(--muted); }
.store-theme-meksa .text-marquee { background: #f1edef; color: var(--brand); border-bottom: 1px solid #e3dcdf; }
.store-theme-meksa section[id] { scroll-margin-top: 140px; }
.store-theme-meksa .furniture-gallery { background: var(--shade); }
.store-theme-meksa .furniture-gallery .image-card-grid { gap: 36px 24px; }
.store-theme-meksa .furniture-gallery .image-card-tile { min-height: 0; background: transparent; color: var(--ink); border: 0; overflow: visible; }
.store-theme-meksa .furniture-gallery .image-card-tile::after { display: none; }
.store-theme-meksa .furniture-gallery .image-card-tile img { position: static; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transform: none; border-radius: 3px; }
.store-theme-meksa .furniture-gallery .image-card-tile:hover { box-shadow: none; }
.store-theme-meksa .furniture-gallery .image-card-tile > div { position: static; padding: 22px 0 0; }
.store-theme-meksa .furniture-gallery .image-card-tile h3 { color: var(--ink); font-size: 28px; }
.store-theme-meksa .furniture-gallery .image-card-tile p { color: var(--muted); }
.gallery-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 14px; color: var(--brand); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--brand); padding-bottom: 4px; }
.store-theme-meksa .contact-map { box-shadow: none; border: 1px solid var(--line); }
.store-company-logo { width: 200px; height: 44px; object-fit: contain; }
.store-header .store-company-logo { display: block; width: 224px; max-width: 100%; height: auto; aspect-ratio: 256 / 84; }
.language-toggle { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 2px; margin: 0; padding: 3px; border: 1px solid #777; border-radius: 4px; }
.language-toggle button { border: 0; background: transparent; color: inherit; min-width: 30px; height: 30px; padding: 4px; font-size: 12px; font-weight: 600; border-radius: 2px; }
.language-toggle button[aria-pressed="true"] { background: #fff; color: #202022; box-shadow: 0 0 0 1px #bcbcc0; }
.store-header .language-toggle { color: var(--ink); }
.store-theme-meksa .store-header .language-toggle { color: var(--ink); }
.auth-panel > .language-toggle { float: right; }
@media (max-width: 560px) {
    .store-company-logo { width: 140px; height: 32px; }
    .store-header .store-company-logo { width: 156px; }
    .store-theme-meksa .store-header-inner { gap: 8px; }
}
@media (max-width: 380px) {
    .store-company-logo { width: 112px; }
    .store-header .store-company-logo { width: 128px; }
    .store-header .language-toggle button { min-width: 24px; }
    .store-header .icon-link, .store-header .cart-link { width: 34px; height: 36px; }
}
@media (max-width: 1120px) {
    .store-theme-meksa .story-panel { gap: 32px; }
    .store-theme-meksa .hero-content h1 { font-size: 60px; }
    .store-theme-meksa .section-heading h2, .store-theme-meksa .story-panel-copy h2 { font-size: 34px; }
}
@media (max-width: 820px) {
    .store-theme-meksa .hero-content { width: calc(100% - 40px); }
    .store-theme-meksa .hero-content h1 { font-size: 44px; }
    .store-theme-meksa .story-track { min-height: max(380px, min(580px, calc(100svh - 260px))); }
    .store-theme-meksa .story-slide { padding: 56px 0 72px; }
    .store-theme-meksa .hero-content p { font-size: 15px; }
    .store-theme-meksa .section-band { padding: 52px 0; }
    .store-theme-meksa .story-panel { grid-template-columns: 1fr; gap: 28px; }
    .store-theme-meksa .story-panel-media { order: -1; }
    .store-theme-meksa .story-panel-copy h2, .store-theme-meksa .section-heading h2 { font-size: 30px; }
    .store-theme-meksa .promo-content h2 { font-size: 34px; }
    .store-theme-meksa .service-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 0; }
    .text-marquee { min-height: 58px; padding-inline: 14px; }
    .store-theme-meksa .image-card-tile { min-height: 360px; }
}
.page-heading { padding-top: 40px; }
.storefront-form-inner { max-width: 880px; }
.storefront-form-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.storefront-form-field { min-width: 0; }
.page-heading h1, .storefront-form-section h2, .storefront-form-field label, .form-feedback { overflow-wrap: anywhere; }
.storefront-form-section .action-button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.storefront-form-field > label { display: block; margin-bottom: 8px; }
.storefront-form-field .field-control { width: 100%; }
.form-field-wide { grid-column: 1 / -1; }
.form-checkbox { display: flex !important; align-items: baseline; gap: 10px; }
.form-checkbox input { accent-color: var(--brand); }
.storefront-captcha { max-width: 480px; margin: 0 0 24px; }
.storefront-captcha > label { display: block; margin-bottom: 8px; font-weight: 700; }
.storefront-captcha-box {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}
.storefront-captcha-box .field-control { min-height: 44px; background: #fff; }
.captcha-image-frame {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
.captcha-image-frame img {
    width: 130px;
    height: 30px;
    display: block;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
}
.captcha-refresh {
    position: relative;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--brand);
    cursor: pointer;
}
.captcha-refresh::before {
    content: "";
    position: absolute;
    inset: 9px;
    border: 2px solid currentColor;
    border-left-color: transparent;
    border-radius: 50%;
}
.captcha-refresh::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 8px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid currentColor;
    transform: rotate(38deg);
}
.captcha-refresh:hover { color: var(--brand-dark); border-color: var(--brand-tint-line); background: var(--brand-tint); }
.form-feedback {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 58px;
    margin: 0 0 22px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--soft-shadow);
}
.form-feedback[hidden] { display: none; }
.form-feedback-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
}
.form-feedback-message { font-weight: 800; line-height: 1.45; }
.form-feedback-loading .form-feedback-icon::before,
.storefront-form-submit-spinner {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: storefront-spin .75s linear infinite;
}
.form-feedback-success {
    border-color: #a9dfe4;
    background: #eefbfc;
    color: #075d66;
}
.form-feedback-success .form-feedback-icon {
    background: #d8f4f6;
    color: #008391;
}
.form-feedback-success .form-feedback-icon::before {
    content: "";
    width: 14px;
    height: 8px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(-45deg) translate(1px, -1px);
}
.form-feedback-error {
    border-color: #efbdc6;
    background: #fff1f3;
    color: #8f1529;
}
.form-feedback-error .form-feedback-icon {
    background: #ffe0e5;
    color: #b52337;
}
.form-feedback-error .form-feedback-icon::before,
.form-feedback-error .form-feedback-icon::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}
.form-feedback-error .form-feedback-icon::before { transform: rotate(45deg); }
.form-feedback-error .form-feedback-icon::after { transform: rotate(-45deg); }
.storefront-form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
}
.storefront-form-submit-spinner { display: none; color: currentColor; }
.js-storefront-form.is-submitting .storefront-form-submit-spinner { display: inline-block; }
.js-storefront-form.is-submitting .storefront-form-submit { cursor: wait; opacity: .88; }
.js-storefront-form.is-sent .storefront-form-submit { opacity: .72; }
@keyframes storefront-spin { to { transform: rotate(360deg); } }
.field-error { display: block; color: #b52337; font-size: 13px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 560px) { .storefront-form-fields, .storefront-captcha-box { grid-template-columns: minmax(0, 1fr); } .captcha-image-frame { justify-content: space-between; } }
