:root {
    --ink: #16162a;
    --ink-soft: #45455f;
    --muted: #8b8ba3;
    --paper: #ffffff;
    --paper-2: #f7f8fc;
    --line: rgba(22, 22, 42, 0.07);
    --brand: #7c5cfc;
    --brand-deep: #6346e8;
    --brand-soft: #efeaff;
    --accent: #ff6b9d;
    --sky: #4f8cff;
    --mint: #3ecf8e;
    --warn: #e6a23c;
    --danger: #e24b4b;
    --radius: 28px;
    --radius-sm: 16px;
    --shadow: 0 24px 60px rgba(22, 22, 42, 0.1);
    --shadow-soft: 0 10px 30px rgba(22, 22, 42, 0.06);
    --font: "Manrope", "Segoe UI", sans-serif;
    --font-script: "Playfair Display", Georgia, serif;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --safe-t: env(safe-area-inset-top, 0px);
    --wrap: min(1200px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.shop-body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: #fff;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.d-none { display: none !important; }
.shop-skip {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--ink); color: #fff; padding: 10px 14px;
}
.shop-skip:focus { left: 12px; top: calc(8px + var(--safe-t)); }

/* ─── Header ─── */
.shop-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px) saturate(1.2);
    border-bottom: 1px solid transparent;
}
.shop-top:not(:has(.shop-top-inner)) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--wrap);
    margin: 0 auto;
    padding: calc(16px + var(--safe-t)) 0 16px;
}
.shop-top-inner {
    width: var(--wrap);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    padding: calc(16px + var(--safe-t)) 0 16px;
}
.shop-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    justify-self: start;
    min-width: 0;
}
.shop-brand img,
.shop-brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
    background: linear-gradient(145deg, #efeaff, #e8f0ff);
    flex-shrink: 0;
}
.shop-brand-mark {
    display: grid;
    place-items: center;
    color: var(--brand);
    font-size: 1.05rem;
}
.shop-brand-name {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-nav {
    display: none;
    gap: 28px;
}
.shop-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.94rem;
    font-weight: 600;
    position: relative;
    padding: 4px 0;
}
.shop-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
    transition: right 0.25s ease;
}
.shop-nav a:hover,
.shop-nav a.is-on { color: var(--brand); }
.shop-nav a:hover::after,
.shop-nav a.is-on::after { right: 0; }
.shop-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}
.shop-top-actions-compact {
    width: auto;
    min-width: 0;
    justify-self: end;
}
.shop-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    background: var(--paper-2);
    border: 1px solid var(--line);
}
.shop-lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--muted);
    transition: background 0.15s ease, color 0.15s ease;
}
.shop-lang-btn:hover {
    color: var(--brand-deep);
    background: rgba(124, 92, 252, 0.08);
}
.shop-lang-btn.is-on {
    background: var(--brand);
    color: #fff;
}
.shop-cart-btn,
.shop-icon-btn,
.shop-back {
    border: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.shop-cart-btn:hover,
.shop-icon-btn:hover { background: var(--brand-soft); color: var(--brand); transform: translateY(-1px); }
.shop-back {
    width: auto;
    padding: 0 16px;
    border-radius: 999px;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}
.shop-btn-nav {
    display: none !important;
    padding: 12px 20px !important;
    font-size: 0.88rem !important;
}
.shop-badge {
    position: absolute;
    top: -3px; right: -3px;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(124, 92, 252, 0.4);
    animation: shop-pop 0.35s ease;
}
.shop-top-center { font-weight: 700; font-size: 1.05rem; }

@media (min-width: 960px) {
    .shop-nav { display: flex; }
    .shop-btn-nav { display: inline-flex !important; }
}

@media (max-width: 959px) {
    :root {
        --wrap: min(1200px, calc(100% - 24px));
    }
    .shop-top-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: calc(10px + var(--safe-t)) 0 10px;
    }
    .shop-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 168px);
    }
    .shop-brand-name {
        font-size: 0.82rem;
        letter-spacing: 0.02em;
    }
    .shop-top-actions {
        flex: 0 0 auto;
        gap: 6px;
    }
    .shop-lang {
        padding: 2px;
    }
    .shop-lang-btn {
        min-width: 30px;
        height: 28px;
        padding: 0 7px;
        font-size: 0.65rem;
    }
    .shop-cart-btn,
    .shop-icon-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    .shop-hero-bleed {
        min-height: min(72vh, 560px);
        align-items: stretch;
    }
    .shop-hero-inner {
        padding: 14px 0 18px;
        gap: 12px;
        width: 100%;
        justify-content: flex-start;
    }
    .shop-hero-search-row {
        display: flex;
        width: 100%;
        margin-bottom: 14px;
    }
    .shop-hero-search {
        width: 100%;
        max-width: none;
        flex: 1 1 auto;
        grid-template-columns: 1fr;
        padding: 8px 10px;
        gap: 0;
        border-radius: 12px;
    }
    .shop-hero-search-btn {
        display: none;
    }
    .shop-hero-copy {
        margin-top: 0;
        padding-top: 0;
    }
    .shop-hero-title {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        line-height: 1.12;
    }
    .shop-hero-lead {
        font-size: 0.92rem;
        line-height: 1.5;
        max-width: 34ch;
    }
    .shop-hero-guarantee {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
    }
    .shop-hero-guarantee li {
        flex: 1;
        min-width: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        font-size: 0.62rem;
        line-height: 1.25;
    }
    .shop-hero-guarantee i {
        width: 26px;
        height: 26px;
        font-size: 0.68rem;
    }
    .shop-search-bar {
        top: calc(52px + var(--safe-t));
    }
    .shop-search-bar-inner {
        padding: 10px 12px;
        width: 100%;
        max-width: none;
    }
}

