:root {
    color-scheme: light;
    --bg: #eef2f7;
    --bg-soft: #f7f9fc;
    --card: #ffffff;
    --card-muted: #f8fafc;
    --ink: #172033;
    --muted: #667085;
    --muted-soft: #8a94a6;
    --line: #dde3ed;
    --line-strong: #cfd8e4;
    --accent: #0f766e;
    --accent-dark: #0c5f59;
    --warm: #d97706;
    --accent-soft: #d9f2ef;
    --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 42px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 24px 54px rgba(15, 23, 42, 0.12);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;
    --display-font: "Trebuchet MS", "Gill Sans", "Segoe UI", sans-serif;
    --body-font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.delivery-public-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 18px 0 8px;
}

.delivery-public-brand {
    color: var(--store-primary, #0f766e);
    font-size: 1.25rem;
    font-weight: 900;
}

.delivery-public-head p {
    margin: 0 0 6px;
    color: #0f766e;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.delivery-public-head h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
}

.delivery-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
    gap: 20px;
    align-items: start;
}

.delivery-public-products,
.delivery-public-cart {
    min-width: 0;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 20px;
    background: #fffdf8;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.delivery-public-search,
.delivery-category-row,
.delivery-add-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.delivery-public-search {
    margin-bottom: 14px;
}

.delivery-public-search input {
    flex: 1 1 240px;
}

.delivery-public-search input,
.delivery-add-form input,
.delivery-add-form select,
.delivery-cart-item input,
.delivery-order-form input,
.delivery-order-form select,
.delivery-order-form textarea {
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 10px 12px;
    background: #ffffff;
}

.delivery-public-search button,
.delivery-add-form button,
.delivery-cart-list button,
.delivery-order-form button,
.delivery-clear-button {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    color: #ffffff;
    background: #0f766e;
    font-weight: 900;
    cursor: pointer;
}

.delivery-clear-button {
    width: 100%;
    margin-top: 10px;
    background: #b91c1c;
}

.delivery-category-row {
    margin-bottom: 18px;
}

.delivery-category-row a {
    padding: 9px 12px;
    border-radius: 999px;
    background: #e5e7eb;
    color: #374151;
    font-weight: 900;
}

.delivery-category-row a.is-active {
    color: #ffffff;
    background: #0f766e;
}

.delivery-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    gap: 14px;
}

.delivery-product-card {
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.delivery-product-image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 800;
}

.delivery-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delivery-product-copy {
    display: grid;
    gap: 4px;
}

.delivery-product-copy span,
.delivery-public-total {
    color: #0f766e;
    font-weight: 900;
}

.delivery-add-form {
    display: grid;
}

.delivery-public-cart h2 {
    margin: 0 0 8px;
}

.delivery-public-total {
    display: block;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.delivery-cart-list,
.delivery-order-form {
    display: grid;
    gap: 12px;
}

.delivery-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: #f8fafc;
}

.delivery-cart-item div,
.delivery-order-form label {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.delivery-cart-item span,
.delivery-cart-item small {
    color: #6b7280;
}

.delivery-order-form {
    margin-top: 18px;
}

.delivery-order-form label {
    color: #374151;
    font-weight: 800;
}

@media (max-width: 920px) {
    .delivery-public-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .delivery-public-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .delivery-cart-item {
        grid-template-columns: 1fr;
    }

    .delivery-public-search button,
    .delivery-add-form button,
    .delivery-cart-list button,
    .delivery-order-form button {
        width: 100%;
    }
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--body-font);
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(217, 119, 6, 0.08), transparent 22%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

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

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

img {
    max-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;
}

.store-wrap {
    width: min(100% - 24px, 1180px);
    margin: 0 auto;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(var(--brand-primary-rgb), 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.9)),
        linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12), rgba(var(--brand-primary-rgb), 0.04));
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 26px rgba(var(--brand-primary-rgb), 0.12);
}

