/* DreambyLens — premium black & white storefront */

.store-body {
    --bg: #f4f2ef;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #111111;
    --text: #18181b;
    --text-muted: #52525b;
    --text-soft: #71717a;
    --border: #e4e4e7;
    --border-soft: #ececec;
    --accent: #111111;
    --accent-hover: #3f3f46;
    --accent-gold: #a67c00;
    --accent-gold-hover: #8a6700;
    --accent-text: #18181b;
    --badge-bg: #f4f4f5;
    --badge-border: #d4d4d8;
    --code-bg: #f4f4f5;
    --shadow-soft: 0 8px 30px rgba(24, 24, 27, 0.06);
    --font-display: 'Outfit', 'DM Sans', system-ui, sans-serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
    --store-gutter: clamp(0.65rem, 1.25vw, 1.15rem);

    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    color-scheme: light;
}

.store-body input,
.store-body textarea,
.store-body select {
    color: var(--text);
}

.store-body input::placeholder,
.store-body textarea::placeholder {
    color: var(--text-soft);
    opacity: 1;
}

.store-main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0.75rem var(--store-gutter) 3rem;
    background: var(--bg);
}

.store-header--premium .store-header__inner,
.site-footer-pro__main,
.site-footer-pro__bottom-inner {
    max-width: none;
    width: 100%;
}

/* ——— Header ——— */
.store-header--premium {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
}

.store-header--premium .store-header__inner {
    padding: 0.85rem var(--store-gutter);
    gap: 1.5rem;
}

.store-header--premium .site-header__logo {
    height: 2.75rem;
    max-width: 13rem;
}

.store-header__nav--center,
.store-header--premium .store-header__nav {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.store-header__nav--desktop {
    display: none;
}

.store-header--premium .store-header__nav a {
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    transition: color 0.15s;
}

.store-header--premium .store-header__nav a:hover {
    color: #fff !important;
}

.store-header__actions {
    display: none;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
    overflow: visible;
}

.store-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
}

.store-header__icon-btn i {
    font-size: 1rem;
    line-height: 1;
}

.store-header__icon-btn svg {
    width: 1.15rem;
    height: 1.15rem;
}

.store-header__icon-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.store-header__cart-badge {
    position: absolute;
    top: -0.15rem;
    right: -0.15rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #fff;
    color: var(--bg-dark);
    font-size: 0.625rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.store-header__signin {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    padding: 0.35rem 0.5rem;
    white-space: nowrap;
}

.store-header__signin:hover {
    color: #fff;
}

.store-header__cart-btn {
    position: relative;
}

.store-header__register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1rem;
    border-radius: 0.5rem;
    background: #fff;
    color: var(--bg-dark) !important;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.15s;
}

.store-header__register:hover {
    background: #e4e4e7;
}

.store-header__logout {
    margin: 0;
}

.store-header__nav-mobile-only {
    display: block;
}

@media (min-width: 900px) {
    .store-header--premium .store-header__brand {
        flex: 0 0 auto;
    }

    .store-header__nav--desktop {
        display: flex;
        flex: 1;
        justify-content: center;
        gap: 1.75rem;
        flex-direction: row;
        align-items: center;
        position: static;
        padding: 0;
        border: none;
        background: transparent;
    }

    .store-header__actions {
        display: flex;
        flex: 0 0 auto;
    }

    .store-header__nav-mobile-only {
        display: none;
    }
}

@media (max-width: 899px) {
    .store-header__actions {
        display: flex;
        margin-left: auto;
    }

    .store-header__signin,
    .store-header__signin--guest {
        display: none;
    }

    .store-header__register {
        display: none;
    }
}

/* ——— Mobile drawer ——— */
body.store-drawer-open {
    overflow: hidden;
}

.store-drawer {
    position: fixed;
    inset: 0;
    z-index: 160;
    pointer-events: none;
    visibility: hidden;
}

.store-drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.store-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    opacity: 0;
    transition: opacity 0.38s ease;
}

.store-drawer.is-open .store-drawer__backdrop {
    opacity: 1;
}

.store-drawer__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: min(20rem, 88vw);
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.35rem 1.5rem;
    background: #000;
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.35);
    transform: translateX(-105%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.store-drawer.is-open .store-drawer__panel {
    transform: translateX(0);
}

.store-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.store-drawer__brand {
    text-decoration: none;
    color: inherit;
}

.store-drawer__brand .site-header__logo {
    height: 2.35rem;
    max-width: 10rem;
}

.store-drawer__brand .site-header__name {
    color: #fff;
    font-size: 1rem;
}

.store-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.store-drawer__close:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.35);
}

.store-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    flex: 1;
}

.store-drawer__nav a {
    display: block;
    padding: 0.55rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.35;
    color: #fff;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-1.25rem);
    transition: color 0.15s, opacity 0.35s ease, transform 0.35s ease;
}

.store-drawer.is-open .store-drawer__nav a {
    opacity: 1;
    transform: translateX(0);
}

