*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: #eaf6ff;
    background: radial-gradient(circle at top, #182029 0, #0f1419 40%, #05070a 100%);
    -webkit-font-smoothing: antialiased;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 14px 14px max(14px, env(safe-area-inset-bottom));
    gap: 12px;
}

@media (min-width: 768px) {
    .app {
        max-width: 960px;
        margin: 0 auto;
        padding: 18px 18px 20px;
    }
}

/* Hero */
.hero {
    position: relative;
    border-radius: 26px;
    padding: 24px 20px 26px;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%),
        url('/assets/hero-bg.png');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(61, 214, 255, 0.15);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -25%;
    width: 110%;
    height: 210%;
    background: radial-gradient(circle at center, rgba(61, 214, 255, 0.4), transparent 70%);
    opacity: 0.25;
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: linear-gradient(
        180deg,
        rgba(61, 214, 255, 0.25) 0%,
        rgba(61, 214, 255, 0.15) 30%,
        rgba(61, 214, 255, 0.08) 70%,
        rgba(0, 0, 0, 0.4) 100%
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    padding: 1px;
    pointer-events: none;
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 160px;
    gap: 16px;
}

.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
    flex: 1;
    align-items: flex-end;
    text-align: right;
}

@media (min-width: 480px) {
    .hero-content {
        max-width: 55%;
        flex: 0 0 55%;
    }
}

.hero-badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #0b1015;
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    box-shadow: 0 8px 18px rgba(61, 214, 255, 0.4);
}

.hero-pill {
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    color: #9fb4c2;
    background: rgba(8, 13, 19, 0.55);
    border: 1px solid rgba(99, 128, 149, 0.5);
    backdrop-filter: blur(18px);
}

.hero-title {
    margin: 2px 0 0;
    font-size: 26px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    font-weight: 500;
    color: #d0e0f0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-features {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hero-feature {
    position: relative;
    padding-right: 18px;
    font-size: 13px;
    line-height: 1.5;
    color: #c8dce8;
    opacity: 0.9;
    text-align: right;
}

.hero-feature::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    box-shadow: 0 0 6px rgba(61, 214, 255, 0.5);
}

@media (min-width: 768px) {
    .hero {
        padding: 28px 30px 32px;
        border-radius: 28px;
    }

    .hero::after {
        border-radius: 28px;
    }

    .hero-inner {
        min-height: 180px;
    }

    .hero-content {
        max-width: 50%;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.25;
        font-weight: 500;
    }

    .hero-feature {
        font-size: 14px;
        line-height: 1.6;
    }
}

.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Categories */
.categories-section {
    margin-top: 2px;
}