.store-header-inner {
    display: grid;
    gap: 12px;
    padding: 12px 0 14px;
    min-width: 0;
}

.store-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

.store-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.store-brand-logo-shell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 8px;
    flex: 0 0 auto;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
    border: 1px solid rgba(221, 227, 237, 0.95);
    box-shadow: var(--shadow-sm);
}

.store-brand-logo {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.store-brand-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.store-brand-name {
    font-family: var(--display-font);
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.store-brand-tag {
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.2;
}

.store-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.store-admin-link,
.store-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.store-admin-link {
    padding: 0 12px;
    border: 1px solid rgba(207, 216, 228, 0.95);
    background: rgba(248, 250, 252, 0.92);
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.store-cart-link {
    gap: 8px;
    padding: 0 12px 0 10px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 26px rgba(var(--accent-rgb), 0.22);
}

.store-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
}

.store-cart-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.store-cart-copy {
    display: grid;
    gap: 1px;
    line-height: 1;
}

.store-cart-label {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.88;
}

.store-cart-copy strong {
    font-size: 1rem;
    font-weight: 800;
}

.floating-order-button,
.floating-cart-button {
    position: fixed !important;
    left: 14px;
    left: max(14px, env(safe-area-inset-left));
    bottom: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom));
    z-index: 9998;
    display: none !important;
    grid-template-rows: auto auto;
    gap: 4px;
    min-width: 128px;
    max-width: min(210px, calc(100vw - 24px));
    padding: 10px 15px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-secondary, var(--accent)), var(--brand-secondary-dark, var(--accent-dark)));
    box-shadow: 0 16px 34px rgb(15 23 42 / 18%), 0 10px 24px rgb(var(--brand-secondary-rgb, var(--accent-rgb)) / 22%);
    text-align: left;
    line-height: 1;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: none;
    cursor: grab;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.floating-order-button.is-visible,
.floating-cart-button.is-visible {
    display: grid !important;
    animation: floating-order-appear 0.2s ease-out;
}

.floating-order-button.is-pressed,
.floating-cart-button.is-pressed {
    cursor: grabbing;
    transform: scale(0.98);
    box-shadow: 0 12px 28px rgb(15 23 42 / 18%), 0 8px 18px rgb(var(--brand-secondary-rgb, var(--accent-rgb)) / 18%);
}

.floating-order-label,
.floating-cart-label {
    overflow: hidden;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.96;
}

.floating-order-summary,
.floating-cart-summary {
    overflow: hidden;
    font-family: var(--display-font);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.98;
}

@keyframes floating-order-appear {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.store-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.06));
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    box-shadow: 0 16px 30px rgba(var(--accent-rgb), 0.12);
    min-width: 0;
}

.store-search-icon {
    position: absolute;
    left: 18px;
    display: inline-flex;
    color: var(--accent-dark);
    pointer-events: none;
}

.store-search-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.store-search-input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0 12px 0 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
}

.store-search-input::placeholder {
    color: #5f7b7a;
}

.store-search-input:focus {
    outline: none;
}

.store-search-submit {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 26px rgba(var(--accent-rgb), 0.22);
}

.store-header-note {
    font-size: 0.8rem;
    color: var(--muted);
}

.store-main {
    padding: 18px 0 56px;
}

.alert,
.empty,
.error-box,
.panel,
.product-layout,
.checkout-grid,
.success-card,
.catalog-hero {
    background: var(--card);
    border: 1px solid rgba(221, 227, 237, 0.96);
    box-shadow: var(--shadow-md);
}

.alert,
.empty,
.error-box,
.panel,
.success-card {
    border-radius: var(--radius-lg);
    padding: 20px;
}

.alert {
    margin-bottom: 18px;
    font-size: 0.95rem;
}

.restaurant-table-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(var(--accent-rgb), 0.22);
    box-shadow: var(--shadow-sm);
}