.store-drawer.is-open .store-drawer__nav a:nth-child(1) { transition-delay: 0.06s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(2) { transition-delay: 0.1s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(3) { transition-delay: 0.14s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(4) { transition-delay: 0.18s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(5) { transition-delay: 0.22s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(6) { transition-delay: 0.26s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(7) { transition-delay: 0.3s; }
.store-drawer.is-open .store-drawer__nav a:nth-child(8) { transition-delay: 0.34s; }

.store-drawer__nav a:hover {
    color: rgba(255, 255, 255, 0.72);
}

.store-drawer__foot {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-drawer__cart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}

.store-drawer__cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 0.6875rem;
    font-weight: 700;
}

.store-header__menu-btn.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.store-header__menu-btn.is-active span:nth-child(2) {
    opacity: 0;
}

.store-header__menu-btn.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.store-header__menu-btn span {
    transition: transform 0.25s ease, opacity 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .store-drawer__panel,
    .store-drawer__backdrop,
    .store-drawer__nav a {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

.store-body h1,
.store-body h2,
.store-body h3,
.store-body .store-page__hero h1,
.store-body .store-section__head--premium h2,
.store-body .product-detail__info h1,
.store-body .store-auth__head h1,
.store-body .store-cta-banner__copy h2,
.store-body .store-panel h2 {
    font-family: var(--font-display);
    font-weight: 700;
}

.store-body .product-detail__info h1 {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    line-height: 1.15;
}

.store-body .store-page__hero h1 {
    font-size: clamp(1.9rem, 4.5vw, 2.65rem);
}

.store-body .store-section__head--premium h2 {
    font-size: clamp(1.125rem, 3.8vw, 2rem);
}

.store-body .store-auth__head h1 {
    font-size: clamp(1.75rem, 4vw, 2.15rem);
}

.store-body .store-help__banner-copy h1,
.store-body .store-videos__banner-copy h1,
.store-body .store-app-page__banner-copy h1,
.store-body .store-hero-premium h1,
.store-body .store-shop__title,
.store-body .cart-summary--premium h2,
.store-body .product-detail__description h2 {
    font-family: var(--font-display);
    font-weight: 700;
}

.store-header--premium .store-header__menu-btn {
    border-color: rgba(255, 255, 255, 0.25);
}

.store-header--premium .store-header__menu-btn span {
    background: #fff;
}

.store-header--premium .site-header__name {
    color: #fff;
}

.store-header--premium .site-header__tagline {
    color: rgba(255, 255, 255, 0.55);
}

/* ——— Buttons ——— */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.store-btn--gold {
    background: var(--accent);
    color: #fff;
}

.store-btn--gold:hover {
    background: var(--accent-hover);
}

.store-btn--outline {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.store-btn--outline:hover {
    background: var(--accent);
    color: #fff;
}

.store-btn--block {
    width: 100%;
    justify-content: center;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* ——— Auth pages (login / register) ——— */
.store-auth {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1.5rem 0 3rem;
    min-height: calc(100vh - 12rem);
}

.store-auth__card {
    width: 100%;
    max-width: 26rem;
    padding: 2rem 1.75rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
}

.store-auth__card--wide {
    max-width: 32rem;
}

.store-auth__head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.store-auth__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.85rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
}

.store-auth__head h1 {
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.store-auth__sub {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.store-auth__form {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.store-auth__grid {
    display: grid;
    gap: 0.15rem;
}

@media (min-width: 540px) {
    .store-auth__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.store-auth__field {
    margin-bottom: 0.85rem;
}

.store-auth__field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.store-auth__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.store-auth__input-wrap i {
    position: absolute;
    left: 0.85rem;
    font-size: 0.875rem;
    color: var(--text-soft);
    pointer-events: none;
}

.store-auth__input-wrap input {
    width: 100%;
    padding: 0.7rem 0.85rem 0.7rem 2.35rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: #fafafa;
    color: var(--text);
    font: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.store-auth__input-wrap input::placeholder {
    color: #a1a1aa;
}

.store-auth__input-wrap input:hover {
    border-color: #d4d4d8;
}

.store-auth__input-wrap input:focus {
    outline: none;
    border-color: var(--bg-dark);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.password-input-wrap {
    position: relative;
    width: 100%;
}

.password-input-wrap--auth {
    display: flex;
    align-items: center;
}

.password-input-wrap input[type="password"],
.password-input-wrap input[type="text"] {
    padding-right: 2.75rem;
}

.store-auth__input-wrap.password-input-wrap--auth input {
    padding-right: 2.75rem;
}

.password-input-wrap__toggle {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.password-input-wrap__toggle:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
}

.checkout-field .password-input-wrap input {
    width: 100%;
}

.store-auth__check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.15rem 0 1.1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
}

.store-auth__check input {
    width: 1rem;
    height: 1rem;
    accent-color: var(--bg-dark);
}

.store-auth__form .store-btn--block {
    margin-top: 0.35rem;
}

.store-auth__foot {
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-soft);
    text-align: center;
}

.store-auth__foot p {
    margin: 0 0 0.45rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.store-auth__foot p:last-child {
    margin-bottom: 0;
}

.store-auth__foot a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s, color 0.15s;
}

.store-auth__foot a:hover {
    color: var(--bg-dark);
    border-bottom-color: var(--bg-dark);
}

.store-auth__google {
    margin-bottom: 0.15rem;
}

.store-auth__google-btn {
    display: flex;
    justify-content: center;
    width: 100%;
}

.store-auth__google-btn > div {
    width: 100% !important;
}

.store-auth__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.15rem 0 1.25rem;
    color: var(--text-soft);
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: lowercase;
}

.store-auth__divider::before,
.store-auth__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

@media (max-width: 480px) {
    .store-auth {
        padding-top: 0.75rem;
    }

    .store-auth__card {
        padding: 1.5rem 1.15rem;
        border-radius: 0.85rem;
    }
}

.store-auth__input-wrap--toggle input {
    padding-right: 2.75rem;
}

.store-auth__toggle {
    position: absolute;
    right: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
}

.store-auth__toggle:hover {
    color: var(--text);
    background: #f4f4f5;
}

.store-auth__textarea {
    width: 100%;
    min-height: 6.5rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: #fafafa;
    color: var(--text);
    font: inherit;
    font-size: 0.9375rem;
    resize: vertical;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.store-auth__textarea:focus {
    outline: none;
    border-color: var(--bg-dark);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.store-auth__hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--text-soft);
}

.store-auth__icon--warn {
    background: #fef2f2;
    color: #991b1b;
}

.store-auth__icon--success {
    background: #f0fdf4;
    color: #166534;
}

.store-btn--danger {
    background: #991b1b;
    color: #fff;
}

.store-btn--danger:hover {
    background: #7f1d1d;
}

/* ——— Premium store pages ——— */
.store-page--premium {
    padding: 0.5rem 0 2.5rem;
}

.store-page--premium.store-page--narrow {
    max-width: 42rem;
    margin: 0 auto;
}

.store-page__hero {
    margin-bottom: 1.75rem;
}

.store-page__hero h1 {
    margin: 0 0 0.45rem;
    font-weight: 700;
    color: var(--text);
}

.store-page__hero p,
.store-page__meta {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.store-page__hero--compact {
    margin-bottom: 1.35rem;
}

.store-page__grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .store-page__grid--split {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.store-panel {
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
}

.store-panel h2 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.store-panel h3,
.store-panel__subhead {
    margin: 1.25rem 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.store-panel--muted {
    margin-bottom: 1.25rem;
    background: #fafafa;
}

.store-panel__list {
    margin: 0.65rem 0 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.55;
}

.store-panel__empty,
.store-panel__empty-text {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.store-panel__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
}

.store-panel__empty i {
    font-size: 1.75rem;
    color: var(--text-soft);
}

.store-panel__empty--error i {
    color: #991b1b;
}

.store-dl {
    margin: 0;
}

.store-dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.9375rem;
}

.store-dl div:last-child {
    border-bottom: none;
}

.store-dl dt {
    color: var(--text-muted);
    font-weight: 500;
}

.store-dl dd {
    margin: 0;
    text-align: right;
    font-weight: 600;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.store-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.store-address {
    margin: 0 0 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.store-address:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.store-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.store-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.store-order-list__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, transform 0.15s;
}

.store-order-list__item:hover {
    border-color: #d4d4d8;
    transform: translateY(-1px);
}

.store-order-list__item p {
    margin: 0.25rem 0 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.store-order-list__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    font-weight: 600;
}

.store-page--premium .btn {
    background: var(--accent);
    border-radius: 0.5rem;
    box-shadow: none;
}

.store-page--premium .btn:hover {
    background: var(--accent-hover);
}

.store-page--legal .legal-page__article h1 {
    margin-top: 0;
    font-family: var(--font-display);
}

.store-page--legal .legal-page__body a {
    color: var(--text);
    font-weight: 600;
}

/* ——— App pages (About, Privacy) ——— */
.store-app-page {
    padding: 0.35rem 0 2.5rem;
}

.store-app-page__banner {
    margin: 0 0 1.25rem;
    padding: 1.35rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.store-app-page__banner-inner {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

@media (min-width: 900px) {
    .store-app-page__banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .store-app-page__banner {
        padding: 1.5rem 1.65rem;
    }
}

.store-app-page__banner-copy {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
}

.store-app-page__banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fafafa;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.store-app-page__banner-copy h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.store-app-page__banner-copy > div > p {
    margin: 0;
    max-width: 38rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.store-app-page__updated {
    margin-top: 0.5rem !important;
    font-size: 0.8125rem !important;
    color: var(--text-soft) !important;
}

.store-app-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.store-app-page__action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fafafa;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.store-app-page__action-pill:hover {
    border-color: var(--bg-dark);
    background: #fff;
    transform: translateY(-1px);
}

.store-app-page__action-pill--primary {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #fff;
}

.store-app-page__action-pill--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.store-app-page__highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

@media (max-width: 639px) {
    .store-app-page__highlights {
        grid-template-columns: 1fr;
    }
}

.store-app-page__highlights li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.35;
}

.store-app-page__highlights i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text);
    flex-shrink: 0;
    font-size: 0.8rem;
}

.store-app-page__content {
    max-width: 48rem;
}

.store-app-page__section + .store-app-page__section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
}

.store-app-page__section h2 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.store-app-page__body,
.store-app-page__content .legal-page__body {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.store-app-page__body p,
.store-app-page__content .legal-page__body p {
    margin: 0 0 0.85rem;
}

.store-app-page__body p:last-child,
.store-app-page__content .legal-page__body p:last-child {
    margin-bottom: 0;
}

.store-app-page__body ul,
.store-app-page__content .legal-page__body ul {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.store-app-page__body li,
.store-app-page__content .legal-page__body li {
    margin-bottom: 0.35rem;
}

.store-app-page__body a,
.store-app-page__content .legal-page__body a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.store-app-page__empty {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ——— Cart page ——— */
.store-cart__alert {
    margin-bottom: 1.25rem;
}

.store-cart__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 2.5rem 1.25rem;
}

.store-cart__empty i {
    font-size: 2rem;
    color: var(--text-soft);
}

.cart-layout--premium {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 960px) {
    .cart-layout--premium {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
        gap: 1.5rem;
    }
}

.cart-items--premium {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item--premium {
    display: grid;
    grid-template-columns: 6.5rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-bottom: none;
}

@media (min-width: 640px) {
    .cart-item--premium {
        grid-template-columns: 7.5rem minmax(0, 1fr);
        padding: 1.15rem 1.25rem;
    }
}

.cart-item--premium .cart-item__media {
    display: block;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #f4f4f5;
    aspect-ratio: 1;
}

.cart-item--premium .cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.cart-item__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 6.5rem;
    color: var(--text-soft);
    font-size: 1.35rem;
}

.cart-item--premium .cart-item__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.85rem;
    min-width: 0;
}

.cart-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-item__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.cart-item__title a {
    color: var(--text);
    text-decoration: none;
}

.cart-item__title a:hover {
    color: var(--text-muted);
}

.cart-item__meta,
.cart-item__unit {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.cart-item__refund {
    display: inline-flex;
    margin: 0.35rem 0 0;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
}

.cart-item__refund--yes {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.cart-item__refund--no {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.cart-item__remove-form {
    margin: 0;
    flex-shrink: 0;
}

.cart-item--premium .cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fafafa;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cart-item--premium .cart-item__remove:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.cart-item__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cart-qty__stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fafafa;
    overflow: hidden;
}

.cart-qty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 0.75rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.cart-qty__btn:hover:not(:disabled) {
    background: var(--bg-dark);
    color: #fff;
}

.cart-qty__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.cart-qty__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    margin: 0;
}

.cart-qty__label input[type="number"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.cart-qty__value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1;
    user-select: none;
}

.cart-item__total {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.cart-summary--premium h2 {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.cart-summary--premium .cart-summary__lines {
    margin: 0 0 1.15rem;
}

.cart-summary--premium .cart-summary__lines div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0;
    font-size: 0.9375rem;
}

.cart-summary--premium .cart-summary__total {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-weight: 700;
    font-size: 1.0625rem !important;
}

.cart-coupon--premium {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.cart-coupon--premium input {
    flex: 1;
    min-width: 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--text);
    font: inherit;
    font-size: 0.875rem;
    -webkit-text-fill-color: var(--text);
}

.cart-coupon--premium input::placeholder {
    color: var(--text-soft);
    opacity: 1;
}

.cart-coupon--premium input:focus {
    outline: none;
    border-color: var(--bg-dark);
    background: #fff;
}

.cart-coupon--premium .store-btn {
    flex-shrink: 0;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.cart-summary__coupon-remove {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    background: none;
    color: var(--text-muted);
    font: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cart-summary__coupon-remove:hover {
    color: var(--text);
}

.cart-summary--premium .store-btn--block {
    margin-top: 0.25rem;
}

.cart-summary--premium .store-btn--block:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.cart-summary__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.cart-summary__continue i {
    font-size: 0.75rem;
}

.cart-summary__continue:hover {
    color: var(--text);
}

/* ——— Product page ——— */
.store-product {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    padding: 0.35rem 0 2.5rem;
}

.store-product__breadcrumb {
    margin-bottom: 1.15rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.store-product__breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
}

.store-product__breadcrumb a:hover {
    color: var(--text);
    text-decoration: underline;
}

.store-product__layout {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: start;
    min-width: 0;
    width: 100%;
}

.store-product__buy {
    min-width: 0;
}

.store-product__media {
    position: relative;
    padding: 0;
    overflow: hidden;
    height: fit-content;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
    box-sizing: border-box;
}

@media (min-width: 960px) {
    .store-product__layout,
    .store-product__layout.product-detail {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(1.5rem, 3vw, 2.75rem);
        align-items: start;
    }

    /* Must come after base .store-product__media so sticky is not overridden by position:relative */
    .store-product__media {
        position: sticky;
        top: 5.5rem;
        align-self: start;
        z-index: 1;
        width: 100%;
        max-width: none;
        margin-inline: 0;
        max-height: calc(100vh - 6.25rem);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        overflow: hidden;
    }

    .store-product__media .product-gallery {
        flex: 1 1 auto;
        min-height: 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .store-product__media .product-gallery__frame {
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1 / 1;
        max-height: calc(100vh - 12rem);
        min-height: 0;
        display: block;
        border-radius: 0.5rem;
        overflow: hidden;
        background: #f4f4f5;
        border: none;
        box-shadow: none;
        margin-inline: 0;
    }

    .store-product__media .product-gallery__viewport,
    .store-product__media .product-gallery__slide {
        height: 100%;
        min-height: 0;
        max-height: none;
    }

    .store-product__media .product-gallery__viewport {
        position: absolute;
        inset: 0;
        flex: none;
        width: 100%;
        height: 100%;
        max-width: 100%;
    }

    .store-product__media .product-gallery__slide {
        min-height: 0;
        background: transparent;
    }

    .store-product__media .product-gallery__slide img,
    .store-product__media .product-gallery__img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    .store-product__media .product-gallery__thumbs {
        flex: 0 0 auto;
        position: relative;
        z-index: 2;
        max-width: 100%;
        background: var(--bg);
        padding-top: 0.15rem;
    }

    .store-product__buy {
        padding-top: 0.15rem;
    }
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.product-gallery__frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #f4f4f5;
    box-sizing: border-box;
}

.product-gallery__viewport {
    position: absolute;
    inset: 0;
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.product-gallery__viewport::-webkit-scrollbar {
    display: none;
}

.product-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: -1.125rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    box-shadow: 0 4px 16px rgba(24, 24, 27, 0.12);
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.product-gallery__nav:hover:not(:disabled) {
    background: #fff;
}

.product-gallery__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.product-gallery__nav--prev {
    left: 0.5rem;
}

.product-gallery__nav--next {
    right: 0.5rem;
}

.product-gallery__slide {
    flex: 0 0 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
}

.product-gallery__slide img,
.product-gallery__img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    background: transparent;
    border: none;
    border-radius: 0;
    cursor: zoom-in;
}

.product-gallery__slide--video {
    background: #09090b;
}

.product-gallery__video {
    width: 100%;
    height: 100%;
    background: #09090b;
}

.product-gallery__video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.product-gallery__zoom--video {
    width: 2.35rem;
    height: 2.35rem;
    background: rgba(9, 9, 11, 0.88);
}

.product-gallery__zoom {
    position: absolute;
    right: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.82);
    color: #fff;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.product-gallery__zoom:hover {
    background: var(--bg-dark);
    transform: scale(1.05);
}

.product-upload-showcase {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.product-upload-showcase__label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.product-upload-showcase__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #bbf7d0;
    border-radius: 0.75rem;
    background: #f0fdf4;
    overflow: hidden;
    cursor: zoom-in;
}

.product-upload-showcase__thumb img {
    display: block;
    width: 100%;
    max-height: 14rem;
    object-fit: contain;
}

.product-upload-showcase__zoom {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.82);
    color: #fff;
    font-size: 0.7rem;
}

.product-upload-showcase__name {
    margin: 0.45rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    word-break: break-word;
}

.product-upload-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
    gap: 0.65rem;
}

.product-upload-showcase__item-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.product-upload-slots {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.product-upload-slots--custom {
    margin-top: 0;
}

.product-upload-slots__required {
    font-weight: 500;
    color: var(--text-muted);
}

.product-upload-slots__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 0.75rem;
    margin-top: 0.55rem;
}

.product-upload-slots__hint {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted, #71717a);
}

.product-upload-slot {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.product-upload-slot__label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.product-upload-slot__size {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #71717a;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #f4f4f5;
}

.product-upload-slot__check {
    color: #16a34a;
    font-size: 0.75rem;
}

.product-upload-slot__card {
    position: relative;
    width: 100%;
    aspect-ratio: var(--upload-crop-aspect, 2 / 3);
    border: 1px dashed var(--border);
    border-radius: 0.75rem;
    background: #fafafa;
    overflow: hidden;
}

.product-upload-slot--done .product-upload-slot__card {
    border-style: solid;
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.product-upload-slot__empty:not([hidden]) {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

.product-upload-slot__loading:not([hidden]) {
    display: flex;
    position: absolute;
    inset: 0;
    z-index: 3;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.88);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text);
}

.product-upload-slot__empty[hidden],
.product-upload-slot__filled[hidden],
.product-upload-slot__loading[hidden] {
    display: none !important;
}

.product-upload-slot__pick-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    height: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease;
}

.product-upload-slot__pick-label:hover {
    background: rgba(0, 0, 0, 0.03);
}

.product-upload-slot__pick-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 1.1rem;
}

.product-upload-slot__pick-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.product-upload-slot__pick-hint {
    font-size: 0.6875rem;
    color: var(--text-muted);
}

.product-upload-slot__filled {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.product-upload-slot__bg {
    position: absolute;
    inset: 0;
    background-color: #e4e4e7;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: zoom-in;
}

.product-upload-slot__remove {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.78);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.product-upload-slot__remove:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.product-upload-slot__replace {
    position: absolute;
    left: 0.4rem;
    bottom: 0.4rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    font: inherit;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.product-upload-slot__replace:hover {
    background: #fff;
}

.product-upload-slot__spinner {
    width: 1.35rem;
    height: 1.35rem;
    border: 2px solid #d4d4d8;
    border-top-color: var(--bg-dark);
    border-radius: 999px;
    animation: product-upload-spin 0.7s linear infinite;
}

@keyframes product-upload-spin {
    to {
        transform: rotate(360deg);
    }
}

.product-upload-slots__status {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.product-upload-slots__status--warn {
    color: #b45309;
    font-weight: 500;
}

.product-upload-slots__status--error {
    color: #b91c1c;
    font-weight: 600;
}

.product-upload-slots__status--warn i,
.product-upload-slots__status--error i {
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.product-upload-slots--attention {
    padding: 0.65rem;
    margin: -0.65rem;
    border-radius: 0.65rem;
    background: #fef2f2;
    box-shadow: 0 0 0 1px #fecaca;
}

.product-upload-slots__status--success {
    color: #166534;
    font-weight: 500;
}

.product-upload-slots__status--success i {
    margin-top: 0.1rem;
}

body.photo-crop-open {
    overflow: hidden;
}

.photo-crop-modal[hidden] {
    display: none !important;
}

.photo-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.photo-crop-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.72);
}

.photo-crop-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 42rem);
    max-height: min(92vh, 52rem);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.photo-crop-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #f4f4f5;
}

.photo-crop-modal__head h2 {
    margin: 0;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 1.25rem;
    font-weight: 600;
}

.photo-crop-modal__head p {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #71717a;
}

.photo-crop-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #f4f4f5;
    color: #18181b;
    cursor: pointer;
}

.photo-crop-modal__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 16rem;
    max-height: 58vh;
    background: #09090b;
}

.photo-crop-modal__image {
    display: block;
    max-width: 100%;
}

.photo-crop-modal__tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-top: 1px solid #f4f4f5;
    border-bottom: 1px solid #f4f4f5;
}

.photo-crop-modal__tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e4e4e7;
    border-radius: 999px;
    background: #fff;
    color: #18181b;
    cursor: pointer;
}

.photo-crop-modal__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 0.9rem 1rem 1rem;
}

@media (max-width: 640px) {
    .photo-crop-modal {
        padding: 0;
        align-items: stretch;
    }

    .photo-crop-modal__dialog {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .photo-crop-modal__stage {
        max-height: none;
    }
}

.store-product__upload-hint {
    margin: 0 0 0.65rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.45;
}

.product-upload__preview {
    margin-bottom: 0.75rem;
}

.product-upload__preview-btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #bbf7d0;
    border-radius: 0.65rem;
    background: #fff;
    overflow: hidden;
    cursor: zoom-in;
}

.product-upload__preview-btn img {
    display: block;
    width: 100%;
    max-height: 11rem;
    object-fit: contain;
    background: #f0fdf4;
}

.product-upload__preview-zoom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem;
    background: linear-gradient(transparent, rgba(24, 24, 27, 0.72));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-upload__preview-name {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    word-break: break-word;
}

.product-gallery__thumbs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-gallery__thumbs::-webkit-scrollbar {
    display: none;
}

.product-gallery__thumb {
    flex: 0 0 auto;
    width: 3.75rem;
    height: 3.75rem;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 0.45rem;
    background: none;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.72;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    opacity: 1;
    border-color: var(--bg-dark);
}

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

.product-gallery__thumb--video {
    position: relative;
}

.product-gallery__thumb-play {
    position: absolute;
    inset: 50% auto auto 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.94);
    color: #fff;
    font-size: 0.65rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.variant-tiles {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.variant-tiles__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.variant-tiles__item {
    position: relative;
    cursor: pointer;
}

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

.variant-tiles__box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.25rem;
    min-height: 2.35rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fafafa;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.variant-tiles__item:hover .variant-tiles__box {
    border-color: #a1a1aa;
    background: #fff;
}

.variant-tiles__item:has(input:checked) .variant-tiles__box {
    border-color: var(--bg-dark);
    background: var(--bg-dark);
    color: #fff;
    box-shadow: 0 0 0 1px var(--bg-dark);
}

.store-product__variant-dims {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-config-wizard {
    display: grid;
    gap: 0.85rem;
}

.product-config-step {
    padding: 1rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-config-step[hidden] {
    display: none !important;
}

.product-config-step[data-wizard-active] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.08);
}

.product-config-step[data-wizard-done] {
    border-color: rgba(22, 163, 74, 0.22);
    background: rgba(22, 163, 74, 0.03);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.product-config-step__head {
    margin-bottom: 0.85rem;
}

.product-config-step[data-wizard-done] .product-config-step__head {
    display: none;
}

.product-config-step__badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.35rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-config-step__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

.product-config-step__lead {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.product-config-step__done {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.product-config-step__done-text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #166534;
}

.product-config-step__done-text i {
    color: #16a34a;
}

.product-config-step__edit {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-config-step__edit:hover {
    color: #1d4ed8;
}

.product-config-step--checkout[data-wizard-active] {
    border-color: rgba(202, 138, 4, 0.35);
    box-shadow: 0 0 0 1px rgba(202, 138, 4, 0.1);
}

.product-config-step--checkout .product-config-step__badge {
    background: rgba(202, 138, 4, 0.12);
    color: #a16207;
}

.product-config-wizard__form {
    display: grid;
    gap: 0.85rem;
}

.product-customize-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(99, 102, 241, 0.02));
}

.product-customize-bar__btn {
    flex-shrink: 0;
    gap: 0.45rem;
}

.product-customize-bar__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--text-muted);
}

.product-customize-bar__status--done {
    color: #166534;
    font-weight: 600;
}

.product-customize-modal[hidden] {
    display: none !important;
}

.product-customize-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-customize-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.55);
    backdrop-filter: blur(4px);
}

.product-customize-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(100%, 52rem);
    max-height: min(92vh, 48rem);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-customize-modal {
        padding: 1.5rem;
    }

    .product-customize-modal__dialog {
        width: min(100%, 56rem);
    }

    .product-customize-modal__body .product-upload-slots__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.product-customize-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #f4f4f5;
}

.product-customize-modal__head h2 {
    margin: 0;
    font-family: var(--font-display, 'Outfit', sans-serif);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-customize-modal__head p {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #71717a;
}

.product-customize-modal__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: #f4f4f5;
    color: #18181b;
    cursor: pointer;
}

.product-customize-modal__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem;
    display: grid;
    gap: 1rem;
}

.product-customize-modal__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    padding: 0.85rem 1rem 1rem;
    border-top: 1px solid #f4f4f5;
}

.product-customize-modal__error {
    flex: 1 1 100%;
    margin: 0 0 0.25rem;
    font-size: 0.8125rem;
    color: #b91c1c;
}

.store-product__customization--modal {
    margin-top: 0.25rem;
}

body.product-customize-modal-open {
    overflow: hidden;
}

.frame-catalog-picker.store-product__frame-catalog {
    display: contents;
}

.product-option-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-option-group {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-soft, #e4e4e7);
}

.product-option-group:first-child {
    padding-top: 0.25rem;
}

.product-option-group:last-child,
.product-option-group--actions {
    border-bottom: none;
    padding-bottom: 0;
}

.product-option-group--qty {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: start;
}

@media (min-width: 480px) {
    .product-option-group--qty {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 1.25rem;
    }
}

.product-option-qty {
    width: 100%;
    max-width: 11.5rem;
    justify-self: start;
}

@media (min-width: 480px) {
    .product-option-qty {
        justify-self: end;
    }
}

.product-option-group--qty .store-product__field-label {
    margin-bottom: 0;
}

.product-option-group--actions {
    padding-top: 1rem;
}

.store-product__variant-dims {
    gap: 0.75rem;
}

.store-product__variant-dims .variant-tiles--thickness,
.store-product__variant-dims .variant-tiles--size {
    display: grid;
    gap: 0.75rem;
}

.frame-catalog-picker__step {
    display: grid;
    gap: 0.75rem;
}

.frame-catalog-picker__step[hidden] {
    display: none !important;
}

.frame-catalog-picker__frames,
.frame-opt-grid {
    display: grid;
    gap: 0.65rem;
}

.frame-opt-grid--material {
    grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
}

.frame-opt-grid--frame {
    grid-template-columns: repeat(auto-fill, minmax(6.75rem, 1fr));
}

.frame-opt-grid--size {
    grid-template-columns: repeat(auto-fill, minmax(5.75rem, 1fr));
    gap: 0.55rem;
}

@media (min-width: 640px) {
    .frame-opt-grid--material {
        grid-template-columns: repeat(auto-fill, minmax(6.25rem, 1fr));
    }

    .frame-opt-grid--frame {
        grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
    }
}

.frame-opt {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0;
    padding: 0.45rem;
    border: 1.5px solid var(--border, #e4e4e7);
    border-radius: 0.75rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.frame-opt:hover {
    border-color: #a1a1aa;
    box-shadow: 0 4px 14px rgba(24, 24, 27, 0.06);
}

.frame-opt input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.frame-opt:has(input:checked) {
    border-color: var(--bg-dark, #111);
    background: #fff;
    box-shadow: 0 0 0 1px var(--bg-dark, #111), 0 6px 16px rgba(24, 24, 27, 0.08);
}

.frame-opt__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 4.25rem;
    padding: 0.35rem;
    overflow: hidden;
    border-radius: 0.5rem;
    background: #f4f4f5;
}

.frame-opt--frame .frame-opt__visual {
    height: 4.75rem;
}

.frame-opt__swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 0.35rem;
    background: #fff;
    border: 1px solid rgba(24, 24, 27, 0.06);
    overflow: hidden;
}

.frame-opt__swatch img {
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
    display: block;
}

.frame-opt__zoom {
    position: absolute;
    right: 0.3rem;
    bottom: 0.3rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(24, 24, 27, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #27272a;
    box-shadow: 0 2px 8px rgba(24, 24, 27, 0.12);
    cursor: zoom-in;
    opacity: 0.85;
    transform: scale(1);
    transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
    .frame-opt__zoom {
        opacity: 0;
        transform: scale(0.92);
    }

    .frame-opt:hover .frame-opt__zoom,
    .frame-opt:focus-within .frame-opt__zoom,
    .frame-opt:has(input:checked) .frame-opt__zoom {
        opacity: 1;
        transform: scale(1);
    }
}

.frame-opt__zoom:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.frame-opt__zoom i {
    font-size: 0.7rem;
}

.frame-opt__visual--fallback {
    background: linear-gradient(145deg, #27272a 0%, #18181b 100%);
}

.frame-opt__initial {
    font-family: var(--font-display, inherit);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fafafa;
    letter-spacing: 0.02em;
}

.frame-opt__meta {
    display: grid;
    gap: 0.1rem;
    text-align: center;
    padding: 0 0.1rem 0.1rem;
}

.frame-opt__name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text, #18181b);
    line-height: 1.25;
    word-break: break-word;
}

.frame-opt__price {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-soft, #71717a);
}

.frame-opt:has(input:checked) .frame-opt__name {
    color: var(--bg-dark, #111);
}

.frame-opt--size {
    padding: 0;
    border-radius: 0.65rem;
}

.frame-opt__size-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 2.85rem;
    padding: 0.55rem 0.65rem;
    text-align: center;
}

.frame-opt--size .frame-opt__name {
    font-size: 0.875rem;
}

.frame-opt--size .frame-opt__price {
    color: #059669;
}

.frame-opt--size:has(input:checked) {
    background: var(--bg-dark, #111);
    border-color: var(--bg-dark, #111);
}

.frame-opt--size:has(input:checked) .frame-opt__name,
.frame-opt--size:has(input:checked) .frame-opt__price {
    color: #fff;
}

.frame-catalog-picker__sizes.variant-tiles__grid,
.frame-catalog-picker__grid.variant-tiles__grid {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
}

.store-product__qty-row {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 0;
    padding: 0;
    border-top: none;
}

.store-product__qty-row > label,
.store-product__qty-row .store-product__field-label {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0;
}

.product-detail__qty-stepper.product-option-qty {
    min-height: 2.85rem;
    border: 1.5px solid var(--border, #e4e4e7);
    border-radius: 0.65rem;
    background: #fafafa;
    overflow: hidden;
}

.product-detail__qty-stepper.product-option-qty .cart-qty__btn {
    width: 2.75rem;
    min-height: 2.85rem;
    font-size: 0.9rem;
}

.product-detail__qty-stepper.product-option-qty input[type="number"] {
    min-width: 3rem;
    font-size: 1rem;
    font-weight: 700;
}

.store-product__variant-hint {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #991b1b;
}

.store-product__border-section {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 1rem;
}

.border-picker-pro {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 0.65rem;
}

.border-picker-pro__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: #fafafa;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.border-picker-pro__card:has(input:checked) {
    border-color: var(--bg-dark);
    background: #fff;
    box-shadow: 0 0 0 1px var(--bg-dark);
}

.border-picker-pro__card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.border-picker-pro__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.75rem;
    padding: 0.35rem;
    border-radius: 0.5rem;
    background: #fff;
}

.border-picker-pro__visual img {
    width: 100%;
    max-height: 4.5rem;
    object-fit: contain;
}

.border-picker-pro__preview {
    position: absolute;
    right: 0.3rem;
    bottom: 0.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border: none;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.82);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
}

.border-picker-pro__preview:hover {
    background: var(--bg-dark);
    transform: scale(1.05);
}

.border-picker-pro__info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    text-align: center;
}

.border-picker-pro__name {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

.border-picker-pro__price {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
}

.product-option-group .store-product__field-label {
    margin-bottom: 0;
    font-size: 1.0625rem;
}

.frame-catalog-picker {
    display: contents;
}

.frame-catalog-picker__frame-card {
    min-height: 100%;
}

.store-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
}

.store-lightbox[hidden] {
    display: none;
}

.store-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 11, 0.94);
    backdrop-filter: blur(6px);
}

.store-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3.5rem 1rem 4.5rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.store-lightbox__close {
    position: fixed;
    top: max(0.85rem, env(safe-area-inset-top));
    right: max(0.85rem, env(safe-area-inset-right));
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background 0.15s ease;
}

.store-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.store-lightbox__viewport {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    user-select: none;
}

.store-lightbox__image {
    display: block;
    width: auto;
    max-width: min(96vw, 100%);
    max-height: calc(100vh - 7rem);
    margin: 0 auto;
    object-fit: contain;
}

.store-lightbox__video {
    width: min(92vw, 75rem);
    max-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 8rem);
    border: 0;
    border-radius: 0.75rem;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.store-lightbox__video[hidden] {
    display: none;
}

.store-lightbox__nav {
    position: fixed;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    transition: background 0.15s ease, transform 0.15s ease;
}

.store-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-50%) scale(1.05);
}

.store-lightbox__nav--prev {
    left: max(0.75rem, env(safe-area-inset-left));
}

.store-lightbox__nav--next {
    right: max(0.75rem, env(safe-area-inset-right));
}

.store-lightbox__nav[hidden] {
    display: none;
}

.store-lightbox__meta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 2rem 1.25rem max(1.15rem, env(safe-area-inset-bottom));
    text-align: center;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    pointer-events: none;
}

.store-lightbox__meta strong {
    font-size: 1.05rem;
    color: #fff;
}

.store-lightbox__meta span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
}

.store-lightbox__meta span[hidden] {
    display: none;
}

.store-lightbox__counter {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 640px) {
    .store-lightbox__dialog {
        padding-inline: 0;
    }

    .store-lightbox__nav {
        width: 2.5rem;
        height: 2.5rem;
        background: rgba(9, 9, 11, 0.5);
    }
}

body.store-lightbox-open {
    overflow: hidden;
}

.store-product__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    border-radius: 0.5rem;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    background: #f4f4f5;
}

