/* ================================================================
   ГЛАВНАЯ (LANDING) — scoped под .home-landing
   ================================================================ */

.home-landing {
    --lp-bg: #09070f;
    --lp-panel: #13101b;
    --lp-panel2: #1b1427;
    --lp-purple: #a855f7;
    --lp-pink: #e879f9;
    --lp-text: #faf7ff;
    --lp-muted: #aaa2b9;
    --lp-line: #30233f;
    color: var(--lp-text);
    padding-bottom: 20px;
}

.lp-wrap {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

/* ================================================================
   HERO
   ================================================================ */
.lp-hero {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;
    padding: 44px 0 52px;
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.lp-hero-copy { animation: lp-rise .8s both; }

.lp-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d8b4fe;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 10px;
    font-weight: 850;
}

.lp-live {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #d8b4fe;
    box-shadow: 0 0 14px #c084fc;
    animation: lp-pulse 2s infinite;
}
@keyframes lp-pulse { 50% { box-shadow: 0 0 38px #a855f766; } }

.lp-hero-copy h1 {
    font-size: clamp(44px, 7vw, 84px);
    line-height: .95;
    letter-spacing: -.075em;
    margin: 24px 0;
    font-weight: 950;
    color: var(--lp-text);
    font-family: 'Unbounded', 'Inter', sans-serif;
    padding-right: 0.15em;
    padding-bottom: 0.05em;
}

.lp-gradient {
    background: linear-gradient(100deg, #c084fc, #e879f9, #8b5cf6);
    background-size: 200%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: lp-shine 6s linear infinite;
    display: inline-block;
    padding-right: 0.08em;
}
@keyframes lp-shine {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.lp-lead {
    max-width: 460px;
    color: var(--lp-muted);
    font-size: 14px;
    line-height: 1.85;
    margin: 0;
}

.lp-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
    border: none;
    transition: transform .25s, box-shadow .25s, background .25s;
    text-decoration: none;
    letter-spacing: .3px;
    color: var(--lp-text);
}
.lp-btn:hover { transform: translateY(-3px); }

.lp-btn-primary {
    background: linear-gradient(120deg, #9333ea, #6d28d9);
    color: #fff;
    box-shadow: 0 8px 30px #7c3aed33;
}
.lp-btn-primary:hover { box-shadow: 0 12px 38px #a855f766; }

.lp-btn-ghost {
    border: 1px solid #382847;
    background: rgba(255,255,255,0.02);
    color: var(--lp-text);
}
.lp-btn-ghost:hover { background: rgba(255,255,255,0.06); }

/* Hero visual — под-система */
.lp-hero-visual {
    height: 410px;
    position: relative;
    border: 1px solid #5c35754d;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #1d1329bb, #0e0b14ee);
    display: grid;
    place-items: center;
    isolation: isolate;
    animation: lp-rise .9s .15s both;
}
.lp-hero-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 95%, #b56af922 96%),
        linear-gradient(90deg, transparent 95%, #b56af922 96%);
    background-size: 35px 35px;
    -webkit-mask-image: linear-gradient(transparent, #000);
            mask-image: linear-gradient(transparent, #000);
    pointer-events: none;
}

.lp-ring {
    position: absolute;
    width: 290px; height: 290px;
    border: 1px solid #b66bdf55;
    border-radius: 50%;
    animation: lp-spin 28s linear infinite;
}
.lp-ring::before, .lp-ring::after {
    content: "";
    position: absolute;
    border: 1px dashed #c084fc55;
    border-radius: 50%;
    inset: 22px;
}
.lp-ring::after {
    inset: -26px;
    border-style: solid;
    border-color: #e879f922;
}
@keyframes lp-spin { to { transform: rotate(360deg); } }

.lp-device {
    position: relative;
    width: 100px;
    height: 210px;
    border-radius: 22px 22px 26px 26px;
    background: linear-gradient(115deg, #d7c5e8, #7d35ad 30%, #261336 75%, #120d1a);
    border: 1px solid #e9d5ff88;
    box-shadow:
        inset -12px 0 18px #0a061566,
        0 0 55px #a855f766;
    transform: rotate(10deg);
    animation: lp-drift 5s ease-in-out infinite;
    z-index: 2;
}
.lp-device::before {
    content: "";
    position: absolute;
    top: -22px;
    left: 33px;
    width: 34px;
    height: 25px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(90deg, #8c8298, #d7c5e8, #61546d);
    border: 1px solid #e9d5ff77;
}
.lp-device::after {
    content: "V";
    position: absolute;
    left: 0; right: 0;
    top: 75px;
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    font-weight: 950;
    font-size: 36px;
    color: #f7eaff;
    text-shadow: 0 0 18px #fff;
}
.lp-device-light {
    position: absolute;
    width: 9px; height: 9px;
    background: #e9d5ff;
    border-radius: 50%;
    bottom: 17px; left: 45px;
    box-shadow: 0 0 13px #e9d5ff;
}
@keyframes lp-drift {
    50% { transform: translateY(-10px) rotate(2deg); }
}

.lp-visual-top, .lp-visual-bottom {
    position: absolute;
    z-index: 3;
    font-size: 9px;
    letter-spacing: .2em;
    color: #c9b4dc;
}
.lp-visual-top { top: 20px; left: 20px; }
.lp-visual-bottom { bottom: 20px; right: 20px; }

.lp-star {
    position: absolute;
    color: #e9baff;
    text-shadow: 0 0 18px #a855f7;
    animation: lp-twinkle 3s ease-in-out infinite;
}
.lp-star-a { top: 23%; right: 20%; font-size: 25px; }
.lp-star-b { bottom: 24%; left: 17%; font-size: 17px; animation-delay: -1.5s; }
@keyframes lp-twinkle {
    50% { opacity: .35; transform: scale(.7) rotate(40deg); }
}

@keyframes lp-rise {
    from { opacity: 0; transform: translateY(25px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   TICKER
   ================================================================ */
.lp-ticker {
    border-top: 1px solid rgba(255,255,255,0.07);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 17px 0;
    overflow: hidden;
    white-space: nowrap;
    color: #b7a9c8;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .22em;
}
.lp-ticker-track {
    display: inline-block;
    animation: lp-marquee 24s linear infinite;
}
.lp-ticker span { color: #c084fc; padding: 0 25px; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* ================================================================
   СЕКЦИИ
   ================================================================ */
.lp-section { padding: 64px 0; }

.lp-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.lp-section-head-text { flex: 1; }
.lp-section-label {
    font-size: 10px;
    letter-spacing: .2em;
    color: #d8b4fe;
    font-weight: 900;
}
.lp-section-title {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-size: clamp(26px, 4vw, 42px);
    letter-spacing: -.05em;
    margin: 10px 0 0;
    color: var(--lp-text);
    line-height: 1.05;
}
.lp-section-desc {
    max-width: 590px;
    color: var(--lp-muted);
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

/* ================================================================
   КАТЕГОРИИ
   ================================================================ */
.lp-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.lp-category {
    position: relative;
    overflow: hidden;
    min-height: 215px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    background: linear-gradient(145deg, #191322, #100d16);
    transition: transform .3s, border-color .3s;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.lp-category:hover {
    transform: translateY(-6px);
    border-color: rgba(168,85,247,0.47);
}
.lp-category::before {
    content: "";
    position: absolute;
    width: 140px; height: 140px;
    right: -50px; top: -55px;
    border-radius: 50%;
    background: #9333ea20;
    filter: blur(12px);
    transition: transform .4s;
}
.lp-category:hover::before { transform: scale(1.6); }

.lp-category-no {
    font-size: 9px;
    letter-spacing: .16em;
    color: #c4a4e3;
    position: relative;
}
.lp-category h3 {
    position: absolute;
    left: 20px;
    bottom: 19px;
    margin: 0;
    font-size: 17px;
    letter-spacing: -.03em;
    color: var(--lp-text);
    font-family: 'Unbounded', 'Inter', sans-serif;
    z-index: 2;
}
.lp-category h3 small {
    display: block;
    color: var(--lp-muted);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0;
    margin-top: 6px;
    font-family: 'Inter', sans-serif;
}

.lp-cat-art {
    height: 112px;
    display: grid;
    place-items: center;
    position: relative;
}

/* Мини-визуализации категорий */
.lp-pod-mini {
    height: 78px; width: 35px;
    border-radius: 9px 9px 12px 12px;
    background: linear-gradient(120deg, #d9c1f2, #8236b4 48%, #24102f);
    box-shadow: 0 0 30px #a855f744;
    transform: rotate(12deg);
}
.lp-liquid-mini {
    height: 83px; width: 43px;
    border-radius: 8px 8px 12px 12px;
    border: 1px solid #d8b4fe88;
    background: linear-gradient(90deg, #351a4d, #a855f7, #49205f);
    position: relative;
    transform: rotate(-8deg);
    box-shadow: 0 0 25px #a855f733;
}
.lp-liquid-mini::before {
    content: "";
    position: absolute;
    top: -13px; left: 10px;
    width: 21px; height: 14px;
    border-radius: 4px 4px 0 0;
    background: #b7a3c9;
}
.lp-disposable-mini {
    height: 80px; width: 28px;
    border-radius: 10px;
    background: linear-gradient(100deg, #e879f9, #6428a0 65%, #22102e);
    transform: rotate(15deg);
    box-shadow: 0 0 28px #d946ef44;
}
.lp-cart-mini {
    height: 61px; width: 57px;
    border-radius: 8px;
    background: linear-gradient(130deg, #dfd3ea, #76508d, #21172b);
    transform: rotate(-10deg);
    box-shadow: 0 0 25px #a855f733;
}

.lp-category:nth-child(2) .lp-cat-art::after {
    content: "";
    position: absolute;
    width: 85px; height: 85px;
    border: 1px dashed #a855f755;
    border-radius: 50%;
}
.lp-category:nth-child(4) .lp-cat-art::after {
    content: "";
    position: absolute;
    width: 90px; height: 50px;
    border: 1px solid #a855f755;
    border-radius: 50%;
    transform: rotate(-20deg);
}

/* ================================================================
   О МАГАЗИНЕ
   ================================================================ */
.lp-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.lp-info-card {
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    background: var(--lp-panel);
}
.lp-info-card h3 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--lp-text);
}
.lp-info-card p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 12px;
    line-height: 1.85;
}

/* 18+ */
.lp-age {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 22px;
    border: 1px solid #73459a66;
    border-radius: 14px;
    background: linear-gradient(100deg, #1b1127, #100d16);
}
.lp-age-badge {
    flex: 0 0 44px;
    height: 44px;
    border: 1px solid #a855f7;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #e9c8ff;
    font-weight: 950;
    font-size: 13px;
}
.lp-age h3 {
    margin: 1px 0 7px;
    font-size: 14px;
    color: var(--lp-text);
}
.lp-age p {
    margin: 0;
    color: var(--lp-muted);
    font-size: 12px;
    line-height: 1.8;
}

/* Контакты */
.lp-contacts-card {
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    background: var(--lp-panel);
    color: var(--lp-muted);
    font-size: 12px;
    line-height: 2.1;
}
.lp-contacts-card b {
    color: #f5eaff;
    font-weight: 700;
}

/* Футер */
.lp-footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 28px 0;
    margin-top: 20px;
}
.lp-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    color: #827a91;
    font-size: 10px;
    flex-wrap: wrap;
}
.lp-foot strong {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    color: #fff;
    letter-spacing: -1px;
    font-weight: 950;
}
.lp-foot strong span {
    background: linear-gradient(100deg, #c084fc, #e879f9, #a855f7);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Анимация появления */
.lp-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}
.lp-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Страницы каталога/корзины/профиля — центрируем */
#page-catalog, #page-cart, #page-profile {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* ================================================================
   МОДАЛКА ТОВАРА
   ================================================================ */
.product-modal {
    z-index: 120;
    align-items: center;
    padding: 24px;
}

.product-sheet {
    position: relative;
    background: linear-gradient(160deg, #17101f 0%, #0e0a15 100%);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 26px;
    padding: 28px;
    max-width: 520px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: left;
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.08),
        0 30px 90px rgba(124, 58, 237, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: productSheetIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes productSheetIn {
    from { opacity: 0; transform: translateY(60px) scale(0.94); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.product-sheet-handle {
    display: none;
    width: 42px;
    height: 4px;
    border-radius: 2px;
    background: rgba(168, 85, 247, 0.4);
    margin: -8px auto 14px;
}

.product-sheet .modal-close {
    top: 18px;
    right: 18px;
    z-index: 3;
    background: rgba(10, 5, 20, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.25);
}

.product-loading {
    display: grid;
    place-items: center;
    min-height: 320px;
}
.product-loading-spinner {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: productSpin 0.9s linear infinite;
}
@keyframes productSpin { to { transform: rotate(360deg); } }

.product-detail-head {
    display: flex;
    flex-direction: column;
    animation: productFadeUp 0.5s 0.05s both;
}
@keyframes productFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.product-detail-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background: radial-gradient(circle at 50% 30%, rgba(168, 85, 247, 0.15), transparent 70%),
                linear-gradient(145deg, #1c1226, #0d0917);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid rgba(168, 85, 247, 0.15);
}
.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: productImageZoom 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes productImageZoom {
    from { transform: scale(0.9); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.product-detail-image::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4), transparent 70%);
    filter: blur(50px);
    z-index: 0;
    animation: productGlow 4s ease-in-out infinite alternate;
}
@keyframes productGlow {
    from { transform: scale(0.9); opacity: 0.5; }
    to   { transform: scale(1.15); opacity: 0.9; }
}
.product-detail-image img,
.product-detail-image svg { position: relative; z-index: 1; }

.product-detail-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
    animation: productBadgePop 0.4s 0.2s both;
}
@keyframes productBadgePop {
    from { transform: scale(0.6); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.product-detail-out {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: #f87171;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.product-detail-brand {
    font-size: 11px;
    font-weight: 800;
    color: #c084fc;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    animation: productFadeUp 0.5s 0.1s both;
}
.product-detail-name {
    font-family: 'Unbounded', 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #faf7ff;
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
    animation: productFadeUp 0.5s 0.15s both;
}
.product-detail-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    animation: productFadeUp 0.5s 0.2s both;
}
.product-detail-price {
    font-family: 'Unbounded', sans-serif;
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #f4eeff 0%, #c084fc 100%);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.product-detail-old {
    font-size: 16px;
    color: #9d8fc0;
    text-decoration: line-through;
}

.product-detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 6px 12px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    font-size: 12px;
    color: #4ade80;
    font-weight: 600;
    animation: productFadeUp 0.5s 0.22s both;
}
.product-detail-stock.low {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}
.product-detail-stock svg { width: 14px; height: 14px; }

.product-detail-desc {
    color: #aaa2b9;
    font-size: 13.5px;
    line-height: 1.75;
    margin: 0 0 22px;
    padding: 16px;
    background: rgba(168, 85, 247, 0.05);
    border-left: 3px solid rgba(168, 85, 247, 0.4);
    border-radius: 0 12px 12px 0;
    animation: productFadeUp 0.5s 0.25s both;
}
.product-detail-desc:empty { display: none; }

.product-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
    animation: productFadeUp 0.5s 0.3s both;
}
.product-meta-item {
    padding: 12px 14px;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 12px;
}
.product-meta-label {
    font-size: 10px;
    color: #9d8fc0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.product-meta-value {
    font-size: 13px;
    font-weight: 700;
    color: #faf7ff;
}

.product-detail-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 4px;
    animation: productFadeUp 0.5s 0.35s both;
}

.product-qty {
    display: flex;
    align-items: center;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 14px;
    padding: 4px;
    flex-shrink: 0;
}
.product-qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: transparent;
    color: #c084fc;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.product-qty-btn:hover { background: rgba(168, 85, 247, 0.15); }
.product-qty-btn:active { background: rgba(168, 85, 247, 0.25); }
.product-qty-value {
    min-width: 36px;
    text-align: center;
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #faf7ff;
    padding: 0 4px;
    transition: transform 0.15s ease;
}

.product-add-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
    -webkit-tap-highlight-color: transparent;
}
.product-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.6);
}
.product-add-btn:active { transform: translateY(0) scale(0.98); }
.product-add-btn:disabled {
    background: rgba(168, 85, 247, 0.15);
    color: #9d8fc0;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.product-add-btn svg { width: 18px; height: 18px; }

/* ================================================================
   КОРЗИНА (расширенные стили)
   ================================================================ */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: #9d8fc0;
}
.cart-empty svg {
    width: 64px;
    height: 64px;
    color: rgba(168, 85, 247, 0.4);
    margin-bottom: 18px;
}
.cart-empty h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 18px;
    color: #faf7ff;
    margin-bottom: 6px;
}
.cart-empty p { font-size: 13px; }

.cart-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.cart-item-stock {
    font-size: 11px;
    color: #9d8fc0;
    font-weight: 500;
    white-space: nowrap;
}
.cart-item-stock.low {
    color: #fbbf24;
    font-weight: 700;
}

/* ================================================================
   АДАПТАЦИЯ — ПЛАНШЕТ
   ================================================================ */
@media (max-width: 820px) {
    .lp-hero {
        grid-template-columns: 1fr;
        padding: 32px 0 44px;
        gap: 28px;
        min-height: auto;
    }
    .lp-hero-visual {
        height: 310px;
        grid-row: 1;
    }
    .lp-categories { grid-template-columns: repeat(2, 1fr); }
    .lp-section { padding: 48px 0; }
    .lp-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .lp-foot {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ================================================================
   АДАПТАЦИЯ — ТЕЛЕФОН
   ================================================================ */
@media (max-width: 640px) {
    .product-modal {
        padding: 0;
        align-items: flex-end;
    }
    .product-sheet {
        max-width: 100%;
        border-radius: 26px 26px 0 0;
        padding: 20px 20px calc(28px + var(--safe-bottom, 0px));
        max-height: 92vh;
        animation: productSheetSlide 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .product-sheet-handle { display: block; }

    @keyframes productSheetSlide {
        from { transform: translateY(100%); opacity: 0.8; }
        to   { transform: translateY(0); opacity: 1; }
    }

    .product-detail-image {
        aspect-ratio: 1 / 1;
        max-height: 42vh;
        border-radius: 18px;
        margin-bottom: 18px;
    }
    .product-detail-name { font-size: 19px; }
    .product-detail-price { font-size: 26px; }
    .product-detail-old { font-size: 14px; }
    .product-detail-desc { font-size: 13px; padding: 14px; }
    .product-detail-meta { grid-template-columns: 1fr 1fr; gap: 8px; }
    .product-meta-item { padding: 10px 12px; }
    .product-meta-value { font-size: 12px; }

    .product-detail-actions {
        flex-wrap: wrap;
        gap: 8px;
    }
    .product-qty { width: 100%; justify-content: center; }
    .product-qty-btn { flex: 1; height: 46px; }
    .product-add-btn { width: 100%; padding: 15px 20px; font-size: 15px; }
}

@media (max-width: 520px) {
    .lp-wrap { width: calc(100% - 24px); }
    .lp-hero { width: calc(100% - 24px); }

    .lp-hero-copy h1 {
        font-size: clamp(38px, 12vw, 54px);
        margin: 18px 0;
        padding-right: 0.2em;
        letter-spacing: -.06em;
    }
    .lp-lead { font-size: 13px; line-height: 1.75; }
    .lp-eyebrow { font-size: 9px; letter-spacing: .16em; }

    .lp-hero-visual {
        height: 270px;
        border-radius: 16px;
    }
    .lp-device {
        width: 80px; height: 170px;
    }
    .lp-device::before {
        top: -18px; left: 26px;
        width: 28px; height: 20px;
    }
    .lp-device::after {
        top: 60px; font-size: 30px;
    }
    .lp-device-light {
        width: 7px; height: 7px;
        bottom: 14px; left: 36px;
    }
    .lp-ring { width: 230px; height: 230px; }
    .lp-ring::before { inset: 18px; }
    .lp-ring::after  { inset: -22px; }

    .lp-visual-top, .lp-visual-bottom {
        font-size: 8px;
        letter-spacing: .15em;
    }
    .lp-visual-top { top: 14px; left: 14px; }
    .lp-visual-bottom { bottom: 14px; right: 14px; }

    .lp-star-a { font-size: 20px; }
    .lp-star-b { font-size: 14px; }

    .lp-buttons {
        gap: 10px;
        margin-top: 22px;
        flex-direction: column;
    }
    .lp-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 16px;
        font-size: 13px;
    }

    .lp-ticker { padding: 12px 0; font-size: 9px; letter-spacing: .18em; }

    .lp-section { padding: 32px 0; }
    .lp-section-title { font-size: 22px; letter-spacing: -.03em; }
    .lp-section-desc { font-size: 12px; line-height: 1.75; }

    .lp-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .lp-category {
        min-height: 180px;
        padding: 14px;
        border-radius: 12px;
    }
    .lp-category h3 {
        left: 14px; bottom: 14px;
        font-size: 13px;
    }
    .lp-category h3 small { font-size: 9px; margin-top: 4px; }
    .lp-cat-art { height: 90px; }

    .lp-pod-mini        { height: 65px; width: 29px; }
    .lp-liquid-mini     { height: 68px; width: 36px; }
    .lp-liquid-mini::before { top: -11px; left: 8px; width: 18px; height: 11px; }
    .lp-disposable-mini { height: 66px; width: 24px; }
    .lp-cart-mini       { height: 50px; width: 48px; }

    .lp-about-grid { grid-template-columns: 1fr; }
    .lp-info-card { padding: 20px; border-radius: 12px; }
    .lp-info-card h3 { font-size: 15px; }

    .lp-age { padding: 16px; gap: 12px; border-radius: 12px; }
    .lp-age-badge { flex: 0 0 40px; height: 40px; font-size: 12px; }
    .lp-age h3 { font-size: 13px; }
    .lp-age p { font-size: 11px; }

    .lp-contacts-card { padding: 20px; font-size: 11px; line-height: 1.9; border-radius: 12px; }

    .lp-footer { padding: 20px 0; margin-top: 8px; }
    .lp-foot { font-size: 9px; gap: 10px; }
    .lp-foot strong { font-size: 14px; }

    /* Корзина мобильная */
    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 10px;
    }
    .cart-item-image { width: 60px; height: 60px; }
    .cart-item-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid rgba(168, 85, 247, 0.1);
        gap: 8px;
    }
    .cart-item-right {
        flex: 1;
        align-items: flex-start;
    }
    .cart-item-right .cart-item-sum { font-size: 14px; }
    .cart-item-right .cart-item-stock { font-size: 10px; }
}

/* ================================================================
   ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ
   ================================================================ */
@media (max-width: 360px) {
    .lp-hero-copy h1 { font-size: 34px; }
    .lp-hero-visual { height: 240px; }
    .lp-ring { width: 200px; height: 200px; }
    .lp-device { width: 70px; height: 150px; }
    .lp-device::before { left: 22px; top: -16px; width: 26px; height: 18px; }
    .lp-device::after { top: 52px; font-size: 26px; }
    .lp-device-light { left: 30px; bottom: 12px; }
    .lp-category { min-height: 160px; }
    .lp-category h3 { font-size: 12px; }
    .lp-cat-art { height: 80px; }
    .lp-section-title { font-size: 20px; }

    .product-sheet { padding: 16px 16px calc(24px + var(--safe-bottom, 0px)); }
    .product-detail-name { font-size: 17px; }
    .product-detail-price { font-size: 23px; }
    .product-detail-meta { grid-template-columns: 1fr; }
}

/* ================================================================
   ЛАНДШАФТ
   ================================================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .lp-hero {
        padding: 20px 0 24px;
        min-height: auto;
    }
    .lp-hero-visual { height: 240px; }
    .lp-section { padding: 24px 0; }
}

/* ================================================================
   ДОСТУПНОСТЬ
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    .lp-hero-copy, .lp-hero-visual, .lp-live, .lp-ring, .lp-device,
    .lp-star, .lp-ticker-track, .lp-gradient, .lp-reveal,
    .product-sheet, .product-detail-head, .product-detail-image img,
    .product-detail-image::before, .product-detail-badge {
        animation: none !important;
        transition: none !important;
    }
    .lp-reveal { opacity: 1; transform: none; }
    .lp-device { transform: rotate(10deg); }
}