:root {
    --bg: #ffffff;
    --surface: rgba(255, 255, 255, 0.98);
    --surface-strong: #ffffff;
    --font-body: "Manrope", sans-serif;
    --font-heading: "Plus Jakarta Sans", sans-serif;
    --font-brand: "Plus Jakarta Sans", sans-serif;
    --ink: #17324d;
    --muted: #5d7c9d;
    --line: rgba(13, 116, 217, 0.14);
    --accent: #0d74d9;
    --accent-dark: #0958af;
    --accent-soft: #e8f3ff;
    --teal: #0d74d9;
    --header-bg: #0d74d9;
    --header-bg-dark: #0958af;
    --shadow: 0 18px 42px rgba(13, 116, 217, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: var(--font-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.page-loading {
    overflow: hidden;
}

.page-skeleton {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-rows: auto 1fr;
    background: linear-gradient(180deg, #f5faff 0%, #ffffff 38%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

body.page-loading .page-skeleton {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.page-ready .page-skeleton {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page-skeleton__header {
    padding: 0.9rem 0 1rem;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
}

.page-skeleton__header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
}

.page-skeleton__brand,
.page-skeleton__search,
.page-skeleton__chip,
.page-skeleton__eyebrow,
.page-skeleton__headline,
.page-skeleton__copy,
.page-skeleton__card {
    display: block;
    border-radius: 999px;
}

.page-skeleton__brand {
    inline-size: 11rem;
    block-size: 2.2rem;
}

.page-skeleton__search {
    block-size: 4rem;
}

.page-skeleton__header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-skeleton__chip {
    inline-size: 5.3rem;
    block-size: 2.7rem;
}

.page-skeleton__main {
    padding: 1.45rem 0 2rem;
}

.page-skeleton__hero {
    padding: 1.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.page-skeleton__eyebrow {
    inline-size: 8rem;
    block-size: 0.82rem;
}

.page-skeleton__headline {
    inline-size: min(100%, 30rem);
    block-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 0.9rem;
}

.page-skeleton__headline--short {
    inline-size: min(100%, 20rem);
}

.page-skeleton__copy {
    inline-size: min(100%, 38rem);
    block-size: 1rem;
    margin-top: 1rem;
}

.page-skeleton__copy--short {
    inline-size: min(100%, 25rem);
}

.page-skeleton__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.35rem;
}

.page-skeleton__card {
    min-height: 10rem;
    border-radius: var(--radius-lg);
}

.page-skeleton__card--wide {
    grid-column: span 2;
    min-height: 11.5rem;
}

.page-skeleton__header .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 25%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.12) 75%);
    background-size: 200% 100%;
}

.page-skeleton__main .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(232, 243, 255, 0.82) 25%, rgba(194, 221, 248, 0.96) 50%, rgba(232, 243, 255, 0.82) 75%);
    background-size: 200% 100%;
}

.skeleton-shimmer {
    animation: skeleton-shimmer 1.15s linear infinite;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.page-skeleton__market-header,
.page-skeleton__help-header {
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
}

.page-skeleton__market-header {
    padding: 0.95rem 0 1rem;
}

.page-skeleton__help-header {
    padding: 1rem 0 1.05rem;
}

.page-skeleton__market-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.4rem;
}

.page-skeleton__market-brand-group,
.page-skeleton__help-brand-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.32rem;
    min-width: 13rem;
}

.page-skeleton__market-brand-eyebrow,
.page-skeleton__market-brand-name,
.page-skeleton__market-search,
.page-skeleton__market-chip,
.page-skeleton__market-link,
.page-skeleton__catalog-hero,
.page-skeleton__category-card,
.page-skeleton__product-card,
.page-skeleton__crumb,
.page-skeleton__product-media,
.page-skeleton__thumb,
.page-skeleton__price,
.page-skeleton__copy-line,
.page-skeleton__button,
.page-skeleton__detail-card,
.page-skeleton__cart-line,
.page-skeleton__help-search,
.page-skeleton__topic-card,
.page-skeleton__question-row,
.page-skeleton__field,
.page-skeleton__section-kicker,
.page-skeleton__section-title,
.page-skeleton__section-copy {
    display: block;
    border-radius: 999px;
}

.page-skeleton__market-brand-eyebrow {
    inline-size: 13.4rem;
    block-size: 0.82rem;
}

.page-skeleton__market-brand-name {
    inline-size: 10.5rem;
    block-size: 1.95rem;
}

.page-skeleton__market-search {
    block-size: 4.2rem;
}

.page-skeleton__market-actions {
    display: flex;
    align-items: center;
    gap: 0.72rem;
}

.page-skeleton__market-chip {
    inline-size: 5rem;
    block-size: 2.85rem;
}

.page-skeleton__market-subnav {
    display: flex;
    align-items: center;
    gap: 2.1rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.page-skeleton__market-link {
    inline-size: 6.2rem;
    block-size: 0.9rem;
}

.page-skeleton__surface {
    padding: 1.45rem 0 2rem;
}

.page-skeleton__section-card {
    margin-top: 1.4rem;
    padding: 1.55rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
}

.page-skeleton__section-kicker {
    inline-size: 8.4rem;
    block-size: 0.78rem;
}

.page-skeleton__section-title {
    inline-size: min(100%, 24rem);
    block-size: clamp(2.1rem, 4vw, 3rem);
    margin-top: 0.9rem;
}

.page-skeleton__section-title--center {
    margin-inline: auto;
}

.page-skeleton__section-title--medium {
    inline-size: min(100%, 19rem);
    block-size: 2.35rem;
}

.page-skeleton__section-title--small {
    inline-size: min(100%, 11rem);
    block-size: 1.9rem;
}

.page-skeleton__section-copy {
    inline-size: min(100%, 30rem);
    block-size: 0.98rem;
    margin-top: 0.9rem;
}

.page-skeleton__section-copy--center {
    margin-inline: auto;
}

.page-skeleton__catalog-hero {
    block-size: clamp(18rem, 38vw, 26rem);
    border-radius: 2rem;
}

.page-skeleton__category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.page-skeleton__category-card {
    min-height: 10.6rem;
    border-radius: 1.65rem;
}

.page-skeleton__product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.page-skeleton__product-card {
    min-height: 20rem;
    border-radius: 1.65rem;
}

.page-skeleton__crumb-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.page-skeleton__crumb {
    inline-size: 6rem;
    block-size: 0.8rem;
}

.page-skeleton__crumb--short {
    inline-size: 4rem;
}

.page-skeleton__product-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.2rem;
}

.page-skeleton__product-panel {
    margin-top: 0;
}

.page-skeleton__product-media {
    block-size: clamp(20rem, 34vw, 27rem);
    border-radius: 1.65rem;
}

.page-skeleton__product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 0.95rem;
}

.page-skeleton__thumb {
    block-size: 4.8rem;
    border-radius: 1rem;
}

.page-skeleton__price {
    inline-size: 9.5rem;
    block-size: 2.6rem;
    margin-top: 1rem;
}

.page-skeleton__copy-line {
    inline-size: 100%;
    block-size: 0.96rem;
    margin-top: 0.85rem;
}

.page-skeleton__copy-line--short {
    inline-size: 68%;
}

.page-skeleton__action-row {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.35rem;
}

.page-skeleton__button {
    inline-size: 100%;
    block-size: 3.4rem;
    border-radius: 999px;
}

.page-skeleton__button--secondary {
    max-width: 8.5rem;
}

.page-skeleton__detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1rem;
    margin-top: 1.25rem;
}

.page-skeleton__detail-grid .page-skeleton__section-card {
    margin-top: 0;
}

.page-skeleton__detail-card {
    min-height: 12rem;
    border-radius: 1.5rem;
}

.page-skeleton__detail-card--short {
    min-height: 8rem;
    margin-top: 1rem;
}

.page-skeleton__cart-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-skeleton__cart-heading .page-skeleton__section-title,
.page-skeleton__cart-heading .page-skeleton__section-copy {
    margin-top: 0;
}

.page-skeleton__cart-summary-chips {
    display: flex;
    gap: 0.7rem;
}

.page-skeleton__cart-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 21rem);
    gap: 1.2rem;
}

.page-skeleton__cart-lines {
    display: grid;
    gap: 1rem;
}

.page-skeleton__cart-line {
    min-height: 8.5rem;
    border-radius: 1.75rem;
}

.page-skeleton__cart-summary-card {
    margin-top: 0;
}

.page-skeleton__help-hero {
    text-align: center;
}

.page-skeleton__help-search {
    inline-size: min(100%, 60rem);
    block-size: 4.2rem;
    margin: 1.25rem auto 0;
}

.page-skeleton__topic-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.page-skeleton__topic-card {
    min-height: 9.5rem;
    border-radius: 1.65rem;
}

.page-skeleton__question-list {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.page-skeleton__question-row {
    block-size: 4rem;
    border-radius: 1.45rem;
}

.page-skeleton__hero-compact {
    padding: 0.65rem 0 0.2rem;
}

.page-skeleton__panel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 1rem;
}

.page-skeleton__panel-card {
    min-height: 14rem;
}

.page-skeleton__panel-card--primary {
    min-height: 18rem;
}

.page-skeleton__form-shell {
    max-width: 44rem;
    margin: 1rem auto 0;
}

.page-skeleton__form-card {
    margin-top: 0;
}

.page-skeleton__field-stack {
    display: grid;
    gap: 0.95rem;
    margin-top: 1.15rem;
}

.page-skeleton__field {
    block-size: 3.75rem;
    border-radius: 1.25rem;
}

.page-skeleton__field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.page-skeleton__market-header .skeleton-shimmer,
.page-skeleton__help-header .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.12) 25%, rgba(255, 255, 255, 0.32) 50%, rgba(255, 255, 255, 0.12) 75%);
    background-size: 200% 100%;
}

.page-skeleton__surface .skeleton-shimmer {
    background: linear-gradient(90deg, rgba(232, 243, 255, 0.82) 25%, rgba(194, 221, 248, 0.96) 50%, rgba(232, 243, 255, 0.82) 75%);
    background-size: 200% 100%;
}