.product-page--video .store-product__video {
    position: relative;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    aspect-ratio: 9 / 16;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #18181b;
}

.product-page--video .store-product__video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.store-product__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 14rem;
    border-radius: 0.65rem;
    background: #f4f4f5;
    color: var(--text-soft);
    font-size: 0.9375rem;
    font-weight: 500;
}

.store-product__thumbs {
    margin-top: 0.65rem;
}

.store-product__head {
    margin-bottom: 1rem;
}

.store-product__badge {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.store-product__badge--muted {
    background: #f4f4f5;
    color: var(--text-muted);
}

.store-product__head h1 {
    margin: 0 0 0.45rem;
}

.store-product__rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.store-product__rating i {
    color: #ca8a04;
    font-size: 0.8rem;
}

.store-product__rating span {
    color: var(--text-muted);
    font-weight: 500;
}

.store-product__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-bottom: 0.65rem;
}

.store-product__share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.store-product__share-btn--overlay {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 4;
    box-shadow: 0 4px 16px rgba(24, 24, 27, 0.12);
    backdrop-filter: blur(6px);
}

.store-product__share-btn:hover {
    background: #fff;
    border-color: #d4d4d8;
}

.store-product__share-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.store-product__share-btn i {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.store-product__share-btn.is-copied {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.store-product__share-btn.is-copied i {
    color: #166534;
}

@media (max-width: 479px) {
    .store-product__share-btn--overlay .store-product__share-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .store-product__share-btn--overlay {
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        justify-content: center;
        border-radius: 999px;
    }
}

.store-product__price {
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.store-product__mrp {
    font-size: 0.9375rem;
    color: var(--text-soft);
    text-decoration: line-through;
}

.store-product__sale-tag {
    padding: 0.18rem 0.45rem;
    border-radius: 0.35rem;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.store-product__refund {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.65rem 0 0;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
}

.store-product__refund i {
    font-size: 0.75rem;
}

.store-product__refund--yes {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.store-product__refund--no {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.store-product__lead {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.store-product__form-wrap {
    margin-bottom: 1.25rem;
}

.store-product__field-label,
.store-product__form .store-auth__field > label,
.store-product__upload .store-product__field-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.store-product__form .variant-tiles__box,
.frame-catalog-picker .variant-tiles__box {
    font-size: 0.9375rem;
    min-height: 2.55rem;
    padding: 0.5rem 0.9rem;
}

.frame-catalog-picker__step .store-product__field-label {
    font-size: 1.0625rem;
}

.store-product__variant-dims .variant-tiles--thickness .store-product__field-label,
.store-product__variant-dims .variant-tiles--size .store-product__field-label {
    font-size: 1.0625rem;
}

.store-product__form .store-auth__field {
    margin-bottom: 1rem;
}

.store-product__form .store-auth__input-wrap {
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: transparent;
}

.store-product__form .store-auth__input-wrap:focus-within {
    border-color: var(--bg-dark);
}

.store-product__customization {
    margin-bottom: 1rem;
    padding-top: 0.15rem;
}

.store-product__customization--below-photos {
    margin-top: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.store-product__customization-title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.store-product__custom-fields {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.store-product__custom-field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.store-product__custom-field input {
    display: block;
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-product__custom-field input::placeholder {
    color: var(--text-soft);
}

.store-product__custom-field input:focus {
    outline: none;
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.store-product__form .store-auth__input-wrap select {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0.65rem 0.85rem 0.65rem 0;
    font: inherit;
    font-size: 0.9375rem;
    color: var(--text);
    appearance: none;
    cursor: pointer;
}

.store-product__upload {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.product-upload {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.product-upload__panel {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px dashed var(--border);
    border-radius: 0.75rem;
    background: #fafafa;
}

.product-upload--success .product-upload__panel {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.product-upload__pick {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 480px) {
    .product-upload__pick {
        flex-direction: row;
        align-items: center;
    }
}

.product-upload__input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-upload__choose {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-shrink: 0;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.product-upload__choose:hover {
    border-color: #a1a1aa;
    background: #fff;
}

.product-upload__filename {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.4;
    word-break: break-word;
}

.product-upload__filename.is-selected {
    color: var(--text);
    font-weight: 500;
}

.product-upload__submit {
    width: 100%;
    justify-content: center;
    gap: 0.45rem;
}

.product-upload__hint {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--text-muted);
}

.product-upload__hint--success {
    color: #166534;
    font-weight: 500;
}

.product-upload__hint--success i {
    margin-top: 0.1rem;
}

.store-product__upload-row {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

@media (min-width: 480px) {
    .store-product__upload-row {
        flex-direction: row;
        align-items: center;
    }
}

.store-product__file-input {
    flex: 1;
    min-width: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.store-product__hint {
    margin: 0.45rem 0 0;
}

.store-product__border-picker.border-picker {
    margin-top: 0;
}

.store-product__border-picker .border-picker__item {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    padding: 0.55rem;
    background: #fafafa;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.store-product__border-picker .border-picker__item:has(input:checked) {
    border-color: var(--bg-dark);
    box-shadow: 0 0 0 1px var(--bg-dark);
    background: #fff;
}

.store-product__border-picker .border-picker__name {
    font-weight: 600;
    color: var(--text);
}

.store-product__border-picker .border-picker__price {
    color: var(--text-muted);
}

.store-product__submit i {
    margin-right: 0.35rem;
}

.store-product__actions {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 480px) {
    .store-product__actions:has(.store-product__submit--buy-now) {
        grid-template-columns: 1fr 1fr;
    }
}

.store-product__submit--buy-now i {
    margin-right: 0.35rem;
}

.store-product__auth {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    padding: 0.25rem 0;
}

.store-product__auth-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text);
    font-size: 1.05rem;
}

.store-product__auth h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.store-product__auth p {
    margin: 0;
    max-width: 22rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.store-product__auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    margin-top: 0.35rem;
}

.store-product__description {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* ——— Product reviews ——— */
.store-product-reviews {
    margin: 0 0 2rem;
    padding: 1.35rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--bg-elevated);
    box-shadow: var(--shadow-soft);
}

.store-product-reviews h2 {
    margin: 0 0 1.15rem;
    font-size: 1.35rem;
    font-weight: 700;
}

.store-product-reviews--inline {
    margin: 1.35rem 0 0;
    padding: 1.35rem 0 0;
    border: none;
    border-top: 1px solid var(--border-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.store-product-reviews--inline h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.store-product-reviews--inline .store-product-reviews__summary {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.store-product-reviews--inline .store-product-reviews__score {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.85rem;
    text-align: left;
}

.store-product-reviews--inline .store-product-reviews__average {
    font-size: 2rem;
}

.store-product-reviews--inline .store-product-reviews__count {
    margin: 0;
    width: 100%;
}

.store-product-reviews--inline .store-product-reviews__item-head {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
}

.store-product-reviews--inline .store-product-reviews__date {
    grid-column: 2;
    margin-top: -0.15rem;
}

.store-product__rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.store-product__rating-link:hover {
    opacity: 0.75;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.store-product-reviews__summary {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.35rem;
    padding-bottom: 1.35rem;
    border-bottom: 1px solid var(--border-soft);
}

@media (min-width: 640px) {
    .store-product-reviews__summary {
        grid-template-columns: minmax(0, 9rem) minmax(0, 1fr);
        align-items: center;
        gap: 2rem;
    }
}

.store-product-reviews__score {
    text-align: center;
}

.store-product-reviews__average {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.store-product-reviews__stars,
.store-product-reviews__item-stars {
    display: inline-flex;
    gap: 0.15rem;
}

.store-product-reviews__stars .fa-star,
.store-product-reviews__item-stars .fa-star {
    font-size: 0.85rem;
}

.store-product-reviews__stars .fa-star.is-filled,
.store-product-reviews__item-stars .fa-star.is-filled {
    color: #f59e0b;
}

.store-product-reviews__stars .fa-star.is-empty,
.store-product-reviews__item-stars .fa-star.is-empty {
    color: #d4d4d8;
}

.store-product-reviews__count {
    margin: 0.45rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.store-product-reviews__bars {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.store-product-reviews__bar-row {
    display: grid;
    grid-template-columns: 2.75rem 1fr 1.75rem;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.store-product-reviews__bar-label {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 600;
}

.store-product-reviews__bar-label .fa-star {
    font-size: 0.65rem;
    color: #f59e0b;
}

.store-product-reviews__bar-track {
    display: block;
    height: 0.45rem;
    border-radius: 999px;
    background: #f4f4f5;
    overflow: hidden;
}

.store-product-reviews__bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--bg-dark);
    min-width: 0;
}

.store-product-reviews__bar-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.store-product-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.store-product-reviews__item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.store-product-reviews__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.store-product-reviews__item-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 0.65rem;
    margin-bottom: 0.55rem;
}

.store-product-reviews__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
}

.store-product-reviews__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
}

.store-product-reviews__date {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.store-product-reviews__comment {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text);
}

.store-product-reviews__comment--muted {
    color: var(--text-muted);
    font-style: italic;
}

.store-product-reviews__empty {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.store-product__related {
    position: relative;
    z-index: 2;
    margin-top: 2.5rem;
    padding-top: 0.5rem;
    background: var(--bg);
}

.store-videos__grid--related {
    margin-top: 0;
}

.product-detail__description {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.product-detail__description h2 {
    margin: 0 0 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.product-detail__description-body {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.product-detail__description-body p {
    margin: 0 0 0.85rem;
}

.product-detail__description-body p:last-child {
    margin-bottom: 0;
}

.product-detail__description-body strong,
.product-detail__description-body b {
    color: var(--text);
    font-weight: 600;
}

.product-detail__description-body ul,
.product-detail__description-body ol {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.product-detail__description-body li {
    margin-bottom: 0.35rem;
}

.product-detail__description-body li:last-child {
    margin-bottom: 0;
}

.product-detail__description-body h3,
.product-detail__description-body h4 {
    margin: 1.25rem 0 0.5rem;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
}

.product-detail__description-body a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.product-detail__description-body br {
    content: '';
    display: block;
    margin-bottom: 0.35rem;
}

.product-detail__qty-stepper input[type="number"] {
    width: 2.75rem;
    border: none;
    background: transparent;
    text-align: center;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    -moz-appearance: textfield;
    appearance: textfield;
}

.product-detail__qty-stepper input[type="number"]::-webkit-outer-spin-button,
.product-detail__qty-stepper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-detail__qty .cart-qty__stepper {
    margin-top: 0.35rem;
}

.product-page .store-btn--gold {
    margin-top: 0.5rem;
}

.store-page--premium .payment-box {
    border-color: var(--border);
}

/* ——— Checkout page ——— */
.store-checkout .store-page__hero p {
    max-width: 36rem;
}

.checkout-steps {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

.checkout-steps__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-soft);
    text-decoration: none;
}

.checkout-steps__item--done {
    color: var(--text-muted);
}

.checkout-steps__item--done:hover {
    color: var(--text);
}

.checkout-steps__item--active {
    color: var(--text);
    font-weight: 600;
}

.checkout-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    background: #f4f4f5;
    font-size: 0.6875rem;
    font-weight: 700;
}

.checkout-steps__item--active .checkout-steps__num {
    background: var(--bg-dark);
    color: #fff;
}

.checkout-steps__item--done .checkout-steps__num {
    background: var(--bg-dark);
    color: #fff;
}

.checkout-steps__sep {
    width: 1.75rem;
    height: 1px;
    background: var(--border);
}

.checkout-layout {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

@media (min-width: 960px) {
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
        gap: 1.5rem;
    }

    .checkout-layout__aside {
        position: sticky;
        top: 1rem;
    }
}

.checkout-layout__main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-panel {
    margin: 0;
}

.checkout-panel__title {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.15rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.checkout-panel__title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text);
    font-size: 0.8rem;
}

.checkout-panel__lead {
    margin: -0.35rem 0 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.checkout-payment-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.checkout-payment-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 7.25rem;
    gap: 0.9rem;
    padding: 1.1rem 1.15rem;
    border: 2px solid #e4e4e7;
    border-radius: 1rem;
    background: #fff;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.checkout-payment-option:hover {
    transform: translateY(-1px);
    border-color: #d4a72c;
    box-shadow: 0 8px 22px rgba(39, 31, 13, 0.08);
}

.checkout-payment-option:has(input:checked) {
    border-color: #b88912;
    background: linear-gradient(145deg, #fffdf4, #fff8dc);
    box-shadow: 0 0 0 3px rgba(212, 167, 44, 0.14), 0 8px 22px rgba(39, 31, 13, 0.08);
}

.checkout-payment-option input {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0.15rem 0 0;
    accent-color: #b88912;
}

.checkout-payment-option span {
    display: grid;
    gap: 0.4rem;
}

.checkout-payment-option strong {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.25;
}

.checkout-payment-option small,
.checkout-payment-unavailable {
    color: var(--text-muted);
    line-height: 1.45;
}

.checkout-payment-option small {
    font-size: 0.84rem;
}

.checkout-payment-unavailable {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0.8rem 1rem;
    border-radius: 0.65rem;
    background: #f4f4f5;
    font-size: 0.85rem;
}

.seller-apply-page {
    max-width: 58rem;
    margin-inline: auto;
}

.seller-apply-card {
    display: grid;
    gap: 1.25rem;
}

.seller-apply-card h2,
.seller-apply-card p {
    margin: 0;
}

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

.seller-apply-form {
    display: grid;
    gap: 1.25rem;
}

.seller-apply-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: #fafafa;
    color: var(--text);
    font: inherit;
}

.seller-status {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 0.9rem;
    background: #f4f4f5;
}

.seller-status--approved {
    background: #ecfdf5;
}

.seller-status--pending {
    background: #fffbeb;
}

.seller-status--rejected,
.seller-status--suspended {
    background: #fff1f2;
}

@media (max-width: 639px) {
    .checkout-payment-options {
        grid-template-columns: 1fr;
    }

    .checkout-payment-option {
        min-height: auto;
    }
}


.checkout-fields {
    display: grid;
    gap: 0.85rem;
}

.checkout-fields--2 {
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .checkout-fields--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.checkout-field--full {
    grid-column: 1 / -1;
}

.checkout-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
}

.checkout-field input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.55rem;
    background: #fafafa;
    color: var(--text);
    font: inherit;
    font-size: 0.9375rem;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.checkout-field input:hover {
    border-color: #d4d4d8;
}

.checkout-field input:focus {
    outline: none;
    border-color: var(--bg-dark);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.checkout-address-card {
    padding: 1rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    background: #fafafa;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.checkout-address-card p {
    margin: 0 0 0.2rem;
}

.checkout-address-card__name {
    margin-bottom: 0.35rem !important;
    font-weight: 600;
    color: var(--text);
}

.checkout-address-card__phone {
    margin-top: 0.35rem !important;
    color: var(--text);
}

.checkout-summary h2 {
    margin: 0 0 1rem;
}

.checkout-summary__items {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkout-summary__item {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: start;
}

.checkout-summary__thumb {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.5rem;
    object-fit: cover;
    background: #f4f4f5;
}

.checkout-summary__thumb--empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.checkout-summary__item-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.checkout-summary__item-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.checkout-summary__item-meta,
.checkout-summary__item-qty {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.checkout-summary__item-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.checkout-summary__totals {
    margin: 0 0 1.15rem;
}

.checkout-summary__totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.4rem 0;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.checkout-summary__totals dd {
    margin: 0;
    color: var(--text);
    font-weight: 500;
}

.checkout-summary__grand {
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    font-weight: 700 !important;
    font-size: 1.0625rem !important;
    color: var(--text) !important;
}

.checkout-summary__grand dd {
    font-weight: 700;
}

.checkout-summary__gst-note {
    margin: -0.35rem 0 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: right;
}

.checkout-summary__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0;
}

.checkout-summary__pay {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.checkout-summary__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0.65rem 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.checkout-summary__secure i {
    font-size: 0.7rem;
    opacity: 0.85;
}

.checkout-summary__pay .store-payments--compact {
    margin-top: 1rem;
    padding-top: 0;
    border-top: none;
}

.checkout-summary__pay .store-payments--compact .store-payments__label {
    margin-bottom: 0.5rem;
}

.checkout-summary__pay .store-payments--compact .store-payments__banner {
    max-width: 100%;
    margin-inline: auto;
}

.checkout-summary__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.checkout-summary__back i {
    font-size: 0.75rem;
}

.checkout-summary__back:hover {
    color: var(--text);
}

/* Fixed bottom pay bar (mobile only) */
.store-checkout {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 960px) {
    .store-checkout {
        padding-bottom: 2.5rem;
    }

    .checkout-paybar--mobile {
        display: none;
    }

    .checkout-summary__pay--sidebar {
        display: block;
    }
}

@media (max-width: 959px) {
    .checkout-summary__pay--sidebar .checkout-summary__submit,
    .checkout-summary__pay--sidebar .checkout-summary__secure {
        display: none;
    }

    .checkout-summary__pay--sidebar {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

.checkout-paybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    padding: 0.75rem var(--store-gutter);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(24, 24, 27, 0.08);
    backdrop-filter: blur(10px);
}

.checkout-paybar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

.checkout-paybar__total {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.checkout-paybar__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.checkout-paybar__total strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.checkout-paybar__gst {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.checkout-paybar__btn {
    flex: 0 0 auto;
    min-width: min(100%, 11.5rem);
    padding-left: 1.35rem;
    padding-right: 1.35rem;
    gap: 0.45rem;
}

.checkout-summary__submit:disabled,
.checkout-summary__submit.is-disabled,
.checkout-paybar__btn:disabled,
.checkout-paybar__btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Product page — fixed bottom add-to-cart bar (mobile) */
.product-page {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 960px) {
    .product-page {
        padding-bottom: 0;
    }

    .product-paybar--mobile {
        display: none;
    }
}

@media (max-width: 959px) {
    .store-product__submit--inline {
        display: none;
    }
}

.product-paybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    padding: 0.75rem var(--store-gutter);
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 30px rgba(24, 24, 27, 0.08);
    backdrop-filter: blur(10px);
}

.product-paybar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

.product-paybar__price {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.product-paybar__label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.product-paybar__price strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.1;
}

.product-paybar__btn {
    flex: 0 0 auto;
    min-width: min(100%, 11.5rem);
    padding-left: 1.35rem;
    padding-right: 1.35rem;
    gap: 0.45rem;
    text-decoration: none;
}

.product-paybar__btn i {
    margin-right: 0.35rem;
}

.checkout-pincode-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem;
}

.checkout-pincode-row [data-checkout-pincode] {
    flex: 1 1 8rem;
    min-width: 0;
}

.checkout-locate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: #fafafa;
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.checkout-locate-btn:hover:not(:disabled) {
    background: #f4f4f5;
    border-color: #d4d4d8;
}

.checkout-locate-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.checkout-pincode-row [data-checkout-pincode].is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.checkout-pincode-status {
    margin: 0.55rem 0 0;
    padding: 0.65rem 0.85rem;
    border-radius: 0.55rem;
    font-size: 0.8125rem;
    line-height: 1.45;
}

.checkout-pincode-status--idle {
    background: #f4f4f5;
    color: var(--text-muted);
}

.checkout-pincode-status--loading {
    background: #f4f4f5;
    color: var(--text-muted);
}

.checkout-pincode-status--ok {
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.checkout-pincode-status--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.checkout-pincode-hint {
    margin: 0.4rem 0 0;
    font-size: 0.75rem;
    color: var(--text-soft, #71717a);
}

@media (min-width: 960px) {
    .checkout-paybar__inner {
        max-width: none;
        padding-left: var(--store-gutter);
        padding-right: var(--store-gutter);
    }
}

.cart-summary--premium .store-payments--compact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.store-payments--compact .store-payments__label {
    margin-bottom: 0.65rem;
    font-size: 0.6875rem;
}

.store-payments--compact .store-payments__banner {
    max-width: 100%;
    border-radius: 0.5rem;
}

.payment-box.store-panel {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
}

.payment-box .store-payments--compact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

/* ——— Help page ——— */
.store-help {
    padding: 0.35rem 0 2.5rem;
}

.store-help__banner {
    margin: 0 0 1.5rem;
    padding: 1.35rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.store-help__banner-inner {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

@media (min-width: 900px) {
    .store-help__banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .store-help__banner {
        padding: 1.5rem 1.65rem;
    }
}

.store-help__banner-copy {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
}

.store-help__banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fafafa;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.store-help__banner-copy h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.store-help__banner-copy p {
    margin: 0;
    max-width: 36rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.store-help__banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.store-help__action-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fafafa;
    color: var(--text);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.store-help__action-pill:hover {
    border-color: var(--bg-dark);
    background: #fff;
    transform: translateY(-1px);
}

.store-help__action-pill--primary {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
    color: #fff;
}

.store-help__action-pill--primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.store-help__layout {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 960px) {
    .store-help__layout {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        align-items: start;
    }
}

.store-help__panel-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.store-help__panel-head h2 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
}

.store-help__panel-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.store-help__panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text);
    flex-shrink: 0;
}

.store-help__contact-list {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    border: 1px solid var(--border-soft);
    border-radius: 0.85rem;
    overflow: hidden;
    background: #fafafa;
}

.store-help__contact-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-soft);
    background: #fff;
}

.store-help__contact-list li:last-child {
    border-bottom: none;
}

.store-help__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.store-help__contact-list strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.store-help__contact-list a {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

.store-help__contact-list a:hover {
    text-decoration: underline;
}

.store-help__contact-list span {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.store-help__quick {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.store-help__quick .store-btn i {
    margin-right: 0.35rem;
}

.store-help__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding-top: 0.15rem;
    border-top: 1px solid var(--border-soft);
}

.store-help__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 1rem;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.store-help__social a:hover {
    border-color: var(--bg-dark);
    background: #fafafa;
    transform: translateY(-1px);
    opacity: 1;
}

.store-help__message-form .store-btn i {
    margin-right: 0.35rem;
}

.store-help__form-fallback {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* ——— Videos page ——— */
.store-videos {
    padding: 0.35rem 0 2.5rem;
}

.store-videos__banner {
    margin: 0 0 1.5rem;
    padding: 1.35rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.store-videos__banner-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 900px) {
    .store-videos__banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .store-videos__banner {
        padding: 1.5rem 1.65rem;
    }
}

.store-videos__banner-copy {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
}

.store-videos__banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fafafa;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.store-videos__banner-copy h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.store-videos__banner-copy p {
    margin: 0;
    max-width: 38rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.store-videos__search {
    width: 100%;
    max-width: 18rem;
}

@media (min-width: 900px) {
    .store-videos__search {
        flex-shrink: 0;
    }
}

.store-videos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: start;
}

@media (min-width: 640px) {
    .store-videos__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 960px) {
    .store-videos__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem;
    }
}

.store-videos__pagination {
    margin-top: 1.75rem;
}

.store-videos__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 2.5rem 1.5rem;
}

.store-videos__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text-soft);
    font-size: 1.35rem;
}

.store-videos__empty h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.store-videos__empty p {
    margin: 0;
    max-width: 26rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.video-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    box-shadow: none;
    transition: opacity 0.2s;
}

.video-product-card:hover {
    opacity: 0.92;
    transform: none;
    box-shadow: none;
}

.video-product-card__media {
    display: block;
    text-decoration: none;
    color: inherit;
}

.video-product-card__frame {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #f4f4f5;
    border-radius: 0;
}

.video-product-card__frame img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    transition: transform 0.25s ease;
}

.video-product-card:hover .video-product-card__frame img {
    transform: scale(1.03);
}

.video-product-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    transition: background 0.15s;
}

.video-product-card__play i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--bg-dark);
    font-size: 0.75rem;
    padding-left: 0.12rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

@media (min-width: 640px) {
    .video-product-card__play i {
        width: 2.65rem;
        height: 2.65rem;
        font-size: 0.85rem;
    }
}

.video-product-card:hover .video-product-card__play {
    background: rgba(0, 0, 0, 0.28);
}

.video-product-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: var(--text-soft);
    font-size: 0.8125rem;
    font-weight: 600;
    background: #f4f4f5;
}

.video-product-card__placeholder i {
    font-size: 1.35rem;
}

.video-product-card__sale {
    position: absolute;
    top: 0.45rem;
    left: 0.45rem;
    z-index: 1;
    padding: 0.18rem 0.4rem;
    border-radius: 0.3rem;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.video-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.2rem;
    padding: 0.75rem 0 0;
}

.video-product-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-product-card__title a {
    color: var(--text);
    text-decoration: none;
}

.video-product-card__title a:hover {
    color: var(--text-muted);
}

.video-product-card__desc {
    display: none;
}

.video-product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 0.15rem;
}

.video-product-card__sale-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

.video-product-card__mrp {
    font-size: 0.8125rem;
    color: var(--text-soft);
    text-decoration: line-through;
}

/* ——— Track order page ——— */
.store-track {
    padding: 0.35rem 0 2.5rem;
}

.store-track__banner {
    margin: 0 0 1.5rem;
    padding: 1.35rem 1.25rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

.store-track__banner-inner {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

@media (min-width: 900px) {
    .store-track__banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .store-track__banner {
        padding: 1.5rem 1.65rem;
    }
}

.store-track__banner-copy {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
}

.store-track__banner-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fafafa;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.store-track__banner-copy h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
}

.store-track__banner-copy p {
    margin: 0;
    max-width: 36rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.store-track__steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.store-track__steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.7rem 0.4rem 0.4rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fafafa;
    color: var(--text-muted);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
}

.store-track__steps li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
}

.store-track__layout {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 960px) {
    .store-track__layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        align-items: start;
    }
}

.store-track__panel-head {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1.15rem;
}

.store-track__panel-head h2 {
    margin: 0 0 0.2rem;
    font-size: 1.25rem;
}

.store-track__panel-head p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.45;
}

.store-track__panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text);
    flex-shrink: 0;
}

.store-track__form .store-btn i {
    margin-right: 0.35rem;
}

.store-track__panel--result {
    min-height: 18rem;
}

.store-track__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.65rem;
    min-height: 16rem;
    padding: 1.5rem 1rem;
    color: var(--text-muted);
}

.store-track__empty h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.store-track__empty p {
    margin: 0;
    max-width: 22rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.store-track__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: #f4f4f5;
    color: var(--text-soft);
    font-size: 1.35rem;
}

.store-track__empty--error .store-track__empty-icon {
    background: #fef2f2;
    color: #991b1b;
}

.store-track__result-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.store-track__result-label {
    margin: 0 0 0.15rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.store-track__result-id {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.store-track__result-status {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.store-track__status-badge {
    flex-shrink: 0;
}

.store-track__meta {
    margin: 0 0 1rem;
}

.store-track__meta div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.9375rem;
}

.store-track__meta div:last-child {
    border-bottom: none;
}

.store-track__meta dt {
    color: var(--text-muted);
}

.store-track__meta dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
}

.store-track__shipping {
    margin-bottom: 1.15rem;
    padding: 1rem 1rem 1.05rem;
    border-radius: 0.85rem;
    border: 1px solid var(--border);
    background: #fafafa;
}

.store-track__shipping-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.store-track__shipping-status {
    margin: 0 0 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.store-track__awb {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.85rem;
}

.store-track__awb-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.store-track__awb-value {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    word-break: break-all;
}

.store-track__awb-value:hover {
    text-decoration: underline;
}

.store-track__awb-value i {
    font-size: 0.75rem;
    opacity: 0.65;
}

.store-track__awb-value--plain {
    font-weight: 600;
}

.store-track__track-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    justify-content: center;
}

@media (min-width: 480px) {
    .store-track__track-btn {
        width: auto;
    }
}

.store-track__items-title {
    margin: 0 0 0.65rem;
    font-size: 0.9375rem;
    font-weight: 700;
}

.store-track__item-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-soft);
}

.store-track__item-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 0.9375rem;
}

.store-track__item-list li:last-child {
    border-bottom: none;
}

.store-track__item-name {
    color: var(--text);
    font-weight: 500;
}

.store-track__item-qty {
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

/* ——— Home hero fallback ——— */
.store-hero-premium {
    border-radius: 1.25rem;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
}

.store-hero-premium__eyebrow {
    color: var(--accent-gold);
}

.store-hero-premium h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2.15rem, 5.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
}

.store-hero-premium__desc {
    margin: 0 0 1.5rem;
    color: var(--text-muted);
    max-width: 28rem;
}

/* ——— Banner ——— */
.store-home--premium .banner-carousel--premium {
    margin-bottom: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
}

@media (min-width: 640px) {
    .store-home--premium .banner-carousel--premium {
        border-radius: 1.25rem;
    }
}

.banner-carousel--premium .banner-carousel__link {
    aspect-ratio: 21 / 8;
}

@media (max-width: 640px) {
    .banner-carousel--premium .banner-carousel__link {
        aspect-ratio: 16 / 9;
    }
}

.banner-carousel--premium .banner-carousel__dot.is-active {
    background: var(--accent);
}

/* ——— Section headings ——— */
.store-section--premium {
    margin: 2.5rem 0;
}

.store-section__head--premium {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.store-section__head--premium h2 {
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    font-size: clamp(1.125rem, 3.8vw, 2rem);
}

.store-section__pipe {
    color: var(--accent-gold);
    font-weight: 700;
    font-family: var(--font-body);
}

.store-section__link {
    color: var(--accent) !important;
    font-size: clamp(0.6875rem, 2.8vw, 0.8125rem);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-section__link:hover {
    color: var(--accent-hover) !important;
}

.store-section__link i {
    font-size: 0.7rem;
    margin-left: 0.15rem;
}

/* ——— Categories (circular scroll) ——— */
.category-scroll-wrap {
    position: relative;
}

.category-scroll--premium {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0.25rem 0.15rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-scroll--premium::-webkit-scrollbar {
    display: none;
}

.category-scroll-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    cursor: pointer;
    transform: translateY(calc(-50% - 0.65rem));
    transition: color 0.15s ease, opacity 0.15s ease, transform 0.15s ease;
}

.category-scroll-nav--prev {
    left: 0;
}

.category-scroll-nav--next {
    right: 0;
}

.category-scroll-nav i {
    font-size: 0.95rem;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.95)) drop-shadow(0 1px 3px rgba(24, 24, 27, 0.35));
}

.category-scroll-nav:hover:not(:disabled) {
    background: transparent;
    color: var(--bg-dark);
    transform: translateY(calc(-50% - 0.65rem)) scale(1.12);
}

.category-scroll-nav:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

@media (max-width: 479px) {
    .category-scroll-nav {
        width: 1.75rem;
        height: 1.75rem;
    }

    .category-scroll-nav i {
        font-size: 0.8rem;
    }
}

.category-circle {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 6.5rem;
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .category-circle {
        width: 7.25rem;
    }
}

.category-circle__thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid var(--border);
    background: var(--bg-elevated);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 640px) {
    .category-circle__thumb {
        width: 6.25rem;
        height: 6.25rem;
    }
}

.category-circle__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle__placeholder {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.category-circle__placeholder--all {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-muted);
    text-transform: none;
}

.category-circle.is-active .category-circle__thumb {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.category-circle.is-active .category-circle__label {
    color: var(--accent);
    font-weight: 600;
}

.category-circle:hover .category-circle__thumb {
    border-color: var(--accent);
    transform: scale(1.04);
    box-shadow: var(--shadow-soft);
}

.category-circle__label {
    max-width: 100%;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-circle:hover .category-circle__label {
    color: var(--text);
}

/* ——— Products ——— */
.product-grid--premium {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    align-items: stretch;
}

@media (min-width: 640px) {
    .product-grid--premium {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .product-grid--premium.product-grid--shop {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 960px) {
    .product-grid--premium {
        grid-template-columns: repeat(7, 1fr);
        gap: 0.75rem;
    }

    .product-grid--premium:not(.product-grid--shop) .product-card--premium .product-card__title {
        font-size: 0.8125rem;
    }

    .product-grid--premium:not(.product-grid--shop) .product-card--premium .product-card__sale {
        font-size: 0.875rem;
    }

    .product-grid--premium:not(.product-grid--shop) .product-card--premium .product-card__mrp {
        font-size: 0.75rem;
    }

    .product-grid--premium.product-grid--shop {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.85rem;
    }
}

@media (min-width: 1200px) {
    .product-grid--premium.product-grid--shop {
        grid-template-columns: repeat(7, 1fr);
        gap: 0.75rem;
    }

    .product-grid--shop .product-card--premium .product-card__title {
        font-size: 0.8125rem;
    }

    .product-grid--shop .product-card--premium .product-card__sale {
        font-size: 0.875rem;
    }

    .product-grid--shop .product-card--premium .product-card__mrp {
        font-size: 0.75rem;
    }
}

.product-card--premium {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: opacity 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: visible;
}

.product-card--premium:hover {
    opacity: 0.92;
    transform: none;
    box-shadow: none;
}

.product-card--premium .product-card__frame {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 0;
    overflow: hidden;
    background: #f4f4f5;
    border: none;
}

.product-card--premium .product-card__frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease, opacity 0.35s ease;
}

.product-card--premium .product-card__img--hover {
    z-index: 1;
    opacity: 0;
}

.product-card--premium.product-card--has-hover-image .product-card__media:hover .product-card__img--hover {
    opacity: 1;
}

.product-card--premium .product-card__media:hover .product-card__frame img {
    transform: scale(1.06);
}

.product-card--premium .product-card__media {
    display: block;
    aspect-ratio: unset;
    height: auto;
    padding: 0;
    background: transparent;
    text-decoration: none;
}

.product-card--premium .product-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-soft);
    background: #f4f4f5;
}

.product-card--premium .product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: auto;
    padding: 0.75rem 0 0;
    gap: 0.25rem;
}

.product-card--premium .product-card__title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: auto;
}

.product-card--premium .product-card__title a {
    color: var(--text);
    text-decoration: none;
}

.product-card--premium .product-card__title a:hover {
    color: var(--text-muted);
}

.product-card--premium .product-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-top: 0.15rem;
    padding-top: 0;
}

.product-card--premium .product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem;
}

.product-card--premium .product-card__sale {
    color: var(--text);
    font-weight: 700;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.product-card--premium .product-card__mrp {
    font-size: 0.8125rem;
    color: var(--text-soft);
    text-decoration: line-through;
    opacity: 1;
}

.product-card--premium .product-card__rating {
    margin: 0;
    font-size: 0.625rem;
    color: var(--text-soft);
}

.product-card--premium .product-card__rating i {
    font-size: 0.5625rem;
    margin-right: 0.15rem;
    color: var(--accent);
}

.product-card--premium .product-card__ribbon {
    top: 0.45rem;
    left: 0.45rem;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    font-size: 0.5625rem;
    letter-spacing: 0.02em;
    background: var(--accent);
    color: #fff;
    z-index: 2;
}

.product-card--premium .product-card__badge {
    top: 0.45rem;
    left: 0.45rem;
    z-index: 2;
}

.product-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.55rem;
    border: 1px solid var(--border);
    background: #fafafa;
    color: var(--accent);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.product-card__btn i {
    font-size: 0.6875rem;
}

.product-card__btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.product-card__sale-badge {
    position: absolute;
    top: 0.45rem;
    right: 0.45rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.15rem;
    height: 2.15rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.product-card__ribbon {
    position: absolute;
    top: 0.5rem;
    left: 0;
    padding: 0.2rem 0.55rem 0.2rem 0.4rem;
    background: var(--accent);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 0 0.25rem 0.25rem 0;
    z-index: 2;
}

/* ——— Trust badges ——— */
.store-trust {
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

.store-trust__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .store-trust__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 960px) {
    .store-trust__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}

.store-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1rem 0.65rem;
    border: 1px solid var(--border-soft);
    border-radius: 0.75rem;
    background: var(--bg-card);
}

.store-trust__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--badge-bg);
    color: var(--accent);
    font-size: 1rem;
    line-height: 1;
}

.store-trust__icon i {
    font-size: 1rem;
}

.store-trust__item strong {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.store-trust__item span:last-child {
    font-size: 0.6875rem;
    color: var(--text-soft);
    line-height: 1.35;
}

/* ——— CTA banner ——— */
.store-cta-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    margin: 2.5rem 0 1rem;
    padding: 1.75rem 1.5rem;
    border-radius: 1rem;
    border: 1px solid var(--bg-dark);
    background: var(--bg-dark);
}

@media (min-width: 768px) {
    .store-cta-banner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 2rem 2.25rem;
    }
}

.store-cta-banner__copy h2 {
    margin: 0 0 0.5rem;
    font-weight: 700;
    font-size: clamp(1.35rem, 2.75vw, 1.75rem);
    line-height: 1.25;
    color: #fafafa;
}

.store-cta-banner__copy p {
    margin: 0;
    font-size: 0.875rem;
    color: #a1a1aa;
    max-width: 36rem;
}

.store-cta-banner .store-btn--outline {
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}

.store-cta-banner .store-btn--outline:hover {
    background: #fff;
    border-color: #fff;
    color: var(--bg-dark);
}

/* ——— Footer enhancements ——— */
.site-footer-pro {
    border-top: 1px solid var(--border-soft);
}

.site-footer-pro__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.site-footer-pro__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    border: none;
    border-radius: 0;
    color: #fafaf9;
    text-decoration: none;
    font-size: 1.125rem;
    line-height: 1;
    transition: color 0.15s, opacity 0.15s;
}

.site-footer-pro__social a:hover {
    color: #fff;
    opacity: 0.85;
    background: transparent;
}

.site-footer-pro__payments-wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.35rem var(--store-gutter) 1.5rem;
}

.site-footer-pro__payments-wrap .store-payments {
    max-width: 56rem;
    margin: 0 auto;
}

.store-payments {
    text-align: center;
}

.store-payments__label {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a29e;
}

.store-payments__banner {
    display: block;
    width: 100%;
    max-width: 42rem;
    height: auto;
    margin: 0 auto;
    border-radius: 0.65rem;
}

@media (max-width: 640px) {
    .site-footer-pro__payments-wrap {
        padding-top: 1.15rem;
        padding-bottom: 1.15rem;
    }

    .store-payments__banner {
        max-width: 100%;
    }
}

.site-footer-pro__app-download {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer-pro__app-lead {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #a8a29e;
}

.site-footer-pro__app-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    max-width: 20rem;
}

.site-footer-pro__app-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 2.35rem;
    line-height: 0;
    border-radius: 0.45rem;
    overflow: hidden;
    opacity: 1;
    transition: transform 0.15s ease;
}

.site-footer-pro__app-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
}