.categories-scroll-wrapper {
    position: relative;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.categories-scroll-indicator {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, transparent 0%, rgba(5, 7, 10, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

.categories-scroll-indicator.hidden {
    opacity: 0;
}

.categories-scroll-arrow {
    font-size: 16px;
    color: rgba(234, 246, 255, 0.4);
    line-height: 1;
    font-weight: 300;
}

.category-chip {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 7px 14px;
    border: 1px solid rgba(111, 139, 160, 0.7);
    background: rgba(13, 18, 24, 0.9);
    color: #d5e4f3;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out, transform 0.1s ease-out;
}

.category-chip::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #6be3ff, transparent 60%);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.category-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 218, 255, 0.9);
}

.category-chip--active {
    background: linear-gradient(135deg, rgba(61, 214, 255, 0.18), rgba(107, 227, 255, 0.1));
    border-color: rgba(61, 214, 255, 0.85);
    color: #eaf6ff;
    box-shadow:
        0 0 0 1px rgba(61, 214, 255, 0.45),
        0 12px 26px rgba(0, 0, 0, 0.85);
}

.category-chip--active::before {
    opacity: 1;
    transform: scale(1);
}

/* Products */
.products-section {
    border-radius: 24px;
    padding: 14px 12px 16px;
    background:
        radial-gradient(circle at top left, rgba(61, 214, 255, 0.12), transparent 55%),
        linear-gradient(145deg, #1a2128, #161c22);
    box-shadow:
        0 26px 80px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(68, 92, 112, 0.8);
}

@media (min-width: 768px) {
    .products-section {
        padding: 16px 16px 18px;
        border-radius: 26px;
    }
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.section-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    color: #9fb4c2;
}

.products-tag {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    color: #9fb4c2;
    background: rgba(7, 13, 18, 0.85);
    border: 1px solid rgba(86, 112, 134, 0.9);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.dot-online {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #3dd6ff, #0b1820);
    box-shadow: 0 0 0 4px rgba(61, 214, 255, 0.18);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 0;
    background:
        radial-gradient(circle at top, rgba(61, 214, 255, 0.12), transparent 55%),
        linear-gradient(145deg, #1a2128, #161c22);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(71, 93, 112, 0.9);
    gap: 0;
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    cursor: pointer;
    min-height: 0;
    overflow: hidden;
}

.product-card:focus {
    outline: 2px solid rgba(125, 219, 255, 0.8);
    outline-offset: 2px;
}

.product-card:active,
.product-card.touched {
    transform: translateY(-2px);
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 1),
        0 0 0 1px rgba(125, 219, 255, 0.9);
    outline: 2px solid rgba(125, 219, 255, 0.8);
    outline-offset: 2px;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 1),
        0 0 0 1px rgba(125, 219, 255, 0.9);
}

/* Отключаем hover эффекты на touch-устройствах, чтобы не мешали свайпу */
@media (hover: none) and (pointer: coarse) {
    .product-card:hover {
        transform: none;
        box-shadow:
            0 18px 40px rgba(0, 0, 0, 0.95),
            0 0 0 1px rgba(71, 93, 112, 0.9);
    }
    
    .product-card:active {
        transform: translateY(-2px);
        box-shadow:
            0 22px 58px rgba(0, 0, 0, 1),
            0 0 0 1px rgba(125, 219, 255, 0.9);
    }
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: radial-gradient(circle at top, #202833, #131921);
    flex: 1 1 72%;
    min-height: 0;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.product-image-wrapper .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.image-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    will-change: scroll-position;
    overscroll-behavior-x: contain;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    -webkit-user-select: none;
    user-select: none;
}

.image-track .product-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-drag: none;
}

.image-track::-webkit-scrollbar {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    z-index: 10;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease;
    pointer-events: auto;
}

.slider-dot:hover {
    background: rgba(255,255,255,0.8);
}

.slider-dot.active {
    background: white;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 0 0 auto;
    min-height: 0;
    padding: 10px 10px 6px;
}

.product-title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.product-price-current {
    font-size: 14px;
    font-weight: 700;
    color: #3dd6ff;
}

.product-price-old {
    font-size: 11px;
    color: #6b7d8d;
    text-decoration: line-through;
}

/* Атрибуты товара */
.product-attributes {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-attributes-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease-out;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.color-circle:hover {
    transform: scale(1.1);
    border-color: rgba(0, 212, 255, 0.6);
}

.color-circle.active {
    border: 2px solid #00d4ff;
    box-shadow:
        0 0 0 2px rgba(0, 212, 255, 0.3),
        0 0 12px rgba(0, 212, 255, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
}

.color-circle-label {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 20, 30, 0.95);
    color: #eaf6ff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.product-attributes-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.size-chip {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid #00d4ff;
    margin-right: 6px;
    cursor: pointer;
    background: transparent;
    color: #d5e4f3;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease-out;
    white-space: nowrap;
    outline: none;
}

.size-chip:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateY(-1px);
}

.size-chip.active {
    background: #00d4ff;
    color: #000;
    border-color: #00d4ff;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

.product-modal-body .product-attributes-dimension {
    font-size: 12px;
    color: #9fb4c2;
    margin-top: 4px;
    padding: 0 20px;
}

.product-actions {
    display: flex;
    gap: 6px;
    margin-top: 0;
    padding: 0 10px 10px;
}

.btn {
    flex: 1;
    padding: 7px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    letter-spacing: 0.01em;
    transition: transform 0.09s ease-out, box-shadow 0.09s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.btn-primary {
    color: #031017;
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    box-shadow:
        0 10px 26px rgba(61, 214, 255, 0.7),
        0 0 0 1px rgba(169, 234, 255, 0.9);
}

.btn-primary:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 5px 16px rgba(61, 214, 255, 0.6),
        0 0 0 1px rgba(169, 234, 255, 1);
}

.btn-secondary {
    color: #d6e4f4;
    background: rgba(12, 18, 24, 0.95);
    border: 1px solid rgba(61, 214, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(18, 32, 42, 1);
}

.btn-secondary:active {
    transform: translateY(1px) scale(0.985);
    background: rgba(9, 14, 19, 1);
}

/* Иконка корзины в карточке товара */
.btn-cart-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: rgba(61, 214, 255, 0.12);
    border: 1px solid rgba(61, 214, 255, 0.4);
    backdrop-filter: blur(12px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-out;
    box-shadow: 0 0 0 0 rgba(61, 214, 255, 0.4);
}

.btn-cart-icon:hover {
    background: rgba(61, 214, 255, 0.2);
    border-color: rgba(61, 214, 255, 0.7);
    box-shadow: 0 0 20px rgba(61, 214, 255, 0.5);
    transform: scale(1.05);
}

.btn-cart-icon:active {
    transform: scale(0.95);
    box-shadow: 0 0 15px rgba(61, 214, 255, 0.6);
}

.btn-cart-icon svg {
    width: 18px;
    height: 18px;
    stroke: #3dd6ff;
    transition: transform 0.2s ease-out;
}

.btn-cart-icon.added svg {
    transform: scale(1.2) rotate(15deg);
    animation: cartBounce 0.4s ease-out;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1.2) rotate(15deg); }
    50% { transform: scale(1.4) rotate(-15deg); }
}

/* Footer */
.app-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

@media (min-width: 768px) {
    .app-footer {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.footer-button {
    border-radius: 20px;
    padding: 10px 11px;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    text-align: left;
    transition: transform 0.1s ease-out, box-shadow 0.12s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.footer-button-primary {
    background:
        radial-gradient(circle at top left, rgba(61, 214, 255, 0.3), transparent 55%),
        linear-gradient(145deg, #1b222a, #151b22);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 1),
        0 0 0 1px rgba(84, 110, 133, 0.9);
}

.footer-button-secondary {
    background: linear-gradient(145deg, #10171f, #0c1219);
    box-shadow:
        0 18px 50px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(63, 82, 101, 0.9);
}

.footer-button:hover {
    transform: translateY(-1px);
}

.footer-button:active {
    transform: translateY(1px);
}

.footer-button-icon {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #3dd6ff, #1a2634);
    box-shadow: 0 10px 26px rgba(61, 214, 255, 0.7);
    font-size: 17px;
}

.footer-button-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-button-label {
    font-size: 14px;
    font-weight: 600;
}

.footer-button-caption {
    font-size: 11px;
    color: #9fb4c2;
}

/* Плавающая кнопка корзины */
.cart-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(61, 214, 255, 0.2), rgba(107, 227, 255, 0.15));
    border: 2px solid rgba(61, 214, 255, 0.6);
    backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(61, 214, 255, 0.3),
        0 20px 60px rgba(61, 214, 255, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.25s ease-out;
    padding: 0;
    outline: none;
}

.cart-fab:hover {
    transform: scale(1.1);
    border-color: rgba(61, 214, 255, 0.9);
    box-shadow:
        0 0 0 1px rgba(61, 214, 255, 0.5),
        0 24px 72px rgba(61, 214, 255, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.9);
}

.cart-fab:active {
    transform: scale(0.95);
}

.cart-fab-icon {
    width: 28px;
    height: 28px;
    stroke: #3dd6ff;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-fab-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff4757, #ff6348);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 2px #0f1419,
        0 4px 12px rgba(255, 71, 87, 0.6);
    opacity: 0;
    transform: scale(0);
    transition: all 0.2s ease-out;
}

.cart-fab-badge.visible {
    opacity: 1;
    transform: scale(1);
}

/* Модальное окно корзины */
.cart-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: flex-end;
    pointer-events: none;
}

.cart-modal.active {
    display: flex;
    pointer-events: auto;
}

.cart-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.cart-modal.active .cart-modal-backdrop {
    opacity: 1;
}

.cart-modal-content {
    position: relative;
    width: 100%;
    max-height: 85vh;
    background: linear-gradient(145deg, #1a2128, #161c22);
    border-radius: 28px 28px 0 0;
    box-shadow:
        0 -20px 60px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(61, 214, 255, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cart-modal.active .cart-modal-content {
    transform: translateY(0);
}

.cart-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(61, 214, 255, 0.2);
}

.cart-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.cart-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(61, 214, 255, 0.1);
    border: 1px solid rgba(61, 214, 255, 0.3);
    color: #eaf6ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    padding: 0;
    outline: none;
}

.cart-modal-close:hover {
    background: rgba(61, 214, 255, 0.2);
    border-color: rgba(61, 214, 255, 0.5);
}

.cart-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
    min-height: 200px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #9fb4c2;
}

.cart-empty-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.cart-empty-text {
    font-size: 15px;
}

.cart-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(61, 214, 255, 0.05);
    border: 1px solid rgba(61, 214, 255, 0.15);
    margin-bottom: 10px;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    background: radial-gradient(circle at top, #202833, #131921);
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #3dd6ff;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(61, 214, 255, 0.1);
    border-radius: 999px;
    padding: 4px 8px;
}

.cart-item-quantity-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(61, 214, 255, 0.2);
    border: 1px solid rgba(61, 214, 255, 0.4);
    color: #3dd6ff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    padding: 0;
    outline: none;
}

.cart-item-quantity-btn:hover {
    background: rgba(61, 214, 255, 0.3);
    border-color: rgba(61, 214, 255, 0.6);
}

.cart-item-quantity-value {
    min-width: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.cart-item-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    padding: 0;
    outline: none;
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: rgba(255, 71, 87, 0.25);
    border-color: rgba(255, 71, 87, 0.5);
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

.cart-modal-footer {
    padding: 18px 20px;
    border-top: 1px solid rgba(61, 214, 255, 0.2);
    background: rgba(8, 13, 19, 0.6);
    backdrop-filter: blur(20px);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.cart-total-label {
    font-size: 16px;
    color: #9fb4c2;
}

.cart-total-price {
    font-size: 24px;
    font-weight: 700;
    color: #3dd6ff;
}

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    color: #031017;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 10px 26px rgba(61, 214, 255, 0.7),
        0 0 0 1px rgba(169, 234, 255, 0.9);
    transition: all 0.15s ease-out;
}

.cart-checkout-btn:hover {
    box-shadow:
        0 12px 32px rgba(61, 214, 255, 0.8),
        0 0 0 1px rgba(169, 234, 255, 1);
    transform: translateY(-1px);
}

.cart-checkout-btn:active {
    transform: translateY(0);
}

.cart-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Модальное окно товара */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: flex-end;
    pointer-events: none;
}

.product-modal.active {
    display: flex;
    pointer-events: auto;
}

.product-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.product-modal.active .product-modal-backdrop {
    opacity: 1;
}

.product-modal-content {
    position: relative;
    width: 100%;
    max-height: 90vh;
    background: linear-gradient(145deg, #1a2128, #161c22);
    border-radius: 28px 28px 0 0;
    box-shadow:
        0 -20px 60px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(61, 214, 255, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.product-modal.active .product-modal-content {
    transform: translateY(0);
}

.product-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(61, 214, 255, 0.2);
}

.product-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.product-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(61, 214, 255, 0.1);
    border: 1px solid rgba(61, 214, 255, 0.3);
    color: #eaf6ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    padding: 0;
    outline: none;
}

.product-modal-close:hover {
    background: rgba(61, 214, 255, 0.2);
    border-color: rgba(61, 214, 255, 0.5);
}

.product-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
}

.product-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.product-modal-image-wrapper {
    margin-bottom: 0;
    position: relative;
    flex: 0 0 65%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.image-slider-modal {
    position: relative;
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: radial-gradient(circle at top, #202833, #131921);
    flex: 1 1 auto;
    min-height: 0;
}

/* Стрелки навигации для галереи */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    pointer-events: auto;
    color: #ffffff;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.2s ease, background-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.slider-arrow:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-arrow-prev {
    left: 12px;
}

.slider-arrow-next {
    right: 12px;
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

/* Состояние затемнения стрелок после первого показа */
.slider-arrow.faded {
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* Анимация мигания для правой стрелки при первом открытии */
@keyframes arrowPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

.slider-arrow.arrow-pulse {
    animation: arrowPulse 1.5s ease-in-out infinite;
}

.image-track-modal {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.image-track-modal::-webkit-scrollbar {
    display: none;
}

.image-track-modal .product-modal-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    scroll-snap-align: start;
    user-select: none;
    -webkit-user-drag: none;
    margin-bottom: 0;
    border-radius: 0;
}

.slider-dots-modal {
    position: relative;
    bottom: auto;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 12px;
    margin-bottom: 20px;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
    flex: 0 0 auto;
}

.slider-dot-modal {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease, height 0.2s ease;
    pointer-events: auto;
}

.slider-dot-modal:hover {
    background: rgba(255,255,255,0.8);
}

.slider-dot-modal.active {
    background: white;
    width: 5px;
    height: 5px;
}

.product-modal-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    padding: 0 20px;
}

.product-modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 24px;
    padding: 0 20px;
}

.product-modal-price-current {
    font-size: 28px;
    font-weight: 700;
    color: #3dd6ff;
}

.product-modal-price-old {
    font-size: 18px;
    color: #6b7d8d;
    text-decoration: line-through;
}

.product-description {
    margin-bottom: 24px;
    padding: 0 20px;
}

.product-description-title {
    font-size: 18px;
    font-weight: 600;
    color: #eaf6ff;
    margin: 0 0 12px;
}

.description-text {
    font-size: 15px;
    line-height: 1.7;
    color: #C8D6E5;
    margin: 0 0 12px;
    transition: opacity 0.3s ease-out;
}

/* Стили для Markdown элементов в описании */
.description-text p {
    margin: 0 0 12px;
}

.description-text p:last-child {
    margin-bottom: 0;
}

.description-text strong {
    font-weight: 600;
    color: #eaf6ff;
}

.description-text em {
    font-style: italic;
    color: #b8d4e8;
}

.description-text ul,
.description-text ol {
    margin: 12px 0;
    padding-left: 24px;
    list-style-position: outside;
}

.description-text ul {
    list-style-type: disc;
}

.description-text ol {
    list-style-type: decimal;
}

.description-text li {
    margin: 6px 0;
    line-height: 1.6;
}

.description-text li:last-child {
    margin-bottom: 0;
}

.description-text br {
    line-height: 1.7;
}

.description-text blockquote {
    margin: 16px 0;
    padding: 12px 16px 12px 20px;
    border-left: 3px solid rgba(61, 214, 255, 0.4);
    background: rgba(61, 214, 255, 0.06);
    border-radius: 0 8px 8px 0;
    color: #d5e4f3;
    font-style: italic;
    line-height: 1.6;
    position: relative;
}

.description-text blockquote::before {
    content: '"';
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 24px;
    color: rgba(61, 214, 255, 0.3);
    font-family: Georgia, serif;
    line-height: 1;
}

.description-text blockquote p {
    margin: 0;
}

.description-text blockquote p:not(:last-child) {
    margin-bottom: 8px;
}

.description-text blockquote:first-child {
    margin-top: 0;
}

.description-text blockquote:last-child {
    margin-bottom: 0;
}

.description-text.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.7em * 3);
    opacity: 0.95;
}

.description-text.expanded {
    display: block;
    overflow: visible;
    max-height: none;
    -webkit-line-clamp: none;
    line-clamp: none;
    -webkit-box-orient: initial;
    opacity: 1;
}

.description-toggle-btn {
    background: transparent;
    border: none;
    color: #3dd6ff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-top: 4px;
    transition: all 0.2s ease-out;
    text-align: left;
    outline: none;
    position: relative;
}

.description-toggle-btn:hover {
    color: #6be3ff;
    transform: translateX(2px);
}

.description-toggle-btn:active {
    transform: translateX(0);
}

.description-toggle-btn::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #3dd6ff, transparent);
    transition: width 0.2s ease-out;
}

.description-toggle-btn:hover::after {
    width: 100%;
}

.product-variations {
    margin-bottom: 24px;
    padding: 0 20px;
}

.variation-group {
    margin-bottom: 20px;
    transition: all 0.3s ease-out;
}

.variation-group.missing-variation {
    animation: pulse-missing 0.5s ease-out;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-left: -12px;
    margin-right: -12px;
}

.variation-group.missing-variation .variation-label {
    color: #ff4757;
}

@keyframes pulse-missing {
    0% {
        background: rgba(255, 71, 87, 0);
    }
    50% {
        background: rgba(255, 71, 87, 0.15);
    }
    100% {
        background: rgba(255, 71, 87, 0.1);
    }
}

.variation-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #9fb4c2;
}

.variation-label.required::after {
    content: " *";
    color: #ff4757;
}

/* Вариации цвета — текстовые варианты (без кружков) */
.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.color-swatches-text .color-option {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid rgba(61, 214, 255, 0.25);
    background: rgba(15, 25, 35, 0.8);
    color: #eaf6ff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.color-swatches-text .color-option:hover {
    border-color: rgba(61, 214, 255, 0.5);
    background: rgba(61, 214, 255, 0.08);
}

.color-swatches-text .color-option.active {
    border-color: #3dd6ff;
    background: rgba(61, 214, 255, 0.15);
    box-shadow: 0 0 0 2px rgba(61, 214, 255, 0.25);
}

/* Вариации размера */
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.size-option {
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(61, 214, 255, 0.1);
    border: 2px solid rgba(61, 214, 255, 0.3);
    color: #d5e4f3;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease-out;
    white-space: nowrap;
}

.size-option:hover {
    background: rgba(61, 214, 255, 0.15);
    border-color: rgba(61, 214, 255, 0.5);
    transform: translateY(-1px);
}

.size-option.selected {
    background: linear-gradient(135deg, rgba(61, 214, 255, 0.3), rgba(107, 227, 255, 0.2));
    border-color: #3dd6ff;
    color: #eaf6ff;
    box-shadow:
        0 0 0 1px rgba(61, 214, 255, 0.5),
        0 8px 20px rgba(61, 214, 255, 0.4);
}

.product-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding: 0 20px 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.product-modal-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 20px;
    border-radius: 18px;
    border: none;
    outline: none;
    font-size: clamp(13px, 3.5vw, 16px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-modal-btn-primary {
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    color: #031017;
    box-shadow:
        0 10px 26px rgba(61, 214, 255, 0.7),
        0 0 0 1px rgba(169, 234, 255, 0.9);
}

.product-modal-btn-primary:hover {
    box-shadow:
        0 12px 32px rgba(61, 214, 255, 0.8),
        0 0 0 1px rgba(169, 234, 255, 1);
    transform: translateY(-1px);
}

.product-modal-btn-primary:active {
    transform: translateY(0);
}

.product-modal-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Форма оформления заказа */
.checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: flex-end;
    pointer-events: none;
}

.checkout-modal.active {
    display: flex;
    pointer-events: auto;
}

.checkout-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.checkout-modal.active .checkout-modal-backdrop {
    opacity: 1;
}

.checkout-modal-content {
    position: relative;
    width: 100%;
    max-height: 95vh;
    background: linear-gradient(145deg, #1a2128, #161c22);
    border-radius: 28px 28px 0 0;
    box-shadow:
        0 -20px 60px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(61, 214, 255, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.checkout-modal.active .checkout-modal-content {
    transform: translateY(0);
}

.checkout-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(61, 214, 255, 0.2);
}

.checkout-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.checkout-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(61, 214, 255, 0.1);
    border: 1px solid rgba(61, 214, 255, 0.3);
    color: #eaf6ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    padding: 0;
    outline: none;
}

.checkout-modal-close:hover {
    background: rgba(61, 214, 255, 0.2);
    border-color: rgba(61, 214, 255, 0.5);
}

.checkout-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
}

.checkout-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.checkout-section {
    margin-bottom: 28px;
}

.checkout-section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #eaf6ff;
}

.delivery-options {
    display: flex;
    gap: 12px;
}

.delivery-option {
    flex: 1;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(61, 214, 255, 0.1);
    border: 2px solid rgba(61, 214, 255, 0.3);
    color: #d5e4f3;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-out;
    outline: none;
}

.delivery-option:hover {
    background: rgba(61, 214, 255, 0.15);
    border-color: rgba(61, 214, 255, 0.5);
    transform: translateY(-1px);
}

.delivery-option.selected {
    background: linear-gradient(135deg, rgba(61, 214, 255, 0.3), rgba(107, 227, 255, 0.2));
    border-color: #3dd6ff;
    color: #eaf6ff;
    box-shadow:
        0 0 0 1px rgba(61, 214, 255, 0.5),
        0 8px 20px rgba(61, 214, 255, 0.4);
}

.delivery-option-icon {
    font-size: 20px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #9fb4c2;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(61, 214, 255, 0.08);
    border: 1px solid rgba(61, 214, 255, 0.3);
    color: #eaf6ff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease-out;
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    background: rgba(61, 214, 255, 0.12);
    border-color: rgba(61, 214, 255, 0.6);
    box-shadow: 0 0 0 3px rgba(61, 214, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7d8d;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
    border-radius: 18px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    color: #031017;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 10px 26px rgba(61, 214, 255, 0.7),
        0 0 0 1px rgba(169, 234, 255, 0.9);
    transition: all 0.15s ease-out;
}

.checkout-submit-btn:hover {
    box-shadow:
        0 12px 32px rgba(61, 214, 255, 0.8),
        0 0 0 1px rgba(169, 234, 255, 1);
    transform: translateY(-1px);
}

.checkout-submit-btn:active {
    transform: translateY(0);
}

/* Отображение вариаций в корзине */
.cart-item-variations {
    margin-top: 6px;
    font-size: 12px;
    color: #9fb4c2;
}

.cart-item-variation {
    display: inline-block;
    margin-right: 8px;
}

/* Модальное окно быстрого заказа */
.quick-order-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: flex-end;
    pointer-events: none;
}

.quick-order-modal.active {
    display: flex;
    pointer-events: auto;
}

.quick-order-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.quick-order-modal.active .quick-order-modal-backdrop {
    opacity: 1;
}

.quick-order-modal-content {
    position: relative;
    width: 100%;
    max-height: 95vh;
    background: linear-gradient(145deg, #1a2128, #161c22);
    border-radius: 28px 28px 0 0;
    box-shadow:
        0 -20px 60px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(61, 214, 255, 0.3);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.quick-order-modal.active .quick-order-modal-content {
    transform: translateY(0);
}

.quick-order-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(61, 214, 255, 0.2);
    background: rgba(8, 13, 19, 0.6);
    backdrop-filter: blur(20px);
}

.quick-order-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.quick-order-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(61, 214, 255, 0.1);
    border: 1px solid rgba(61, 214, 255, 0.3);
    color: #eaf6ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease-out;
    padding: 0;
    outline: none;
}

.quick-order-modal-close:hover {
    background: rgba(61, 214, 255, 0.2);
    border-color: rgba(61, 214, 255, 0.5);
}

.quick-order-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
}

