:root {
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --market-text: #0f1111;
    --market-muted: #565959;
    --market-link: #2162a1;
    --market-link-hover: #c7511f;
    --market-bg: #eaeded;
    --market-surface: #ffffff;
    --market-surface-alt: #f7f8f8;
    --market-header: #18212f;
    --market-header-alt: #273549;
    --market-footer: #232f3e;
    --market-footer-dark: #131a22;
    --market-accent: #f4bf76;
    --market-accent-strong: #e7a54c;
    --market-accent-deep: #bf7f2c;
    --market-border: #d5d9d9;
    --market-border-strong: #b8c0c0;
    --market-shadow: 0 2px 10px rgba(15, 17, 17, 0.08);
    --market-shadow-hover: 0 8px 18px rgba(15, 17, 17, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.storefront-body {
    min-height: 100vh;
    background: var(--market-bg);
    color: var(--market-text);
    font-family: var(--font-sans);
    line-height: 1.45;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

.storefront-body h1,
.storefront-body h2,
.storefront-body h3,
.storefront-body h4,
.storefront-body h5,
.storefront-body h6,
.storefront-body .display-4,
.storefront-body .display-5,
.storefront-body .display-6 {
    color: var(--market-text);
    font-family: var(--font-sans);
    letter-spacing: -0.03em;
}

.storefront-body a {
    color: var(--market-link);
    transition: color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.storefront-body a:hover {
    color: var(--market-link-hover);
}

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

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1200;
    transform: translateY(-160%);
    background: #ffffff;
    border-radius: 999px;
    color: var(--market-text);
    padding: 0.8rem 1rem;
    text-decoration: none;
    box-shadow: var(--market-shadow-hover);
}

.skip-link:focus {
    transform: translateY(0);
}

.utility-bar {
    background: #10161f;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
}

.utility-bar-inner {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    min-height: 36px;
}

.utility-bar a,
.utility-bar span {
    color: inherit !important;
    text-decoration: none;
}

.utility-bar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-header {
    box-shadow: 0 2px 8px rgba(15, 17, 17, 0.18);
}

.header-main {
    background: var(--market-header);
}

.site-header-row {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    min-height: 72px;
}

.brand-mark {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    color: #ffffff !important;
    display: inline-flex;
    flex-shrink: 0;
    gap: 0.7rem;
    padding: 0.4rem 0.55rem;
    text-decoration: none;
}

.brand-mark:hover,
.header-location:hover,
.header-link:hover,
.cart-pill:hover,
.header-account-toggle:hover,
.header-mini-action:hover,
.mega-nav-link:hover,
.mega-nav-chip:hover {
    border-color: rgba(255, 255, 255, 0.88);
    color: #ffffff;
}

.brand-badge {
    align-items: center;
    background: linear-gradient(135deg, #1f7698, #2d9bc2);
    border-radius: 0.7rem;
    color: #ffffff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.brand-copy {
    display: grid;
    gap: 0.05rem;
}

.brand-text {
    color: #ffffff !important;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.brand-subtext {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-location,
.header-link,
.cart-pill,
.header-mini-action {
    border: 1px solid transparent;
    border-radius: 0.5rem;
    color: #ffffff !important;
    display: inline-flex;
    min-height: 48px;
    padding: 0.45rem 0.6rem;
    text-decoration: none;
}

.header-location {
    align-items: center;
    gap: 0.65rem;
    min-width: 120px;
}

.header-link {
    flex-direction: column;
    justify-content: center;
    min-width: 118px;
}

.header-link strong,
.header-location strong {
    color: #ffffff !important;
    font-size: 0.93rem;
    line-height: 1.1;
}

.header-link-mobile {
    display: none;
}

.header-link-top {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.76rem;
    line-height: 1.1;
}

.header-mini-action {
    align-items: center;
    background: transparent;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    justify-content: center;
    min-width: 82px;
}

.header-account-dropdown {
    flex: 0 0 auto;
    position: relative;
}

.header-account-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    color: #ffffff;
    display: inline-flex;
    gap: 0.7rem;
    min-height: 48px;
    padding: 0.35rem 0.55rem;
}

.header-account-toggle:hover,
.header-account-toggle:focus,
.header-account-toggle.show {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.header-account-toggle::after {
    display: none;
}

.header-account-avatar {
    align-items: center;
    background: linear-gradient(135deg, #f5d58d, #f0b95b);
    border-radius: 999px;
    color: #17314d;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 800;
    height: 40px;
    justify-content: center;
    overflow: hidden;
    width: 40px;
}

.header-account-avatar img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.header-account-avatar--large {
    height: 50px;
    width: 50px;
}

.header-account-copy {
    gap: 0.05rem;
    text-align: left;
}

.header-account-kicker {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.72rem;
    line-height: 1.1;
}

.header-account-copy strong,
.header-account-mobile-label {
    color: #ffffff;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.1;
}

.header-account-chevron {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8rem;
    transition: transform 0.18s ease;
}

.header-account-toggle.show .header-account-chevron {
    transform: rotate(180deg);
}

.header-account-menu.navbar-dropdown {
    background: #ffffff;
    border: 1px solid #dde6ef;
    border-radius: 1rem;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.16);
    margin-top: 0.7rem;
    min-width: 280px;
    padding: 0.6rem;
}

.header-account-menu .dropdown-item {
    align-items: center;
    border-radius: 0.85rem;
    color: #17314d;
    display: flex;
    font-size: 0.95rem;
    font-weight: 600;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
}

.header-account-menu .dropdown-item:hover,
.header-account-menu .dropdown-item:focus {
    background: #f5f8fb;
    color: #10263f;
}

.header-account-menu .dropdown-item.profile {
    background: linear-gradient(135deg, rgba(244, 191, 118, 0.18) 0%, rgba(244, 248, 252, 0.98) 100%);
    border: 1px solid #e0e8f0;
    cursor: default;
    gap: 0.85rem;
    margin-bottom: 0.35rem;
    padding: 0.8rem;
}

.header-account-menu .dropdown-item.profile:hover,
.header-account-menu .dropdown-item.profile:focus {
    background: linear-gradient(135deg, rgba(244, 191, 118, 0.18) 0%, rgba(244, 248, 252, 0.98) 100%);
    color: #17314d;
}

.header-account-menu .dropdown-item i {
    color: #6a7b8f;
    font-size: 1rem;
}

.header-account-menu form {
    margin: 0;
}

.header-account-menu button.dropdown-item {
    background: transparent;
    border: 0;
    width: 100%;
}

.avatars-w-50 {
    align-items: center;
    display: inline-flex;
    height: 50px;
    justify-content: center;
    width: 50px;
}

.avatars-w-50 img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.nav-profile-text {
    display: grid;
    gap: 0.1rem;
    min-width: 0;
}

.nav-profile-text p,
.nav-profile-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-shell {
    align-items: stretch;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 0.6rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    flex: 1 1 620px;
    margin-inline: 0.25rem;
    min-width: 200px;
    padding: 0;
    overflow: visible;
    position: relative;
}

.search-shell:focus-within {
    border-color: var(--market-accent);
    box-shadow: 0 0 0 1px rgba(244, 191, 118, 0.24);
}

.nav-left,
#nav-search-dropdown-card {
    display: flex;
    flex: 0 0 auto;
}

.nav-search-scope {
    background: #e6e6e6;
    border-right: 1px solid var(--market-border);
    border-radius: 0.6rem 0 0 0.6rem;
    display: inline-flex;
    overflow: hidden;
    position: relative;
}

.nav-search-scope:hover {
    background: #dcdcdc;
}

.nav-search-facade {
    align-items: center;
    color: #444;
    display: flex;
    gap: 0.45rem;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 0.85rem 0 0.95rem;
    pointer-events: none;
}

.nav-search-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    overflow: visible;
    text-align: left;
    white-space: nowrap;
}

.nav-icon {
    color: #666;
    font-size: 0.72rem;
}

.nav-search-dropdown {
    appearance: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    height: 100%;
    inset: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
}

.nav-search-dropdown:focus {
    outline: none;
}

.nav-fill,
.nav-search-field,
.nav-right,
.nav-search-submit,
.nav-search-submit-text {
    display: flex;
}

.nav-fill {
    min-width: 0;
}

.nav-search-field {
    flex: 1 1 auto;
    min-width: 0;
}

.search-category-pill {
    align-items: center;
    background: #e6e6e6;
    border-right: 1px solid var(--market-border);
    border-radius: 0.6rem 0 0 0.6rem;
    color: var(--market-text);
    color: #444;
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 600;
    justify-content: center;
    min-width: 64px;
    padding: 0 0.9rem;
}

.storefront-body .search-shell .form-control,
.storefront-body .search-shell .nav-input[type='text'] {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--market-text);
    font-size: 1rem;
    line-height: 1.4;
    min-width: 0;
    min-height: 52px;
    padding: 0 1rem;
    width: 100%;
}

.storefront-body .search-shell .form-control::placeholder {
    color: #666;
}

.storefront-body .search-shell .form-control:focus {
    background: #ffffff;
    box-shadow: none;
}

.btn-search {
    align-items: center;
    background: var(--market-accent);
    border: 0;
    border-radius: 0 0.6rem 0.6rem 0;
    color: var(--market-text);
    display: inline-flex;
    height: auto;
    justify-content: center;
    min-width: 58px;
    padding: 0;
    position: static;
}

.btn-search i {
    font-size: 1.08rem;
}

.btn-search:hover,
.btn-search:focus {
    background: var(--market-accent-strong);
    color: var(--market-text);
}

.header-actions {
    align-items: center;
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.cart-pill {
    align-items: center;
    gap: 0.55rem;
    position: relative;
}

.cart-pill i {
    font-size: 1.25rem;
}

.cart-count {
    align-items: center;
    background: var(--market-accent);
    border-radius: 999px;
    color: var(--market-text);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    height: 22px;
    justify-content: center;
    min-width: 22px;
    padding: 0 0.35rem;
}

.mega-nav {
    background: var(--market-header-alt);
}

.mega-nav-track {
    align-items: center;
    display: flex;
    gap: 0.4rem;
    min-height: 42px;
    overflow-x: auto;
    padding: 0.35rem 0;
    white-space: nowrap;
}

.mega-nav-track::-webkit-scrollbar {
    display: none;
}

.mega-nav-link,
.mega-nav-chip {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 0.4rem;
    color: #ffffff !important;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.45rem;
    padding: 0.45rem 0.65rem;
    text-decoration: none;
}

.mega-nav-chip {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
}

.search-suggestions {
    background: #ffffff;
    border: 1px solid var(--market-border-strong);
    border-radius: 0.75rem;
    left: 0;
    margin-top: 0.5rem !important;
    overflow: hidden;
    top: 100%;
    z-index: 50;
}

.search-suggestions .list-group-item {
    border: 0;
    border-bottom: 1px solid #f0f2f2;
    color: var(--market-text);
}

.search-suggestions .list-group-item:last-child {
    border-bottom: 0;
}

#main-content {
    padding-bottom: 2rem;
}

@media (min-width: 1400px) {
    .storefront-body .container {
        max-width: 1480px;
    }
}

.storefront-body .breadcrumb {
    align-items: center;
    background: transparent;
    margin-bottom: 0;
    padding: 0.2rem 0;
}

.storefront-body .breadcrumb-item,
.storefront-body .breadcrumb-item.active {
    color: var(--market-muted);
}

.storefront-body .breadcrumb-item+.breadcrumb-item::before {
    color: #7b8383;
}

.storefront-body .btn {
    /* border-radius: 999px; */
    font-weight: 700;
    min-height: 38px;
}

.storefront-body .btn-warning,
.storefront-body .ui-btn--primary {
    background: linear-gradient(180deg, #f7d48f 0%, var(--market-accent) 100%);
    border: 1px solid #d39a3a;
    box-shadow: none;
    color: var(--market-text);
}

.storefront-body .btn-warning:hover,
.storefront-body .btn-warning:focus,
.storefront-body .ui-btn--primary:hover,
.storefront-body .ui-btn--primary:focus-visible {
    background: linear-gradient(180deg, #f2ca7d 0%, var(--market-accent-strong) 100%);
    border-color: #c78d2f;
    color: var(--market-text);
    transform: none;
}

.storefront-body .btn-light,
.storefront-body .ui-btn--outline,
.storefront-body .ui-btn--secondary {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f7 100%);
    border: 1px solid #adb1b8;
    box-shadow: none;
    color: var(--market-text);
}

.storefront-body .btn-light:hover,
.storefront-body .btn-light:focus,
.storefront-body .ui-btn--outline:hover,
.storefront-body .ui-btn--secondary:hover {
    background: #f0f2f2;
    color: var(--market-text);
    transform: none;
}

.storefront-body .btn-dark,
.storefront-body .btn-outline-dark {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f7 100%);
    border: 1px solid #adb1b8;
    box-shadow: none;
    color: var(--market-text);
}

.storefront-body .btn-dark:hover,
.storefront-body .btn-dark:focus,
.storefront-body .btn-outline-dark:hover,
.storefront-body .btn-outline-dark:focus {
    background: #f0f2f2;
    border-color: #969a9f;
    color: var(--market-text);
}

.storefront-body .btn:disabled {
    opacity: 0.6;
}

.storefront-body .pagination {
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0;
}

.storefront-body .page-item {
    margin: 0;
}

.storefront-body .page-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d5dde5;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.06);
    color: #334155;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    justify-content: center;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0.62rem 0.9rem;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.storefront-body .page-link:hover,
.storefront-body .page-link:focus {
    background: #f8fafc;
    border-color: #b8c6d4;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
    color: #232f3e;
    transform: translateY(-1px);
}

.storefront-body .page-item.active .page-link {
    background: #232f3e;
    border-color: #232f3e;
    box-shadow: 0 12px 24px rgba(35, 47, 62, 0.22);
    color: #ffffff;
}

.storefront-body .page-item.active .page-link:hover,
.storefront-body .page-item.active .page-link:focus {
    background: #232f3e;
    border-color: #232f3e;
    color: #ffffff;
    transform: none;
}

.storefront-body .page-item.disabled .page-link {
    background: #f8fafc;
    border-color: #e2e8f0;
    box-shadow: none;
    color: #94a3b8;
    opacity: 1;
}

.storefront-body .ui-alert {
    border-radius: 12px;
}

.storefront-body .ui-surface,
.storefront-body .ui-card,
.storefront-body .ui-table-shell,
.storefront-body .card,
.storefront-body .marketplace-panel,
.storefront-body .marketplace-module,
.storefront-body .department-tile,
.storefront-body .seller-spotlight,
.storefront-body .newsletter-panel,
.storefront-body .product-card,
.storefront-body .page-hero-card,
.storefront-body .catalog-sidebar,
.storefront-body .catalog-toolbar,
.storefront-body .qa-card,
.storefront-body .review-preview-card,
.storefront-body .saved-cart-item,
.storefront-body .product-gallery-shell,
.storefront-body .product-summary-card,
.storefront-body .empty-state,
.storefront-body .page-hero-note {
    backdrop-filter: none;
    background: var(--market-surface);
    border: 1px solid var(--market-border) !important;
    border-radius: 12px !important;
    box-shadow: var(--market-shadow);
}

.marketplace-hero-section {
    padding-top: 1rem;
}

.marketplace-panel,
.marketplace-module {
    padding: 1.15rem;
}

.marketplace-module {
    padding: 1.25rem;
}

.hero-board {
    background:
        radial-gradient(circle at top right, rgba(244, 191, 118, 0.28), transparent 26rem),
        linear-gradient(135deg, #eef5f7 0%, #ddebf2 100%);
    display: grid;
    gap: 1.1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    min-height: 100%;
    overflow: hidden;
    padding: 1.35rem;
}

.hero-board-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.15rem;
}

.hero-board-copy h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 0.98;
    margin: 0.9rem 0 0.85rem;
    max-width: 11ch;
}