.restaurant-table-banner span {
    color: var(--muted);
    font-weight: 700;
}

.restaurant-table-banner strong {
    font-family: var(--display-font);
    font-size: 1.18rem;
}

.restaurant-table-banner-compact {
    margin-bottom: 16px;
}

.checkout-table-lock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    align-items: center;
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(var(--brand-primary-rgb), 0.08);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
}

.checkout-table-lock span,
.checkout-table-lock small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkout-table-lock strong {
    grid-column: 1 / -1;
    font-family: var(--display-font);
    font-size: 1.4rem;
    line-height: 1.1;
}

.field-optional {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.alert-success {
    color: #166534;
    background: #dcfce7;
}

.alert-error {
    color: #991b1b;
    background: #fee2e2;
}

.button-primary,
.button-secondary,
.button-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    padding: 0 16px;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 14px 26px rgba(var(--accent-rgb), 0.2);
}

.button-secondary {
    color: var(--ink);
    background: #ffffff;
    border: 1px solid rgba(207, 216, 228, 0.98);
}

.button-danger {
    color: #ffffff;
    background: #b91c1c;
}

.button-primary:hover,
.button-secondary:hover,
.button-danger:hover,
.store-admin-link:hover,
.store-cart-link:hover,
.filter-pill:hover,
.card:hover,
.product-gallery-thumb:hover {
    transform: translateY(-1px);
}

.helper-text,
.empty,
.error-box,
.meta,
.product-copy,
.product-description,
.stock,
.cart-note,
.summary-line small,
.catalog-results-copy p,
.catalog-kicker,
.section-head p {
    color: var(--muted);
}

.catalog-section {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.catalog-hero {
    display: grid;
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.08), rgba(255, 255, 255, 0.96) 45%, rgba(var(--brand-primary-rgb), 0.03)),
        #ffffff;
    min-width: 0;
}

.catalog-hero-copy {
    display: grid;
    gap: 10px;
}

.catalog-kicker,
.section-head p {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title,
.catalog-results-title,
.product-info h1,
.panel h2,
.panel h3,
.success-card h1 {
    margin: 0;
    font-family: var(--display-font);
    letter-spacing: -0.03em;
}

.section-title {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.08;
}

.catalog-hero .helper-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: 62ch;
}

.catalog-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.catalog-summary-card {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(221, 227, 237, 0.92);
    min-width: 0;
}

.catalog-summary-card strong {
    font-size: 1.15rem;
    font-weight: 800;
}

.catalog-summary-card span {
    font-size: 0.82rem;
    color: var(--muted);
}

.catalog-summary-card-query {
    grid-column: 1 / -1;
}

.filter-row {
    display: flex;
    gap: 10px;
    padding: 2px 2px 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-strip {
    position: relative;
    min-width: 0;
}

.filter-row-wrap {
    position: relative;
    min-width: 0;
}

.filter-strip-control,
.filter-strip-shadow {
    display: none;
}

.filter-strip-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    margin-top: -21px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    cursor: pointer;
}

