﻿/* ============================================================
   MARKET THEME — home.css
   Amazon-style enterprise marketplace layout
   Covers: shell, navbar, secondary nav, banner, category grid,
           deals row, footer, and all spod-home-* overrides.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ==============================================================
   1. GLOBAL SHELL
   ============================================================== */

.spod-home-shell {
    background: #eaeded;
    font-family: 'Inter', sans-serif;
    scrollbar-width: thin;
    scrollbar-color: #aaa #eaeded;
}

.spod-home-backdrop {
    display: none;
}

/* ==============================================================
   2. CONTAINER — flush, no extra padding
   ============================================================== */

.spod-home-container {
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.spod-home-container--with-banner { padding-top: 0; }
.spod-home-container--flush-end { padding-bottom: 0; }

/* The inner grid that holds all sections */
.spod-home-grid {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;   /* sits above the banner */
}

/* ==============================================================
   3. BASE CARD — white card with thin border
   ============================================================== */

.spod-home-card,
.spod-home-hero__copy,
.spod-home-panel-card {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
    border-radius: 2px;
}

/* ==============================================================
   4. NAVBAR — dark Amazon style (#131921)
   ============================================================== */

.spod-public-navbar {
    background: #131921;
    border-bottom: none;
    color: #ffffff;
}

html.spod-market-menu-open,
body.spod-market-menu-open {
    overflow: hidden;
}

.spod-public-navbar__shell {
    max-width: none;
    padding: 0 12px;
    min-height: 3.5rem;
    display: grid;
    grid-template-columns: minmax(180px, auto) minmax(360px, 1fr) auto;
    align-items: center;
    gap: 12px;
    border-radius: 0;
}

.spod-public-navbar__brand-slot,
.spod-public-navbar__center-slot,
.spod-public-navbar__actions-slot {
    display: flex;
    align-items: center;
    min-width: 0;
}

.spod-public-navbar__brand-slot {
    justify-content: flex-start;
}

.spod-public-navbar__center-slot {
    justify-content: stretch;
    width: 100%;
    gap: 10px;
}

.spod-public-navbar__actions-slot {
    justify-content: flex-end;
}

.spod-public-navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
    min-width: max-content;
}

/* Brand */
.spod-public-navbar__brand-mark {
    background: transparent;
    color: #ffffff;
}

.spod-public-navbar__brand-copy p {
    color: #ffffff;
    white-space: nowrap;
}

.spod-public-navbar__brand-copy {
    min-width: 0;
}

.spod-public-navbar__brand {
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 6px 8px;
    transition: border-color 0.1s;
    min-width: 0;
}

.spod-public-navbar__brand:hover {
    border-color: #ffffff;
}

.spod-public-navbar__market-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}

.spod-public-navbar__market-menu-trigger:hover,
.spod-public-navbar__market-menu-trigger:focus-visible {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.spod-public-navbar__market-menu-trigger--compact {
    width: 40px;
    padding: 0;
}

/* Cart trigger */
.spod-public-navbar__cart-trigger {
    color: #ffffff;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 6px 8px;
    transition: border-color 0.1s;
}

.spod-public-navbar__cart-trigger:hover {
    border-color: #ffffff;
}

.spod-public-navbar__cart-count {
    background: #ff9900;
    color: #131921;
}

/* Mobile toggle */
.spod-public-navbar__mobile-toggle {
    background: transparent;
    border-color: #555;
    color: #ffffff;
}

/* -------------------------
   4a. SEARCH BAR
   ------------------------- */

.spod-public-navbar__search-bar {
    display: flex;
    align-items: stretch;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    transition: box-shadow 0.15s;
}

.spod-public-navbar__search-bar:focus-within {
    outline: 2px solid #ff9900;
    outline-offset: 0;
}

.spod-public-navbar__search-all {
    background: #f3f3f3;
    color: #555;
    padding: 0 10px;
    border: none;
    border-right: 1px solid #cdcdcd;
    font-size: 12px;
    cursor: default;
    display: flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    flex-shrink: 0;
}

.spod-public-navbar__search-all .material-symbols-outlined {
    font-size: 16px;
}

.spod-public-navbar__search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 14px;
    flex: 1.35 1 340px;
    min-width: 320px;
    background: #ffffff;
    font-family: 'Inter', sans-serif;
    min-width: 0;
    cursor: text;
}

.spod-public-navbar__desktop-nav--market {
    display: block;
    width: auto;
    flex: 0 1 320px;
    max-width: 320px;
    min-width: 0;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-list {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-list::-webkit-scrollbar {
    display: none;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-item {
    flex: 0 0 auto;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 4px 6px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.1;
    white-space: nowrap;
    transform: none;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-link:hover,
.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-link:focus-visible {
    background: transparent;
    border-color: #ffffff;
    color: #ffffff;
    transform: none;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__desktop-icon {
    display: none;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__dropdown {
    margin-top: 4px;
    border: 1px solid #d5d9d9;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 17, 17, 0.18);
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__dropdown .spod-public-navbar__desktop-link {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border: 0;
    border-radius: 0;
    color: #0f1111;
}

.spod-public-navbar__desktop-nav--market .spod-public-navbar__dropdown .spod-public-navbar__desktop-link:hover,
.spod-public-navbar__desktop-nav--market .spod-public-navbar__dropdown .spod-public-navbar__desktop-link:focus-visible {
    background: #f7fafa;
    color: #0f1111;
}

.spod-public-navbar__search-input::placeholder {
    color: #888;
}

.spod-public-navbar__search-submit {
    background: #febd69;
    border: none;
    padding: 0 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
}

.spod-public-navbar__search-submit:hover {
    background: #f3a847;
}

.spod-public-navbar__search-submit .material-symbols-outlined {
    color: #333333;
    font-size: 22px;
}

/* Desktop nav hidden when market search is shown */
.spod-public-navbar__desktop-nav--hidden {
    display: none;
}

/* Right action links (Account / Returns area) */
#user-area,
#notification-area {
    color: #ffffff;
}

#user-area,
#notification-area,
#user-area > *,
#notification-area > * {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#user-area > * {
    gap: 12px;
}

#user-area a,
#user-area button,
#notification-area button {
    flex-shrink: 0;
}

.spod-public-navbar__user-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 2px;
    color: #ffffff;
}

.spod-public-navbar__user-trigger:hover,
.spod-public-navbar__user-trigger:focus-visible {
    border-color: #ffffff;
}

.spod-public-navbar__user-copy {
    display: none !important;
}

.spod-public-navbar__avatar-fallback {
    color: #131921;
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: none;
}

.spod-market-menu__overlay {
    position: fixed;
    inset: 0;
    z-index: 1490;
    background: rgba(15, 17, 17, 0.56);
    backdrop-filter: blur(1px);
}

.spod-market-menu {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
}

.spod-market-menu__surface {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(380px, calc(100vw - 24px));
    height: 100%;
    margin-right: auto;
    background: #ffffff;
    box-shadow: 18px 0 36px rgba(15, 17, 17, 0.28);
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
}

.spod-market-menu.is-open {
    pointer-events: auto;
}

.spod-market-menu.is-open .spod-market-menu__surface {
    transform: translate3d(0, 0, 0);
}

.spod-market-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: #232f3e;
    color: #ffffff;
}

.spod-market-menu__welcome {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.spod-market-menu__close,
.spod-market-menu__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: inherit;
    flex-shrink: 0;
}

.spod-market-menu__view-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid #e7e7e7;
    background: #ffffff;
    color: #565959;
}

.spod-market-menu__view-head p {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    color: #0f1111;
}

.spod-market-menu__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-weight: 800;
}