.site-footer-pro__app-badge:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.site-footer-pro__app-badge--soon {
    opacity: 1;
    cursor: default;
}

.site-footer-pro__app-badge--soon:hover {
    transform: none;
}

@media (min-width: 640px) {
    .site-footer-pro__app-badges {
        gap: 0.75rem;
        max-width: 21rem;
    }

    .site-footer-pro__app-badge {
        flex: 0 0 auto;
        width: 9.375rem;
        height: 2.75rem;
    }
}

.site-footer-pro__main {
    padding-left: var(--store-gutter);
    padding-right: var(--store-gutter);
}

.site-footer-pro__bottom-inner {
    padding-left: var(--store-gutter);
    padding-right: var(--store-gutter);
}

@media (min-width: 960px) {
    .site-footer-pro__grid--extended {
        grid-template-columns: 1.35fr 1fr 1fr 1.1fr 1.1fr;
    }
}

/* ——— Shop page ——— */
.store-shop {
    padding-top: 0.15rem;
}

.store-shop .category-scroll--premium {
    margin-bottom: 1.25rem;
}

.store-shop__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    margin: 0.25rem 0 1.35rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.store-shop__bar-main {
    flex: 1 1 auto;
    min-width: 0;
}

.store-shop__title-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.65rem;
    min-width: 0;
}