@media (max-width: 1199.98px) {
    .page-skeleton__market-main {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 1rem;
    }

    .page-skeleton__market-brand-group {
        grid-column: 1 / -1;
    }

    .page-skeleton__market-search {
        grid-column: 1 / 2;
    }

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

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

@media (max-width: 991.98px) {
    .page-skeleton__market-main {
        grid-template-columns: 1fr;
    }

    .page-skeleton__market-actions {
        justify-content: flex-start;
    }

    .page-skeleton__market-subnav {
        flex-wrap: wrap;
        gap: 1.2rem 1.6rem;
    }

    .page-skeleton__product-shell,
    .page-skeleton__detail-grid,
    .page-skeleton__cart-shell,
    .page-skeleton__panel-grid {
        grid-template-columns: 1fr;
    }

    .page-skeleton__cart-head {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (max-width: 767.98px) {
    .page-skeleton__surface {
        padding-top: 1rem;
    }

    .page-skeleton__market-header {
        padding: 0.8rem 0 0.9rem;
    }

    .page-skeleton__market-subnav {
        display: none;
    }

    .page-skeleton__section-card {
        padding: 1.15rem;
    }

    .page-skeleton__category-grid,
    .page-skeleton__product-grid,
    .page-skeleton__topic-grid,
    .page-skeleton__field-row {
        grid-template-columns: 1fr;
    }

    .page-skeleton__catalog-hero {
        block-size: 14rem;
    }

    .page-skeleton__product-media {
        block-size: 16rem;
    }

    .page-skeleton__action-row {
        flex-direction: column;
    }

    .page-skeleton__button--secondary {
        max-width: none;
    }
}

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

button,
input,
select,
textarea {
    font: inherit;
    font-family: var(--font-body);
}

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

#catalog-feed {
    scroll-margin-top: 9rem;
}

.utility-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(24, 34, 47, 0.06);
}

.utility-bar__inner,
.utility-bar__links,
.utility-bar__meta,
.site-header__main,
.site-header__navrow,
.header-nav,
.header-highlights,
.market-hero__actions,
.section-block__header,
.results-header__meta,
.catalog-main__header,
.catalog-sortbar,
.catalog-sidebar__actions,
.product-card__price-row,
.summary-row,
.cart-line__header,
.cart-line__controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.utility-bar__inner {
    justify-content: space-between;
    min-height: 2.5rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.utility-bar__links,
.utility-bar__meta,
.header-highlights {
    flex-wrap: wrap;
}

.utility-bar__dot {
    inline-size: 4px;
    block-size: 4px;
    border-radius: 999px;
    background: rgba(24, 34, 47, 0.32);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    padding: 1rem 0 1.1rem;
    color: #fff;
    backdrop-filter: none;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
    border-bottom: 0;
}

.site-header__main,
.site-header__navrow {
    justify-content: space-between;
}

.site-header__main {
    gap: 1.25rem;
}

.site-header__navrow {
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(24, 34, 47, 0.08);
}

.site-nav__eyebrow,
.hero-section__eyebrow,
.results-header__eyebrow,
.summary-card__eyebrow {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-header .site-nav__eyebrow {
    color: rgba(255, 255, 255, 0.84);
}

.site-nav__brand,
.hero-section__title,
.section-block__header h2,
.catalog-main__header h2,
.catalog-sidebar__title,
.promo-tile h2,
.deal-card h3,
.summary-card h3,
.product-card__title,
.cart-line h3,
.empty-state h3 {
    font-family: var(--font-heading);
}

.site-nav__brand-link {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.site-nav__brand {
    font-size: 1.2rem;
    font-weight: 700;
}

.site-header .site-nav__brand {
    color: #fff;
}

.header-search {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    max-width: 760px;
    padding: 0.8rem;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.header-search__input,
.form-control,
.form-select {
    inline-size: 100%;
    border-radius: 16px;
    border: 1px solid rgba(13, 116, 217, 0.12);
    padding: 0.8rem 0.95rem;
    background-color: rgba(255, 255, 255, 0.98);
}

.header-search__input:focus,
.form-control:focus,
.form-select:focus {
    border-color: rgba(107, 184, 240, 0.42);
    box-shadow: 0 0 0 0.2rem rgba(107, 184, 240, 0.18);
    outline: 0;
}

.header-search__button {
    white-space: nowrap;
}

.search-autocomplete {
    position: absolute;
    top: calc(100% - 2px);
    left: -2px;
    right: -2px;
    padding: 0.95rem 1rem 1rem;
    border: 1px solid rgba(13, 116, 217, 0.12);
    border-top: 0;
    border-radius: 0 0 32px 32px;
    background: #ffffff;
    box-shadow: 0 24px 44px rgba(23, 50, 77, 0.14);
    z-index: 30;
}

.header-search.is-autocomplete-open {
    z-index: 31;
}

.header-search--market.is-autocomplete-open {
    border-color: rgba(13, 116, 217, 0.16);
    border-radius: 32px 32px 0 0;
    box-shadow: 0 12px 28px rgba(23, 50, 77, 0.08);
}

.search-autocomplete__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 1rem;
}

.search-autocomplete__grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.search-autocomplete__section {
    min-width: 0;
}

.search-autocomplete__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.1rem 0.35rem 0.55rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-autocomplete__clear {
    border: 0;
    padding: 0;
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    background: transparent;
}

.search-autocomplete__list {
    display: grid;
    gap: 0.2rem;
}

.search-autocomplete__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    padding: 0.82rem 0.72rem;
    border: 0;
    border-radius: 16px;
    color: var(--ink);
    text-align: left;
    background: transparent;
    transition: background-color 160ms ease, transform 160ms ease;
}

.search-autocomplete__item:hover,
.search-autocomplete__item:focus-visible,
.search-autocomplete__item.is-active {
    background: rgba(13, 116, 217, 0.08);
    outline: 0;
}

.search-autocomplete__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex: 0 0 auto;
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(13, 116, 217, 0.08);
    font-size: 1rem;
    line-height: 1;
}

.search-autocomplete__item-copy {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.search-autocomplete__item-label {
    color: var(--ink);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
}

.search-autocomplete__item-meta {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.search-autocomplete__empty {
    padding: 0.8rem 0.72rem;
    color: var(--muted);
    font-size: 0.92rem;
}

@media (max-width: 767.98px) {
    .search-autocomplete {
        padding: 0.85rem;
    }

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

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.header-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    font-weight: 700;
}

.header-cart-link strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 999px;
    color: var(--accent-dark);
    background: #fff;
}

.header-nav .nav-link,
.nav-link {
    color: var(--muted);
    font-weight: 700;
}

.header-nav .nav-link.active,
.header-nav .nav-link:hover,
.nav-link.active,
.nav-link:hover {
    color: var(--ink);
}

.header-highlights {
    color: var(--muted);
    font-size: 0.95rem;
}

.header-highlights span::before {
    content: "•";
    margin-right: 0.55rem;
    color: var(--accent);
}

.header-highlights span:first-child::before {
    display: none;
}

.btn-brand,
.btn-brand-outline {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.8rem 1.2rem;
}

.btn-brand {
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 14px 28px rgba(13, 116, 217, 0.18);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #fff;
    background: linear-gradient(135deg, #2185e5 0%, #074e9a 100%);
}

.btn-brand-outline {
    border: 1px solid rgba(63, 142, 214, 0.22);
    color: var(--teal);
    background: #fff;
}

.btn-brand-outline:hover,
.btn-brand-outline:focus {
    color: var(--teal);
    border-color: rgba(63, 142, 214, 0.38);
    background: rgba(255, 255, 255, 0.98);
}

.site-header .btn-brand-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
}

.site-header .btn-brand-outline:hover,
.site-header .btn-brand-outline:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.18);
}

.storefront-home,
.catalog-section {
    padding-bottom: 4rem;
}

.market-hero,
.shortcut-section,
.deal-strip-section,
.catalog-feed-section,
.hero-section {
    padding: 1.5rem 0 0;
}

.hero-section--compact {
    padding-bottom: 0;
}

.hero-section__title {
    max-width: 15ch;
    margin: 0;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.05;
}

.hero-section__copy,
.promo-tile p,
.deal-card p,
.shortcut-tile__meta,
.product-card__description,
.product-card__meta,
.product-card__sku,
.cart-line__seller,
.cart-line__description,
.cart-panel__copy p,
.summary-card__note,
.empty-state p,
.site-footer {
    color: var(--muted);
}

.hero-section__copy {
    max-width: 64ch;
    margin: 1.1rem 0 0;
    font-size: 1.06rem;
}

.market-hero__grid,
.market-hero__stack,
.market-hero__metrics,
.shortcut-grid,
.deal-strip,
.catalog-shell,
.sidebar-filter-form,
.sidebar-category-list,
.sidebar-price-grid,
.product-card__body,
.product-card__details,
.cart-panel,
.cart-panel__items,
.cart-lines,
.cart-line,
.summary-card__rows,
.empty-state {
    display: grid;
    gap: 1rem;
}

.market-hero__grid {
    grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
    align-items: stretch;
}

.market-hero__banner,
.promo-tile,
.section-block,
.catalog-sidebar__panel,
.catalog-main__header,
.catalog-sortbar,
.hero-stat-card,
.summary-card,
.product-card,
.cart-line,
.cart-panel,
.empty-state {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.market-hero__banner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 0.9fr);
    gap: 1.2rem;
    padding: 1.6rem;
    min-height: 360px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 243, 255, 0.94)),
        radial-gradient(circle at top right, rgba(13, 116, 217, 0.08), transparent 34%),
        radial-gradient(circle at bottom left, rgba(107, 184, 240, 0.12), transparent 30%);
}

.market-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.market-hero__actions {
    flex-wrap: wrap;
}

.market-hero__metrics {
    align-content: start;
}

.market-metric,
.hero-stat-card {
    padding: 1.15rem 1.2rem;
    border-radius: 22px;
    background: rgba(232, 243, 255, 0.64);
}

