: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;
}

* {
    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;
}

.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;
}

.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;
}

.media {
    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));
}

.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%;
}

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

.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);
}

.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-grid {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-xl);
}

.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);
}

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

.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;
    }

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

    .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,
    .cart-actions-row > .button-primary,
    .cart-actions-row > .button-secondary,
    .cart-actions-row > noscript,
    .cart-actions-row > noscript > button {
        width: 100%;
    }

    .cart-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .summary-box {
        width: 100%;
    }

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

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

@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;
    }

    .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;
    }

    .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;
    }
}