.store-shop__title {
    margin: 0;
    font-size: clamp(1.35rem, 3.5vw, 2.05rem);
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    flex-shrink: 0;
}

.store-shop__desc {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 40rem;
    line-height: 1.45;
}

.store-shop__count {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-soft);
    white-space: nowrap;
    flex-shrink: 0;
}

.store-shop__search {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-elevated);
    overflow: hidden;
    min-width: min(100%, 14rem);
    flex: 1 1 12rem;
}

@media (max-width: 639px) {
    .store-shop__search {
        flex: 1 1 100%;
        min-width: 100%;
    }
}

.store-shop__search input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0.85rem;
    font: inherit;
    font-size: 0.8125rem;
    color: var(--text);
    min-width: 0;
}

.store-shop__search input::placeholder {
    color: var(--text-soft);
}

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

.store-shop__search button {
    border: none;
    background: transparent;
    padding: 0.5rem 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.15s;
}

.store-shop__search button:hover {
    color: var(--accent);
}

.store-shop .store-empty {
    padding: 3rem 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.store-shop .store-pagination {
    margin-top: 2rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ——— Toast notifications ——— */
.store-toast-stack {
    position: fixed;
    top: calc(4.75rem + env(safe-area-inset-top, 0px));
    right: max(1rem, env(safe-area-inset-right, 0px));
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
    width: min(22rem, calc(100vw - 2rem));
    pointer-events: none;
}

.store-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    padding: 0.85rem 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 16px 40px rgba(24, 24, 27, 0.14);
    pointer-events: auto;
    transform: translateX(calc(100% + 1.5rem));
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease;
}

.store-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.store-toast.is-leaving {
    transform: translateX(calc(100% + 1.5rem));
    opacity: 0;
}

.store-toast__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    margin-top: 0.05rem;
    font-size: 1.05rem;
    line-height: 1;
}