.quick-order-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Блок товара в быстром заказе */
.quick-order-product {
    background: rgba(61, 214, 255, 0.08);
    border: 1px solid rgba(61, 214, 255, 0.2);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.quick-order-product-image {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    background: radial-gradient(circle at top, #202833, #131921);
}

.quick-order-product-info {
    flex: 1;
    min-width: 0;
}

.quick-order-product-name {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.quick-order-product-price {
    font-size: 20px;
    font-weight: 700;
    color: #3dd6ff;
    margin: 0 0 6px;
}

.quick-order-product-variations {
    font-size: 12px;
    color: #9fb4c2;
    margin: 0;
}

.quick-order-product-variation {
    display: inline-block;
    margin-right: 8px;
}

.quick-order-section {
    margin-bottom: 24px;
}

.quick-order-section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 14px;
    color: #eaf6ff;
}

.quick-order-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Мягкое уведомление */
.soft-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(145deg, rgba(26, 33, 40, 0.98), rgba(22, 28, 34, 0.98));
    color: #eaf6ff;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(61, 214, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-width: calc(100% - 40px);
    text-align: center;
    backdrop-filter: blur(20px);
}

.soft-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.quick-order-submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 8px;
    border-radius: 18px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #3dd6ff, #6be3ff);
    color: #031017;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 10px 26px rgba(61, 214, 255, 0.7),
        0 0 0 1px rgba(169, 234, 255, 0.9);
    transition: all 0.15s ease-out;
}

.quick-order-submit-btn:hover {
    box-shadow:
        0 12px 32px rgba(61, 214, 255, 0.8),
        0 0 0 1px rgba(169, 234, 255, 1);
    transform: translateY(-1px);
}

.quick-order-submit-btn:active {
    transform: translateY(0);
}