.hero-board-copy p {
    color: var(--market-muted);
    font-size: 1rem;
    margin-bottom: 1.1rem;
    max-width: 56ch;
}

.hero-service-strip {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.hero-service-strip span {
    align-items: center;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(15, 17, 17, 0.08);
    border-radius: 999px;
    color: var(--market-text);
    display: inline-flex;
    font-size: 0.85rem;
    font-weight: 700;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
}

.hero-service-strip i {
    color: var(--market-accent-deep);
}

.hero-visual-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
}

.hero-visual-card,
.hero-visual-fallback {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(15, 17, 17, 0.08);
    border-radius: 12px;
    color: var(--market-text);
    display: flex;
    flex-direction: column;
    min-height: 178px;
    overflow: hidden;
    text-decoration: none;
}

.hero-visual-card:hover {
    color: var(--market-text);
    transform: translateY(-1px);
}

.hero-visual-card img {
    background: #e1e4e9;
    flex: 1 1 auto;
    min-height: 0;
    object-fit: contain;
    /* padding: 1rem; */
}

.hero-visual-card span {
    border-top: 1px solid #eef2f2;
    color: var(--market-text);
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.75rem 0.9rem;
}

.hero-visual-fallback {
    align-items: center;
    background: linear-gradient(135deg, #162946 0%, #21395b 100%);
    color: #ffffff;
    justify-content: center;
    min-height: 100%;
    padding: 1.25rem;
}

.hero-visual-fallback-copy {
    display: grid;
    gap: 0.75rem;
}

.hero-visual-fallback-copy strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.hero-visual-fallback-copy span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-stat-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 17, 17, 0.08);
    border-radius: 12px;
    padding: 0.9rem 0.95rem;
}