.filter-strip-control span {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

.filter-strip-control-left {
    left: 4px;
}

.filter-strip-control-right {
    right: 4px;
}

.filter-strip-shadow {
    position: absolute;
    top: 0;
    bottom: 8px;
    width: 54px;
    z-index: 2;
    pointer-events: none;
}

.filter-strip-shadow-left {
    left: 0;
    background: linear-gradient(90deg, rgba(238, 242, 247, 0.98), rgba(238, 242, 247, 0));
}

.filter-strip-shadow-right {
    right: 0;
    background: linear-gradient(270deg, rgba(238, 242, 247, 0.98), rgba(238, 242, 247, 0));
}

.is-hidden {
    display: none !important;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(207, 216, 228, 0.98);
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.filter-pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    background: #eef2f7;
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.filter-pill-active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(var(--accent-rgb), 0.22);
}

.filter-pill-active .filter-pill-count {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.catalog-results-bar,
.section-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.catalog-results-copy,
.section-head-copy {
    display: grid;
    gap: 6px;
}

.catalog-results-title {
    font-size: 1.4rem;
    line-height: 1.15;
}

.catalog-results-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.catalog-result-pill,
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.catalog-result-pill {
    background: #ffffff;
    border: 1px solid rgba(207, 216, 228, 0.95);
    color: var(--muted);
}

.badge {
    width: fit-content;
    background: var(--brand-primary-soft);
    color: var(--brand-primary-dark);
}

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

.card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid rgba(221, 227, 237, 0.98);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: rgba(var(--accent-rgb), 0.18);
    box-shadow: var(--shadow-lg);
}

.card-media-link {
    display: block;
}

.catalog-card .card-media-link {
    position: relative;
}

.media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 168px;
    padding: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
    border-bottom: 1px solid rgba(221, 227, 237, 0.9);
}

.media-frame {
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
}

.media img,
.cart-image img,
.product-image-stage > img,
.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.media img,
.product-image-stage > img {
    filter: drop-shadow(0 16px 24px rgba(15, 23, 42, 0.1));
}

.catalog-card-eye {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    color: var(--brand-primary-dark);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(207, 216, 228, 0.9);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.catalog-card-eye svg {
    width: 18px;
    height: 18px;
    display: block;
}

.product-image-stage > .js-open-image-viewer {
    cursor: zoom-in;
}

.media-placeholder,
.product-image-placeholder,
.cart-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: #e9eef5;
    color: var(--muted);
    text-align: center;
}

.content {
    display: grid;
    gap: 14px;
    padding: 16px;
    flex: 1 1 auto;
    align-content: start;
}

.card-copy {
    display: grid;
    gap: 10px;
}

.content h3 {
    margin: 0;
    font-size: 0.97rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.content h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.price-row,
.summary-line,
.inline-between,
.quantity-row,
.hero-actions {
    display: flex;
    gap: 12px;
}

.price-row {
    margin-top: auto;
    flex-direction: column;
    align-items: stretch;
}

.card-price-copy {
    display: grid;
    gap: 6px;
}

.price,
.product-price,
.summary-total strong {
    font-family: var(--display-font);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.price {
    color: var(--ink);
}

.stock {
    font-size: 0.82rem;
    line-height: 1.35;
}

.card-action {
    width: 100%;
}

.quick-qty-control {
    display: grid;
    grid-template-columns: 44px minmax(42px, 1fr) 44px;
    align-items: center;
    width: 100%;
    min-height: 46px;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(207, 216, 228, 0.98);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
}

.quick-qty-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 46px;
    border: 0;
    background: #f8fafc;
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.quick-qty-button:hover {
    background: rgba(var(--accent-rgb), 0.1);
    color: var(--brand-primary-dark);
}

.quick-qty-button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.quick-qty-button-add {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.quick-qty-button-add:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}

.quick-qty-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    height: 46px;
    padding: 0 8px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.catalog-empty-search {
    text-align: center;
}

.quick-product-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.quick-product-modal.is-open {
    display: flex;
}

.quick-product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.quick-product-sheet {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    width: min(100%, 520px);
    max-height: min(86vh, 720px);
    overflow: auto;
    padding: 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(221, 227, 237, 0.98);
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.22);
}

.quick-product-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--ink);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.quick-product-head {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-right: 42px;
}

.quick-product-image {
    display: grid;
    place-items: center;
    width: 92px;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
    border: 1px solid rgba(221, 227, 237, 0.95);
}