/* ─── Hero (full-bleed product slideshow) ─── */
.shop-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.shop-hero-bleed {
    min-height: min(72vh, 620px);
    display: flex;
    align-items: stretch;
    color: #fff;
}
.shop-hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #1a1f2e;
}
.shop-hero-slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s ease, transform 6s ease;
    pointer-events: none;
}
.shop-hero-slide.is-active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 1;
}
.shop-hero-slide-fallback {
    background:
        radial-gradient(900px 520px at 70% 40%, rgba(124, 92, 252, 0.55), transparent 60%),
        linear-gradient(135deg, #2a2550, #12161c);
}
.shop-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(10, 12, 20, 0.78) 0%, rgba(10, 12, 20, 0.55) 42%, rgba(10, 12, 20, 0.28) 100%),
        linear-gradient(180deg, rgba(10, 12, 20, 0.35) 0%, rgba(10, 12, 20, 0.2) 40%, rgba(10, 12, 20, 0.55) 100%);
    pointer-events: none;
}
.shop-hero-inner {
    position: relative;
    z-index: 3;
    width: var(--wrap);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 18px 0 40px;
}
.shop-hero-search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    width: 100%;
    max-width: 920px;
}
.shop-hero-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 12px;
    align-items: center;
    flex: 1 1 420px;
    max-width: 640px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.shop-hero-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 4px 10px 4px 14px;
    color: #6b7280;
    position: relative;
}
.shop-hero-search-field.shop-suggest-wrap {
    display: flex;
}
.shop-hero-search .shop-product-suggest {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    width: auto;
    min-width: 100%;
    max-height: 320px;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    z-index: 60;
}
.shop-product-suggest li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
}
.shop-product-suggest img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #eef1f7;
    flex-shrink: 0;
}
.shop-product-suggest .meta {
    min-width: 0;
    flex: 1;
}
.shop-product-suggest .meta strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #141724;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop-product-suggest .meta span {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #6b7280;
}
.shop-product-suggest .price {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--brand-deep);
    white-space: nowrap;
}
.shop-search-wrap.shop-suggest-wrap {
    position: relative;
    flex: 1;
}
.shop-search-bar .shop-product-suggest {
    z-index: 80;
}
.shop-hero-search-field input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #141724;
}
.shop-hero-search-field input[type="search"]::-webkit-search-cancel-button,
.shop-hero-search-field input[type="search"]::-webkit-search-decoration,
.shop-search input[type="search"]::-webkit-search-cancel-button,
.shop-search input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}
.shop-search-clear {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-left: auto;
    border: 0;
    border-radius: 50%;
    background: #e8ebf2;
    color: #5b6475;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.shop-search-clear:hover {
    background: #dce1ec;
    color: #141724;
}
.shop-search-clear.d-none,
.shop-search-clear[hidden] {
    display: none !important;
}
.shop-hero-search-field input::placeholder {
    color: #9aa3b2;
    font-weight: 500;
}
.shop-hero-search-btn {
    border: 0;
    border-radius: 10px;
    padding: 14px 26px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
.shop-hero-search-btn:hover {
    background: var(--brand-deep);
}
.shop-hero-search-btn:active {
    transform: scale(0.98);
}
.shop-hero-copy {
    max-width: 38rem;
    margin-top: 0;
}
.shop-hero-title {
    margin: 0 0 16px;
    font-size: clamp(2.16rem, 5.85vw, 3.78rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.shop-hero-title em {
    font-family: var(--font-script);
    font-style: italic;
    font-weight: 700;
    color: #fff;
}
.shop-hero-lead {
    margin: 0 0 26px;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
    line-height: 1.65;
    font-weight: 500;
}
.shop-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}
.shop-btn-light {
    background: #fff;
    color: #141724;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.shop-btn-light:hover {
    background: #f3f4f8;
    color: #141724;
}
.shop-hero-guarantee {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}
.shop-hero-guarantee li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.shop-hero-guarantee i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: #b8f5d4;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.shop-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 4;
    display: flex;
    gap: 7px;
    transform: translateX(-50%);
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(18, 22, 28, 0.35);
    backdrop-filter: blur(6px);
}
.shop-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}
.shop-hero-dot.is-on {
    background: #fff;
    transform: scale(1.15);
}