.market-metric strong,
.hero-stat-card strong {
    display: block;
    margin-top: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.65rem;
}

.hero-stat-card__label {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.promo-tile {
    padding: 1.35rem;
}

.promo-tile h2,
.section-block__header h2,
.catalog-main__header h2,
.catalog-sidebar__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.95rem);
}

.promo-tile h2 {
    font-size: 1.4rem;
}

.promo-tile p {
    margin: 0.75rem 0 0;
}

.section-block {
    padding: 1.5rem;
}

.section-block__header {
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

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

.shortcut-tile {
    display: grid;
    justify-items: center;
    gap: 0.65rem;
    padding: 1.1rem 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.shortcut-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(13, 116, 217, 0.1);
}

.shortcut-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 999px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.shortcut-tile__title {
    font-weight: 700;
}

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

.deal-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
}

.deal-card img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.deal-card__body {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.deal-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
}

.deal-card p {
    margin: 0;
    font-size: 0.95rem;
}

.deal-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.catalog-shell--with-sidebar {
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
}

.catalog-shell--without-sidebar {
    display: block;
}

.catalog-hidden-form {
    display: none;
}

.catalog-sidebar {
    position: relative;
}

.catalog-sidebar__panel {
    position: sticky;
    top: 8.6rem;
    display: grid;
    gap: 1.2rem;
    padding: 1.35rem;
}

.catalog-sidebar__section {
    display: grid;
    gap: 0.85rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(24, 34, 47, 0.08);
}

.catalog-sidebar__section:last-of-type {
    padding-bottom: 0;
    border-bottom: 0;
}

.catalog-sidebar__title {
    font-size: 1.55rem;
}