.spod-market-menu__breadcrumb-segment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.spod-market-menu__breadcrumb-icon {
    font-size: 18px;
    color: #232f3e;
    flex-shrink: 0;
}

.spod-market-menu__breadcrumb-label {
    font-weight: 800;
    word-break: break-word;
}

.spod-market-menu__breadcrumb-separator {
    color: #879298;
    font-weight: 700;
}

.spod-market-menu__auth-shell {
    padding: 14px 18px;
    border-bottom: 1px solid #e7e7e7;
    background: #ffffff;
}

.spod-market-menu__auth-shell.is-empty {
    display: none;
}

.spod-market-menu__auth-area {
    min-height: 0;
}

.spod-market-menu__auth-area .spod-public-navbar__mobile-user-trigger {
    width: 100%;
}

.spod-market-menu__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #ffffff;
}

.spod-market-menu__page {
    padding: 4px 0 24px;
}

.spod-market-menu__section {
    padding-top: 8px;
    border-top: 1px solid #e7e7e7;
}

.spod-market-menu__section:first-child {
    border-top: 0;
    padding-top: 0;
}

.spod-market-menu__section-title {
    margin: 0;
    padding: 14px 20px 8px;
    color: #0f1111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.spod-market-menu__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.spod-market-menu__item {
    margin: 0;
}

.spod-market-menu__row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 20px;
    border: 0;
    background: transparent;
    color: #0f1111;
    text-align: left;
    font-size: 14px;
    line-height: 1.35;
}

.spod-market-menu__row:hover,
.spod-market-menu__row:focus-visible {
    background: #f7fafa;
}

.spod-market-menu__row-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spod-market-menu__row-arrow {
    color: #879298;
    flex-shrink: 0;
}

.spod-market-menu__empty {
    padding: 20px;
    color: #565959;
    font-size: 14px;
}

#notificationsPanelOverlay,
#userSidebarOverlay,
#publicCartDrawerOverlay {
    inset: 0 !important;
    z-index: 1590 !important;
}

#notificationsPanel,
#chatWindowsTray,
#userSidebar,
#publicCartDrawer {
    z-index: 1600 !important;
}

#notificationsPanel {
    top: 12px !important;
}

#chatWindowsTray {
    bottom: 12px;
}

#userSidebar,
#publicCartDrawer {
    top: 0 !important;
    bottom: 0 !important;
    height: 100dvh !important;
}

#publicCartDrawer {
    overflow: hidden;
    border-left: 1px solid #d5d9d9;
    background: #ffffff;
}

.spod-public-cart__head,
.spod-public-cart__body,
.spod-public-cart__footer {
    padding: 18px 18px 16px;
}

.spod-public-cart__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e7e7e7;
    background: #ffffff;
}

.spod-public-cart__eyebrow {
    margin: 0 0 4px;
    color: #565959;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.spod-public-cart__head h3 {
    margin: 0;
    color: #0f1111;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.spod-public-cart__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid #d5d9d9;
    background: #f7fafa;
    color: #565959;
}

.spod-public-cart__close:hover,
.spod-public-cart__close:focus-visible {
    background: #eef2f2;
    color: #0f1111;
}

.spod-public-cart__body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    background: #f7fafa;
}

.spod-public-cart__items {
    display: grid;
    gap: 12px;
}

.spod-public-cart__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    box-shadow: 0 10px 24px rgba(15, 17, 17, 0.08);
}

.spod-public-cart__item-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.spod-public-cart__item-copy strong {
    color: #0f1111;
    font-size: 14px;
    line-height: 1.3;
}

.spod-public-cart__item-copy span {
    color: #565959;
    font-size: 13px;
}

.spod-public-cart__item > div:last-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.spod-public-cart__item [data-public-cart-decrement],
.spod-public-cart__item [data-public-cart-increment] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #d5d9d9;
    background: #ffffff;
    color: #0f1111;
    font-size: 16px;
    font-weight: 700;
}

.spod-public-cart__item [data-public-cart-decrement]:hover,
.spod-public-cart__item [data-public-cart-decrement]:focus-visible,
.spod-public-cart__item [data-public-cart-increment]:hover,
.spod-public-cart__item [data-public-cart-increment]:focus-visible {
    background: #eef2f2;
}

.spod-public-cart__item > div:last-child > span {
    display: inline-flex;
    min-width: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #232f3e;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}

.spod-public-cart__summary {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px dashed #d5d9d9;
}

.spod-public-cart__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #565959;
    font-size: 14px;
}

.spod-public-cart__summary-row strong {
    color: #0f1111;
}

.spod-public-cart__checkout,
.spod-public-cart-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 0;
    padding: 14px 16px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.spod-public-cart__checkout {
    width: 100%;
    background: linear-gradient(135deg, #ffd15c 0%, #ff9900 100%);
    color: #3b2500;
    box-shadow: 0 14px 30px rgba(255, 153, 0, 0.24);
}

.spod-public-cart__checkout:hover,
.spod-public-cart__checkout:focus-visible,
.spod-public-cart-button:hover,
.spod-public-cart-button:focus-visible {
    transform: translateY(-1px);
}

.spod-public-cart__checkout.is-disabled {
    pointer-events: none;
    opacity: 0.45;
    box-shadow: none;
}

.spod-public-cart-button {
    background: #fff1d6;
    color: #8f5500;
    padding-inline: 16px;
}

.spod-public-cart__empty {
    padding: 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e7e7e7;
    color: #565959;
    box-shadow: 0 10px 24px rgba(15, 17, 17, 0.05);
}

/* Mobile panel */
.spod-public-navbar__mobile-panel {
    background: #232f3e;
    color: #ffffff;
}

/* ==============================================================
   5. BANNER — full-bleed hero with negative overlap
   ============================================================== */

.spod-home-banner-hero {
    width: 100%;
    height: 400px;
    position: relative;
    z-index: 0;
    margin-bottom: -160px;   /* overlap the grid below */
    overflow: hidden;
    background: linear-gradient(135deg, #d0c4a8 0%, #e8d5bc 100%);
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Gradient left→right overlay so text stays readable */
.spod-home-banner-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.65) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.spod-home-banner-hero__media {
    position: absolute;
    inset: 0;
}

.spod-home-banner-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.82;
}

.spod-home-banner-hero__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #c5b89a 0%, #dccaa8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 2rem;
}