.shop-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 22px;
}
.shop-trust li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-soft);
}
.shop-trust-ico {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--brand);
    box-shadow: var(--shadow-soft);
    font-size: 0.82rem;
}

@media (min-width: 960px) {
    .shop-hero-inner {
        padding: 20px 0 48px;
        gap: 10px;
        justify-content: center;
        min-height: min(72vh, 620px);
    }
    .shop-hero-copy {
        margin-top: 0;
    }
}
@media (max-width: 640px) {
    .shop-brand-name {
        display: none;
    }
    .shop-hero-title {
        margin-top: 0;
    }
    .shop-hero-cta .shop-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── Buttons ─── */
.shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 15px 26px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.shop-btn:active { transform: scale(0.98); }
.shop-btn-primary {
    background: linear-gradient(135deg, #8b6fff, var(--brand) 50%, var(--brand-deep));
    color: #fff;
    box-shadow: 0 14px 32px rgba(124, 92, 252, 0.38);
}
.shop-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(124, 92, 252, 0.45);
}
.shop-btn.is-disabled,
.shop-btn.is-disabled:hover,
.shop-btn.is-disabled:active,
.shop-btn:disabled,
.shop-btn:disabled:hover,
.shop-btn:disabled:active,
#goCheckout.is-disabled,
#goCheckout:disabled {
    background: #d4d4d8 !important;
    color: #71717a !important;
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
    filter: none;
}
.shop-btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid rgba(22, 22, 42, 0.12);
}
.shop-btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
    background: rgba(124, 92, 252, 0.04);
}
.shop-btn-ghost {
    width: 100%;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
}
.shop-btn-light {
    background: #fff;
    color: var(--brand-deep);
    box-shadow: 0 10px 28px rgba(22, 22, 42, 0.12);
}
.shop-btn-light:hover { transform: translateY(-2px); }