.catalog-sidebar__heading {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-category-list {
    gap: 0.55rem;
}

.sidebar-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    font-weight: 700;
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.sidebar-category-link:hover,
.sidebar-category-link.is-active {
    color: var(--teal);
    background: rgba(13, 116, 217, 0.1);
    transform: translateX(2px);
}

.sidebar-price-grid {
    grid-template-columns: 1fr;
}

.sidebar-filter-form {
    gap: 1.15rem;
}

.catalog-sidebar__actions {
    justify-content: space-between;
    flex-wrap: wrap;
}

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

.catalog-main--full .catalog-main__header,
.catalog-main--full .catalog-sortbar {
    max-width: none;
}

.catalog-main__header {
    justify-content: space-between;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.catalog-sortbar {
    justify-content: space-between;
    padding: 1rem 1.3rem;
    margin-bottom: 1.2rem;
}

.catalog-sortbar__label {
    font-weight: 800;
}

.catalog-sortbar__controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.catalog-sortbar__select {
    min-width: 230px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.form-group {
    display: grid;
    gap: 0.45rem;
}

.form-group label,
.toggle-field span {
    font-weight: 700;
}

.toggle-field {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
}

.toggle-field input {
    inline-size: 1rem;
    block-size: 1rem;
}

.filter-form__actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

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

.product-card {
    overflow: hidden;
    height: 100%;
}

.product-card__media {
    position: relative;
}

.product-card__media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.product-card__badges {
    position: absolute;
    inset: 1rem auto auto 1rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.product-card__body {
    gap: 1rem;
    padding: 1.4rem;
}

.product-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-card__title {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.3;
}

.product-card__description,
.cart-line__description {
    margin: 0;
    font-size: 0.98rem;
}

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

.product-card__details div {
    padding: 0.75rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
}

.product-card__details dt {
    margin-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-card__details dd {
    margin: 0;
    font-weight: 700;
}

.product-card__price-row {
    justify-content: space-between;
}

.product-card__price {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
}

.product-card__compare {
    margin-left: 0.45rem;
    color: var(--muted);
    text-decoration: line-through;
}

.product-card__sku {
    font-size: 0.8rem;
    font-weight: 700;
}

.product-card__form {
    display: grid;
    gap: 0.9rem;
}

.quantity-picker {
    display: inline-grid;
    grid-template-columns: 44px minmax(56px, 1fr) 44px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
}

.quantity-picker--wide {
    min-inline-size: 150px;
}

.quantity-picker__button,
.quantity-picker__input {
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 700;
}

.quantity-picker__button {
    min-block-size: 46px;
    color: var(--teal);
}

.quantity-picker__input {
    padding: 0.65rem 0.4rem;
    appearance: textfield;
}

.quantity-picker__input::-webkit-outer-spin-button,
.quantity-picker__input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.pill-badge--accent {
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.pill-badge--soft {
    color: var(--teal);
    background: rgba(13, 116, 217, 0.1);
}

.pill-badge--dark {
    color: #fff;
    background: rgba(23, 50, 77, 0.78);
}

.catalog-section {
    padding-top: 1.5rem;
}

.hero-stat-card,
.summary-card {
    padding: 1.4rem;
}

.cart-panel {
    padding: 1.4rem;
}

.cart-panel__item,
.cart-line {
    display: grid;
    gap: 1rem;
}

.cart-panel__item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    align-items: center;
}

.cart-panel__item img,
.cart-line__image {
    border-radius: 18px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.cart-panel__copy h3,
.cart-line h3 {
    margin: 0;
    font-size: 1.08rem;
}

.cart-panel__copy p,
.cart-panel__copy span {
    margin: 0;
    font-size: 0.9rem;
}

.cart-panel__note {
    margin: -0.3rem 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.cart-line {
    grid-template-columns: 140px minmax(0, 1fr);
    padding: 1.4rem;
}

.cart-line__header {
    align-items: start;
    justify-content: space-between;
}

.cart-line__content {
    display: grid;
    gap: 0.7rem;
}

.cart-line__seller,
.cart-line__description {
    margin: 0;
}

.cart-line__controls {
    flex-wrap: wrap;
    justify-content: space-between;
}

.btn-remove {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.summary-card__rows {
    gap: 0.85rem;
    margin: 1.2rem 0 1.4rem;
}

.summary-row {
    justify-content: space-between;
    font-size: 1rem;
}

.summary-row--grand {
    padding-top: 0.85rem;
    border-top: 1px solid var(--line);
    font-size: 1.05rem;
}

.empty-state {
    place-items: center;
    gap: 0.8rem;
    padding: 2.2rem;
    text-align: center;
}

.empty-state--compact {
    min-height: 240px;
}

.empty-state h3 {
    margin: 0;
}

.status-toast {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1080;
    max-width: 340px;
    padding: 0.95rem 1.2rem;
    border-radius: 18px;
    color: #fff;
    background: rgba(23, 50, 77, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.status-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.status-toast[data-tone="error"] {
    background: rgba(188, 84, 84, 0.96);
}

.cart-drawer {
    max-width: 420px;
    background: rgba(255, 255, 255, 0.99);
}

.site-footer {
    padding: 0 0 2.5rem;
    text-align: center;
    font-size: 0.95rem;
}

@media (max-width: 1199.98px) {
    .market-hero__grid,
    .market-hero__banner {
        grid-template-columns: 1fr;
    }

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

    .catalog-shell--with-sidebar {
        grid-template-columns: 270px minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .site-header {
        position: static;
    }

    .utility-bar__inner,
    .site-header__main,
    .site-header__navrow,
    .catalog-main__header,
    .catalog-sortbar,
    .catalog-sidebar__actions,
    .section-block__header,
    .cart-line__header,
    .cart-line__controls {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search {
        max-width: none;
    }

    .site-header__actions {
        width: 100%;
        justify-content: space-between;
    }

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

    .catalog-shell--with-sidebar {
        grid-template-columns: 1fr;
    }

    .catalog-sidebar__panel {
        position: static;
    }
}

@media (max-width: 767.98px) {
    #catalog-feed {
        scroll-margin-top: 1.5rem;
    }

    .market-hero,
    .shortcut-section,
    .deal-strip-section,
    .catalog-feed-section,
    .hero-section,
    .catalog-section {
        padding-top: 1rem;
    }

    .utility-bar__inner,
    .utility-bar__links,
    .utility-bar__meta,
    .site-header__actions,
    .header-nav,
    .header-highlights,
    .market-hero__actions,
    .results-header__meta,
    .filter-form__actions,
    .catalog-sortbar__controls,
    .product-card__meta,
    .product-card__price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search {
        grid-template-columns: 1fr;
    }

    .shortcut-grid,
    .deal-strip,
    .product-card__details,
    .cart-line {
        grid-template-columns: 1fr;
    }

    .section-block,
    .catalog-sidebar__panel,
    .catalog-main__header,
    .catalog-sortbar,
    .market-hero__banner,
    .promo-tile,
    .summary-card,
    .cart-line {
        border-radius: 22px;
    }

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

    .cart-line__image {
        max-width: 180px;
    }
}

/* ── Auth & Profile Pages ─────────────────────────────────── */

.auth-section {
    padding: 2.5rem 0;
}

.auth-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.auth-card,
.profile-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.auth-card__title {
    font-family: "Sora", sans-serif;
    font-size: 1.6rem;
    margin: 0.5rem 0 1.2rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-card__error {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(138, 61, 32, 0.1);
    color: var(--accent-dark);
    font-weight: 600;
    font-size: 0.92rem;
}

.auth-card__success {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(36, 92, 97, 0.1);
    color: var(--teal);
    font-weight: 600;
    font-size: 0.92rem;
}

.auth-card__notice {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(13, 116, 217, 0.08);
    color: var(--accent-dark);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.auth-card__footer {
    margin: 1.2rem 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.header-action-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-card__footer a {
    color: var(--teal);
    font-weight: 700;
}

/* ── Header Auth Row ──────────────────────────────────────── */

.header-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ── Admin Table ──────────────────────────────────────────── */

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.admin-table th {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    border-bottom: 2px solid var(--line);
}

.admin-table td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(24, 34, 47, 0.06);
}

.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* ── Address Cards ────────────────────────────────────────── */

.address-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.4rem;
    display: grid;
    gap: 0.5rem;
}

.address-card__header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.address-card__name {
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    margin: 0;
}

.address-card__line {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.address-card__actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-sm {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.82rem !important;
}

/* ── Customer Coupons ─────────────────────────────────────── */

.customer-coupons-page {
    padding-top: 0.6rem;
}

.coupon-hero__copy {
    max-width: none;
}

.coupon-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .coupon-hero__copy {
        white-space: nowrap;
    }
}

.coupon-overview-card,
.coupon-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.coupon-overview-card {
    padding: 1.35rem 1.45rem;
}

.coupon-overview-card strong {
    display: block;
    margin-top: 0.45rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
}

.coupon-overview-card p,
.coupon-card p,
.coupon-card__meta,
.coupon-card__validity,
.coupon-card__expiry {
    color: var(--muted);
}

.coupon-overview-card p {
    margin: 0.6rem 0 0;
}

.coupon-featured-block {
    margin-bottom: 1rem;
}

.coupon-stack {
    display: grid;
    gap: 1rem;
}

.coupon-card {
    position: relative;
    display: grid;
    gap: 0.9rem;
    height: 100%;
    padding: 1.35rem;
    overflow: hidden;
}

.coupon-card::before {
    content: "";
    position: absolute;
    inset: auto -2rem -2rem auto;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    opacity: 0.16;
    pointer-events: none;
}

.coupon-card--limited::before,
.coupon-card--featured.coupon-card--limited::before {
    background: rgba(13, 116, 217, 0.28);
}

.coupon-card--shipping::before {
    background: rgba(26, 161, 133, 0.26);
}

.coupon-card--shop::before {
    background: rgba(255, 154, 61, 0.24);
}

.coupon-card--brand::before {
    background: rgba(113, 102, 255, 0.22);
}

.coupon-card--featured {
    padding: 1.5rem;
}

.coupon-card__top,
.coupon-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.coupon-card__value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-dark);
}

.coupon-card h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.25;
}

.coupon-card p {
    margin: 0;
    font-size: 0.98rem;
}

.coupon-card__meta {
    display: grid;
    gap: 0.35rem;
    font-size: 0.92rem;
}

.coupon-card code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 0.9rem;
    border-radius: 999px;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(232, 243, 255, 0.9);
}

.coupon-card__validity,
.coupon-card__expiry {
    font-size: 0.86rem;
    font-weight: 700;
}

/* ── Address Modal ────────────────────────────────────────── */

.address-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 34, 47, 0.45);
    backdrop-filter: blur(4px);
}

.address-modal {
    background: var(--surface-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 1.8rem;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
}

.address-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.address-modal__header h3 {
    font-family: "Sora", sans-serif;
    font-size: 1.3rem;
    margin: 0;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ── NovaMarket Storefront Restore ───────────────────────── */

.site-header--market {
    color: #ffffff;
    padding: 0.8rem 0 0.65rem;
    background: linear-gradient(180deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
    border-bottom: 0;
    box-shadow: none;
}

.site-header__main--market {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.75rem;
}

.site-header__start {
    display: flex;
    align-items: center;
    min-width: 240px;
    gap: 1rem;
    padding-right: 1rem;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    inline-size: 2.9rem;
    block-size: 2.9rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.mobile-menu-toggle span {
    display: block;
    inline-size: 1.1rem;
    block-size: 2px;
    border-radius: 999px;
    background: currentColor;
}

.site-nav__brand-link--market {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    min-width: auto;
    line-height: 1.1;
}

.site-nav__brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.78rem;
}

.site-nav__brand-mark {
    inline-size: 3.15rem;
    block-size: 3.15rem;
    flex: 0 0 auto;
    border-radius: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-nav__brand--market {
    color: #ffffff;
    font-family: var(--font-brand);
    font-size: 1.58rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.header-search--market {
    width: min(100%, 44rem);
    max-width: 44rem;
    justify-self: center;
    transform: translateX(-1.5rem);
    padding: 0.3rem;
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    background: #ffffff;
    box-shadow: none;
}

.header-search--market .header-search__input {
    border: 0;
    background: transparent;
    font-size: 1.02rem;
    padding: 0.88rem 1.25rem;
    box-shadow: none;
}

.header-search--market .header-search__input:focus {
    box-shadow: none;
}

.header-search__button--market {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 3.45rem;
    block-size: 3.45rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1;
}

.site-header__actions--market {
    gap: 1rem;
    flex-wrap: nowrap;
}

.header-icon-action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.header-icon-action__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 1.5rem;
    block-size: 1.5rem;
    flex-shrink: 0;
}

.header-icon-action__icon-wrap svg {
    inline-size: 1.4rem;
    block-size: 1.4rem;
    display: block;
}

.header-icon-action__badge {
    position: absolute;
    top: -0.55rem;
    right: -0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.2rem;
    min-height: 1.2rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    color: var(--accent-dark);
    background: #ffffff;
    border: 2px solid var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
}

.header-icon-action__label {
    display: inline-flex;
    align-items: center;
}

.header-action-link {
    color: rgba(255, 255, 255, 0.96);
    font-weight: 600;
    white-space: nowrap;
}

.header-cart-link--market {
    gap: 0.5rem;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header-cart-link--market strong {
    min-width: 1.45rem;
    min-height: 1.45rem;
    color: var(--accent-dark);
    background: #ffffff;
    font-size: 0.8rem;
}

.market-subnav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    padding-top: 0.95rem;
    margin-top: 0.85rem;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.98rem;
    font-weight: 700;
}

.market-subnav a {
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.95);
}

.storefront-home--market,
.cart-page--market {
    padding-top: 1.05rem;
    padding-bottom: 4rem;
}

.home-carousel {
    padding-top: 0.25rem;
}

.help-page--market {
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 22rem);
}

.site-header--help-simple {
    padding: 0.95rem 0;
}

.site-header__main--help {
    display: flex;
    align-items: center;
    min-height: 3rem;
}

.help-page-shell {
    padding-top: 1.05rem;
    padding-bottom: 4rem;
}

.help-center-page {
    display: grid;
    gap: 1.5rem;
}

.help-center__hero {
    padding: 2rem 1.65rem 1.65rem;
    color: #ffffff;
    border-color: rgba(13, 116, 217, 0.26);
    background:
        linear-gradient(135deg, rgba(13, 116, 217, 0.96), rgba(9, 88, 175, 0.98)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 32%),
        radial-gradient(circle at bottom left, rgba(107, 184, 240, 0.22), transparent 30%);
    box-shadow: 0 24px 48px rgba(13, 116, 217, 0.18);
}

.help-center__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.95fr);
    gap: 1rem;
    align-items: start;
}

.help-center__hero-copy {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.help-center__hero .help-center__eyebrow {
    margin-bottom: 0.7rem;
    color: rgba(255, 255, 255, 0.76);
}

.help-center__hero-copy h1 {
    margin: 0;
    max-width: none;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(2.35rem, 4.6vw, 3.75rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.help-center__hero-copy p {
    max-width: 52ch;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.06rem;
}

.help-center__hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.help-center__hero .btn-brand {
    color: var(--accent-dark);
    background: #ffffff;
    box-shadow: none;
}

.help-center__hero .btn-brand:hover,
.help-center__hero .btn-brand:focus {
    color: var(--accent-dark);
    background: rgba(255, 255, 255, 0.92);
}

.help-center__hero .btn-brand-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.help-center__hero .btn-brand-outline:hover,
.help-center__hero .btn-brand-outline:focus {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.14);
}

.help-center__hero-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-weight: 700;
}

.help-center__hero-metrics {
    display: grid;
    gap: 1rem;
}

.help-center__hero .hero-stat-card {
    padding: 1.15rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.help-center__hero .hero-stat-card strong {
    color: #ffffff;
}

.help-center__hero .hero-stat-card__label {
    color: rgba(255, 255, 255, 0.72);
}

.help-center__stat-copy {
    display: block;
    margin-top: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.help-center-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    max-width: min(100%, 72rem);
    margin: 1.45rem auto 0;
    padding: 0.32rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: none;
}

.help-center-search input {
    min-width: 0;
    padding: 1rem 1.2rem;
    border: 0;
    border-radius: 20px;
    color: var(--ink);
    font-size: 1.06rem;
    background: transparent;
}

.help-center-search input:focus {
    outline: none;
}

.help-center-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.15rem;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 18px;
    color: #ffffff;
    font-size: 1.65rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.help-center__filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.help-center__filter-row--hero {
    margin-top: 1rem;
}

.help-center__filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(232, 243, 255, 0.9);
    font-weight: 700;
}

.help-center__filter-row--hero .help-center__filter-chip {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
}

.help-center__clear-link {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.2rem;
}

.help-center__filter-row--hero .help-center__clear-link {
    color: #ffffff;
}

.help-center__clear-link:hover {
    text-decoration-color: currentColor;
}

.help-center__section {
    margin-top: 1.5rem;
}

.help-center__section-head {
    margin-bottom: 1.3rem;
}

.help-center__section-head--with-action {
    align-items: flex-end;
}

.help-center__section-link {
    white-space: nowrap;
}

.help-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.help-category-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
    min-height: 8.75rem;
    padding: 1.15rem;
    border: 1px solid rgba(13, 116, 217, 0.1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
    box-shadow: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.help-category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 116, 217, 0.24);
    box-shadow: 0 16px 30px rgba(13, 116, 217, 0.08);
}

.help-category-card.is-active {
    border-color: rgba(13, 116, 217, 0.34);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(232, 243, 255, 0.92));
    box-shadow: 0 0 0 3px rgba(13, 116, 217, 0.08);
}

.help-category-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    inline-size: 3.25rem;
    block-size: 3.25rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(13, 116, 217, 0.08);
}

.help-category-card__icon svg {
    inline-size: 1.55rem;
    block-size: 1.55rem;
}

.help-category-card__body {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.help-category-card__body strong {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.2;
}

.help-category-card__body span {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.help-category-card--shop .help-category-card__icon,
.help-category-card--wallet .help-category-card__icon,
.help-category-card--shield .help-category-card__icon {
    color: var(--accent-dark);
    background: rgba(232, 243, 255, 0.92);
}

.help-category-card--truck .help-category-card__icon {
    color: #1d8f7a;
    background: rgba(225, 247, 242, 0.96);
}

.help-category-card--tag .help-category-card__icon,
.help-category-card--refresh .help-category-card__icon {
    color: #de5d24;
    background: rgba(255, 238, 227, 0.96);
}

.help-category-card--document .help-category-card__icon,
.help-category-card--notice .help-category-card__icon {
    color: #6b57d9;
    background: rgba(238, 235, 255, 0.96);
}

.help-question-list {
    display: grid;
    gap: 0.9rem;
}

.help-question-card {
    overflow: hidden;
    border: 1px solid rgba(13, 116, 217, 0.1);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    box-shadow: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.help-question-card[open] {
    border-color: rgba(13, 116, 217, 0.22);
    box-shadow: 0 14px 26px rgba(13, 116, 217, 0.08);
}

.help-question-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    cursor: pointer;
    list-style: none;
    font-size: 1.05rem;
    font-weight: 700;
}

.help-question-card summary::-webkit-details-marker {
    display: none;
}

.help-question-card summary::after {
    content: '+';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    inline-size: 2rem;
    block-size: 2rem;
    border-radius: 999px;
    color: var(--accent-dark);
    font-size: 1.25rem;
    line-height: 1;
    background: rgba(232, 243, 255, 0.96);
}

.help-question-card[open] summary::after {
    content: '-';
}

.help-question-card__summary-copy {
    display: grid;
    gap: 0.35rem;
}

.help-question-card__tag {
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.help-question-card__answer {
    padding: 0 1.3rem 1.25rem;
    color: var(--muted);
}

.help-question-card__answer p {
    margin: 0;
    padding-top: 1rem;
    line-height: 1.7;
    border-top: 1px solid rgba(13, 116, 217, 0.08);
}

.help-center__empty {
    padding: 2rem;
    border: 1px solid rgba(13, 116, 217, 0.1);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: none;
}

.help-center__empty h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.help-center__empty p {
    margin: 0.6rem 0 1.2rem;
    color: var(--muted);
}

.home-carousel__shell {
    overflow: hidden;
    inline-size: 100%;
    max-width: 100%;
    margin-inline: auto;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
}

.home-carousel .carousel-item {
    position: relative;
    min-height: clamp(420px, 36vw, 560px);
}

.home-carousel .carousel-item img {
    height: 100%;
    min-height: inherit;
    aspect-ratio: auto;
    object-fit: cover;
}

.home-carousel__caption {
    position: absolute;
    inset: 0 auto 4.5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    max-width: min(38rem, 52%);
    padding: clamp(1.2rem, 3vw, 2rem);
    margin: clamp(0.9rem, 1.8vw, 1.35rem);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 100%);
    box-shadow: 0 18px 36px rgba(10, 52, 97, 0.1);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.home-carousel__eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--accent-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-carousel__caption h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.7vw, 2.55rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.home-carousel__caption p {
    margin: 0;
    max-width: 34ch;
    color: var(--muted);
    font-size: 0.98rem;
}

.home-carousel__caption .btn-brand {
    align-self: flex-start;
    margin-top: 0.35rem;
}

.home-carousel__indicators {
    right: auto;
    bottom: 1.35rem;
    left: clamp(1.5rem, 4vw, 3rem);
    justify-content: flex-start;
    margin: 0;
}

.home-carousel__indicators [data-bs-target] {
    inline-size: 0.72rem;
    block-size: 0.72rem;
    margin-inline: 0.25rem;
    border: 0;
    border-radius: 999px;
    background: rgba(13, 116, 217, 0.22);
    opacity: 1;
}

.home-carousel__indicators .active {
    background: var(--accent);
}

.home-carousel__control {
    top: auto;
    bottom: 1.35rem;
    width: auto;
    opacity: 1;
}

.home-carousel__control.carousel-control-prev {
    left: auto;
    right: 5.5rem;
}

.home-carousel__control.carousel-control-next {
    right: 1.5rem;
}

.home-carousel__control-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: 3rem;
    block-size: 3rem;
    border: 1px solid rgba(13, 116, 217, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-dark);
    font-size: 2rem;
    line-height: 1;
}

.discover-section,
.catalog-feed-section--market,
.cart-page__intro {
    padding-top: 0.75rem;
}

.discover-section {
    padding-top: 1.6rem;
}

.catalog-feed-section--market {
    padding-top: 2.5rem;
}

.section-heading--market {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-heading--market h1,
.section-heading--market h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.4vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading--market h1 {
    max-width: none;
    white-space: nowrap;
}

.section-heading--catalog h2,
.section-heading--cart h1 {
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
}

.section-heading__copy {
    margin: 0.65rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.category-showcase {
    padding: 1.5rem;
    border: 1px solid rgba(13, 116, 217, 0.1);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.category-showcase__header {
    margin-bottom: 1.35rem;
}

.category-showcase__eyebrow {
    display: inline-block;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.category-showcase__header h2 {
    margin: 0.35rem 0 0;
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: clamp(1.55rem, 2.1vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.category-showcase__header p {
    max-width: 58ch;
    margin: 0.55rem 0 0;
    color: var(--muted);
    font-size: 0.97rem;
}

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

.category-tile {
    display: grid;
    justify-items: start;
    gap: 0.72rem;
    min-height: 100%;
    padding: 1.15rem;
    border: 1px solid rgba(13, 116, 217, 0.08);
    border-radius: 18px;
    background: #ffffff;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 116, 217, 0.2);
    box-shadow: 0 14px 24px rgba(13, 116, 217, 0.08);
}

.category-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 999px;
    color: var(--accent-dark);
    background: rgba(232, 243, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(13, 116, 217, 0.08);
}

.category-tile__icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.category-tile__icon--home-living,
.category-tile__icon--wellness {
    color: #1d8f7a;
    background: rgba(225, 247, 242, 0.96);
}

.category-tile__icon--kitchen {
    color: #de5d24;
    background: rgba(255, 238, 227, 0.96);
}

.category-tile__icon--lifestyle {
    color: #7a56d8;
    background: rgba(238, 235, 255, 0.96);
}

.category-tile__title {
    color: var(--ink);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.category-tile__meta {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.category-tile__count {
    margin-top: auto;
    color: var(--accent-dark);
    font-size: 0.84rem;
    font-weight: 700;
}

.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 1rem;
    border: 1px solid rgba(13, 116, 217, 0.18);
    border-radius: 999px;
    background: #ffffff;
    color: var(--accent-dark);
    font-weight: 700;
    box-shadow: none;
}

.mobile-filter-toggle__icon {
    display: inline-block;
    inline-size: 0.95rem;
    block-size: 0.8rem;
    background:
        linear-gradient(var(--accent-dark), var(--accent-dark)) 0 0 / 100% 2px no-repeat,
        linear-gradient(var(--accent-dark), var(--accent-dark)) 0 50% / 72% 2px no-repeat,
        linear-gradient(var(--accent-dark), var(--accent-dark)) 0 100% / 46% 2px no-repeat;
}

.deal-strip--market {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 1fr);
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
}

.deal-card--market {
    display: block;
    overflow: hidden;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
    text-decoration: none;
}

.deal-card--market img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #eef5fc;
}

.deal-card--market .deal-card__body {
    gap: 0.25rem;
    padding: 1rem 1rem 1.1rem;
}

.deal-card--market h3 {
    font-size: 1.08rem;
    line-height: 1.3;
}

.deal-card--market p {
    color: var(--muted);
    font-size: 0.95rem;
}

.catalog-feed-section--market .catalog-main {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.catalog-feed-section--market #catalog-shell.catalog-shell--without-sidebar {
    display: block;
}

.catalog-feed-section--market #catalog-shell.catalog-shell--with-sidebar {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.75rem;
    align-items: start;
}

.catalog-results {
    margin-top: 0.5rem;
}

.catalog-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    justify-content: stretch;
}

.catalog-product-grid__item {
    min-width: 0;
    max-width: none;
}

.catalog-sidebar__panel {
    top: 7.2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.catalog-sidebar__section {
    border-bottom: 1px solid rgba(13, 116, 217, 0.1);
}

.sidebar-category-link,
.toggle-field {
    border: 1px solid rgba(13, 116, 217, 0.12);
    background: #ffffff;
}

.sidebar-category-link:hover,
.sidebar-category-link.is-active {
    color: var(--ink);
    background: var(--accent-soft);
    transform: none;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.product-card__media-link,
.product-card__title-link {
    color: inherit;
    text-decoration: none;
}

.product-card__media-link:hover img,
.product-card__title-link:hover {
    opacity: 0.96;
}

.product-card__media img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card__badges {
    inset: 0.75rem auto auto 0.75rem;
}

.product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.95rem 1rem 1.05rem;
}

.product-card__seller {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.product-card__title {
    margin: 0;
    min-height: calc(1.35em * 2);
    font-size: 1rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-card__form {
    margin-top: auto;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.product-card__rating-stars {
    color: #f7b500;
    font-weight: 700;
}

.product-card__description {
    display: none;
}

.product-card__price-row {
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.product-card__price {
    color: #f47a20;
    font-size: 1.2rem;
}

.product-card__meta-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: #eef5fc;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.product-card__purchase-row {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-card__submit {
    flex: 1 1 10rem;
    min-width: 0;
    padding: 0.75rem 1rem;
    box-shadow: none;
    white-space: nowrap;
}

.quantity-picker {
    flex: 0 0 132px;
    min-width: 132px;
    grid-template-columns: 38px minmax(44px, 1fr) 38px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
}

.quantity-picker__button {
    min-block-size: 40px;
    color: var(--ink);
}

.pill-badge--accent {
    color: var(--accent-dark);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 116, 217, 0.16);
}

.pill-badge--soft {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.product-page--market {
    padding-top: 1.4rem;
}

.product-page__content {
    padding-bottom: 0.5rem;
}

.product-page__shell {
    max-width: 1100px;
    margin: 0 auto;
}

[data-product-detail-host].is-loading {
    opacity: 0.75;
}

.product-detail {
    display: grid;
    gap: 1.35rem;
}

.product-detail__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.product-detail__breadcrumb a {
    color: var(--accent-dark);
    text-decoration: none;
}

.product-detail__hero {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.88fr);
    gap: 1.05rem;
    align-items: start;
}

.product-detail__media-card,
.product-detail__summary-card,
.product-detail__description-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
}

.product-detail__media-card {
    padding: 0.95rem;
}

.product-detail__media-shell {
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 100%);
}

.product-detail__media-frame[hidden] {
    display: none !important;
}

.product-detail__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-detail__video {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #0f1722;
}

.product-detail__thumb-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 0.8rem;
}

.product-detail__thumb {
    position: relative;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    aspect-ratio: 1 / 1;
}

.product-detail__thumb.is-active {
    border-color: rgba(13, 116, 217, 0.42);
    box-shadow: 0 0 0 2px rgba(13, 116, 217, 0.12);
}

.product-detail__thumb-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail__thumb-badge {
    position: absolute;
    inset: auto 0.45rem 0.45rem auto;
    padding: 0.2rem 0.42rem;
    border-radius: 999px;
    background: rgba(15, 23, 34, 0.82);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-detail__summary-card {
    display: grid;
    gap: 0.9rem;
    padding: 1.25rem;
}

.product-detail__eyebrow-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-detail__title {
    margin: 0;
    font-size: clamp(1.85rem, 2.7vw, 2.45rem);
    line-height: 1.15;
}

.product-detail__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--muted);
}

.product-detail__seller,
.product-detail__rating {
    color: var(--ink);
    font-weight: 700;
}

.product-detail__rating {
    color: #f7b500;
}

.product-detail__meta-dot {
    inline-size: 0.28rem;
    block-size: 0.28rem;
    border-radius: 999px;
    background: rgba(24, 34, 47, 0.28);
}

.product-detail__price-panel {
    display: grid;
    gap: 0.65rem;
    padding: 0.95rem 1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #f9fbff 0%, #eef5ff 100%);
}

.product-detail__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-detail__price {
    color: #f47a20;
    font-size: clamp(1.9rem, 3vw, 2.45rem);
    line-height: 1;
}

.product-detail__compare {
    color: var(--muted);
    font-size: 1.1rem;
    text-decoration: line-through;
}

.product-detail__short-copy {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.product-detail__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 0;
}

.product-detail__facts div {
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(13, 116, 217, 0.12);
    border-radius: 18px;
    background: #ffffff;
}

.product-detail__facts dt {
    margin: 0 0 0.3rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-detail__facts dd {
    margin: 0;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 700;
}

.product-detail__form {
    margin-top: 0.2rem;
}

.product-detail__purchase-row {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-detail__quantity-group {
    display: grid;
    gap: 0.55rem;
}

.product-detail__quantity-label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.quantity-picker--detail {
    min-width: 168px;
    grid-template-columns: 42px minmax(52px, 1fr) 42px;
    border-radius: 18px;
}

.product-detail__submit {
    min-width: 190px;
    padding: 0.9rem 1.25rem;
}

.product-detail__actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.product-detail__secondary-link {
    color: var(--accent-dark);
    font-weight: 700;
    text-decoration: none;
}

.product-detail__description-card {
    padding: 1.2rem 1.3rem;
}

.product-detail__section-heading {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-detail__section-heading h2 {
    margin: 0;
    font-size: 1.5rem;
}

.product-detail__description-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.cart-line__image-link,
.cart-line__title-link,
.cart-panel__image-link,
.cart-panel__title-link {
    color: inherit;
    text-decoration: none;
}

.cart-page__summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--muted);
    font-weight: 700;
}

.cart-page__summary span:last-child,
.cart-page__summary strong {
    color: var(--ink);
}

.cart-line,
.summary-card,
.cart-panel,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: none;
}

.cart-page__content {
    padding-top: 0.3rem;
}

.cart-drawer {
    background: #ffffff;
}

.mobile-drawer {
    --bs-offcanvas-width: min(22rem, 88vw);
    color: var(--ink);
    background: #ffffff;
}

.mobile-drawer .offcanvas-header {
    padding: 1.25rem 1.15rem 1rem;
    border-bottom: 1px solid var(--line);
}

.mobile-drawer .offcanvas-body {
    padding: 1rem 1.15rem 1.25rem;
}

.mobile-drawer__nav,
.mobile-drawer__links {
    display: grid;
    gap: 0.75rem;
}

.mobile-drawer__nav + .mobile-drawer__links {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.mobile-drawer__nav a,
.mobile-drawer__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(13, 116, 217, 0.12);
    border-radius: 16px;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    background: #ffffff;
}

.mobile-filter-drawer .catalog-sidebar__panel {
    position: static;
    top: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.site-footer {
    padding-top: 2.25rem;
    color: var(--muted);
    background: transparent;
}

@media (max-width: 1199.98px) {
    .page-skeleton__header-inner {
        grid-template-columns: 1fr;
    }

    .page-skeleton__header-actions {
        justify-content: flex-end;
    }

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

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

@media (min-width: 992px) {
    .product-page__shell {
        max-width: 1080px;
    }
}

@media (max-width: 1199.98px) {
    .site-header__main--market {
        grid-template-columns: 1fr;
    }

    .header-search--market {
        width: 100%;
        max-width: none;
        justify-self: stretch;
        transform: none;
    }

    .site-header__start,
    .site-header__actions--market {
        justify-content: space-between;
    }

    .site-header__start {
        min-width: 0;
        padding-right: 0;
    }

    .catalog-feed-section--market #catalog-shell.catalog-shell--with-sidebar {
        grid-template-columns: 1fr;
    }

    .home-carousel .carousel-item {
        min-height: 500px;
    }

    .home-carousel__caption {
        max-width: min(36rem, 56%);
    }

    .home-carousel__caption h2 {
        font-size: clamp(1.75rem, 2.8vw, 2.45rem);
    }

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

    .product-page__shell {
        max-width: 1040px;
    }
}

@media (max-width: 991.98px) {
    .product-detail__hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail__media-card {
        max-width: 42rem;
    }

    .product-detail__thumb-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-carousel .carousel-item {
        min-height: 560px;
    }

    .section-heading--market h1 {
        white-space: normal;
    }

    .home-carousel__caption {
        inset: 0 auto 2.75rem 0;
        max-width: min(31rem, 64%);
        padding: 2rem 1.75rem;
        margin: 1rem;
    }

    .home-carousel__caption h2 {
        font-size: clamp(1.75rem, 3.6vw, 2.35rem);
    }

    .home-carousel__caption p {
        font-size: 0.98rem;
    }

    .help-center__hero-copy h1 {
        max-width: none;
    }

    .help-center__section-head {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 767.98px) {
    .page-skeleton__header {
        padding-top: 0.7rem;
    }

    .page-skeleton__header-actions {
        display: none;
    }

    .page-skeleton__search {
        block-size: 3.5rem;
    }

    .page-skeleton__hero {
        padding: 1.2rem;
    }

    .page-skeleton__main {
        padding-top: 1rem;
    }

    .site-header--market {
        padding-top: 0.65rem;
    }

    .section-heading--market {
        flex-direction: column;
        align-items: stretch;
    }

    .site-header__main--market {
        gap: 1rem;
    }

    .site-header__start {
        grid-column: 1 / -1;
        justify-content: flex-start;
        align-items: center;
        min-width: 0;
        padding-right: 0;
    }

    .mobile-menu-toggle {
        display: inline-flex;
    }

    .site-nav__brand--market {
        font-size: 1.5rem;
    }

    .site-nav__brand-mark {
        inline-size: 2.8rem;
        block-size: 2.8rem;
    }

    .site-header__actions--market {
        display: none;
    }

    .header-action-link,
    .header-icon-action,
    .header-cart-link--market {
        font-size: 0.98rem;
    }

    .market-subnav {
        display: none;
    }

    .header-search--market {
        width: 100%;
        max-width: none;
        justify-self: stretch;
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .mobile-filter-toggle {
        display: inline-flex;
        align-self: flex-start;
    }

    .section-heading--market h1 {
        white-space: normal;
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .section-heading--catalog h2,
    .section-heading--cart h1 {
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .deal-strip--market {
        grid-auto-columns: minmax(220px, 1fr);
    }

    .product-page--market {
        padding-top: 1.4rem;
    }

    .catalog-feed-section--market #catalog-shell.catalog-shell--with-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    [data-catalog-sidebar-host] {
        display: none;
    }

    .catalog-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
        justify-content: stretch;
    }

    .catalog-product-grid__item {
        max-width: none;
    }

    .discover-section {
        padding-top: 1.25rem;
    }

    .catalog-feed-section--market {
        padding-top: 1.5rem;
    }

    .help-page-shell {
        padding-top: 0.9rem;
    }

    .help-center__hero {
        padding: 1.25rem;
    }

    .help-center__hero-copy h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .help-center-search {
        grid-template-columns: minmax(0, 1fr) auto;
    }

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

    .help-center__section {
        margin-top: 1.25rem;
    }

    .help-question-card summary {
        font-size: 1rem;
    }

    .category-showcase {
        padding: 1.2rem;
    }

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

    .home-carousel .carousel-item img {
        min-height: inherit;
    }

    .home-carousel__caption {
        position: absolute;
        inset: auto 1rem 1.25rem 1rem;
        justify-content: flex-start;
        max-width: none;
        margin: 0;
        padding: 1.1rem;
        border-radius: 20px;
    }

    .home-carousel__caption h2 {
        font-size: 1.55rem;
    }

    .home-carousel__caption p {
        font-size: 0.95rem;
    }

    .home-carousel__indicators {
        left: 1rem;
        bottom: 1rem;
    }

    .product-detail__summary-card,
    .product-detail__description-card,
    .product-detail__media-card {
        padding: 1rem;
    }

    .product-detail__thumb-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.55rem;
    }

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

    .product-detail__title {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    .product-detail__price {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .product-detail__purchase-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .quantity-picker--detail,
    .product-detail__submit {
        width: 100%;
        min-width: 0;
    }

    .quantity-picker {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        grid-template-columns: 34px minmax(40px, 1fr) 34px;
        border-radius: 14px;
        background: #f8fbff;
    }

    .product-card__purchase-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.55rem;
    }

    .quantity-picker__button {
        min-block-size: 34px;
    }

    .product-card__submit {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex: none;
        border-radius: 14px;
        padding: 0.78rem 0.8rem;
        font-size: 0.9rem;
        line-height: 1.15;
        white-space: normal;
        text-align: center;
        box-shadow: 0 10px 20px rgba(13, 116, 217, 0.16);
    }

    .product-card__body {
        gap: 0.45rem;
        padding: 0.8rem;
    }

    .product-card__seller,
    .product-card__rating {
        font-size: 0.8rem;
    }

    .product-card__title {
        font-size: 0.95rem;
    }

    .product-card__price {
        font-size: 1.02rem;
    }

    .product-card__compare {
        font-size: 0.82rem;
    }

    .product-card__meta-chip {
        font-size: 0.68rem;
    }

    .quantity-picker__input {
        font-size: 0.94rem;
    }
}

@media (max-width: 575.98px) {
    .page-skeleton__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-skeleton__card--wide {
        grid-column: auto;
    }

    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .site-header__main--market {
        gap: 0.85rem;
    }

    .site-header__start {
        gap: 0.8rem;
    }

    .site-nav__brand--market {
        font-size: 1.35rem;
    }

    .mobile-menu-toggle {
        inline-size: 2.65rem;
        block-size: 2.65rem;
    }

    .header-search--market {
        padding: 0.24rem;
    }

    .header-search--market .header-search__input {
        font-size: 1rem;
        padding: 0.82rem 1rem;
    }

    .header-search__button--market {
        inline-size: 3rem;
        block-size: 3rem;
        font-size: 1.45rem;
    }

    .help-center__hero-copy p {
        font-size: 1rem;
    }

    .help-center-search input {
        padding: 0.95rem 1rem;
        font-size: 1rem;
    }

    .help-center-search button {
        min-width: 3.85rem;
        font-size: 1.4rem;
    }

    .category-showcase__header h2 {
        font-size: 1.45rem;
    }

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

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

    .product-detail__breadcrumb {
        font-size: 0.88rem;
    }

    .home-carousel .carousel-item {
        min-height: 500px;
    }

    .home-carousel__caption {
        inset: auto 0.85rem 1rem 0.85rem;
        padding: 0.95rem;
        gap: 0.7rem;
    }

    .home-carousel__caption h2 {
        font-size: 1.45rem;
    }

    .home-carousel__caption p {
        max-width: none;
        font-size: 0.9rem;
    }

    .home-carousel__indicators {
        left: 0.85rem;
        bottom: 0.85rem;
    }

    .discover-section,
    .catalog-feed-section--market,
    .cart-page__intro {
        padding-top: 1rem;
    }

    .section-heading--market {
        gap: 0.65rem;
        margin-bottom: 1rem;
    }

    .section-heading--market h1 {
        font-size: clamp(1.65rem, 9vw, 2.2rem);
    }

    .section-heading--catalog h2,
    .section-heading--cart h1 {
        font-size: clamp(1.45rem, 8vw, 1.95rem);
    }

    .deal-strip--market {
        grid-auto-columns: minmax(200px, 82vw);
        gap: 1rem;
    }

    .catalog-sidebar__panel {
        padding: 1rem;
        border-radius: 16px;
    }

    .mobile-filter-drawer .catalog-sidebar__panel {
        padding: 0;
        border: 0;
        border-radius: 0;
    }

    .product-card__body {
        padding: 0.75rem;
    }

    .product-card__price {
        font-size: 0.98rem;
    }

    .product-card__meta-chip {
        font-size: 0.64rem;
    }

    .product-card__seller,
    .product-card__rating {
        font-size: 0.76rem;
    }

    .product-card__title {
        font-size: 0.9rem;
    }

    .product-card__purchase-row {
        gap: 0.5rem;
    }

    .quantity-picker {
        grid-template-columns: 32px minmax(36px, 1fr) 32px;
        min-width: 0;
        border-radius: 12px;
    }

    .quantity-picker__button {
        min-block-size: 32px;
    }

    .product-card__submit {
        border-radius: 12px;
        padding: 0.72rem 0.6rem;
        font-size: 0.84rem;
    }
}

/* Guest Auth Pages */

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(13, 116, 217, 0.12), transparent 28%),
        radial-gradient(circle at bottom right, rgba(13, 116, 217, 0.1), transparent 22%),
        #ffffff;
}

.auth-page__main {
    min-height: 100dvh;
    padding: 1rem 0;
}

.auth-page__container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: grid;
    min-height: calc(100dvh - 2rem);
    grid-template-rows: 1fr auto;
    gap: 0.65rem;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(13, 116, 217, 0.12);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(13, 116, 217, 0.12);
    align-self: center;
}

.auth-spotlight,
.auth-panel {
    position: relative;
}

.auth-spotlight {
    background: linear-gradient(155deg, #0d74d9 0%, #0958af 50%, #0a4b92 100%);
    color: #ffffff;
    padding: 2rem;
    display: grid;
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: 2rem;
}

.auth-spotlight::before,
.auth-spotlight::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.auth-spotlight::before {
    inline-size: 280px;
    block-size: 280px;
    inset: auto -70px -110px auto;
}

.auth-spotlight::after {
    inline-size: 180px;
    block-size: 180px;
    inset: 1.5rem auto auto -50px;
}

.auth-brand,
.auth-spotlight__quicklinks {
    display: flex;
    align-items: center;
}

.auth-brand {
    gap: 0.9rem;
    position: relative;
    z-index: 1;
}

.auth-brand__mark {
    inline-size: 54px;
    block-size: 54px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.auth-brand__wordmark {
    font-family: var(--font-brand);
    font-size: 2rem;
    letter-spacing: 0.02em;
}

.auth-spotlight__content,
.auth-spotlight__footer,
.auth-spotlight__cta {
    display: grid;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.auth-spotlight__content {
    align-content: start;
}

.auth-spotlight__eyebrow,
.auth-page .auth-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-spotlight__eyebrow {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.92);
}

.auth-spotlight h1 {
    margin: 0;
    max-width: 11ch;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 3vw, 4rem);
    line-height: 1.05;
}

.auth-page--login .auth-spotlight h1 {
    max-width: none;
    font-size: clamp(2rem, 2.5vw, 3.15rem);
}

.auth-page--register .auth-spotlight h1 {
    max-width: none;
    font-size: clamp(1.95rem, 2.35vw, 2.95rem);
}

.auth-spotlight p {
    margin: 0;
    max-width: 32rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.08rem;
    line-height: 1.55;
}

.auth-spotlight__highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.auth-spotlight__card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
}

.auth-spotlight__card strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.25;
}

.auth-spotlight__card span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.45;
}

.auth-spotlight__quicklinks {
    gap: 0.75rem;
    flex-wrap: wrap;
}

.auth-spotlight__quicklinks a {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
}

.auth-spotlight__cta {
    padding: 1.25rem 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
}

.auth-spotlight__cta strong {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.auth-spotlight__cta p {
    max-width: none;
    color: var(--muted);
    font-size: 0.98rem;
}

.auth-spotlight__cta-link {
    font-weight: 700;
    color: var(--accent);
}

.auth-spotlight__context-note {
    display: grid;
    gap: 0.35rem;
    max-width: 32rem;
    padding: 0.65rem 0.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.auth-spotlight__context-note strong {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    line-height: 1.25;
}

.auth-spotlight__context-note p {
    max-width: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    line-height: 1.35;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.auth-modal.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 34, 56, 0.56);
    backdrop-filter: blur(8px);
}

.auth-modal__dialog {
    position: relative;
    z-index: 1;
    inline-size: min(100%, 430px);
    display: grid;
    gap: 0.85rem;
    padding: 1.45rem;
    border: 1px solid rgba(23, 50, 77, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 32px 68px rgba(15, 34, 56, 0.22);
}

.auth-modal__close {
    position: absolute;
    top: 0.9rem;
    right: 0.95rem;
    border: 0;
    padding: 0;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    background: transparent;
}

.auth-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(13, 116, 217, 0.1);
}

.auth-modal__dialog h2 {
    margin: 0;
    padding-right: 2rem;
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    line-height: 1.18;
}

.auth-modal__dialog p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

body.auth-modal-open {
    overflow: hidden;
}

.auth-panel {
    padding: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-panel::before {
    content: "";
    position: absolute;
    inline-size: 140px;
    block-size: 140px;
    inset: 1.5rem 1.5rem auto auto;
    border-radius: 32px;
    background: rgba(13, 116, 217, 0.06);
    transform: rotate(18deg);
}

.auth-panel > * {
    position: relative;
    z-index: 1;
}

.auth-page .auth-card--guest {
    width: min(100%, 470px);
    min-width: 0;
    min-height: 620px;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid rgba(13, 116, 217, 0.12);
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(13, 116, 217, 0.12);
    display: flex;
    flex-direction: column;
}

.auth-page .auth-card__eyebrow {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.auth-page .auth-card__title {
    margin: 0.85rem 0 0.55rem;
    font-size: 2rem;
    line-height: 1.1;
}

.auth-page--login .auth-card__title {
    margin-bottom: 1.85rem;
}

.auth-page--register .auth-card__title {
    margin-bottom: 1.05rem;
}

.auth-page--register .auth-card--guest {
    width: min(100%, 540px);
    min-height: 0;
    padding: 1.2rem;
}

.auth-page--register .auth-page__main {
    padding: 0.45rem 0;
}

.auth-page--register .auth-page__container {
    min-height: calc(100dvh - 0.9rem);
    gap: 0.2rem;
}

.auth-page--register .auth-panel {
    padding: 0.95rem 1.05rem;
}

.auth-page--register .auth-spotlight {
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.55rem 1.7rem;
}

.auth-page--register .auth-spotlight__content,
.auth-page--register .auth-spotlight__footer {
    gap: 0.65rem;
}

.auth-page--register .auth-spotlight__footer {
    align-self: start;
    margin-top: 0.5rem;
    gap: 0.45rem;
}

.auth-page--register .auth-spotlight__cta {
    max-width: 32rem;
    order: 1;
    padding: 0.75rem 0.95rem;
    gap: 0.5rem;
}

.auth-page--register .auth-spotlight__context-note {
    order: 2;
}

.auth-page--register .auth-spotlight__cta p {
    line-height: 1.45;
    font-size: 0.92rem;
}

.auth-page--register .auth-form--guest {
    gap: 0.65rem;
}

.auth-page--register .auth-form__split {
    gap: 0.6rem;
}

.auth-page--register .form-group {
    gap: 0.22rem;
}

.auth-page--register .form-group label {
    font-size: 0.84rem;
}

.auth-page--register .form-control,
.auth-page--register .form-select,
.auth-page--register .auth-submit-button {
    min-height: 42px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.auth-page--register .auth-submit-button {
    margin-top: 0.2rem;
}

.auth-page--register .auth-card__notice {
    margin-bottom: 0.05rem;
    padding: 0.52rem 0.65rem;
    font-size: 0.76rem;
    line-height: 1.28;
}

.auth-page--register .auth-card__footer {
    margin-top: 0.1rem;
    padding-top: 0.2rem;
    font-size: 0.84rem;
}

.auth-page .auth-card__copy {
    margin: 0 0 1.35rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.auth-page .auth-form--guest {
    gap: 1.35rem;
    align-content: start;
}

.auth-page .auth-card--guest .auth-form--guest {
    flex: 1;
}

.auth-page--login .auth-form--guest {
    margin-top: 3.4rem;
    gap: 1.6rem;
}

.auth-form__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.auth-form__split > * {
    min-width: 0;
}

.auth-page .form-group {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.auth-page .form-group label {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.auth-page .form-control,
.auth-page .form-select {
    min-height: 56px;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(13, 116, 217, 0.14);
    background: #fbfdff;
    box-shadow: none;
}

.auth-page .form-select {
    padding-right: 2.9rem;
}

.auth-page .form-control:focus,
.auth-page .form-select:focus {
    border-color: rgba(13, 116, 217, 0.46);
    box-shadow: 0 0 0 4px rgba(13, 116, 217, 0.12);
    background: #ffffff;
}

.auth-submit-button {
    min-height: 58px;
    margin-top: 0.25rem;
    border-radius: 18px;
    font-size: 1rem;
    font-weight: 700;
}

.auth-page--login .auth-submit-button {
    margin-top: 1.75rem;
}

.auth-page--register .auth-submit-button {
    margin-top: 0.2rem;
}

.auth-page .auth-card__error {
    margin-bottom: 1rem;
    border: 1px solid rgba(244, 122, 32, 0.18);
    background: rgba(244, 122, 32, 0.1);
    color: #b85b16;
}

.auth-card__trust {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.auth-card__trust span {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: #f3f8ff;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 700;
}

.auth-inline-note {
    margin: -0.15rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.auth-page .auth-card__footer {
    margin-top: auto;
    padding-top: 1.25rem;
    text-align: left;
}

.auth-page .auth-card__footer a {
    color: var(--accent);
}

.auth-page__footnote {
    margin: 0.2rem 0 0;
    color: var(--muted);
    text-align: center;
    font-size: 0.95rem;
}

@media (min-width: 992px) and (max-height: 920px) {
    .auth-page__main {
        padding: 0.35rem 0;
    }

    .auth-page__container {
        min-height: calc(100dvh - 0.7rem);
        gap: 0.2rem;
    }

    .auth-page--register .auth-page__main {
        padding: 0.2rem 0;
    }

    .auth-page--register .auth-page__container {
        min-height: calc(100dvh - 0.4rem);
        gap: 0.1rem;
    }

    .auth-spotlight,
    .auth-panel {
        padding: 1.35rem;
    }

    .auth-spotlight {
        gap: 1.15rem;
    }

    .auth-spotlight__content,
    .auth-spotlight__footer,
    .auth-spotlight__cta {
        gap: 0.7rem;
    }

    .auth-spotlight h1 {
        font-size: clamp(2rem, 2.4vw, 2.8rem);
    }

    .auth-page--login .auth-spotlight h1 {
        font-size: clamp(1.85rem, 2.1vw, 2.5rem);
    }

    .auth-page--register .auth-spotlight h1 {
        font-size: clamp(1.8rem, 2vw, 2.35rem);
    }

    .auth-spotlight p {
        font-size: 0.98rem;
        line-height: 1.45;
    }

    .auth-spotlight__highlights {
        gap: 0.75rem;
    }

    .auth-spotlight__card {
        gap: 0.3rem;
        padding: 0.8rem 0.9rem;
        border-radius: 18px;
    }

    .auth-spotlight__card strong {
        font-size: 0.94rem;
    }

    .auth-spotlight__card span {
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .auth-spotlight__quicklinks a {
        padding: 0.5rem 0.85rem;
        font-size: 0.88rem;
    }

    .auth-spotlight__cta {
        padding: 1rem 1.1rem;
        border-radius: 20px;
    }

    .auth-spotlight__context-note {
        padding: 0.5rem 0.65rem;
        border-radius: 16px;
    }

    .auth-spotlight__context-note strong {
        font-size: 0.8rem;
    }

    .auth-spotlight__context-note p {
        font-size: 0.76rem;
        line-height: 1.25;
    }

    .auth-panel::before {
        inline-size: 110px;
        block-size: 110px;
        inset: 1rem 1rem auto auto;
    }

    .auth-page .auth-card--guest {
        padding: 1.4rem;
        border-radius: 24px;
        min-height: 560px;
    }

    .auth-page--register .auth-card--guest {
        width: min(100%, 500px);
        padding: 0.9rem;
    }

    .auth-page--register .auth-spotlight {
        grid-template-rows: auto auto minmax(0, 1fr);
        gap: 0.7rem;
        padding: 0.95rem 1.05rem;
    }

    .auth-page .auth-card__title {
        margin: 0.55rem 0 0.4rem;
        font-size: 1.7rem;
    }

    .auth-page--login .auth-card__title {
        margin-bottom: 1.4rem;
    }

    .auth-page--register .auth-card__title {
        margin-bottom: 0.55rem;
        font-size: 1.45rem;
    }

    .auth-page .auth-card__copy {
        margin: 0 0 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .auth-page .auth-form--guest {
        gap: 1rem;
    }

    .auth-page--register .auth-form--guest {
        gap: 0.5rem;
    }

    .auth-form__split {
        gap: 0.8rem;
    }

    .auth-page--register .auth-form__split {
        gap: 0.5rem;
    }

    .auth-page--login .auth-form--guest {
        margin-top: 2.25rem;
        gap: 1.2rem;
    }

    .auth-page .form-group {
        gap: 0.3rem;
    }

    .auth-page .form-group label {
        font-size: 0.88rem;
    }

    .auth-page--register .form-group label {
        font-size: 0.8rem;
    }

    .auth-page .form-control,
    .auth-page .form-select,
    .auth-submit-button {
        min-height: 48px;
        padding-top: 0.72rem;
        padding-bottom: 0.72rem;
    }

    .auth-submit-button {
        font-size: 0.95rem;
    }

    .auth-page--login .auth-submit-button {
        margin-top: 1.3rem;
    }

    .auth-page--register .auth-submit-button {
        margin-top: 0.12rem;
    }

    .auth-page--register .form-control,
    .auth-page--register .form-select,
    .auth-page--register .auth-submit-button {
        min-height: 38px;
        padding-top: 0.44rem;
        padding-bottom: 0.44rem;
    }

    .auth-page--register .auth-card__notice {
        margin-bottom: 0;
        padding: 0.42rem 0.55rem;
        font-size: 0.72rem;
        line-height: 1.24;
    }

    .auth-page--register .auth-card__footer {
        padding-top: 0.25rem;
        font-size: 0.8rem;
    }

    .auth-page__footnote {
        margin-top: 0;
        font-size: 0.82rem;
    }

    .auth-card__trust {
        gap: 0.5rem;
        margin-top: 0.8rem;
    }

    .auth-card__trust span {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .auth-inline-note,
    .auth-page__footnote {
        font-size: 0.85rem;
    }
}

@media (max-width: 991.98px) {
    .auth-page__main {
        padding: 1.5rem 0;
    }

    .auth-page__container {
        min-height: auto;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-spotlight h1 {
        max-width: none;
    }

    .auth-panel {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .coupon-overview-grid {
        grid-template-columns: 1fr;
    }

    .coupon-card {
        padding: 1.15rem;
    }

    .coupon-card__value {
        font-size: 1.7rem;
    }

    .auth-page__container {
        width: min(100% - 1rem, 680px);
    }

    .auth-spotlight,
    .auth-panel {
        padding: 1.35rem;
    }

    .auth-spotlight {
        gap: 1.5rem;
    }

    .auth-spotlight__highlights,
    .auth-form__split {
        grid-template-columns: 1fr;
    }

    .auth-page .auth-card--guest {
        width: 100%;
        padding: 1.5rem;
        border-radius: 24px;
        min-height: auto;
    }

    .auth-page .auth-card__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .coupon-card__top,
    .coupon-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-brand__wordmark {
        font-size: 1.7rem;
    }

    .auth-brand__mark {
        inline-size: 46px;
        block-size: 46px;
        border-radius: 15px;
    }

    .auth-spotlight h1 {
        font-size: 2rem;
    }

    .auth-spotlight p,
    .auth-spotlight__card span {
        font-size: 0.95rem;
    }

    .auth-page .auth-card--guest {
        padding: 1.25rem;
    }

    .auth-submit-button,
    .auth-page .form-control,
    .auth-page .form-select {
        min-height: 52px;
    }
}
