:root {
    --bg-main: #0a0a0f;
    --bg-alt: #13131c;
    --bg-panel: #1a1a24;
    --text-main: #fff;
    --text-muted: #8c8c8c;
    --primary: #0024FF;
    --primary-hover: #001bcc;
    --accent: #2c2c38;
    --border: #2a2a36;
    --ease: cubic-bezier(0.6, 0.05, 0.1, 0.9);
}

html {
    background-color: var(--bg-main);
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    
    opacity: 0;
    animation: pageFadeIn 0.3s ease-out forwards;
}

body.page-fade-out {
    animation: pageFadeOut 0.2s ease-in forwards;
}

@keyframes pageFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pageFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }

/* Хедер */
header {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding-top: max(20px, env(safe-area-inset-top)); 
    padding-bottom: 20px;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container, .catalog-page, .footer-container, .product-page-container, .checkout-page-container {
    max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 24px; font-weight: 800; color: var(--text-main); }
nav a { margin-left: 30px; font-weight: 600; font-size: 15px; color: var(--text-muted); }
nav a:hover, nav a.active { color: var(--text-main); }

/* Кнопки */
.btn {
    display: inline-block; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; text-align: center; border: none; cursor: pointer; transition: all 0.2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: #fff; border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg-panel); }
.btn-cart { background: var(--bg-panel); border: 1px solid var(--border); border-radius: 20px; padding: 10px 20px; }
.btn-cart:hover { border-color: var(--primary); }

/* ==== ГЛАВНАЯ СТРАНИЦА ==== */
.landing-wrapper { max-width: 1200px; margin: 0 auto; padding: 60px 40px 20px; display: flex; flex-direction: column; gap: 40px; }
.hero-box { background: linear-gradient(145deg, var(--bg-alt) 0%, var(--bg-panel) 100%); border: 1px solid var(--border); border-radius: 24px; padding: 70px 60px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.hero-content { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.hero-label { display: inline-block; background: rgba(92, 124, 255, 0.1); color: #5c7cff; padding: 6px 14px; border-radius: 20px; font-size: 14px; font-weight: 700; margin-bottom: 20px; border: 1px solid rgba(92, 124, 255, 0.3); }
.hero-box h1 { font-size: 52px; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.hero-box p { color: var(--text-muted); font-size: 18px; margin-bottom: 40px; line-height: 1.6; max-width: 600px;}
.hero-actions { display: flex; gap: 15px; }
.hero-image { border-left: 2px solid #fff; padding-left: 40px; flex-shrink: 0; }
.hero-image img { width: 205px; height: 205px; border-radius: 16px; object-fit: cover; display: block; }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-box { background: var(--bg-main); border: 1px solid var(--border); border-radius: 20px; padding: 30px; transition: transform 0.2s, border-color 0.2s; }
.feature-box:hover { transform: translateY(-5px); border-color: var(--primary); }
.feature-box h3 { font-size: 20px; margin-bottom: 10px; color: var(--text-main); }
.feature-box p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.5; }

.social-bar { display: flex; justify-content: center; gap: 20px; padding-top: 40px; border-top: 1px solid var(--border); }
.social-icon { width: 50px; height: 50px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: bold; transition: all 0.2s; }
.social-icon:hover { background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-5px); }

/* ==== КАТАЛОГ ==== */
.catalog-page { flex-direction: column; padding-top: 40px;}
.catalog-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; width: 100%; }
.catalog-top-bar h2 { font-size: 28px; margin: 0; }
.catalog-controls { display: flex; align-items: center; gap: 15px; }
.catalog-controls label { color: var(--text-muted); font-size: 15px; font-weight: 600; }
.catalog-controls select { padding: 10px 15px; background: var(--bg-alt); border: 1px solid var(--border); color: #fff; border-radius: 8px; font-size: 15px; font-family: inherit; cursor: pointer; outline: none; transition: border-color 0.2s; }
.catalog-controls select:focus, .catalog-controls select:hover { border-color: var(--primary); }

.catalog-grid { width: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; padding-bottom: 80px; }
.product-card { background: var(--bg-alt); border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s; display: flex; flex-direction: column; position: relative; }
.product-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.product-card-img { width: 100%; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.product-card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-info { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card-info h3 { font-size: 18px; color: var(--text-main); }
.card-desc { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.4; flex-grow: 1; }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.price-row .price { font-size: 18px; font-weight: 700; color: var(--text-main); }

/* ЛИМИТИРОВАННЫЕ РАМКИ */
.frame-ultra { border: 1px solid #9c27b0 !important; box-shadow: 0 0 10px rgba(156, 39, 176, 0.3); }
.frame-limited { border: 1px solid #ffd700 !important; box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }
.frame-soldout { border: 1px solid #ff4d4d !important; }
.frame-canceled { border: 1px solid #8c8c8c !important; }
.frame-superexclusive { border: 1px solid #ff3333 !important; box-shadow: 0 0 10px rgba(255, 51, 51, 0.3); }
.frame-seasonal { border: 1px solid #ff8c00 !important; box-shadow: 0 0 10px rgba(255, 140, 0, 0.2); }

/* Тусклость ТОЛЬКО для карточек в каталоге */
.product-card.frame-soldout { filter: grayscale(40%); opacity: 0.8; }
.product-card.frame-canceled { filter: grayscale(60%); opacity: 0.7; }

/* БЕЙДЖИ С ТЕМНЫМ ФОНОМ */
.badge-corner { position: absolute; top: 10px; right: 10px; font-size: 9px; font-weight: 800; padding: 5px 10px; border-radius: 6px; text-transform: uppercase; z-index: 10; letter-spacing: 0.5px; }
.badge-ultra { background: #1a0a24; color: #e1bee7; border: 1px solid #9c27b0; }
.badge-limited { background: #1a1a0a; color: #ffd700; border: 1px solid #ffd700; }
.badge-soldout { background: #1a0a0a; color: #ff4d4d; border: 1px solid #ff4d4d; }
.badge-canceled { background: #13131c; color: #aaa; border: 1px solid #8c8c8c; }
.badge-superexclusive { background: #2a0505; color: #ff4d4d; border: 1px solid #ff4d4d; }
.badge-seasonal { background: #2a1600; color: #ff8c00; border: 1px solid #ff8c00; }

.status-badge-ultra { background: rgba(156, 39, 176, 0.1); color: #e1bee7; font-size: 13px; padding: 6px 12px; border-radius: 12px; border: 1px solid #9c27b0; font-weight: bold;}
.status-badge-limited { background: rgba(255, 215, 0, 0.1); color: #ffd700; font-size: 13px; padding: 6px 12px; border-radius: 12px; border: 1px solid #ffd700; font-weight: bold;}
.status-badge-superexclusive { background: rgba(255, 51, 51, 0.1); color: #ff4d4d; font-size: 13px; padding: 6px 12px; border-radius: 12px; border: 1px solid #ff4d4d; font-weight: bold;}
.status-badge-seasonal { background: rgba(255, 140, 0, 0.1); color: #ff8c00; font-size: 13px; padding: 6px 12px; border-radius: 12px; border: 1px solid #ff8c00; font-weight: bold;}

/* ==== СТРАНИЦА ТОВАРА ==== */
.product-page-wrapper { width: 100%; padding: 40px 0; }
.product-header { max-width: 1200px; margin: 0 auto; padding: 0 40px 20px; display: flex; justify-content: space-between; align-items: flex-start; }
.product-header-titles h1 { font-size: 28px; margin-bottom: 5px; }
.product-header-titles p { color: var(--text-muted); margin: 0; font-size: 15px; }
.product-page-container { align-items: stretch; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px; padding: 20px; gap: 20px; display: flex; flex-wrap: wrap; margin-bottom: 60px; }
.product-left { flex: 1; min-width: 400px; display: flex; flex-direction: column; gap: 15px; }
.main-img-box { background: #fff; border-radius: 16px; aspect-ratio: 1 / 1; display: flex; justify-content: center; align-items: center; overflow: hidden; position: relative; }
.main-img-box img { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.thumbs-row { display: flex; flex-wrap: wrap; gap: 10px; background: var(--bg-main); padding: 10px; border-radius: 12px; border: 1px solid var(--border); }
.thumb-box { flex: 1; background: var(--bg-alt); text-align: center; padding: 10px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: border 0.2s;}
.thumb-box.active, .thumb-box:hover { border-color: var(--primary); }
.product-right { flex: 1; min-width: 400px; display: flex; flex-direction: column; gap: 15px; }
.info-panel { background: var(--bg-main); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.price-block { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.p-price { font-size: 32px; font-weight: 800; margin: 0;}
.status-badge-ok { background: rgba(0, 200, 83, 0.1); color: #00c853; font-size: 13px; padding: 6px 12px; border-radius: 12px; border: 1px solid rgba(0, 200, 83, 0.3); font-weight: bold;}
.qty-wrap { margin-bottom: 20px; }
.qty-wrap > span { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; display: block; }
.qty-controls { display: inline-flex; align-items: center; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 30px; padding: 5px 15px; }
.qty-btn { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 5px 10px; }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-num { margin: 0 15px; font-weight: bold; font-size: 16px; }
.action-buttons { display: flex; gap: 15px; margin-bottom: 10px;}
.action-buttons .btn { flex: 1; padding: 16px; font-size: 16px; border-radius: 12px;}
.info-panel h4 { margin-bottom: 10px; font-size: 16px; }
.info-panel p { color: var(--text-muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* КОРЗИНА И ОПЛАТА */
.checkout-page-container { align-items: flex-start; gap: 40px; margin: 60px auto; width: 100%; display: flex; box-sizing: border-box; }
.cart-summary { background: var(--bg-alt); border-radius: 16px; border: 1px solid var(--border); padding: 30px; flex: 1; min-width: 0; }
.payment-form { background: var(--bg-alt); border-radius: 16px; border: 1px solid var(--border); padding: 30px; flex: 1; min-width: 0; }
#cart-items { display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px; }
.cart-item-card { display: flex; background: var(--bg-main); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.cart-item-img { width: 120px; min-width: 120px; background: #fff; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-details { padding: 15px; display: flex; flex-direction: column; flex: 1; min-width: 0;}
.cart-item-details h4 { margin: 0 0 5px 0; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-desc { font-size: 13px; color: var(--text-muted); margin: 0 0 10px 0; line-height: 1.4; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: auto; flex-wrap: nowrap; gap: 10px;}
.cart-item-price { font-size: 18px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0;}
.delete-btn { background: transparent; color: #ff4d4d; border: 1px solid #ff4d4d; border-radius: 8px; padding: 6px 12px; cursor: pointer; transition: all 0.2s; }
.delete-btn:hover { background: #ff4d4d; color: #fff; }
.total-line { font-size: 20px; font-weight: 700; margin-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 20px;}
.total-line span:last-child { color: var(--primary); }
.payment-form form { display: flex; flex-direction: column; gap: 15px; }
.payment-form input { padding: 16px; background: var(--bg-main); border: 1px solid var(--border); color: #fff; border-radius: 10px; font-size: 15px; width: 100%; box-sizing: border-box; }
.payment-form input:focus { outline: none; border-color: var(--primary); }
.card-details { display: flex; gap: 15px; }
.card-details input { flex: 1; min-width: 0; }

.safe-pay-text { font-size: 12px; color: var(--text-muted); text-align: center; margin: 10px 0 5px; }
.btn-pay { font-size: 18px; padding: 18px; border-radius: 12px; margin-top: 10px; width: 100%; box-sizing: border-box;}

footer { border-top: 1px solid var(--border); padding: 30px 0; text-align: center; font-size: 14px; color: var(--text-muted); }

/* МОДАЛЬНЫЕ ОКНА И УВЕДОМЛЕНИЯ */
#cart-toast { pointer-events: none; min-width: 250px; background-color: var(--bg-panel); color: #fff; text-align: center; border-radius: 12px; padding: 16px; position: fixed; z-index: 1000; left: 50%; bottom: -50px; transform: translateX(-50%); border: 1px solid #00c853; box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5); font-size: 16px; font-weight: 600; opacity: 0; transition: opacity 0.3s ease, bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
#cart-toast.show { opacity: 1; bottom: 40px; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 16px; padding: 30px; max-width: 400px; width: 100%; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateY(20px); transition: transform 0.3s ease; box-sizing: border-box; }
.modal-overlay.show .modal-box { transform: translateY(0); }
.modal-box h4 { margin-bottom: 15px; font-size: 18px; color: var(--text-main); font-weight: 600;}
.modal-box p { color: var(--text-muted); margin-bottom: 25px; font-size: 15px; }
.modal-actions { display: flex; gap: 15px; justify-content: center; }
.modal-actions .btn { flex: 1; padding: 12px; font-size: 15px; }

/* ЛАЙТБОКС */
.image-lightbox-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0, 0, 0, 0.85); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; }
.image-lightbox-overlay.show { opacity: 1; }

.image-lightbox-content { max-width: 75vw; max-height: 75vh; object-fit: contain; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); cursor: grab; transition: transform 0.1s ease-out; user-select: none; -webkit-user-drag: none; }
.image-lightbox-content:active { cursor: grabbing; }
.image-lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 50px; color: #fff; font-weight: bold; cursor: pointer; transition: color 0.2s; z-index: 3001; }
.image-lightbox-close:hover { color: #ff4d4d; }

/* ==== ДОПОЛНИТЕЛЬНЫЕ СЕРВИСЫ ==== */
.extra-page-container { max-width: 1200px; margin: 40px auto 80px; padding: 0 40px; display: flex; flex-direction: column; gap: 40px; box-sizing: border-box;}
.extra-page-title { font-size: 32px; margin-bottom: 5px; color: var(--text-main); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 40px; }

.service-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px; padding: 25px; display: flex; flex-direction: column; gap: 20px; transition: border-color 0.3s ease; min-width: 0; box-sizing: border-box; overflow: hidden; }
.service-card:hover { border-color: var(--primary); }

.service-images { display: flex; gap: 15px; height: 200px; min-width: 0; }
.service-images img { flex: 1; min-width: 0; max-width: 100%; border-radius: 12px; object-fit: contain; border: 1px solid var(--border); background: #fff; cursor: pointer; }

.service-card.service-taxi .service-images img,
.service-card.service-show .service-images img { object-fit: cover; }

.service-info { display: flex; flex-direction: column; gap: 12px; min-width: 0; width: 100%; box-sizing: border-box; }
.service-info h2 { font-size: 26px; color: var(--primary); margin: 0; }
.service-info > p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }
.service-subtitle { color: var(--text-main); font-size: 16px; margin-top: 10px; }
.service-features { list-style: none; padding: 0; margin: 5px 0; display: flex; flex-direction: column; gap: 10px; }
.service-features li { background: var(--bg-main); padding: 15px; border-radius: 12px; border: 1px solid var(--border); color: var(--text-muted); line-height: 1.4; font-size: 13px; word-wrap: break-word; }
.service-features li strong { color: var(--text-main); display: block; margin-bottom: 4px; font-size: 14px; }
.service-footer-text { font-size: 16px; font-weight: bold; color: var(--text-main); margin-top: 5px; }

.service-table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 13px; background: var(--bg-main); border-radius: 12px; overflow: hidden; border: 1px solid var(--border); box-sizing: border-box; }
.service-table th { background: var(--bg-panel); color: var(--text-main); text-align: left; padding: 12px; border-bottom: 1px solid var(--border); font-weight: 700; }
.service-table td { padding: 12px; border-bottom: 1px solid var(--border); color: var(--text-muted); line-height: 1.4; vertical-align: top; }
.service-table tr:last-child td { border-bottom: none; }

/* ========================================= */
/* ==== COOKIE BANNER ==== */
/* ========================================= */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1120px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    gap: 20px;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    box-sizing: border-box;
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cookie-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
#cookie-banner p {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}
#cookie-banner.hidden {
    opacity: 0;
    bottom: 10px;
    pointer-events: none;
}

/* ========================================= */
/* ==== АДАПТАЦИЯ ПОД МОБИЛЬНЫЕ ТЕЛЕФОНЫ ==== */
/* ========================================= */

@media (max-width: 900px) {
    .header-container, .catalog-page, .footer-container, .product-page-container, .checkout-page-container, .extra-page-container {
        padding: 0 15px; box-sizing: border-box;
    }
    header { padding-top: max(15px, env(safe-area-inset-top)); padding-bottom: 15px; }
    .header-container { flex-direction: column; gap: 15px; padding-top: 0; padding-bottom: 0; }
    nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    nav a { margin-left: 0; }
    .landing-wrapper { padding: 30px 15px 20px; gap: 30px; }
    .hero-box { flex-direction: column; padding: 30px 20px; text-align: center; gap: 30px; }
    .hero-content { align-items: center; }
    .hero-box h1 { font-size: 36px; }
    .hero-box p { font-size: 16px; margin-bottom: 25px; }
    .hero-image { border-left: none; padding-left: 0; border-top: 2px solid var(--border); padding-top: 30px; width: 100%; display: flex; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .catalog-top-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card { border-radius: 12px; }
    .card-info { padding: 12px; gap: 6px; }
    .card-info h3 { font-size: 14px; line-height: 1.3; }
    .card-desc { font-size: 11px; }
    .price-row .price { font-size: 15px; }
    .badge-corner { font-size: 8px; padding: 4px 6px; top: 6px; right: 6px; }
    .product-header { flex-direction: column; padding: 0 15px 15px; gap: 10px; }
    .product-header-titles h1 { font-size: 24px; }
    .product-page-container { flex-direction: column; padding: 15px; gap: 15px; }
    .product-left, .product-right { min-width: 100%; flex: auto; gap: 10px; }
    .main-img-box { aspect-ratio: auto; height: 200px; padding: 10px; }
    .info-panel { padding: 18px; }
    .p-price { font-size: 26px; }
    .action-buttons { flex-direction: column; }
    .action-buttons .btn { padding: 14px; font-size: 15px; }
    .thumbs-row { padding: 10px; gap: 8px; }
    .thumb-box { padding: 8px; font-size: 12px; }
    .checkout-page-container { flex-direction: column; margin: 30px auto; gap: 20px; }
    .cart-summary, .payment-form { padding: 15px; width: 100%; box-sizing: border-box; }
    .cart-item-card { flex-direction: row; }
    .cart-item-img { width: 90px; min-width: 90px; height: auto; border-bottom: none; border-right: 1px solid var(--border); }
    .cart-item-details { padding: 12px; min-width: 0; }
    .cart-item-details h4 { font-size: 14px; margin-bottom: 4px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .cart-item-desc { font-size: 11px; margin-bottom: 8px; }
    .cart-item-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cart-item-price { font-size: 16px; }
    .cart-item-controls { flex-wrap: wrap; gap: 8px; width: 100%; }
    .delete-btn { padding: 6px 12px; font-size: 12px; }
    .services-grid { grid-template-columns: minmax(0, 1fr); gap: 25px; }
    .service-images { height: auto; flex-direction: column; gap: 10px; width: 100%; }
    .service-images img { width: 100%; height: 160px; }
    .service-card { padding: 15px; }
    .service-info h2 { font-size: 22px; }
    .service-table { width: 100%; font-size: 11px; }
    .service-table th { padding: 10px 8px; }
    .service-table td { padding: 10px 8px; }
    .modal-box { margin: 0 15px; }
    .image-lightbox-close { top: 15px; right: 20px; font-size: 40px; }
    .image-lightbox-content { max-width: 95vw; max-height: 85vh; }
    
    /* Мобильный баннер и надпись на чекауте */
    #cookie-banner {
        flex-direction: column;
        bottom: 20px; 
        width: calc(100% - 40px);
        padding: 15px 20px;
        gap: 15px;
        align-items: stretch;
        box-shadow: none;
    }
    .cookie-content {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }
    .cookie-icon {
        width: 24px;
        height: 24px;
        margin-top: 2px;
    }
    #cookie-banner p {
        font-size: 13px;
    }
    #cookie-banner .btn {
        width: 100%;
        padding: 10px 24px;
        font-size: 14px;
        box-sizing: border-box;
    }
    .safe-pay-text {
        font-size: 11px;
        margin: 15px 0 10px;
        line-height: 1.4;
    }
}