.hero-stat-value {
    color: var(--market-text);
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.05;
}

.hero-stat-label {
    color: var(--market-muted);
    display: block;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.hero-side-stack {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.hero-quick-card h2 {
    font-size: 1.15rem;
    line-height: 1.2;
    margin: 0.8rem 0 0.6rem;
}

.hero-quick-card p {
    color: var(--market-muted);
    font-size: 0.92rem;
    margin-bottom: 0.9rem;
}

.hero-department-list {
    display: grid;
    gap: 0.4rem;
    margin-top: 1rem;
}

.hero-department-list a {
    align-items: flex-start;
    color: var(--market-text);
    display: flex;
    gap: 0.8rem;
    font-size: 0.92rem;
    justify-content: space-between;
    padding: 0.45rem 0;
    text-decoration: none;
}

.hero-department-list small {
    color: var(--market-muted);
    font-size: 0.78rem;
}

.marketplace-promo-card {
    height: 100%;
    padding: 1.15rem;
}

.eyebrow {
    color: var(--market-link-hover);
    display: inline-block;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

.section-link {
    color: var(--market-link);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

.department-tile {
    color: var(--market-text);
    display: block;
    height: 100%;
    padding: 1rem 1.05rem;
    text-decoration: none;
}

.department-tile:hover,
.product-card:hover,
.seller-row:hover {
    box-shadow: var(--market-shadow-hover);
    transform: translateY(-1px);
}

.department-kicker {
    align-items: center;
    background: #f2f3f3;
    border-radius: 0.8rem;
    color: var(--market-link);
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.product-card-media {
    background: #ffffff;
    border-bottom: 1px solid #f2f4f5;
    padding: 0;
}

.product-card-image {
    aspect-ratio: 5 / 4;
    background: #e1e4e9;
    object-fit: contain;
}

.product-card-badges {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    top: 10px;
    left: 10px;

}

.storefront-body .badge {
    border-radius: 999px;
    font-weight: 700;
}

.badge-accent {
    background: rgba(199, 81, 31, 0.1);
    color: var(--market-link-hover);
}

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

.product-card-label {
    letter-spacing: 0.08em;
}

.product-card-title {
    color: var(--market-text);
    display: block;
    font-size: 1rem;
    line-height: 1.35;
    /* min-height: 2.6rem; */
}

.product-card-title:hover {
    color: var(--market-link-hover);
}

.product-card-copy {
    min-height: 2.5rem;
}

.product-card-meta {
    display: grid;
    gap: 0.3rem;
}

.product-card-rating {
    color: #c28818;
}

.product-card-price {
    font-size: 1.28rem;
    line-height: 1;
}

.product-card-price-block {
    min-width: 0;
}

.product-card-actions {
    min-width: 120px;
}

.product-card-actions .btn {
    min-width: 110px;
}

.product-add-button {
    border-color: #d39a3a;
}

.product-card--compact .product-card-media {
    padding: 0.8rem 0.8rem 0.65rem;
}

.product-card--compact .product-card-image {
    aspect-ratio: 4 / 3;
}

.product-card--compact .product-card-badges {
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.product-card--compact .card-body {
    padding: 0.85rem;
}

.product-card--compact .product-card-label {
    font-size: 0.72rem;
}

.product-card--compact .product-card-title {
    font-size: 0.95rem;
    line-height: 1.3;
    min-height: 0;
}

.product-card--compact .product-card-meta {
    gap: 0.2rem;
    margin-bottom: 0.75rem !important;
}

.product-card--compact .product-card-footer {
    align-items: stretch !important;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card--compact .product-card-price {
    font-size: 1.15rem;
}

.product-card--compact .product-card-actions {
    flex-direction: row !important;
    gap: 0.55rem !important;
    min-width: 0;
    width: 100%;
}

.product-card--compact .product-card-actions>* {
    flex: 1 1 0;
}

.product-card--compact .product-card-actions .btn,
.product-card--compact .product-card-actions form,
.product-card--compact .product-card-actions form .btn {
    min-width: 0;
    width: 100%;
}

.newsletter-panel,
.seller-spotlight {
    height: 100%;
}

.seller-row {
    align-items: center;
    border-top: 1px solid #eef2f2;
    color: var(--market-text);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 0;
    text-decoration: none;
}

.seller-row:first-of-type {
    border-top: 0;
}

.seller-score {
    align-items: center;
    background: #f0f8fb;
    border-radius: 999px;
    color: var(--market-link);
    display: inline-flex;
    font-size: 0.84rem;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    min-width: 34px;
    padding: 0 0.7rem;
}

.catalog-sidebar {
    display: grid;
    gap: 1.2rem;
}

.catalog-sidebar__header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.catalog-sidebar__header h2 {
    color: #122033;
    font-size: 1.75rem;
    line-height: 1.02;
}

.catalog-filter-reset {
    align-items: center;
    background: #fff4df;
    border: 1px solid #f0d4a2;
    border-radius: 999px;
    color: #274e76;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    min-height: 2.2rem;
    padding: 0 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
}

.catalog-filter-reset:hover {
    background: #ffedca;
    color: #17395d;
}

.catalog-filter-summary {
    background:
        linear-gradient(135deg, rgba(244, 191, 118, 0.18) 0%, rgba(232, 243, 248, 0.92) 100%);
    border: 1px solid rgba(217, 227, 237, 0.9);
    border-radius: 1.1rem;
    display: grid;
    gap: 0.28rem;
    padding: 1rem;
}

.catalog-filter-summary__eyebrow {
    color: #5d6f83;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.catalog-filter-summary strong {
    color: #132238;
    font-size: 1rem;
    font-weight: 800;
}

.catalog-filter-summary p {
    color: #5e7084;
    font-size: 0.9rem;
    margin: 0;
}

.catalog-filter-section {
    display: grid;
    gap: 0.9rem;
}

.catalog-filter-section__head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.catalog-filter-section__head h3 {
    color: #132238;
    font-size: 0.98rem;
    font-weight: 800;
    margin: 0;
}

.catalog-filter-section__head span {
    color: #6d7d90;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.catalog-filter-list {
    display: grid;
    gap: 0.75rem;
}

.catalog-category-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde5ee;
    border-radius: 1rem;
    color: var(--market-text);
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.catalog-category-link__body {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}

.catalog-category-link__title {
    color: #18304e;
    font-size: 1rem;
    font-weight: 700;
}

.catalog-category-link__meta {
    color: #68788a;
    font-size: 0.84rem;
}

.catalog-category-link__badge {
    align-items: center;
    background: #f1f7fb;
    border: 1px solid #d7e7f2;
    border-radius: 999px;
    color: #25527a;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 800;
    justify-content: center;
    min-width: 2.55rem;
    padding: 0.32rem 0.72rem;
}

.catalog-category-link:hover {
    background: #fbfdff;
    border-color: #c9d7e5;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    color: var(--market-text);
    transform: translateY(-1px);
}

.catalog-category-link.is-active {
    background: linear-gradient(135deg, rgba(244, 191, 118, 0.18) 0%, rgba(250, 252, 255, 1) 100%);
    border-color: #e6c18c;
    box-shadow: 0 14px 26px rgba(244, 191, 118, 0.12);
    color: var(--market-text);
}

.catalog-category-link.is-active .catalog-category-link__title {
    color: #0f2740;
}

.catalog-category-link.is-active .catalog-category-link__badge {
    background: #ffffff;
    border-color: #eed0a0;
    color: #17395d;
}

.storefront-body .ui-filter-card,
.storefront-body .ui-toolbar {
    border-radius: 18px;
    padding: 1.35rem;
}

.storefront-body .ui-toolbar {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.catalog-sort-form {
    display: grid;
    gap: 0.45rem;
    min-width: min(100%, 260px);
}

.catalog-sort-form__label {
    color: #6a7887;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase;
}

.catalog-sort-shell {
    position: relative;
}

.catalog-sort-shell::after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #66788d;
    content: "";
    pointer-events: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-25%);
}

.catalog-sort-select {
    appearance: none;
    background: #ffffff;
    border: 1px solid #d7e1eb;
    border-radius: 0.95rem;
    box-shadow: none;
    color: #17263b;
    font-size: 0.96rem;
    font-weight: 700;
    min-height: 3.2rem;
    padding: 0.85rem 2.8rem 0.85rem 1rem;
    width: 100%;
}

.catalog-sort-select:focus {
    border-color: var(--market-accent-strong);
    box-shadow: 0 0 0 0.2rem rgba(244, 191, 118, 0.22);
    outline: 0;
}

.storefront-body .ui-section-head__title {
    font-size: 1.55rem;
}

.storefront-body .ui-section-head__subtitle {
    color: var(--market-muted);
}

.storefront-body .ui-empty-state {
    border-radius: 12px;
    padding: 2rem 1.5rem;
}

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

.page-hero-card {
    padding: 1.15rem 1.25rem;
}

.page-hero-title {
    font-size: clamp(1.6rem, 2vw, 2.2rem);
    margin-bottom: 0.35rem;
}

.page-hero-note {
    background: var(--market-surface-alt);
    border-radius: 10px;
    padding: 0.9rem 1rem;
}

.info-page-intro {
    overflow: hidden;
}

.info-highlight-list {
    display: grid;
    gap: 0.8rem;
}

.info-highlight-chip {
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(244, 191, 118, 0.14) 0%, rgba(238, 245, 249, 0.95) 100%);
    border: 1px solid #dde7f0;
    border-radius: 1rem;
    color: #264b70;
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.info-highlight-chip i {
    color: var(--market-accent-strong);
    font-size: 1rem;
    margin-top: 0.08rem;
}

.info-highlight-chip span {
    color: #35516e;
    display: block;
    line-height: 1.6;
}

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

.info-panel {
    height: 100%;
}

.info-article {
    display: block;
}

.info-content-section + .info-content-section {
    border-top: 1px solid #e6edf3;
    margin-top: 1.8rem;
    padding-top: 1.8rem;
}

.info-content-section h2 {
    color: #15253a;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.9rem;
}

.info-content-section p {
    color: #556476;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.info-content-section p:last-child {
    margin-bottom: 0;
}

.info-bullet-list {
    color: #556476;
    display: grid;
    gap: 0.7rem;
    line-height: 1.7;
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.info-bullet-list li::marker {
    color: #cc8a2f;
}

.info-fact-list {
    display: grid;
    gap: 0.95rem;
}

.info-fact-row {
    border-top: 1px solid #edf2f7;
    display: grid;
    gap: 0.25rem;
    padding-top: 0.95rem;
}

.info-fact-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.info-fact-row__label {
    color: #6a798a;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.info-fact-row__value {
    color: #1a2f49;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
}

.info-side-title {
    color: #15253a;
    font-size: 1.15rem;
    font-weight: 800;
}

.info-side-copy {
    color: #5d6c7f;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.info-related-list {
    display: grid;
    gap: 0.75rem;
}

.info-related-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde5ee;
    border-radius: 1rem;
    color: #1b3450;
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.info-related-link:hover {
    border-color: #c8d7e5;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    color: #14314f;
    transform: translateY(-1px);
}

.info-related-link i {
    color: #6d7f92;
    font-size: 1.1rem;
}

.support-highlight-list {
    display: grid;
    gap: 0.8rem;
}

.support-highlight-chip {
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(244, 191, 118, 0.14) 0%, rgba(238, 245, 249, 0.95) 100%);
    border: 1px solid #dde7f0;
    border-radius: 1rem;
    color: #264b70;
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
}

.support-highlight-chip i {
    color: var(--market-accent-strong);
    font-size: 1rem;
    margin-top: 0.08rem;
}

.support-highlight-chip span {
    color: #35516e;
    display: block;
    line-height: 1.6;
}

.support-faq-stack,
.support-side-stack,
.support-channel-grid {
    display: grid;
    gap: 1rem;
}

.support-panel,
.support-faq-panel,
.support-form-panel,
.support-channel-card {
    height: 100%;
}

.support-faq-panel__head h2,
.support-form-panel__head h2,
.support-channel-card h3 {
    color: #15253a;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.8rem 0 0.45rem;
}

.support-form-panel__head p,
.support-channel-card p {
    color: #5d6c7f;
    line-height: 1.75;
    margin-bottom: 0;
}

.support-accordion {
    margin-top: 1.5rem;
}

.support-accordion-item {
    background: #ffffff;
    border: 1px solid #dde7f0 !important;
    border-radius: 1rem !important;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.support-accordion-item .accordion-button {
    background: #ffffff;
    box-shadow: none !important;
    color: #17314d;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 1.1rem;
}

.support-accordion-item .accordion-button:not(.collapsed) {
    background: #f9fbfd;
    color: #0f2740;
}

.support-accordion-item .accordion-button::after {
    transform: scale(0.85);
}

.support-accordion-item .accordion-body {
    color: #5b6b7f;
    line-height: 1.8;
    padding: 0 1.1rem 1.1rem;
}

.support-tip-list {
    color: #556476;
    display: grid;
    gap: 0.75rem;
    line-height: 1.75;
    margin-bottom: 0;
    padding-left: 1.15rem;
}

.support-tip-list li::marker {
    color: #cc8a2f;
}

.support-related-list {
    display: grid;
    gap: 0.75rem;
}

.support-related-link {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dde5ee;
    border-radius: 1rem;
    color: #1b3450;
    display: flex;
    font-weight: 700;
    gap: 0.75rem;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.support-related-link:hover {
    border-color: #c8d7e5;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    color: #14314f;
    transform: translateY(-1px);
}

.support-related-link i {
    color: #6d7f92;
    font-size: 1.1rem;
}

.tracking-form-panel__head h2,
.tracking-result-panel__head h2,
.tracking-items-panel__head h2 {
    color: #15253a;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0.8rem 0 0.45rem;
}

.tracking-form-panel__head p,
.tracking-result-panel__head p {
    color: #5d6c7f;
    line-height: 1.75;
    margin-bottom: 1.4rem;
}

.tracking-result-panel__head {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.4rem;
}

.tracking-summary-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

.tracking-summary-card {
    background: linear-gradient(135deg, rgba(244, 191, 118, 0.11) 0%, rgba(246, 250, 252, 0.95) 100%);
    border: 1px solid #dde7f0;
    border-radius: 1rem;
    padding: 1rem;
}

.tracking-summary-card__label {
    color: #6a798a;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.tracking-summary-card__value {
    color: #17314d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
}

.tracking-timeline {
    border-left: 1px solid #d9e4ee;
    display: grid;
    gap: 1.15rem;
    margin-left: 0.6rem;
    padding-left: 1.5rem;
}

.tracking-timeline__item {
    position: relative;
}

.tracking-timeline__dot {
    background: linear-gradient(180deg, #f6c56d 0%, #eaa741 100%);
    border: 3px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 0 0 1px #d9e4ee;
    height: 0.95rem;
    left: -2rem;
    position: absolute;
    top: 0.25rem;
    width: 0.95rem;
}

.tracking-timeline__title {
    color: #17314d;
    font-size: 1rem;
    font-weight: 700;
}

.tracking-timeline__time {
    color: #617185;
    font-size: 0.92rem;
    margin-top: 0.22rem;
}

.tracking-empty-note {
    color: #5d6c7f;
    line-height: 1.75;
}

.tracking-item-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.tracking-item-row {
    align-items: center;
    border: 1px solid #dde7f0;
    border-radius: 1rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    padding: 0.95rem;
}

.tracking-item-row__media {
    aspect-ratio: 1;
    background: #f6f9fb;
    border-radius: 0.9rem;
    overflow: hidden;
}

.tracking-item-row__media img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.tracking-item-row__title {
    color: #17314d;
    font-size: 1rem;
    font-weight: 700;
}

.tracking-item-row__meta {
    color: #647386;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-top: 0.2rem;
}

.tracking-item-row__price {
    color: #17314d;
    font-size: 1rem;
    font-weight: 800;
    text-align: right;
}

.product-detail-layout>[class*='col-'] {
    min-width: 0;
}

.product-detail-media,
.product-detail-sidebar {
    align-self: flex-start;
}

.product-gallery-shell,
.product-summary-card {
    border-radius: 14px !important;
    overflow: hidden;
    width: 100%;
}

.product-gallery-stage {
    align-items: center;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at top right, rgba(244, 191, 118, 0.16), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
    display: flex;
    justify-content: center;
    min-height: clamp(320px, 48vw, 720px);
    padding: clamp(1rem, 2vw, 2.5rem);
    position: relative;
}

.product-gallery-image {
    display: block;
    height: 100%;
    margin: 0 auto;
    max-height: min(620px, 70vh);
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.product-summary-header {
    align-items: flex-start;
    gap: 1.25rem;
}

.product-summary-heading {
    flex: 1 1 auto;
    min-width: 0;
}

.product-summary-title {
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.98;
    margin: 0;
    max-width: 10ch;
    overflow-wrap: anywhere;
}

.product-action-group {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    justify-content: flex-end;
}

.product-icon-action {
    align-items: center;
    display: inline-flex;
    flex-shrink: 0;
    height: 42px;
    justify-content: center;
    min-height: 42px;
    padding: 0;
    width: 42px;
}

.product-icon-action i {
    font-size: 1rem;
    line-height: 1;
}

.gallery-control {
    background: #ffffff;
    border: 1px solid var(--market-border);
    border-radius: 999px;
    color: var(--market-text);
    height: 42px;
    width: 42px;
}

.gallery-control:hover {
    background: #f7f8f8;
}

.product-thumb-strip {
    scrollbar-width: none;
}

.product-thumb-strip::-webkit-scrollbar {
    display: none;
}

.thumbnail-trigger img {
    background: #ffffff;
    border-color: transparent !important;
    object-fit: contain;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.thumbnail-trigger.is-active img,
.thumbnail-trigger:hover img {
    border-color: var(--market-accent-strong) !important;
    box-shadow: 0 0 0 2px rgba(231, 165, 76, 0.18);
    transform: translateY(-1px);
}

.product-summary-copy {
    color: var(--market-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.product-summary-meta {
    row-gap: 0.8rem;
}

.product-summary-meta > * {
    min-width: 0;
}

.product-summary-meta .btn {
    white-space: nowrap;
}

.price-cluster {
    border-bottom: 1px solid #eef2f2;
    padding-bottom: 1rem;
}

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

.product-signal {
    background: #f9fbfb;
    border: 1px solid #edf1f1;
    border-radius: 10px;
    padding: 0.9rem;
}

.selector-chip {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--market-border);
    border-radius: 999px;
    color: var(--market-text);
    display: inline-flex;
    font-weight: 700;
    gap: 0.6rem;
    padding: 0.7rem 0.95rem;
}

.selector-chip.is-active {
    background: #fff7ea;
    border-color: #d39a3a;
    box-shadow: 0 0 0 2px rgba(244, 191, 118, 0.14);
}

.selector-dot {
    background: linear-gradient(135deg, var(--market-accent), #ff9157);
    border-radius: 999px;
    height: 0.65rem;
    width: 0.65rem;
}

.marketplace-sticky-buybox {
    top: 156px;
    z-index: 1000;
}

.qa-card,
.review-preview-card,
.saved-cart-item {
    padding: 1rem 1.05rem;
}

.qa-answer {
    background: #f9fbfb;
    border: 1px solid #edf1f1;
    border-radius: 10px;
    margin-top: 0.9rem;
    padding: 0.85rem 0.95rem;
}

.qa-empty-state,
.review-empty-state {
    background: #f9fbfb;
    border: 1px dashed #c8d1d1;
    border-radius: 12px;
    padding: 1rem;
}

.qa-empty-title,
.review-empty-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.question-login-prompt {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.product-share-menu {
    border-radius: 12px !important;
}

.saved-cart-image {
    border: 1px solid #edf1f1;
    border-radius: 10px;
    height: 72px;
    object-fit: contain;
    width: 72px;
}

.saved-cart-item {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.product-purchase-row > [class*='col-'] {
    min-width: 0;
}

.site-footer {
    margin-top: 2.5rem;
}

.back-to-top-button {
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f5 100%);
    border: 1px solid var(--market-border-strong);
    border-radius: 999px;
    bottom: 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 17, 17, 0.16);
    color: var(--market-text);
    display: inline-flex;
    font-size: 1rem;
    height: 48px;
    justify-content: center;
    position: fixed;
    right: 1.5rem;
    text-decoration: none;
    width: 48px;
    z-index: 1040;
}

.back-to-top-button:hover,
.back-to-top-button:focus {
    background: linear-gradient(180deg, #fdf2db 0%, #f3d08b 100%);
    border-color: #d39a3a;
    color: var(--market-text);
}

.back-to-top-button i {
    line-height: 1;
}

.footer-main {
    background: var(--market-footer);
    color: #ffffff;
    padding: 2rem 0 1rem;
}

.site-footer .footer-brand .brand-text,
.site-footer .footer-brand .brand-subtext {
    color: #ffffff;
}

.site-footer .footer-copy {
    color: rgba(255, 255, 255, 0.76);
    margin-bottom: 1rem;
    max-width: 44ch;
}

.footer-brand-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.site-footer .footer-brand-strip span {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.45rem 0.75rem;
}

.site-footer .footer-heading,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.55rem;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.85rem;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links a {
    margin-bottom: 0;
}

.auth-shell {
    padding-top: 1rem;
    --auth-panel-start: #1b2737;
    --auth-panel-end: #314760;
    --auth-panel-sheen: rgba(244, 191, 118, 0.18);
    --auth-panel-text: #ffffff;
    --auth-panel-muted: rgba(255, 255, 255, 0.78);
    --auth-panel-border: rgba(255, 255, 255, 0.12);
    --auth-card-border: #d9dde3;
    --auth-main-bg: #fffdfa;
    --auth-main-muted: #5d6775;
}

.auth-shell .ui-auth-card {
    background: #ffffff;
    border-color: var(--auth-card-border);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}

.auth-shell--recovery .ui-auth-card {
    max-width: 980px;
}

.auth-shell .ui-auth-aside {
    background:
        radial-gradient(circle at top right, var(--auth-panel-sheen), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(160deg, var(--auth-panel-start) 0%, var(--auth-panel-end) 100%);
    color: var(--auth-panel-text);
}

.auth-shell .ui-auth-aside .display-6,
.auth-shell .ui-auth-aside h1,
.auth-shell .ui-auth-aside h2,
.auth-shell .ui-auth-aside h3 {
    color: var(--auth-panel-text);
    line-height: 1.08;
}

.auth-shell .auth-aside-copy {
    color: var(--auth-panel-muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 32rem;
}

.auth-shell .ui-auth-aside .ui-badge--secondary {
    background: rgba(244, 191, 118, 0.16);
    border-color: rgba(244, 191, 118, 0.28);
    color: #fff7eb;
}

.auth-shell .ui-auth-benefits {
    gap: 0.8rem;
}

.auth-shell .ui-auth-benefit {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--auth-panel-border);
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.94);
    padding: 0.85rem 1rem;
}

.auth-shell .ui-auth-benefit i {
    color: var(--market-accent);
    font-size: 1rem;
}

.auth-shell .ui-auth-main {
    background: linear-gradient(180deg, #ffffff 0%, var(--auth-main-bg) 100%);
}

.auth-shell .ui-auth-masthead h2 {
    color: #162132;
}

.auth-shell .ui-auth-masthead p,
.auth-shell .ui-auth-footer,
.auth-shell .form-check-label {
    color: var(--auth-main-muted);
}

.auth-shell .ui-field-control {
    border-color: #d6dde6;
    min-height: 54px;
}

.auth-shell .ui-field-control::placeholder {
    color: #708198;
}

.auth-shell .ui-field-control:focus {
    border-color: var(--market-accent-strong);
    box-shadow: 0 0 0 0.2rem rgba(244, 191, 118, 0.22);
}

.auth-shell .form-check-input {
    border-color: #c7d0dc;
}

.auth-shell .form-check-input:checked {
    background-color: var(--market-accent-strong);
    border-color: var(--market-accent-strong);
}

.auth-shell .ui-btn--primary {
    background: linear-gradient(180deg, #f8cb82 0%, #efb55a 100%);
    border-color: #d89a35;
    box-shadow: none;
    color: #18212f;
}

.auth-shell .ui-btn--primary:hover,
.auth-shell .ui-btn--primary:focus-visible {
    background: linear-gradient(180deg, #f4bf76 0%, #e7a54c 100%);
    box-shadow: 0 14px 28px rgba(231, 165, 76, 0.22);
    color: #18212f;
}

.auth-shell .ui-inline-link {
    color: #2162a1;
}

.auth-shell .ui-inline-link:hover {
    color: #c7511f;
}

.auth-shell .ui-auth-main .ui-alert--danger {
    background: #fff4f4;
    border-color: #f3c9c9;
}

.seller-auth-shell {
    --auth-panel-start: #162235;
    --auth-panel-end: #27415e;
    --auth-panel-sheen: rgba(244, 191, 118, 0.16);
    --auth-card-border: #d7dee8;
    --auth-main-bg: #fdfaf5;
    --auth-main-muted: #5c6878;
}

.seller-auth-shell .ui-auth-card {
    max-width: 1180px;
}

.seller-auth-shell--compact .ui-auth-card {
    max-width: 980px;
}

.seller-auth-shell .ui-auth-main {
    background:
        radial-gradient(circle at top right, rgba(244, 191, 118, 0.1), transparent 22rem),
        linear-gradient(180deg, #ffffff 0%, var(--auth-main-bg) 100%);
}

.seller-auth-shell .ui-auth-benefit {
    align-items: flex-start;
}

.seller-auth-meta {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    margin-top: 1.5rem;
    padding: 1rem 1.05rem;
}

.seller-auth-meta__label {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.seller-auth-meta p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
}

.seller-auth-topbar {
    align-items: flex-start;
}

.seller-stepper {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 1.5rem 0 2rem;
}

.seller-step {
    align-content: start;
    background: #f7f9fb;
    border: 1px solid #dbe3ec;
    border-radius: 1rem;
    display: grid;
    gap: 0.35rem;
    min-height: 96px;
    padding: 0.95rem 0.85rem;
}

.seller-step__number {
    align-items: center;
    background: #ffffff;
    border: 1px solid #cad4e0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 0.92rem;
    font-weight: 800;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.seller-step__label {
    color: #162132;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.2;
}

.seller-step__copy {
    color: #6b7787;
    font-size: 0.76rem;
    line-height: 1.35;
}

.seller-step.is-active {
    background: #fff7ea;
    border-color: #f0c37f;
    box-shadow: 0 12px 26px rgba(231, 165, 76, 0.14);
}

.seller-step.is-active .seller-step__number {
    background: #18212f;
    border-color: #18212f;
    color: #ffffff;
}

.seller-step.is-complete {
    background: #f4f8f2;
    border-color: #d2e2d0;
}

.seller-step.is-complete .seller-step__number {
    background: #295c3b;
    border-color: #295c3b;
    color: #ffffff;
}

.seller-step.is-complete .seller-step__label {
    color: #173d27;
}

.seller-form-step {
    display: none;
}

.seller-form-step.is-active {
    display: block;
}

.seller-auth-shell .ui-field-control[type='file'] {
    padding: 0.85rem 1rem;
}

.seller-auth-shell .ui-field-control[type='file']::file-selector-button {
    background: #f8ebd6;
    border: 1px solid #e4c695;
    border-radius: 999px;
    color: #4f3b20;
    cursor: pointer;
    font-weight: 700;
    margin-right: 0.8rem;
    padding: 0.5rem 0.85rem;
}

.seller-auth-shell textarea.ui-field-control {
    min-height: 118px;
    resize: vertical;
}

.seller-auth-agreement {
    background: #fbfcfe;
    border: 1px solid #dbe3ec;
    border-radius: 1rem;
    padding: 1rem 1.1rem;
}

.seller-auth-actions {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-top: 1.5rem;
}

.seller-auth-actions-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 991.98px) {
    .auth-shell .ui-auth-benefit {
        padding: 0.8rem 0.9rem;
    }

    .auth-shell .auth-aside-copy {
        max-width: none;
    }

    .seller-auth-topbar,
    .seller-auth-actions {
        flex-direction: column;
    }

    .seller-auth-actions {
        align-items: stretch;
    }

    .seller-auth-actions-main {
        width: 100%;
    }

    .seller-auth-actions .ui-btn,
    .seller-auth-topbar .ui-btn {
        width: 100%;
    }
}

@media (max-width: 1199.98px) {
    .seller-stepper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-header-row {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0.7rem 0;
    }

    .search-shell {
        flex: 1 1 100%;
        margin-inline: 0;
        order: 3;
    }

    .header-actions {
        margin-left: 0;
    }

    .hero-board {
        grid-template-columns: 1fr;
    }

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

    .product-gallery-stage {
        min-height: 420px;
    }
}

@media (max-width: 991.98px) {

    .utility-bar-inner,
    .footer-bottom,
    .section-heading,
    .storefront-body .ui-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .utility-bar {
        display: none;
    }

    .header-actions {
        gap: 0.4rem;
        width: 100%;
    }

    .header-link,
    .header-account-dropdown {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
    }

    .cart-pill {
        flex: 1 1 calc(50% - 0.4rem);
        justify-content: center;
    }

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

    .marketplace-sticky-buybox {
        top: 0;
    }

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

    .site-header .nav-left {
        display: none !important;
    }

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

    .brand-subtext,
    .header-link-top,
    .header-link-desktop {
        display: none !important;
    }

    .header-link-mobile {
        display: block;
    }

    .header-link {
        min-width: 0;
    }

    .header-account-toggle {
        justify-content: center;
        width: 100%;
    }

    .header-account-menu.navbar-dropdown {
        min-width: 250px;
    }

    .search-shell .form-control {
        font-size: 0.95rem;
        padding: 0 0.9rem;
    }

    .btn-search {
        min-width: 54px;
    }

    .auth-shell .ui-auth-main,
    .seller-auth-shell .ui-auth-main {
        order: 1;
    }

    .auth-shell .ui-auth-aside,
    .seller-auth-shell .ui-auth-aside {
        order: 2;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .site-header-row {
        align-items: center;
    }

    .header-actions {
        margin-left: auto;
        width: auto;
    }

    .header-link,
    .header-account-dropdown,
    .cart-pill {
        flex: 0 0 auto;
    }

    .cart-pill {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .seller-stepper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seller-step {
        min-height: 0;
    }
}

.site-header {
    z-index: 1035;
}

@media (max-width: 767.98px) {
    .utility-bar {
        display: none;
    }

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

    .brand-mark {
        padding-left: 0;
    }

    .brand-text {
        font-size: 1.05rem;
    }

    .site-header-row {
        min-height: auto;
    }

    .search-shell .form-control {
        min-height: 46px;
    }

    .header-link {
        flex-basis: calc(50% - 0.3rem);
        min-height: 42px;
        padding: 0.5rem 0.55rem;
    }

    .cart-pill {
        flex-basis: 100%;
        justify-content: center;
    }

    .mega-nav-link,
    .mega-nav-chip {
        font-size: 0.84rem;
    }

    .hero-board,
    .marketplace-panel,
    .marketplace-module {
        padding: 1rem;
    }

    .hero-board-copy h1 {
        font-size: 2rem;
        max-width: none;
    }

    .hero-board-copy p {
        font-size: 0.94rem;
    }

    .hero-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-summary-header {
        flex-direction: column;
        gap: 1rem;
    }

    .product-summary-title {
        font-size: clamp(1.95rem, 6vw, 2.8rem);
        max-width: none;
    }

    .product-action-group {
        align-self: flex-end;
        justify-content: flex-end;
        width: 100%;
    }

    .catalog-sort-form,
    .hero-cta-row {
        width: 100%;
    }

    .storefront-body .ui-toolbar {
        align-items: stretch;
    }

    .catalog-sidebar__header {
        flex-direction: column;
    }

    .catalog-filter-reset {
        align-self: flex-start;
    }

    .tracking-result-panel__head {
        flex-direction: column;
    }

    .tracking-summary-grid {
        grid-template-columns: 1fr;
    }

    .tracking-item-row {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .tracking-item-row__price {
        grid-column: 2;
        text-align: left;
    }

    .hero-cta-row .btn {
        width: 100%;
    }

    .product-card-actions {
        min-width: 0;
        width: 100%;
    }

    .product-card-footer {
        align-items: stretch !important;
        flex-direction: column;
    }

    .product-card-price-block {
        width: 100%;
    }

    .product-card-actions .btn,
    .product-card-actions form,
    .product-card-actions form .btn {
        width: 100%;
    }

    .saved-cart-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .question-login-prompt {
        align-items: stretch;
        flex-direction: column;
    }

    .product-summary-card {
        padding: 1.5rem !important;
    }

    .back-to-top-button {
        bottom: 1rem;
        height: 44px;
        right: 1rem;
        width: 44px;
    }
}

@media (max-width: 575.98px) {
    .product-detail-layout,
    .product-detail-secondary {
        --bs-gutter-x: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .product-detail-layout > [class*='col-'],
    .product-detail-secondary > [class*='col-'] {
        padding-left: 0;
        padding-right: 0;
    }

    .product-gallery-stage {
        aspect-ratio: auto;
        min-height: 290px;
        padding: 0.85rem;
    }

    .product-gallery-image {
        max-height: 420px;
    }

    .product-summary-title {
        font-size: clamp(1.8rem, 9vw, 2.35rem);
        line-height: 1.02;
    }

    .product-action-group {
        gap: 0.5rem;
    }

    .product-icon-action,
    .gallery-control {
        height: 38px;
        min-height: 38px;
        width: 38px;
    }
}