/* ─── Search (opens on icon tap — no layout gap when closed) ─── */
.shop-search-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: calc(60px + var(--safe-t));
    z-index: 55;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(22, 22, 42, 0.08);
    animation: shop-fade 0.2s ease;
}
.shop-search-bar.is-open {
    display: block;
}
.shop-search-bar.d-none {
    display: none !important;
}
.shop-search-bar-inner {
    width: var(--wrap);
    margin: 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 0;
}
.shop-search-wrap { flex: 1; position: relative; display: block; }
.shop-search-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}
.shop-search {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 14px 18px 14px 44px;
    font: inherit;
    background: var(--paper-2);
}
.shop-search:focus {
    outline: none;
    border-color: rgba(124, 92, 252, 0.45);
    box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.12);
}

/* ─── Sections ─── */
.shop-section,
.shop-main {
    width: var(--wrap);
    margin: 0 auto;
    padding: 64px 0 20px;
}
.shop-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}
.shop-section-head h2 {
    margin: 0;
    font-size: clamp(1.55rem, 3.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}
.shop-section-sub {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
}
.shop-section-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.shop-section-link:hover { gap: 10px; }

/* ─── Product cards ─── */
.shop-feature-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
@media (min-width: 720px) {
    .shop-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
@media (min-width: 1080px) {
    .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.shop-card {
    background: #fff;
    border: 1px solid rgba(22, 22, 42, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(22, 22, 42, 0.04);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    animation: shop-rise 0.6s ease both;
}
.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 56px rgba(22, 22, 42, 0.12);
}
.shop-card.is-oos { opacity: 0.72; cursor: default; }
.shop-card.is-oos:hover { transform: none; box-shadow: 0 8px 28px rgba(22, 22, 42, 0.04); }

.shop-card-media {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(180deg, #f3f5fb 0%, #e9ecf5 100%);
    overflow: hidden;
}
.shop-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.shop-card:hover .shop-card-media img { transform: scale(1.06); }

.shop-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}
.shop-tag.is-new { background: var(--brand); }
.shop-tag.is-best { background: var(--accent); }
.shop-tag.is-sale { background: var(--sky); }
.shop-tag.is-warn { background: var(--warn); }
.shop-tag.is-oos { background: #9a9ab0; }

.shop-card-qv {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: var(--shadow-soft);
}
.shop-card:hover .shop-card-qv,
.shop-card:focus-within .shop-card-qv {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 719px) {
    .shop-card-qv { opacity: 1; transform: none; font-size: 0.68rem; padding: 7px 10px; }
}

.shop-card-body { padding: 18px 18px 20px; }
.shop-card-cat {
    margin: 0 0 6px;
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.shop-card-title {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-stars {
    display: flex;
    gap: 3px;
    margin: 0 0 12px;
    color: #f5b301;
    font-size: 0.72rem;
}
.shop-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.shop-card-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}
.shop-card-price {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.shop-card-was {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: line-through;
}
.shop-qv-price .shop-card-was {
    margin-left: 8px;
    font-size: 1rem;
    color: var(--muted);
}
.shop-card-add {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 0.85rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.shop-card:hover .shop-card-add {
    background: var(--brand);
    color: #fff;
    transform: scale(1.06);
}

/* ─── Categories ─── */
.shop-cat-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 640px) {
    .shop-cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1020px) {
    .shop-cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.shop-cat-tile {
    border: 0;
    border-radius: 28px;
    min-height: 220px;
    padding: 24px 20px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    font: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-cat-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.shop-cat-tile-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 1;
    max-width: 70%;
}
.shop-cat-ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-deep);
    margin-bottom: 4px;
}
.shop-cat-tile strong {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.shop-cat-tile-top > span:not(.shop-cat-ico) {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 500;
    line-height: 1.4;
}
.shop-cat-tile em {
    margin-top: 8px;
    font-style: normal;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--brand-deep);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.shop-cat-tile img {
    position: absolute;
    right: -6%;
    bottom: -4%;
    width: 58%;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(22, 22, 42, 0.14));
    transition: transform 0.4s ease;
}
.shop-cat-tile:hover img { transform: translateY(-8px) scale(1.04); }
.shop-cat-tile.tone-violet { background: linear-gradient(160deg, #f0eaff, #e7deff); }
.shop-cat-tile.tone-sky { background: linear-gradient(160deg, #e8f2ff, #d9e9ff); }
.shop-cat-tile.tone-mint { background: linear-gradient(160deg, #e7f8ef, #d5f3e4); }
.shop-cat-tile.tone-peach { background: linear-gradient(160deg, #fff1e6, #ffe4d1); }
.shop-cat-tile.tone-rose { background: linear-gradient(160deg, #ffe9f2, #ffd8e8); }
.shop-cat-tile.tone-lilac { background: linear-gradient(160deg, #f4eaff, #eadbff); }

/* ─── Filters ─── */
.shop-cats {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 18px;
    margin-bottom: 6px;
    scrollbar-width: none;
}
.shop-cats::-webkit-scrollbar { display: none; }
.shop-cat {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    border-radius: 999px;
    padding: 10px 18px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.shop-cat.is-on,
.shop-cat:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px 20px;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: var(--paper-2);
}

/* ─── Banner ─── */
.shop-banner {
    width: var(--wrap);
    margin: 48px auto 8px;
}
.shop-banner-inner {
    display: grid;
    gap: 20px;
    align-items: center;
    padding: 36px 28px;
    border-radius: 32px;
    background:
        radial-gradient(600px 200px at 20% 50%, rgba(255, 255, 255, 0.12), transparent 50%),
        linear-gradient(115deg, #4f8cff 0%, #6b63f7 45%, #8b6fff 100%);
    color: #fff;
    box-shadow: 0 24px 50px rgba(79, 140, 255, 0.28);
    overflow: hidden;
    position: relative;
}
.shop-banner-orb {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
    line-height: 1.15;
}
.shop-banner-copy h2 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.shop-banner-copy p {
    margin: 0;
    opacity: 0.92;
    font-size: 1rem;
    font-weight: 500;
}
@media (min-width: 840px) {
    .shop-banner-inner {
        grid-template-columns: auto 1fr auto;
        padding: 40px 44px;
    }
}

/* ─── Perks ─── */
.shop-perks {
    width: var(--wrap);
    margin: 40px auto 12px;
    display: grid;
    gap: 18px;
    padding: 12px 0 36px;
}
@media (min-width: 840px) {
    .shop-perks { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.shop-perk {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 8px 4px;
}
.shop-perk-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand);
    flex-shrink: 0;
    font-size: 1.1rem;
}
.shop-perk strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1.02rem;
    font-weight: 800;
}
.shop-perk p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}

/* ─── Footer ─── */
.shop-foot {
    border-top: 1px solid var(--line);
    background: #fafbff;
    color: var(--muted);
    margin-top: 12px;
}
.shop-foot-inner {
    width: var(--wrap);
    margin: 0 auto;
    padding: 28px 0 calc(28px + var(--safe-b));
}
.shop-foot-system .shop-foot-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.86rem;
    line-height: 1.5;
}
.shop-staff-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.78rem;
    text-decoration: none;
}
.shop-staff-link:hover { color: var(--brand); text-decoration: underline; }

/* ─── Cart ─── */
.shop-sheet-overlay {
    position: fixed; inset: 0;
    background: rgba(22, 22, 42, 0.42);
    z-index: 60;
    backdrop-filter: blur(3px);
}
.shop-sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    max-height: min(74vh, 560px);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px 24px 0 0;
    z-index: 65;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    padding-bottom: var(--safe-b);
    box-shadow: 0 -20px 50px rgba(22, 22, 42, 0.18);
}
.shop-sheet.is-open { transform: translateY(0); }
.shop-sheet-head {
    display: flex;
    justify-content: space-between;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--line);
}
.shop-sheet-kicker {
    margin: 0 0 2px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 700;
}
.shop-sheet-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; }
.shop-cart-lines { overflow: auto; padding: 4px 18px; flex: 1; }
.shop-line {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.shop-line strong {
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-line .meta { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }
.shop-qty { display: inline-flex; align-items: center; gap: 4px; }
.shop-qty span { min-width: 1.1em; text-align: center; font-weight: 700; }
.shop-qty button {
    width: 30px; height: 30px; border: 0; border-radius: 10px;
    background: var(--paper-2); font-weight: 700; cursor: pointer; font-family: inherit;
}
.shop-cart-foot { padding: 14px 18px 18px; border-top: 1px solid var(--line); }
.shop-cart-foot .shop-btn { width: 100%; }
.shop-cart-foot .shop-btn-ghost { margin-top: 8px; }
.shop-total-row {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    margin-bottom: 14px;
}
.shop-total-row strong { font-size: 1.25rem; color: var(--brand-deep); }

@media (min-width: 720px) {
    .shop-sheet {
        left: auto; right: 18px; bottom: auto; top: 84px;
        max-height: min(80vh, 580px);
        max-width: 380px;
        border-radius: 22px;
        transform: translateX(120%);
        box-shadow: var(--shadow);
    }
    .shop-sheet.is-open { transform: translateX(0); }
    .shop-cart-lines { max-height: 300px; }
}

/* ─── Quick view ─── */
.shop-qv-overlay {
    position: fixed; inset: 0;
    background: rgba(22, 22, 42, 0.48);
    z-index: 70;
}
.shop-qv {
    border: 0; padding: 0;
    border-radius: 28px;
    width: min(940px, calc(100% - 24px));
    max-height: min(90vh, 660px);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 40px 90px rgba(22, 22, 42, 0.28);
    z-index: 75;
}
.shop-qv::backdrop { background: transparent; }
.shop-qv[open] { display: grid; }
@media (min-width: 780px) {
    .shop-qv[open] { grid-template-columns: 1.05fr 0.95fr; }
}
.shop-qv-close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 42px; height: 42px; border: 0; border-radius: 50%;
    background: #fff; box-shadow: var(--shadow-soft); cursor: pointer;
}
.shop-qv-media {
    background: linear-gradient(160deg, #eef1ff, #f7f4ff);
    min-height: 240px;
}
.shop-qv-media img {
    width: 100%; height: 100%; object-fit: contain;
    display: block; min-height: 280px; padding: 24px;
}
.shop-qv-body { padding: 28px; overflow: auto; }
.shop-qv-body h2 {
    margin: 4px 0 12px;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.shop-qv-price {
    margin: 0 0 10px;
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--brand-deep);
}
.shop-qv-desc { color: var(--muted); line-height: 1.55; margin: 0 0 16px; }
.shop-stock-label { font-size: 0.88rem; font-weight: 700; margin: 0 0 18px; }
.shop-stock-label.is-in { color: #1f8f6a; }
.shop-stock-label.is-out { color: var(--danger); }
.shop-stock-label.is-low { color: var(--warn); }
.shop-qv-body .shop-btn { width: 100%; }
.shop-qv-sku { display: none !important; }

@media (max-width: 779px) {
    .shop-qv {
        max-height: 92vh; overflow-y: auto;
        border-radius: 24px 24px 0 0;
        width: 100%; max-width: 100%; align-self: end;
    }
}

/* ─── Checkout ─── */
.shop-checkout {
    width: var(--wrap);
    max-width: 540px;
    margin: 0 auto;
    padding: 28px 0 calc(40px + var(--safe-b));
}
.shop-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    overflow: visible;
}
.shop-panel:has(.shop-suggest-wrap) { z-index: 30; }
.shop-panel h2 { margin: 0 0 14px; font-size: 1.15rem; font-weight: 800; }
.shop-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--ink-soft);
}
.shop-form input[type="text"],
.shop-form input[type="tel"] {
    display: block; width: 100%; margin-top: 7px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 13px 14px; font-size: 1rem; font-family: inherit; background: #fff;
}
.shop-form input:focus {
    outline: none;
    border-color: rgba(124, 92, 252, 0.5);
    box-shadow: 0 0 0 4px rgba(124, 92, 252, 0.12);
}
.shop-suggest-wrap { position: relative; display: block; z-index: 40; }
.shop-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50;
    margin: 0; padding: 6px; list-style: none; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); max-height: 240px; overflow: auto;
}
.shop-suggest li {
    padding: 10px 12px; border-radius: 10px;
    font-size: 0.92rem; font-weight: 500; cursor: pointer;
}
.shop-card.is-search-hit {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(124, 92, 252, 0.18);
}
.shop-hint { color: var(--muted); font-size: 0.86rem; margin: 0 0 12px; line-height: 1.45; }
.shop-pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shop-pay-opt {
    display: flex; gap: 10px; align-items: center;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 14px; margin: 0 !important; cursor: pointer;
}
.shop-pay-opt:has(input:checked) {
    border-color: var(--brand); background: var(--brand-soft);
}
.shop-pay-opt strong { display: block; font-size: 0.95rem; }
.shop-pay-opt small { display: none; }
.shop-msg { color: var(--danger); text-align: center; margin-top: 12px; font-size: 0.9rem; }
.shop-success { text-align: center; }
.shop-success h1 { margin: 10px 0 8px; font-size: 1.55rem; font-weight: 800; }
.shop-ok-icon {
    width: 64px; height: 64px; margin: 0 auto; border-radius: 50%;
    display: grid; place-items: center; background: var(--brand-soft);
    color: var(--brand); font-size: 1.5rem;
}
.shop-ok-icon.is-paid { background: rgba(31, 143, 106, 0.12); color: #1f8f6a; }
.shop-pay-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 14px;
}
.shop-pay-facts > div {
    background: rgba(31, 107, 90, 0.08);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}
.shop-pay-facts span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.shop-pay-facts strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--brand-deep);
    word-break: break-all;
}
.shop-pay-steps {
    margin: 0 0 16px;
    padding-left: 1.2rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.55;
}
.shop-pay-steps li { margin-bottom: 6px; }
.shop-ussd {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    background: var(--ink); color: #eef0ff; border-radius: var(--radius-sm);
    padding: 16px; text-align: center; margin-bottom: 12px;
    word-break: break-all; font-size: 0.95rem; user-select: all;
}
.shop-summary { list-style: none; margin: 0; padding: 0; }
.shop-summary li {
    display: flex; justify-content: space-between; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.92rem;
}
.shop-summary li.is-total {
    border: 0; font-weight: 800; padding-top: 14px; font-size: 1.1rem;
}
.shop-checkout .shop-btn-primary,
.shop-panel + .shop-btn,
button.shop-btn.shop-btn-primary { width: 100%; }

.shop-toast {
    position: fixed;
    left: 50%;
    bottom: calc(24px + var(--safe-b));
    transform: translateX(-50%) translateY(12px);
    background: var(--ink); color: #fff;
    padding: 13px 20px; border-radius: 999px;
    font-size: 0.9rem; font-weight: 700; z-index: 80;
    box-shadow: var(--shadow); opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.shop-toast.is-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes shop-rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes shop-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes shop-pop {
    0% { transform: scale(0.7); }
    60% { transform: scale(1.12); }
    100% { transform: scale(1); }
}
@keyframes shop-pulse {
    from { transform: scale(0.96); opacity: 0.85; }
    to { transform: scale(1.05); opacity: 1; }
}
@keyframes shop-float {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