.store-toast--success .store-toast__icon {
    color: #16a34a;
}

.store-toast--error .store-toast__icon {
    color: #dc2626;
}

.store-toast__message {
    flex: 1;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text);
    font-weight: 500;
}

.store-toast__close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    margin: -0.15rem -0.1rem 0 0;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.store-toast__close:hover {
    background: #f4f4f5;
    color: var(--text);
}

.store-toast--success {
    border-color: #bbf7d0;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
}

.store-toast--error {
    border-color: #fecaca;
    background: linear-gradient(180deg, #ffffff 0%, #fef2f2 100%);
}

@media (max-width: 640px) {
    .store-toast-stack {
        top: calc(4.35rem + env(safe-area-inset-top, 0px));
        right: 1rem;
        left: 1rem;
        width: auto;
        align-items: stretch;
    }

    .store-toast {
        transform: translateY(-1rem);
    }

    .store-toast.is-visible {
        transform: translateY(0);
    }

    .store-toast.is-leaving {
        transform: translateY(-1rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-toast {
        transition: opacity 0.2s ease;
        transform: none;
    }

    .store-toast.is-visible {
        opacity: 1;
    }

    .store-toast.is-leaving {
        opacity: 0;
    }
}

/* ——— Inline alerts (cart etc.) ——— */
.store-body .store-alert--success {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(74, 222, 128, 0.35);
    color: #86efac;
}

.store-body .store-alert--error {
    background: rgba(220, 38, 38, 0.12);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fca5a5;
}

/* ——— Profile menu ——— */
.store-profile {
    position: relative;
    z-index: 1;
}

.store-header--premium .store-header__inner {
    overflow: visible;
}

.store-profile__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.store-profile__trigger--inline {
    flex-shrink: 0;
}

.store-profile__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    background: #fff;
    color: var(--bg-dark);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
}

body.store-profile-open {
    overflow: hidden;
}

.store-profile-menu {
    position: fixed;
    inset: 0;
    z-index: 170;
    pointer-events: none;
    visibility: hidden;
}

.store-profile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

.store-profile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.store-profile-menu.is-open .store-profile-menu__backdrop {
    opacity: 1;
}

.store-profile-menu__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.35rem 1.25rem 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    background: #000;
    color: #fff;
    border-radius: 1.35rem 1.35rem 0 0;
    transform: translateY(105%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.store-profile-menu.is-open .store-profile-menu__panel {
    transform: translateY(0);
}

.store-profile-menu__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.store-profile-menu__hi {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.store-profile-menu__email {
    margin: 0 0 1.35rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
    word-break: break-word;
}

.store-profile-menu__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.store-profile-menu__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 3.25rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #000;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.15s;
}

.store-profile-menu__btn--full {
    grid-column: 1 / -1;
    width: 100%;
}

.store-profile-menu__btn:hover {
    background: #f4f4f5;
}

@media (min-width: 900px) {
    body.store-profile-open {
        overflow: auto;
    }

    .store-profile-menu {
        position: absolute;
        inset: auto;
        top: calc(100% + 0.55rem);
        right: 0;
        left: auto;
        width: min(20rem, calc(100vw - 2rem));
        min-height: 0;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    }

    .store-profile-menu__backdrop {
        display: none;
    }

    .store-profile-menu__panel {
        position: static;
        padding: 1.15rem 1.15rem 1.25rem;
        border-radius: 1rem;
        transform: none;
        opacity: 0;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .store-profile-menu.is-open .store-profile-menu__panel {
        transform: none;
        opacity: 1;
    }

    .store-profile-menu:not(.is-open) {
        pointer-events: none;
        visibility: hidden;
    }

    .store-profile-menu.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .store-profile-menu__close {
        display: none;
    }

    .store-profile-menu__hi {
        font-size: 1.15rem;
    }

    .store-profile-menu__email {
        margin-bottom: 1.1rem;
    }
}

/* ——— Account area (sidebar + content) ——— */
.account-shell {
    display: grid;
    gap: 1rem;
    padding-top: 0.25rem;
    align-items: start;
}

.account-shell__sidebar {
    padding: 1rem;
}

.account-shell__user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.store-profile__avatar--lg {
    width: 2.65rem;
    height: 2.65rem;
    font-size: 1rem;
}

.account-shell__user-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.account-shell__user-text strong {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
}

.account-shell__user-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    word-break: break-word;
}

.account-shell__nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.account-shell__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.65rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.account-shell__link i {
    width: 1rem;
    text-align: center;
    font-size: 0.875rem;
}

.account-shell__link:hover {
    background: #f4f4f5;
    color: var(--text);
}

.account-shell__link.is-active {
    background: var(--bg-dark);
    color: #fff;
    font-weight: 600;
}

.account-shell__foot {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
}

.account-shell__signout-form {
    margin: 0;
}

.account-shell__signout {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    min-height: 2.65rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-color: var(--border);
    color: var(--text);
}

.account-shell__signout i {
    font-size: 0.9rem;
    opacity: 0.85;
}

.account-shell__signout:hover {
    border-color: var(--bg-dark);
    color: var(--bg-dark);
    background: #fafafa;
}

.account-danger-zone {
    border-color: #fecaca;
    background: linear-gradient(180deg, #fffafa 0%, #fff 100%);
}

.account-danger-zone__title {
    color: #991b1b;
}

.account-danger-zone__disclaimer {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.account-danger-zone__list {
    margin: 0 0 1rem;
    padding-left: 1.15rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.account-danger-zone__list li + li {
    margin-top: 0.35rem;
}

.account-danger-zone__btn {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    border-color: #fca5a5;
    color: #991b1b;
    font-weight: 600;
}

.account-danger-zone__btn:hover {
    border-color: #991b1b;
    color: #7f1d1d;
    background: #fef2f2;
}

.account-shell__foot-link {
    display: block;
    padding: 0.45rem 0.75rem;
    border: none;
    background: transparent;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-shell__foot-link:hover {
    color: var(--text);
}

.account-shell__foot-link--danger {
    color: #991b1b;
}

.account-shell__foot-link--danger:hover {
    color: #7f1d1d;
}

.account-shell__content {
    min-width: 0;
}

.account-shell h1,
.account-shell h2,
.account-shell h3,
.account-shell .store-panel h2 {
    font-family: var(--font-body);
    letter-spacing: -0.01em;
}

.account-content__head {
    margin-bottom: 1.25rem;
}

.account-content__head h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
}

.account-content__head p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.account-section {
    margin-bottom: 1rem;
    padding: 1.15rem 1.05rem;
}

.account-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.account-section__title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.account-section > .account-section__title {
    margin-bottom: 0.85rem;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-form .store-btn {
    align-self: flex-start;
}

.account-shipping-address {
    margin: 0;
    font-style: normal;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.account-shipping-address strong {
    color: var(--text);
}

.account-detail-card__status {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.account-track-btn {
    margin-top: 0.85rem;
    gap: 0.45rem;
}

.account-address-card__phone {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.account-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    padding: 2.5rem 1.25rem;
}

.account-empty i {
    font-size: 2rem;
    color: var(--text-soft);
}

.account-order-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.account-order-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 0.65rem 0.75rem;
    padding: 1rem 1.05rem;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s, border-color 0.15s;
}

.account-order-card:hover {
    border-color: #d4d4d8;
    box-shadow: var(--shadow-soft);
}

.account-order-card__thumbs {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.45rem;
}

.account-order-card__thumbs img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.45rem;
    object-fit: cover;
    background: #f4f4f5;
}

.account-order-card__status {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.account-order-card__meta {
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.account-order-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid var(--border);
    border-radius: 0.45rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.account-profile__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.75rem;
}

.account-profile__section-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.account-profile__name {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
}

.account-card {
    padding: 0;
    overflow: hidden;
    margin-bottom: 1.35rem;
}

.account-card--muted {
    padding: 1rem 1.05rem;
    color: var(--text-muted);
}

.account-card__row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.85rem 1.05rem;
    border-bottom: 1px solid var(--border-soft);
}

.account-card__row:last-child {
    border-bottom: none;
}

.account-card__label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.account-card__value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    word-break: break-word;
}

.account-address-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    padding: 1rem 1.05rem;
    margin-bottom: 0.75rem;
}

.account-section__head--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.store-btn--sm {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
}

.store-btn--ghost {
    border: none;
    background: transparent;
    color: var(--text-muted);
    box-shadow: none;
}

.store-btn--ghost:hover {
    color: var(--text);
    background: #f4f4f5;
}

.account-address-form {
    margin-bottom: 0.85rem;
    padding: 1rem 1.05rem;
}

.account-address-form__title {
    margin: 0 0 0.85rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.account-address-form--inline {
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border-soft);
}

.account-address-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.account-address-form__default {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    color: var(--text);
    cursor: pointer;
}

.account-address-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.75rem;
    margin-top: 0.75rem;
}

.account-address-card__inline-form {
    display: inline;
    margin: 0;
}

.account-address-card__action {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 0.15rem;
    cursor: pointer;
}

.account-address-card__action:hover {
    color: var(--bg-dark);
}

.account-address-card__action--danger {
    color: #b91c1c;
}

.account-address-card__action--danger:hover {
    color: #991b1b;
}

.account-address-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.55rem;
    background: #f4f4f5;
    color: var(--text-muted);
}

.account-address-card__name {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.account-address-card__badge {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    background: #f4f4f5;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: middle;
}

.account-address-card__lines {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-muted);
}

.account-address-card__chev {
    color: var(--text-soft);
    font-size: 0.75rem;
    padding-top: 0.35rem;
}

.account-profile__actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.account-signout {
    border-color: var(--text);
    color: var(--text);
}

.account-link-muted {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: none;
}

.account-link-muted:hover {
    color: var(--text);
}

.account-order-detail__top {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.account-order-detail__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: 0.15rem;
    border-radius: 999px;
    color: var(--text);
    text-decoration: none;
    background: #f4f4f5;
}

.account-order-detail__title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.account-order-detail__sub {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.account-order-detail__pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.55rem;
}

.account-payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.account-payment-badge i {
    font-size: 0.7rem;
}

.account-payment-badge--cod {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fdba74;
}

.account-payment-badge--prepaid {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.account-payment-badge--paid {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #6ee7b7;
}

.account-payment-badge--partial {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fde047;
}

.account-payment-badge--pending {
    background: #f4f4f5;
    color: #52525b;
    border: 1px solid #d4d4d8;
}

.account-payment-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.account-payment-card__rows {
    margin: 0;
}

.account-payment-card__due {
    font-weight: 700;
    color: #c2410c;
}

.account-order-detail__pay {
    margin-bottom: 1rem;
}

.account-detail-card {
    margin-bottom: 0.85rem;
    padding: 1rem 1.05rem;
}

.account-detail-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.account-detail-card__muted {
    margin: 0.15rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.account-detail-card__track a {
    color: var(--text);
    font-weight: 600;
    text-decoration: underline;
}

.account-order-item {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.account-order-item:first-child {
    padding-top: 0;
}

.account-order-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.account-order-item__media {
    position: relative;
}

.account-order-item__media img,
.account-order-item__placeholder {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.55rem;
    object-fit: cover;
    background: #f4f4f5;
}

.account-order-item__placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-soft);
}

.account-order-item__qty {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: var(--bg-dark);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-order-item__head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.account-order-item__meta {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.order-item-extras {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.order-item-extras--compact {
    margin-top: 0.45rem;
    gap: 0.55rem;
}

.order-item-extras__heading {
    margin: 0 0 0.35rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.order-item-extras__specs,
.order-item-extras__custom {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.order-item-extras__row {
    display: grid;
    grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr);
    gap: 0.5rem;
    align-items: start;
}

.order-item-extras__row dt {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-soft);
}

.order-item-extras__row dd {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--text);
}

.order-item-extras__photos {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.order-item-extras__photo {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.45rem;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #f4f4f5;
}

.order-item-extras__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-track__item-card {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-soft);
}

.store-track__item-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.store-track__item-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.account-order-totals {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.account-order-totals div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.account-order-totals dd {
    margin: 0;
    color: var(--text);
}

.account-order-totals__grand {
    margin-top: 0.35rem;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-soft);
    font-size: 1.05rem !important;
    font-weight: 700;
    color: var(--text) !important;
}

.account-order-totals__grand dd {
    font-weight: 700;
}

@media (min-width: 900px) {
    .account-shell {
        grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
        gap: 1.35rem;
        max-width: 72rem;
        margin: 0 auto;
        padding-top: 0.75rem;
    }

    .account-shell__sidebar {
        position: sticky;
        top: 1rem;
        padding: 1.15rem;
    }

    .account-shell__nav {
        gap: 0.35rem;
    }

    .account-order-card {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-rows: auto;
        align-items: center;
    }

    .account-order-card__thumbs {
        grid-column: auto;
    }
}

@media (max-width: 899px) {
    .account-shell__sidebar {
        padding: 0.85rem;
    }

    .account-shell__user-text span {
        display: none;
    }

    .account-shell__nav {
        flex-direction: row;
        gap: 0.5rem;
    }

    .account-shell__link {
        flex: 1;
        justify-content: center;
        padding: 0.55rem 0.65rem;
        font-size: 0.8125rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .store-profile-menu__panel,
    .store-profile-menu__backdrop {
        transition: none;
        transform: none;
    }
}

/* ——— Order detail: invoice, sample preview, rating ——— */
.account-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0.35rem 0 1.35rem;
    padding: 0.15rem 0 0.25rem;
}

.account-order-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.account-order-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 0.85rem;
    margin-top: 0.85rem;
}

.account-order-preview__card {
    position: relative;
}

.account-order-preview__badge {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 1;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(24, 24, 27, 0.82);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.account-order-preview__thumb {
    display: block;
    border-radius: 0.55rem;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: #f4f4f5;
}

.account-order-preview__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.account-order-preview__label {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

.account-order-preview__feedback {
    margin-top: 1rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.55rem;
    background: #fafafa;
    border: 1px solid var(--border-soft);
}

.account-order-preview__feedback strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8125rem;
}

.account-order-preview__feedback p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.account-order-preview__feedback time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-soft);
}

.account-order-preview__approved {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.85rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #166534;
}

.account-order-preview__form,
.account-order-preview__approve {
    margin-top: 1rem;
}

.account-order-preview__form label,
.account-order-rating__form label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
}

.account-order-preview__form textarea,
.account-order-rating__form textarea {
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font: inherit;
    font-size: 0.875rem;
    resize: vertical;
}

.account-order-preview__error {
    margin: -0.35rem 0 0.65rem;
    font-size: 0.8125rem;
    color: #b91c1c;
}

.account-order-rating__picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.35rem;
    margin: 0 0 0.85rem;
    padding: 0;
    border: none;
}

.account-order-rating__star {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    cursor: pointer;
    color: #d4d4d8;
    font-size: 0.6875rem;
    font-weight: 600;
}

.account-order-rating__star input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-order-rating__star i {
    font-size: 1.35rem;
    transition: color 0.12s ease;
}

.account-order-rating__star input:checked ~ i,
.account-order-rating__star input:checked ~ span,
.account-order-rating__star:hover i,
.account-order-rating__star:hover ~ .account-order-rating__star i {
    color: var(--accent-gold);
}

.account-order-rating__submitted .account-order-rating__stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.account-order-rating__submitted .fa-star.is-filled {
    color: var(--accent-gold);
}

.account-order-rating__submitted .fa-star.is-empty {
    color: #d4d4d8;
}

.account-order-rating__comment {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.account-order-rating__comment--muted {
    color: var(--text-muted);
}

.account-order-rating__submitted time {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    color: var(--text-soft);
}