.quick-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.quick-product-title-wrap {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.quick-product-title-wrap p {
    margin: 0;
    color: var(--brand-primary-dark);
    font-weight: 900;
}

.quick-product-title-wrap h3 {
    margin: 0;
    font-family: var(--display-font);
    font-size: 1.35rem;
    line-height: 1.1;
}

.quick-product-form,
.quick-product-options,
.quick-option-group {
    display: grid;
    gap: 14px;
}

.quick-option-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.quick-option-group legend,
.quick-product-quantity-row > span {
    margin-bottom: 2px;
    font-size: 0.9rem;
    font-weight: 900;
    color: var(--ink);
}

.quick-option-chip span {
    min-height: 44px;
}

.quick-product-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.quick-qty-control-modal {
    width: 168px;
    flex: 0 0 auto;
}

.quick-product-error {
    padding: 12px 14px;
    border-radius: 14px;
    color: #991b1b;
    background: #fee2e2;
    font-size: 0.92rem;
    font-weight: 700;
}

.quick-product-submit {
    width: 100%;
}

.product-detail-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-inline: 4px;
}

.product-back-button {
    gap: 8px;
    padding-inline: 14px 18px;
}

.product-back-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--brand-primary-dark);
}

.product-back-button-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.product-continue-link {
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--brand-primary-dark);
}

.product-continue-link:hover {
    text-decoration: underline;
}

.product-layout {
    display: grid;
    gap: 20px;
    padding: 18px;
    border-radius: var(--radius-xl);
}

.product-image,
.product-info,
.product-info-header,
.product-attributes,
.form-group {
    display: grid;
    gap: 14px;
}

.product-image-stage {
    display: grid;
    place-items: center;
    min-height: 300px;
    aspect-ratio: 1 / 1;
    padding: 20px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
    border: 1px solid rgba(221, 227, 237, 0.95);
}

.product-gallery-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 10px;
}

.product-gallery-thumb {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.product-gallery-thumb-active {
    border-color: rgba(var(--accent-rgb), 0.68);
    box-shadow: 0 12px 24px rgba(var(--accent-rgb), 0.18);
}

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.9);
}

.image-viewer.is-open {
    display: flex;
}

.image-viewer-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.image-viewer-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10000;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.image-viewer-close:hover {
    background: #ffffff;
}

.product-info h1 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    line-height: 1.06;
}

.product-copy,
.product-description {
    margin: 0;
    line-height: 1.65;
}

.product-meta-row,
.summary-line,
.inline-between {
    justify-content: space-between;
    align-items: center;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(var(--brand-primary-rgb), 0.08);
    color: var(--brand-primary-dark);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.14);
    font-weight: 700;
}

.variant-options,
.product-attribute-pills,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
}

.variant-chip {
    position: relative;
    display: inline-flex;
}

.variant-chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.variant-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(207, 216, 228, 0.98);
    background: #ffffff;
    color: #334155;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.variant-chip input:checked + span {
    color: #ffffff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(var(--accent-rgb), 0.18);
}

.variant-chip input:focus-visible + span,
.store-search-input:focus-visible,
.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.quantity-row input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

.variant-chip-neutral span {
    background: #f8fafc;
    border-style: dashed;
}

.purchase-box,
.summary-box {
    padding: 16px;
    border-radius: 20px;
    background: var(--card-muted);
    border: 1px solid rgba(221, 227, 237, 0.98);
}

.quantity-row {
    flex-wrap: wrap;
    align-items: center;
}

.quantity-row label {
    font-weight: 700;
}

.quantity-row input,
.form-grid input,
.form-grid select,
.form-grid textarea,
.cart-table input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(207, 216, 228, 0.98);
    background: #ffffff;
    color: var(--ink);
}

.quantity-row input {
    max-width: 110px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.form-group-full {
    grid-column: 1 / -1;
}

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

.checkout-form-actions .button-primary,
.checkout-form-actions .button-secondary {
    width: 100%;
    min-width: 0;
    white-space: nowrap;
}

.checkout-grid {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-xl);
}

.order-page-grid {
    display: grid;
    gap: 18px;
}

.order-products-panel,
.order-side-panel,
.order-submit-form,
.order-item-list {
    display: grid;
    gap: 16px;
}