.spod-home-banner-hero__overlay {
    position: absolute;
    bottom: 180px; /* account for the 160px overlap */
    left: 2rem;
    z-index: 2;
    max-width: 420px;
}

.spod-home-banner-hero__title {
    font-size: 28px;
    font-weight: 700;
    color: #0f1111;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
    margin: 0 0 6px;
}

.spod-home-banner-hero__subtitle {
    font-size: 15px;
    color: #0f1111;
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
}

/* "See more" link on banner */
.spod-home-banner-hero__overlay a,
.spod-home-banner-hero__overlay .spod-home-cta {
    display: inline-block;
    color: var(--market-link);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
}

.spod-home-banner-hero__overlay a:hover {
    color: var(--market-link-hover);
    text-decoration: underline;
}

/* ==============================================================
   6. GROUP COLLECTIONS → secondary nav strip (#232f3e)
   ============================================================== */

.spod-home-group-collections {
    background: var(--spod-section-background, #232f3e);
    color: var(--spod-group-text-color, #ffffff);
    padding: 0 var(--spod-group-section-padding-x, 12px);
    flex-shrink: 0;
}

.spod-home-group-collections.spod-home-card--frameless {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.spod-home-group-collections .spod-home-card__content,
.spod-home-group-collections__content {
    padding: 0;
}

[data-group-collections-show-intro="false"] .spod-home-group-collections__header,
[data-group-collections-show-intro="false"] .spod-home-group-collections__copy {
    display: none;
}

.spod-home-group-collections__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0 8px;
}

.spod-home-group-collections__copy,
.spod-home-group-collections__copy .spod-home-title,
.spod-home-group-collections__copy .spod-home-subtitle,
.spod-home-group-collections__copy .spod-home-eyebrow,
.spod-home-group-collections__header .spod-home-section-intro__eyebrow,
.spod-home-group-collections__header .spod-home-section-intro__title,
.spod-home-group-collections__header .spod-home-section-intro__subtitle {
    color: var(--spod-group-text-color, #ffffff);
}

.spod-home-group-collections__empty {
    color: color-mix(in srgb, var(--spod-group-text-color, #ffffff) 72%, transparent);
    padding: 6px 0;
    font-size: 13px;
}

.spod-home-group-collections__shell {
    padding: 2px 0;
    position: relative;
}

.spod-home-group-collections__track {
    display: flex;
    flex-direction: row;
    gap: var(--spod-group-track-gap, 0px);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.spod-home-group-collections__track::-webkit-scrollbar {
    display: none;
}

.spod-home-group-collections__card {
    flex-shrink: 0;
}

.spod-home-group-collections__trigger {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: var(--spod-group-trigger-padding-y, 6px) var(--spod-group-trigger-padding-x, 10px);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 2px;
    color: var(--spod-group-text-color, #ffffff);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    transition: border-color 0.1s;
}

.spod-home-group-collections__trigger:hover {
    border-color: var(--spod-group-hover-border-color, var(--spod-group-text-color, #ffffff));
}

[data-group-collections-show-images="false"] .spod-home-group-collections__media {
    display: none;
}

[data-group-collections-show-images="true"] .spod-home-group-collections__media {
    width: var(--spod-group-image-size, 34px);
    height: var(--spod-group-image-size, 34px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

[data-group-collections-show-images="true"] .spod-home-group-collections__media img,
[data-group-collections-show-images="true"] .spod-home-group-collections__placeholder {
    width: 100%;
    height: 100%;
}

[data-group-collections-show-images="true"] .spod-home-group-collections__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--spod-group-text-color, #ffffff);
    background: rgba(255, 255, 255, 0.12);
}

[data-group-collections-show-images="true"] .spod-home-group-collections__placeholder .material-symbols-outlined {
    font-size: calc(var(--spod-group-image-size, 34px) * 0.55);
}

.spod-home-group-collections__title {
    font-size: 13px;
    font-weight: 500;
    color: var(--spod-group-text-color, #ffffff);
    font-family: 'Inter', sans-serif;
}

[data-group-collections-show-nav="false"] .spod-home-group-collections__nav {
    display: none;
}

[data-group-collections-show-nav="true"] .spod-home-group-collections__nav {
    position: absolute;
    top: calc(50% - 18px);
    z-index: 2;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(15, 17, 17, 0.38);
    color: var(--spod-group-text-color, #ffffff);
}

[data-group-collections-show-nav="true"] .spod-home-group-collections__nav[data-group-collection-direction="prev"] {
    left: 0;
}

[data-group-collections-show-nav="true"] .spod-home-group-collections__nav[data-group-collection-direction="next"] {
    right: 0;
}

[data-group-collections-show-nav="true"] .spod-home-group-collections__nav[disabled] {
    opacity: 0.42;
    cursor: default;
}

/* ==============================================================
   7. HOME HERO (the B2B text hero section — minimal in market)
   ============================================================== */

.spod-home-hero {
    display: none; /* hidden in market — use banner instead */
}

/* ==============================================================
   8. COLLECTION FEED — base overrides for market
   ============================================================== */

.spod-home-collection-feed {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
    border-radius: 2px;
    margin: 0 12px;
}

.spod-home-collection-feed .spod-home-card__content,
.spod-home-collection-feed__content {
    padding: 16px;
}

.spod-home-collection-feed__header {
    margin-bottom: 12px;
}

.spod-home-collection-feed__header h1,
.spod-home-collection-feed__header h2,
.spod-home-collection-feed__header h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0f1111;
    font-family: 'Inter', sans-serif;
    display: inline;
}

/* CTA inside header */
.spod-home-collection-feed__cta {
    color: var(--market-link);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-left: 12px;
}

.spod-home-collection-feed__cta:hover {
    color: var(--market-link-hover);
    text-decoration: underline;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

/* ==============================================================
   9. COLLECTION FEED — PRESET: market-grid

      4-column category grid with 2x2 product images per card
   ============================================================== */

.spod-home-collection-feed--preset-market-grid {
    background: transparent;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0 12px 12px;
    position: relative;
    z-index: 10;  /* overlaps the banner */
}

.spod-home-collection-feed--preset-market-grid .spod-home-card__content,
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__content {
    padding: 0;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__header {
    display: none;
}

/* 4-column grid */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__blocks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Each category card */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
    border-radius: 2px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 400px;
    overflow: hidden;
}

/* Card header: title top, CTA link bottom */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block-head {
    display: flex;
    flex-direction: column;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block-title {
    font-size: 21px;
    font-weight: 700;
    color: #0f1111;
    font-family: 'Inter', sans-serif;
    line-height: 1.3;
    order: 0;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block-subtitle {
    display: none;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block-actions {
    order: 2;
    margin-top: 8px;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block-actions .spod-home-collection-feed__cta {
    margin-left: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--market-link);
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block-actions .spod-home-collection-feed__cta:hover {
    color: var(--market-link-hover);
    text-decoration: underline;
}

/* 2×2 product image grid */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
    flex: 1;
    min-height: 0;
    order: 1;
}

/* Limit to first 4 products */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-product:nth-child(n+5) {
    display: none;
}

/* Each product in grid */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-product {
    display: block;
    overflow: hidden;
    min-height: 0;
}

.spod-home-collection-feed--preset-market-grid .spod-home-menu-product__media {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.spod-home-collection-feed--preset-market-grid .spod-home-menu-product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spod-home-collection-feed--preset-market-grid .spod-home-menu-product__placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

/* Hide product text/price in grid view */
.spod-home-collection-feed--preset-market-grid .spod-home-menu-product__body,
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__product-bar {
    display: none;
}

/* Hide marquee variant */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__marquee {
    display: none;
}

/* Full-width bestseller rows inside the same market grid section */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee {
    grid-column: 1 / -1;
    height: auto;
    min-height: 0;
    padding: 18px 20px 16px;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__block-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__block-title {
    font-size: 18px;
    line-height: 1.2;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__block-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #565959;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__block-actions {
    order: 0;
    margin-top: 0;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__marquee {
    display: block;
    position: relative;
    overflow: hidden;
    padding-inline: 12px;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__marquee::before,
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42px;
    z-index: 2;
    pointer-events: none;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__marquee::before {
    left: 0;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__marquee::after {
    right: 0;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__grid--marquee {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    width: max-content;
    animation-name: spodMarketCollectionMarquee;
    animation-duration: var(--spod-collection-marquee-duration, 26000ms);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__marquee:hover .spod-home-collection-feed__grid--marquee,
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__grid--marquee:hover {
    animation-play-state: paused;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-product,
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-product:nth-child(n+5) {
    display: flex;
    flex-direction: column;
    min-width: 178px;
    max-width: 178px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-menu-product__media {
    width: 178px;
    height: 178px;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-menu-product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-menu-product__body,
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__product-bar {
    display: none;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-product--duplicate {
    pointer-events: none;
}

/* Promo block (no products): sign-in card style */
.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--promo {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--promo .spod-home-collection-feed__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* Responsive: 2 cols on tablet, 1 on mobile */
@media (max-width: 1024px) {
    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__blocks {
        grid-template-columns: repeat(2, 1fr);
    }

    .spod-public-navbar__shell {
        grid-template-columns: minmax(150px, auto) minmax(260px, 1fr) auto;
        gap: 10px;
    }

    .spod-public-navbar__brand-copy p:last-child {
        display: none;
    }
}

@media (max-width: 640px) {
    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__blocks {
        grid-template-columns: 1fr;
    }

    .spod-market-menu__surface {
        width: min(100vw, 360px);
    }

    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block {
        height: auto;
        min-height: 320px;
    }

    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-feed__block-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-product,
    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-collection-product:nth-child(n+5) {
        min-width: 140px;
        max-width: 140px;
    }

    .spod-home-collection-feed--preset-market-grid .spod-home-collection-feed__block--effect-marquee .spod-home-menu-product__media {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 900px) {
    .spod-public-navbar__shell {
        grid-template-columns: minmax(132px, auto) minmax(220px, 1fr) auto;
        gap: 8px;
    }

    .spod-public-navbar__search-all {
        display: none;
    }
}

/* ==============================================================
   10. COLLECTION FEED — PRESET: deals
       Horizontal scroll of deal cards (~200px wide each)
   ============================================================== */

.spod-home-collection-feed--preset-deals {
    padding: 0;
    margin: 0 12px;
}

.spod-home-collection-feed--preset-deals .spod-home-card__content,
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__content {
    padding: 16px;
}

/* Title row: inline header + "See all deals" */
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__header {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin-bottom: 12px;
    flex-wrap: nowrap;
}

/* Blocks: horizontal scroll container */
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__blocks {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.spod-home-collection-feed--preset-deals .spod-home-collection-feed__blocks::-webkit-scrollbar {
    height: 4px;
}

.spod-home-collection-feed--preset-deals .spod-home-collection-feed__blocks::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

/* Each block wrapper in deals (usually one block with all products) */
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__block {
    flex-shrink: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    height: auto;
}

.spod-home-collection-feed--preset-deals .spod-home-collection-feed__block-head {
    display: none;
}

/* Product grid inside block: horizontal flex */
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__grid {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

/* Each deal product card */
.spod-home-collection-feed--preset-deals .spod-home-collection-product {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    max-width: 200px;
    cursor: pointer;
    border: none;
    background: transparent;
}

/* Product image area */
.spod-home-collection-feed--preset-deals .spod-home-menu-product__media {
    width: 200px;
    height: 200px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 8px;
    flex-shrink: 0;
    transition: background 0.15s;
    overflow: hidden;
}

.spod-home-collection-feed--preset-deals .spod-home-collection-product:hover .spod-home-menu-product__media {
    background: #f0f0f0;
}

.spod-home-collection-feed--preset-deals .spod-home-menu-product__media img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.spod-home-collection-feed--preset-deals .spod-home-menu-product__placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

/* Product body */
.spod-home-collection-feed--preset-deals .spod-home-menu-product__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 2px;
}

/* Price */
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__price,
.spod-home-collection-feed--preset-deals .spod-home-menu-product__price {
    font-size: 21px;
    font-weight: 500;
    color: #0f1111;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

/* Product title */
.spod-home-collection-feed--preset-deals .spod-home-menu-product__title {
    font-size: 12px;
    color: #0f1111;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

@keyframes spodMarketCollectionMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 12px));
    }
}

/* Category/meta */
.spod-home-collection-feed--preset-deals .spod-home-menu-product__meta,
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__meta {
    font-size: 11px;
    color: #565959;
}

/* The add-to-cart button in deals */
.spod-home-collection-feed--preset-deals .spod-public-cart-button {
    background: #ffd814;
    border: 1px solid #f1c40f;
    color: #0f1111;
    border-radius: 2px;
    padding: 4px 10px;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: background 0.15s;
}

.spod-home-collection-feed--preset-deals .spod-public-cart-button:hover {
    background: #f7ca00;
}

/* Product bar (price + cart icon row) */
.spod-home-collection-feed--preset-deals .spod-home-collection-feed__product-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

/* Cart icon button */
.spod-home-collection-feed--preset-deals .spod-public-cart-button--icon {
    background: #ffd814;
    border: 1px solid #f1c40f;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.spod-home-collection-feed--preset-deals .spod-public-cart-button--icon:hover {
    background: #f7ca00;
}

.spod-home-collection-feed--preset-deals .spod-public-cart-button--icon .material-symbols-outlined {
    font-size: 18px;
    color: #0f1111;
}

/* ==============================================================
   11. FILTER RESULTS — preset: market
   ============================================================== */

.spod-home-filter-results {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
    border-radius: 2px;
    margin: 0 12px;
}

.spod-home-filter-results .spod-home-card__content {
    padding: 20px;
}

.spod-home-filter-results__content {
    display: grid;
    gap: 20px;
}

.spod-home-filter-results__shell {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.spod-home-filter-results:not(.spod-home-filter-results--with-sidebar) .spod-home-filter-results__shell {
    grid-template-columns: minmax(0, 1fr);
}

.spod-home-filter-results__sidebar {
    position: sticky;
    top: 92px;
}

.spod-home-filter-results__sidebar-card {
    border: 1px solid #e3e6e6;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
    padding: 18px 16px;
    display: grid;
    gap: 18px;
}

.spod-home-filter-results__sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.spod-home-filter-results__sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f1111;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.spod-home-filter-results__sidebar-clear {
    border: none;
    background: none;
    color: #007185;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.spod-home-filter-results__sidebar-clear:hover {
    color: #c7511f;
}

.spod-home-filter-results__facets {
    display: grid;
    gap: 18px;
}

.spod-home-filter-results__facet-group {
    display: grid;
    gap: 12px;
}

.spod-home-filter-results__facet-group + .spod-home-filter-results__facet-group {
    padding-top: 18px;
    border-top: 1px solid #edf0f0;
}

.spod-home-filter-results__facet-title {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    color: #0f1111;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spod-home-filter-results__facet-list {
    display: grid;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 4px;
}

.spod-home-filter-results__facet-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: #0f1111;
    cursor: pointer;
}

.spod-home-filter-results__facet-option input {
    margin: 0;
    accent-color: #e88b00;
}

.spod-home-filter-results__facet-option-label {
    min-width: 0;
}

.spod-home-filter-results__facet-option-count {
    font-size: 11px;
    font-weight: 700;
    color: #565959;
    background: #f4f6f6;
    border-radius: 999px;
    padding: 2px 7px;
}

.spod-home-filter-results__price-range {
    display: grid;
    gap: 12px;
}

.spod-home-filter-results__price-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.spod-home-filter-results__price-pill {
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #e1e6e6;
    background: #f8fbfb;
    border-radius: 12px;
}

.spod-home-filter-results__price-pill-label {
    font-size: 11px;
    font-weight: 700;
    color: #565959;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.spod-home-filter-results__price-pill strong {
    font-size: 16px;
    line-height: 1.1;
    color: #0f1111;
}

.spod-home-filter-results__price-slider {
    position: relative;
    height: 34px;
}

.spod-home-filter-results__price-slider-track,
.spod-home-filter-results__price-slider-fill {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    border-radius: 999px;
}

.spod-home-filter-results__price-slider-track {
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #edf2f2 0%, #e5ecec 100%);
}

.spod-home-filter-results__price-slider-fill {
    background: linear-gradient(90deg, #f3a847 0%, #e88b00 100%);
    box-shadow: 0 0 0 1px rgba(232, 139, 0, 0.18);
}

.spod-home-filter-results__price-range-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 34px;
    margin: 0;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.spod-home-filter-results__price-range-input::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.spod-home-filter-results__price-range-input::-moz-range-track {
    height: 6px;
    background: transparent;
}

.spod-home-filter-results__price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #0f1111;
    box-shadow: 0 2px 6px rgba(15, 17, 17, 0.18);
    cursor: pointer;
    pointer-events: auto;
}

.spod-home-filter-results__price-range-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: #0f1111;
    box-shadow: 0 2px 6px rgba(15, 17, 17, 0.18);
    cursor: pointer;
    pointer-events: auto;
}

.spod-home-filter-results__price-range-input:focus-visible::-webkit-slider-thumb {
    outline: 3px solid rgba(232, 139, 0, 0.24);
}

.spod-home-filter-results__price-range-input:focus-visible::-moz-range-thumb {
    outline: 3px solid rgba(232, 139, 0, 0.24);
}

.spod-home-filter-results__price-boundary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
}

.spod-home-filter-results__facet-empty {
    font-size: 13px;
    color: #565959;
    border: 1px dashed #d5dbdb;
    padding: 14px;
    background: #fbfcfc;
}

.spod-home-filter-results__main {
    display: grid;
    gap: 18px;
}

.spod-home-filter-results__toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.spod-home-filter-results__summary {
    display: grid;
    gap: 4px;
}

.spod-home-filter-results__summary strong {
    font-size: 26px;
    line-height: 1.08;
    font-weight: 700;
    color: #0f1111;
}

.spod-home-filter-results__summary span {
    font-size: 13px;
    color: #565959;
}

.spod-home-filter-results__state {
    border: 1px dashed #cfd8d8;
    background: #f8fbfb;
    color: #374151;
    padding: 18px;
    font-size: 14px;
}

.spod-home-filter-results__grid {
    display: grid;
    grid-template-columns: repeat(var(--spod-filter-results-columns, 4), minmax(0, 1fr));
    gap: 18px;
}

.spod-home-filter-results__product {
    min-height: 100%;
    overflow: hidden;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.spod-home-filter-results__product:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 17, 17, 0.12);
}

.spod-home-filter-results__media {
    aspect-ratio: 1 / 1;
    background: #f7f8f8;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f2f2;
}

.spod-home-filter-results__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.spod-home-filter-results__body {
    display: grid;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
}

.spod-home-filter-results__product-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.spod-home-filter-results__copy {
    display: grid;
    gap: 6px;
}

.spod-home-filter-results__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.spod-home-filter-results__meta {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.spod-home-filter-results__price {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.spod-home-filter-results__actions {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}

.spod-home-filter-results__product--overlay {
    position: relative;
}

.spod-home-filter-results__product--overlay .spod-home-filter-results__media {
    aspect-ratio: 4 / 5;
}

.spod-home-filter-results__product--overlay .spod-home-filter-results__body {
    margin-top: -74px;
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.94) 28%, #ffffff 48%);
}

@media (max-width: 1080px) {
    .spod-home-filter-results__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .spod-home-filter-results__shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .spod-home-filter-results__sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .spod-home-filter-results .spod-home-card__content {
        padding: 16px;
    }

    .spod-home-filter-results__price-summary {
        grid-template-columns: minmax(0, 1fr);
    }

    .spod-home-filter-results__toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .spod-home-filter-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .spod-home-filter-results__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* CTA button */
.spod-home-cta--secondary {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #0f1111;
    padding: 6px 14px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}

.spod-home-cta--secondary:hover {
    background: #f7f8f8;
}

/* ==============================================================
   12. CTA SECTION
   ============================================================== */

.spod-home-cta-section {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
    border-radius: 2px;
    padding: 24px 16px;
    margin: 0 12px;
    text-align: center;
}

.spod-home-cta--primary {
    background: #ffd814;
    border: 1px solid #f1c40f;
    color: #0f1111;
    padding: 8px 20px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: background 0.15s;
}

.spod-home-cta--primary:hover {
    background: #f7ca00;
}

/* ==============================================================
   13. FOOTER — Amazon dark style
   ============================================================== */

.spod-home-footer-stack {
    margin-top: 24px;
}

.spod-home-footer-card {
    background: #232f3e;
    color: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    position: relative;
}

/* "Back to top" bar */
.spod-home-footer-card::before {
    content: 'Back to top';
    display: block;
    background: #37475a;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}

.spod-home-footer-card:hover::before {
    background: #485769;
}

.spod-home-footer-card__backdrop {
    opacity: 0.12;
}

.spod-home-footer-card__overlay {
    display: none;
}

.spod-home-footer-card__content-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

.spod-home-footer-card__newsletter {
    border-bottom: 1px solid #3a4553;
    padding-bottom: 16px;
    margin-bottom: 16px;
    text-align: center;
}

.spod-home-footer-card__newsletter input[type="email"] {
    background: #2e3e50;
    border: 1px solid #3a4553;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 2px;
    width: 240px;
}

.spod-home-footer-card__newsletter input[type="email"]::placeholder {
    color: #aab4be;
}

.spod-home-footer-card__newsletter button[type="submit"] {
    background: #febd69;
    color: #0f1111;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    margin-left: 8px;
}

.spod-home-footer-card__newsletter button[type="submit"]:hover {
    background: #f3a847;
}

/* Footer title */
.spod-home-footer-card .spod-home-title,
.spod-home-footer-card h1,
.spod-home-footer-card h2,
.spod-home-footer-card h3 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.spod-home-footer-card .spod-home-eyebrow {
    color: #aab4be;
    background: transparent;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

.spod-home-footer-card .spod-home-subtitle {
    color: #aab4be;
    font-size: 12px;
}

/* Link groups grid */
.spod-home-footer-card__links-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 0;
    padding-top: 16px;
    border-top: 1px solid #3a4553;
}

.spod-home-footer-card__link-group h4 {
    display: none;
}

.spod-home-footer-card__link-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.spod-home-footer-card__link-group a {
    color: #cccccc;
    font-size: 13px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.spod-home-footer-card__link-group a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.spod-home-footer-card__empty-link {
    color: #aab4be;
    font-size: 12px;
}

/* Social links */
.spod-home-footer-card__links-socials {
    padding-top: 16px;
    border-top: 1px solid #3a4553;
    margin-top: 16px;
}

.spod-home-footer-card__links-socials-label {
    color: #aab4be;
    font-size: 12px;
    margin-bottom: 8px;
}

.spod-home-footer-card__socials a {
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.spod-home-footer-card__socials a:hover {
    opacity: 1;
}

/* Footer newsletter form */
.spod-home-footer-card__newsletter-form {
    display: none;
}

/* Identity bar under footer */
.spod-home-identity {
    --spod-identity-social-size: 2.35rem;
    --spod-identity-social-icon-size: calc(var(--spod-identity-social-size) * 0.48);
    background: #131921;
    color: #aab4be;
    padding: 12px 16px;
    font-size: 11px;
    font-family: 'Inter', sans-serif;
}

.spod-home-identity__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
}

.spod-home-identity__content--stack {
    display: grid;
    gap: 12px;
}

.spod-home-identity__content--inline.spod-home-identity__content--align-left .spod-home-identity__meta,
.spod-home-identity__content--inline.spod-home-identity__content--align-right .spod-home-identity__meta {
    flex: 1 1 auto;
}

.spod-home-identity__content--inline.spod-home-identity__content--align-center {
    justify-content: center;
}

.spod-home-identity__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
    color: inherit;
}

.spod-home-identity__meta .material-symbols-outlined {
    font-size: 14px;
}

.spod-home-identity__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: 0;
}

.spod-home-identity__socials--full-width {
    width: 100%;
}

.spod-home-identity__content--inline.spod-home-identity__content--align-right .spod-home-identity__socials,
.spod-home-identity__socials--align-right {
    justify-content: flex-end;
}

.spod-home-identity__content--inline.spod-home-identity__content--align-center .spod-home-identity__socials,
.spod-home-identity__socials--align-center {
    justify-content: center;
}

.spod-home-identity__content--inline.spod-home-identity__content--align-left .spod-home-identity__socials,
.spod-home-identity__socials--align-left {
    justify-content: flex-start;
}

.spod-home-identity__socials a {
    width: var(--spod-identity-social-size);
    min-width: var(--spod-identity-social-size);
    height: var(--spod-identity-social-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #232f3e;
    color: var(--spod-identity-social-color, #ffffff);
    text-decoration: none;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.spod-home-identity__socials a .material-symbols-outlined {
    font-size: var(--spod-identity-social-icon-size);
}

.spod-home-identity__socials .spod-home-footer-card__social-icon {
    width: var(--spod-identity-social-icon-size);
    height: var(--spod-identity-social-icon-size);
}

.spod-home-identity__socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.36);
    color: #ffffff;
}

/* ==============================================================
   14. SECTION CARD — generic, market style
   ============================================================== */

.spod-home-card {
    margin: 0 12px;
}

.spod-home-card--frameless {
    border: none;
    box-shadow: none;
}

.spod-home-card--width-1,
.spod-home-card--width-2,
.spod-home-card--width-3,
.spod-home-card--width-90,
.spod-home-card--width-4 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.spod-home-card--width-1 { width: min(calc(100% - 24px), 25%); }
.spod-home-card--width-2 { width: min(calc(100% - 24px), 50%); }
.spod-home-card--width-3 { width: min(calc(100% - 24px), 75%); }
.spod-home-card--width-90 { width: min(calc(100% - 24px), 90%); }
.spod-home-card--width-4 { width: calc(100% - 24px); }

/* ==============================================================
   15. SPACING HELPERS
   ============================================================== */

.spod-home-grid > * + * {
    margin-top: 12px;
}

.spod-home-grid > .spod-home-group-collections {
    margin-top: 0;
}

.spod-home-grid > .spod-home-collection-feed--preset-market-grid {
    margin-top: 0;
}

/* ==============================================================
   16. SHOWCASE — hide in market (use collection feed instead)
   ============================================================== */

.spod-showcase {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15,17,17,0.08);
    border-radius: 2px;
    margin: 0 12px;
}

/* ==============================================================
   17. TESTIMONIALS / NEWS — subtle market style
   ============================================================== */

.spod-home-testimonials,
.spod-home-card--variant-grid {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15,17,17,0.08);
    border-radius: 2px;
}

/* ==============================================================
   18. PRODUCT GALLERY / SPOTLIGHT
   ============================================================== */

.spod-home-catalog-products-section,
.spod-home-menu-section {
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15,17,17,0.08);
    border-radius: 2px;
    margin: 0 12px;
}

.spod-home-menu-section__tab {
    background: transparent;
    border: 1px solid #ddd;
    color: #0f1111;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.15s;
}

.spod-home-menu-section__tab.is-active {
    background: #e88b00;
    border-color: #e88b00;
    color: #ffffff;
}

.spod-home-menu-product {
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #ffffff;
}

.spod-home-menu-product:hover {
    box-shadow: 0 2px 8px rgba(15,17,17,0.12);
}

.spod-home-menu-product__title {
    font-size: 14px;
    font-weight: 600;
    color: #0f1111;
    font-family: 'Inter', sans-serif;
}

.spod-home-menu-product__price {
    font-size: 16px;
    font-weight: 500;
    color: #0f1111;
    font-family: 'Inter', sans-serif;
}

.spod-home-menu-product__meta {
    font-size: 12px;
    color: #565959;
}

.spod-home-menu-section--variant-market-deals {
    margin: 0 12px;
}

.spod-home-menu-section--variant-market-deals .spod-home-card__content,
.spod-home-menu-section--variant-market-deals .spod-home-menu-section__content {
    padding: 16px;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-section__header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.spod-home-menu-section--variant-market-deals .spod-home-card__text,
.spod-home-menu-section--variant-market-deals .spod-home-menu-section__copy,
.spod-home-menu-section--variant-market-deals .spod-home-menu-section__tabs {
    display: none;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-section__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product {
    min-width: 200px;
    max-width: 200px;
    border: none;
    background: transparent;
    box-shadow: none;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__media {
    width: 200px;
    height: 200px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product:hover {
    box-shadow: none;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product:hover .spod-home-menu-product__media {
    background: #f0f0f0;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__body {
    padding: 0 2px;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__topline {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 6px;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__title {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__meta {
    display: none;
}

.spod-home-menu-section--variant-market-deals .spod-home-menu-product__price {
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
}

/* ==============================================================
   19. ANIMATIONS (keep minimal)
   ============================================================== */

.spod-home-card--anim-fade-up {
    animation: market-fade-up 0.4s ease both;
}

@keyframes market-fade-up {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   20. DARK MODE — market theme is always light
   ============================================================== */

html.dark .spod-home-shell {
    background: #eaeded;
}

html.dark .spod-home-card,
html.dark .spod-home-hero__copy {
    background: #ffffff;
    border-color: #ddd;
    box-shadow: 0 2px 5px rgba(15, 17, 17, 0.08);
}

/* ==============================================================
   21. PRODUCT SPOTLIGHT & PRODUCT GALLERY
   ============================================================== */

.spod-product-spotlight,
.spod-product-gallery {
    position: relative;
    border-radius: 2px;
    background: var(--spod-section-background, #ffffff);
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(15,17,17,0.08);
    overflow: hidden;
    margin: 0 12px;
}

.spod-product-spotlight__content,
.spod-product-gallery__content {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1rem, 2vw, 1.75rem);
}

.spod-product-spotlight__header,
.spod-product-gallery__header {
    margin-bottom: 0.5rem;
}

.spod-product-spotlight__meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: #565959;
    font-size: 0.92rem;
}

.spod-product-spotlight__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.spod-product-spotlight__price {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    color: #0f1111;
}

.spod-public-cart-button--primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 2px;
    background: #e88b00;
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.spod-public-cart-button--primary:hover {
    background: #c97a00;
}

.spod-product-spotlight__details {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.spod-product-spotlight__detail-card {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 1rem 1.1rem;
}

.spod-product-spotlight__detail-card h4 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #565959;
}

.spod-product-spotlight__detail-card p {
    margin: 0;
    white-space: pre-line;
    color: #0f1111;
}

.spod-product-spotlight__aside {
    display: grid;
    gap: 1rem;
}

.spod-product-spotlight__media-shell {
    border-radius: 2px;
    overflow: hidden;
    background: #f8f8f8;
    min-height: 20rem;
}

.spod-product-spotlight__media,
.spod-product-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spod-product-spotlight__placeholder,
.spod-product-gallery__empty,
.spod-product-spotlight__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
    border-radius: 2px;
    border: 1px dashed #ddd;
    color: #565959;
    background: #f8f8f8;
    text-align: center;
    padding: 1rem;
}

.spod-product-spotlight__placeholder .material-symbols-outlined {
    font-size: 2rem;
}

.spod-product-spotlight__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.spod-product-spotlight__tag {
    border-radius: 2px;
    background: #f0f0f0;
    color: #0f1111;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.spod-product-gallery__panel {
    display: grid;
    grid-template-columns: minmax(5rem, 6rem) minmax(0, 1fr);
    gap: 0.55rem;
    align-items: stretch;
}

.spod-product-gallery--fullscreen {
    min-height: calc(100dvh - 7rem);
}

.spod-product-gallery--fullscreen .spod-product-gallery__content {
    min-height: calc(100dvh - 7rem);
    align-content: start;
}

.spod-product-gallery__panel--with-info {
    grid-template-columns: minmax(5rem, 6rem) minmax(0, 1fr) minmax(21rem, 0.86fr);
}

.spod-product-gallery__thumbs {
    display: grid;
    gap: 0.8rem;
    align-content: start;
    max-height: var(--spod-product-gallery-stage-size, 32rem);
    overflow-y: auto;
    padding-right: 0.15rem;
}

.spod-product-gallery__thumbs::-webkit-scrollbar {
    width: 0.4rem;
}

.spod-product-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 999px;
}

.spod-product-gallery__thumb {
    display: block;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.spod-product-gallery__thumb:hover {
    transform: translateY(-1px);
}

.spod-product-gallery__thumb.is-active {
    border-color: #e88b00;
    box-shadow: 0 0 0 2px rgba(232, 139, 0, 0.25);
}

.spod-product-gallery__thumb-media {
    display: block;
    overflow: hidden;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #ffffff;
    aspect-ratio: 1 / 1;
}

.spod-product-gallery__thumb-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 0.45rem;
}

.spod-product-gallery__stage {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.spod-product-gallery__info {
    display: grid;
    gap: 0.7rem;
    align-content: start;
}

.spod-product-gallery__info-card {
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #ffffff;
    overflow: hidden;
}

.spod-product-gallery__info-card[open] {
    box-shadow: 0 2px 8px rgba(15,17,17,0.08);
}

.spod-product-gallery__info-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.1rem;
    font-weight: 700;
    color: #0f1111;
    font-size: 1rem;
}

.spod-product-gallery__info-summary::-webkit-details-marker {
    display: none;
}

.spod-product-gallery__info-toggle {
    font-size: 1.45rem;
    color: #0f1111;
    transition: transform 180ms ease;
}

.spod-product-gallery__info-card[open] .spod-product-gallery__info-toggle {
    transform: rotate(180deg);
}

.spod-product-gallery__info-body {
    padding: 0 1.1rem 1rem;
    color: #565959;
    border-top: 1px solid #ddd;
}

.spod-product-gallery__info-copy {
    margin: 0;
    line-height: 1.65;
    font-size: 1rem;
    color: #0f1111;
}

.spod-product-gallery__info-copy p,
.spod-product-gallery__info-copy ul,
.spod-product-gallery__info-copy ol {
    margin: 0 0 0.75rem;
}

.spod-product-gallery__info-copy p:last-child,
.spod-product-gallery__info-copy ul:last-child,
.spod-product-gallery__info-copy ol:last-child {
    margin-bottom: 0;
}

.spod-product-gallery__main-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, var(--spod-product-gallery-stage-size, 32rem));
    min-height: 0;
    aspect-ratio: 1 / 1;
    border-radius: 2px;
    border: 1px solid #ddd;
    background: #ffffff;
    overflow: hidden;
    padding: 0.55rem;
    cursor: zoom-in;
    --spod-product-gallery-zoom-x: 50%;
    --spod-product-gallery-zoom-y: 50%;
}

.spod-product-gallery__main-image {
    display: block;
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    object-fit: contain;
    transform-origin: var(--spod-product-gallery-zoom-x) var(--spod-product-gallery-zoom-y);
    transition: transform 0.12s ease-out;
    will-change: transform;
}

.spod-product-gallery__main-frame.is-zoomed .spod-product-gallery__main-image {
    transform: scale(2.35);
}

.spod-product-gallery.spod-home-card--frameless .spod-product-gallery__main-frame,
.spod-product-gallery.spod-home-card--frameless .spod-product-gallery__thumb-media,
.spod-product-gallery.spod-home-card--frameless .spod-product-gallery__info-card {
    border-color: transparent;
    box-shadow: none;
}

.spod-product-gallery.spod-home-card--frameless .spod-product-gallery__info-body {
    border-top-color: transparent;
}

.spod-product-gallery.spod-home-card--width-1 .spod-product-gallery__panel,
.spod-product-gallery.spod-home-card--width-1 .spod-product-gallery__panel--with-info {
    grid-template-columns: 1fr;
}

.spod-product-gallery.spod-home-card--width-1 .spod-product-gallery__thumbs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(4.75rem, 5.25rem);
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding-bottom: 0.25rem;
    padding-right: 0;
}

.spod-product-gallery.spod-home-card--width-1 .spod-product-gallery__main-frame {
    width: 100%;
    max-width: min(100%, var(--spod-product-gallery-stage-size, 22rem));
    cursor: default;
}

.spod-product-gallery.spod-home-card--width-2 .spod-product-gallery__panel,
.spod-product-gallery.spod-home-card--width-2 .spod-product-gallery__panel--with-info,
.spod-product-gallery.spod-home-card--width-3.spod-product-gallery--fullscreen .spod-product-gallery__panel,
.spod-product-gallery.spod-home-card--width-3.spod-product-gallery--fullscreen .spod-product-gallery__panel--with-info {
    grid-template-columns: minmax(4.5rem, 5.5rem) minmax(0, 1fr);
    gap: 1rem;
}

.spod-product-gallery.spod-home-card--width-2 .spod-product-gallery__info,
.spod-product-gallery.spod-home-card--width-3.spod-product-gallery--fullscreen .spod-product-gallery__info {
    grid-column: 1 / -1;
}

.spod-product-gallery.spod-home-card--width-2 .spod-product-gallery__main-frame,
.spod-product-gallery.spod-home-card--width-3.spod-product-gallery--fullscreen .spod-product-gallery__main-frame {
    width: min(100%, var(--spod-product-gallery-stage-size, 28rem));
    max-width: 100%;
}

@media (min-width: 980px) {
    .spod-product-spotlight__content {
        grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
    }

    .spod-product-gallery--fullscreen .spod-product-gallery__panel--with-info {
        align-items: stretch;
    }
}

@media (max-width: 979px) {
    .spod-product-gallery__panel {
        grid-template-columns: minmax(4.5rem, 5.5rem) minmax(0, 1fr);
        gap: 1rem;
    }

    .spod-product-gallery__panel--with-info {
        grid-template-columns: minmax(4.5rem, 5.5rem) minmax(0, 1fr);
    }

    .spod-product-gallery__info {
        grid-column: 1 / -1;
    }

    .spod-product-gallery__main-frame {
        width: min(100%, var(--spod-product-gallery-stage-size, 28rem));
        padding: 0.45rem;
    }
}

@media (max-width: 640px) {
    .spod-product-gallery__panel {
        grid-template-columns: 1fr;
    }

    .spod-product-gallery__panel--with-info {
        grid-template-columns: 1fr;
    }

    .spod-product-gallery__thumbs {
        grid-auto-flow: column;
        grid-auto-columns: minmax(4.75rem, 5.25rem);
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        padding-bottom: 0.25rem;
    }

    .spod-product-gallery__main-frame {
        width: 100%;
        max-width: min(100%, var(--spod-product-gallery-stage-size, 22rem));
        padding: 0.35rem;
        cursor: default;
    }

    .spod-product-gallery--fullscreen,
    .spod-product-gallery--fullscreen .spod-product-gallery__content {
        min-height: auto;
    }

    .spod-product-gallery__main-frame.is-zoomed .spod-product-gallery__main-image {
        transform: none;
    }
}