.panel-title-row h2,
.order-submit-form h3 {
    margin: 0;
    font-family: var(--display-font);
    letter-spacing: -0.03em;
}

.panel-title-row .helper-text,
.order-submit-form .helper-text {
    margin: 6px 0 0;
}

.order-item-card {
    display: grid;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(221, 227, 237, 0.98);
    box-shadow: var(--shadow-sm);
}

.order-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.order-item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.order-item-copy strong {
    line-height: 1.25;
}

.order-item-copy span,
.order-item-copy small {
    color: var(--muted);
    font-size: 0.84rem;
}

.order-item-controls {
    display: grid;
    grid-template-columns: minmax(132px, 168px) minmax(88px, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.order-item-controls > strong {
    justify-self: start;
    font-family: var(--display-font);
    font-size: 1.08rem;
}

.order-qty-control {
    grid-template-columns: 42px minmax(38px, 1fr) 42px;
    width: 100%;
}

.order-qty-input {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 6px;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: var(--ink);
    font-weight: 900;
    text-align: center;
    appearance: textfield;
}

.order-qty-input::-webkit-outer-spin-button,
.order-qty-input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.order-remove-button {
    min-height: 40px;
    padding-inline: 14px;
    color: #991b1b;
}

.order-side-panel {
    align-content: start;
}

.order-summary-box {
    display: grid;
    gap: 10px;
}

.order-summary-box h3 {
    margin: 0;
}

.order-summary-compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(207, 216, 228, 0.95);
}

.order-summary-compact-row span {
    color: var(--muted);
    font-weight: 800;
}

.order-summary-compact-row strong,
.order-summary-compact-row strong span {
    color: var(--ink);
    font-family: var(--display-font);
    font-size: 1.08rem;
    font-weight: 900;
    white-space: nowrap;
}

.cart-feedback {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.92rem;
}

.cart-feedback-success {
    color: var(--brand-primary-dark);
    background: rgba(var(--brand-primary-rgb), 0.12);
}

.cart-feedback-error {
    color: #991b1b;
    background: #fee2e2;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(221, 227, 237, 0.98);
    text-align: left;
    vertical-align: middle;
}

.cart-table th {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.cart-item > div:last-child {
    min-width: 0;
}

.cart-image,
.cart-image-placeholder {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    padding: 8px;
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
    border: 1px solid rgba(221, 227, 237, 0.96);
}

.summary-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-box li + li {
    margin-top: 12px;
}

.summary-line {
    align-items: flex-start;
}

.summary-line small {
    display: block;
    margin-top: 4px;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(207, 216, 228, 0.95);
}

.cart-noscript-update {
    margin-top: 16px;
}

.cart-bottom-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: min(100%, 520px);
    margin-top: 2px;
    justify-self: end;
}

.cart-bottom-button {
    min-width: 0;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    white-space: nowrap;
}

.cart-bottom-button-menu {
    color: var(--brand-primary-dark);
    background: #ffffff;
    border: 1px solid rgba(207, 216, 228, 0.98);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.success-card {
    display: grid;
    gap: 18px;
    border-radius: var(--radius-xl);
}

.order-confirmation-card {
    gap: 24px;
}

.confirmation-hero {
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.confirmation-check {
    display: inline-flex;
    width: 84px;
    height: 84px;
    color: #16a34a;
}

.confirmation-check svg {
    width: 100%;
    height: 100%;
    display: block;
}

.confirmation-check circle {
    fill: #dcfce7;
    stroke: #16a34a;
    stroke-width: 3;
}

.confirmation-check path {
    fill: none;
    stroke: #16a34a;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 34;
    stroke-dashoffset: 34;
    animation: confirmation-check-draw 0.55s ease forwards 0.12s;
}

.confirmation-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
}

.confirmation-copy,
.confirmation-table {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.confirmation-table strong {
    color: var(--ink);
}

.confirmation-grid {
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
}

.confirmation-actions-panel {
    display: flex;
    align-items: center;
}

.confirmation-actions {
    width: 100%;
    margin-top: 0;
}

@keyframes confirmation-check-draw {
    to {
        stroke-dashoffset: 0;
    }
}

.hero-actions {
    margin-top: 14px;
}

.store-footer {
    border-top: 1px solid rgba(207, 216, 228, 0.95);
    background: rgba(255, 255, 255, 0.86);
}

.store-footer-inner {
    display: grid;
    gap: 14px;
    padding: 18px 0 24px;
}

.store-footer-promo a {
    font-size: 0.84rem;
    color: var(--muted);
}

.store-footer-side {
    display: grid;
    gap: 8px;
}

.store-footer-social-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.store-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(207, 216, 228, 0.98);
    background: #ffffff;
    color: #334155;
    box-shadow: var(--shadow-sm);
}

.store-social-link svg {
    width: 17px;
    height: 17px;
    display: block;
}

@media (max-width: 639px) {
    .store-search-submit {
        padding: 0 14px;
    }

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

    .content {
        padding: 14px;
    }

    .price,
    .product-price,
    .summary-total strong {
        font-size: 1.26rem;
    }

    .card .button-primary {
        min-height: 42px;
        font-size: 0.88rem;
    }

    .floating-order-button,
    .floating-cart-button {
        min-width: 124px;
        padding: 9px 13px;
        box-shadow: 0 14px 28px rgb(15 23 42 / 18%), 0 8px 18px rgb(var(--brand-secondary-rgb, var(--accent-rgb)) / 18%);
    }

    .floating-order-label,
    .floating-cart-label {
        font-size: 0.72rem;
    }

    .floating-order-summary,
    .floating-cart-summary {
        font-size: 0.9rem;
    }

    .media {
        min-height: 138px;
        padding: 10px;
    }

    .media-frame {
        padding: 10px;
        border-radius: 14px;
    }

    .catalog-card-eye {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }

    .content h3 {
        font-size: 0.92rem;
        line-height: 1.3;
    }

    .quick-qty-control {
        grid-template-columns: 40px minmax(36px, 1fr) 40px;
        min-height: 44px;
        border-radius: 14px;
    }

    .quick-qty-button,
    .quick-qty-value {
        height: 44px;
    }

    .quick-product-modal {
        align-items: flex-end;
        padding: 0;
    }

    .quick-product-sheet {
        width: 100%;
        max-height: 88vh;
        border-radius: 24px 24px 0 0;
        padding: 18px 16px 20px;
    }

    .quick-product-head {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
    }

    .quick-product-image {
        width: 78px;
    }

    .quick-product-quantity-row {
        align-items: stretch;
        flex-direction: column;
    }

    .quick-qty-control-modal {
        width: 100%;
        grid-template-columns: 52px minmax(44px, 1fr) 52px;
    }

    .checkout-grid {
        padding: 16px;
        gap: 16px;
    }

    .order-products-panel,
    .order-side-panel {
        gap: 12px;
    }

    .order-item-list {
        gap: 10px;
    }

    .order-item-card {
        gap: 10px;
        padding: 10px;
        border-radius: 16px;
    }

    .order-item-main {
        align-items: flex-start;
        gap: 10px;
    }

    .order-item-copy {
        gap: 2px;
    }

    .order-item-copy strong {
        font-size: 0.96rem;
    }

    .order-item-copy span,
    .order-item-copy small {
        font-size: 0.8rem;
    }

    .order-item-controls {
        grid-template-columns: minmax(124px, 150px) minmax(0, 1fr);
        gap: 8px;
        align-items: center;
    }

    .order-item-controls > strong {
        justify-self: end;
        font-size: 1rem;
    }

    .order-qty-control {
        grid-template-columns: 38px minmax(34px, 1fr) 38px;
        min-height: 40px;
        border-radius: 14px;
    }

    .order-qty-control .quick-qty-button,
    .order-qty-input {
        height: 40px;
        min-height: 40px;
    }

    .order-remove-button {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 38px;
    }

    .order-summary-box {
        padding: 12px;
        gap: 8px;
    }

    .order-summary-compact-row {
        padding-top: 8px;
    }

    .order-summary-compact-row strong,
    .order-summary-compact-row strong span {
        font-size: 1rem;
    }

    .cart-bottom-actions {
        width: 100%;
        justify-self: stretch;
    }

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

    .panel,
    .summary-box {
        padding: 16px;
    }

    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table tr,
    .cart-table th,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table {
        border-collapse: separate;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tbody {
        display: grid;
        gap: 14px;
    }

    .cart-table tr {
        padding: 14px;
        border-radius: 18px;
        background: #ffffff;
        border: 1px solid rgba(221, 227, 237, 0.98);
        box-shadow: var(--shadow-sm);
    }

    .cart-table td {
        padding: 0;
        border: 0;
        white-space: normal;
    }

    .cart-table td + td {
        margin-top: 12px;
    }

    .cart-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .cart-table td:first-child::before {
        display: none;
    }

    .cart-item {
        min-width: 0;
        align-items: flex-start;
    }

    .cart-image,
    .cart-image-placeholder {
        width: 64px;
        height: 64px;
    }

    .cart-table input {
        max-width: none;
    }

    .cart-actions-cell {
        margin-top: 14px;
    }

    .cart-remove-button {
        width: 100%;
    }

    .cart-noscript-update .button-secondary {
        width: 100%;
    }

    .summary-box {
        width: 100%;
    }

    .product-detail-tools {
        flex-direction: column;
        align-items: stretch;
        padding-inline: 0;
    }

    .product-back-button {
        width: 100%;
    }

    .image-viewer {
        padding: 12px;
    }

    .image-viewer-img {
        max-width: 96vw;
        max-height: 82vh;
        border-radius: 10px;
    }

    .image-viewer-close {
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 359px) {
    .checkout-form-actions {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 640px) {
    .store-wrap {
        width: min(100% - 32px, 1180px);
    }

    .store-header-inner {
        gap: 14px;
        padding: 14px 0 16px;
    }

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

    .catalog-summary-card-query {
        grid-column: auto;
    }

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

    .product-layout,
    .checkout-grid {
        padding: 24px;
    }

    .order-page-grid {
        grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
        align-items: start;
    }

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

    .store-footer-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .store-footer-side {
        justify-items: end;
    }
}

@media (min-width: 900px) {
    .filter-strip {
        padding: 0 26px;
    }

    .filter-row-wrap {
        overflow: hidden;
    }

    .filter-strip.filter-strip-has-overflow .filter-strip-control,
    .filter-strip.filter-strip-has-overflow .filter-strip-shadow {
        display: block;
    }

    .filter-row {
        padding-inline: 2px;
        scroll-behavior: smooth;
    }

    .store-header-inner {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
        align-items: center;
    }

    .store-brand-logo-shell {
        width: auto;
        max-width: 120px;
    }

    .store-brand-logo {
        height: 100%;
    }

    .store-header-bar {
        grid-column: 1;
    }

    .store-search {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .store-header-note {
        grid-column: 1;
    }

    .catalog-hero {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
        align-items: end;
        padding: 26px;
    }

    .catalog-summary {
        grid-template-columns: 1fr;
        align-self: stretch;
    }

    .catalog-results-bar,
    .section-head {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }

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

    .price-row {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }

    .catalog-card .price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .card-action {
        width: auto;
        min-width: 132px;
    }

    .product-layout {
        grid-template-columns: minmax(340px, 1fr) minmax(320px, 1fr);
        gap: 28px;
        padding: 28px;
    }

    .checkout-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
        gap: 24px;
        padding: 28px;
    }
}
