:root {
            --black: #0a0a0a;
            --white: #ffffff;
            --gray-light: #f8f9fa;
            --gold: #c9a84c;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body {
            font-family: 'Inter', sans-serif;
            background: var(--white);
            color: var(--black);
            line-height: 1.6;
        }
        a { text-decoration: none; color: inherit; }
        .container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }

        /* HERO БЛОК */
        .hero {
            background: var(--black);
            color: var(--white);
            padding: 60px 0;
            position: relative;
            min-height: 700px;
            display: flex;
            align-items: center;
        }
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1.3fr;
            gap: 50px;
            align-items: center;
            width: 100%;
        }
        .hero-text h1 {
            font-size: 68px;
            font-weight: 800;
            line-height: 1.0;
            letter-spacing: -2px;
            margin-bottom: 25px;
        }
        .hero-text p {
            font-size: 18px;
            color: #aaa;
            max-width: 500px;
            margin-bottom: 40px;
            line-height: 1.6;
        }
        .hero-btn {
            display: inline-block;
            background: var(--white);
            color: var(--black);
            padding: 18px 45px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 16px;
            transition: 0.2s;
        }
        .hero-btn:hover { background: #e5e5e5; }

        .hero-img-wrapper {
            background: var(--white);
            border-radius: 24px;
            padding: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            min-height: 500px;
        }
        .hero-img {
            width: 100%;
            max-width: 700px;
            height: auto;
            object-fit: contain;
        }

        .hero-top-left {
            position: absolute;
            top: 25px;
            left: 25px;
            font-size: 16px;
            font-weight: 400;
            color: #777;
            letter-spacing: 1px;
        }
        .hero-top-right-logo {
            position: absolute;
            top: 25px;
            right: 25px;
            width: 44px;
            height: 44px;
            background: #1a1a1a;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 18px;
            color: #fff;
        }

        .cart-icon-container {
            position: absolute;
            top: 25px;
            right: 85px;
            display: flex;
            align-items: center;
            cursor: pointer;
            z-index: 10;
        }
        .cart-icon-btn {
            background: var(--black);
            color: var(--white);
            border: none;
            padding: 8px 16px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: 0.2s;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .cart-icon-btn:hover {
            background: var(--gold);
            color: var(--black);
            transform: scale(1.05);
        }

        .section-title { text-align: center; font-size: 32px; font-weight: 700; padding: 60px 0 20px; letter-spacing: 1px; }
        .catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; padding: 20px 0 60px; }
        .product-card { background: var(--white); border: 1px solid #eaeaea; border-radius: 12px; padding: 30px 25px 25px; text-align: center; transition: 0.3s ease; perspective: 1200px; }
        .product-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.06); transform: translateY(-5px); border-color: var(--black); }
        .img-wrapper { width: 100%; height: 280px; display: flex; justify-content: center; align-items: center; transition: transform 0.1s ease-out; transform-style: preserve-3d; margin-bottom: 20px; }
        .img-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; pointer-events: none; }
        .product-title { font-size: 17px; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; }
        .product-desc { font-size: 14px; color: #777; margin-bottom: 15px; }
        .product-price { font-size: 22px; font-weight: 800; margin-bottom: 15px; }
        .add-to-cart-btn { background: var(--black); color: var(--white); border: none; padding: 12px 0; width: 100%; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; }
        .add-to-cart-btn:hover { background: var(--gold); color: var(--black); }

        .scenarios-section { padding: 80px 0; background: var(--gray-light); }
        .scenarios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
        .scenario-card { border: 1px solid #eee; border-radius: 16px; overflow: hidden; background: #fff; transition: 0.3s; }
        .scenario-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
        .scenario-img { width: 100%; height: 320px; object-fit: cover; display: block; }
        .scenario-content { padding: 25px; }
        .scenario-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
        .scenario-content p { font-size: 15px; color: #666; line-height: 1.5; }

        .notification-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 2000; display: none; justify-content: center; align-items: center; }
        .notification-box { background: #fff; padding: 40px; border-radius: 16px; text-align: center; max-width: 400px; border-top: 4px solid var(--black); box-shadow: 0 30px 50px rgba(0,0,0,0.2); animation: popIn 0.3s; }
        @keyframes popIn { 0% { transform: scale(0.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
        .notification-box h3 { font-size: 20px; margin-bottom: 10px; }
        .notification-box button { background: var(--black); color: #fff; border: none; padding: 10px 30px; border-radius: 30px; cursor: pointer; margin-top: 15px; font-weight: 600; }

        .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); backdrop-filter: blur(6px); z-index: 1500; display: none; justify-content: center; align-items: center; }
        .modal-content { background: #fff; padding: 40px; border-radius: 20px; width: 90%; max-width: 480px; text-align: center; animation: popIn 0.3s; }
        .close-modal { float: right; font-size: 24px; cursor: pointer; color: #999; transition: 0.3s; }
        .close-modal:hover { color: #000; }
        .modal-img { max-width: 100%; height: 200px; object-fit: contain; margin-bottom: 15px; }
        .modal-title { font-size: 22px; font-weight: 700; }
        .modal-price { font-size: 24px; font-weight: 800; margin: 10px 0; }
        .modal-desc { color: #666; margin-bottom: 15px; }
        .size-grid { display: flex; justify-content: center; gap: 12px; margin: 20px 0; }
        .size-btn { padding: 10px 18px; border: 1px solid #ddd; background: #fff; cursor: pointer; border-radius: 6px; font-weight: 600; transition: 0.2s; }
        .size-btn:hover { border-color: #000; }
        .size-btn.active { background: #000; color: #fff; border-color: #000; }
        .size-btn.size-disabled { text-decoration: line-through; opacity: 0.35; cursor: not-allowed; pointer-events: none; }
        .modal-add-btn { width: 100%; background: #000; color: #fff; border: none; padding: 14px; border-radius: 30px; font-weight: 700; font-size: 15px; cursor: pointer; transition: 0.3s; }
        .modal-add-btn:hover { background: var(--gold); color: #000; }

        .contacts-section { background: var(--black); color: var(--white); padding: 60px 0; text-align: center; }
        .contacts-section h3 { font-size: 22px; margin-bottom: 30px; letter-spacing: 2px; }
        .contacts-section h3 span { color: var(--gold); }
        .contact-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
        .contact-item { display: flex; align-items: center; gap: 8px; border: 1px solid #333; padding: 10px 25px; border-radius: 30px; }
        .contact-item span { color: #777; }
        .contact-item .editable-contact { background: transparent; border: none; color: #fff; font-size: 15px; outline: none; }

        .cart-sidebar { position: fixed; top: 0; right: -400px; width: 380px; height: 100%; background: #fff; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transition: right 0.4s; z-index: 3000; padding: 30px; display: flex; flex-direction: column; }
        .cart-sidebar.open { right: 0; }
        .cart-header { display: flex; justify-content: space-between; border-bottom: 1px solid #eee; padding-bottom: 15px; }
        .close-cart { font-size: 24px; cursor: pointer; }
        #cart-items { flex: 1; overflow-y: auto; margin: 20px 0; }
        .cart-item { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
        .cart-item-name { font-weight: 600; }
        .cart-item-price { font-size: 14px; font-weight: 700; }
        .qty-controls { display: flex; align-items: center; gap: 6px; }
        .qty-controls button { width: 22px; height: 22px; border: 1px solid #ddd; background: #fff; border-radius: 4px; cursor: pointer; }
        .cart-item-size { font-size: 13px; color: #888; }
        .remove-item { background: none; border: none; cursor: pointer; color: #d32f2f; }
        .cart-total { font-size: 18px; font-weight: 700; padding: 20px 0; border-top: 1px solid #eee; }
        .checkout-link { display: block; background: #000; color: #fff; text-align: center; padding: 14px; border-radius: 30px; font-weight: 700; transition: 0.3s; }
        .checkout-link:hover { background: var(--gold); color: #000; }

        .floating-cart-container {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9000;
            cursor: pointer;
            transition: 0.3s;
        }
        .floating-cart-container:hover {
            transform: scale(1.1);
        }
        .floating-cart-btn {
            background: var(--black);
            color: var(--white);
            border: none;
            width: 65px;
            height: 65px;
            border-radius: 50%;
            font-size: 28px;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            position: relative;
            transition: 0.3s;
        }
        .floating-cart-btn:hover {
            background: var(--gold);
            color: var(--black);
        }
        .floating-cart-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #ff4d4d;
            color: #fff;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 2px solid var(--white);
        }

        @media (max-width: 900px) {
            .hero-grid { grid-template-columns: 1fr; text-align: center; }
            .hero-text p { margin: 0 auto 40px; }
            .hero-top-left { position: relative; top: -10px; left: 0; display: block; text-align: center; color: #fff; }
            .hero-top-right-logo { top: 15px; right: 15px; }
            .cart-icon-container { top: 15px; right: 75px; }
            .hero-img-wrapper { margin-top: 20px; min-height: 350px; }
        }
        @media (max-width: 768px) {
            .hero-text h1 { font-size: 36px; }
            .scenario-img { height: 250px; }
            .cart-sidebar { width: 100%; right: -100%; }
            .floating-cart-btn { width: 55px; height: 55px; font-size: 24px; }
            .floating-cart-container { bottom: 20px; right: 20px; }
        }

/* ---------- форма оформления заказа ---------- */
.form-block { margin-bottom: 18px; }
.form-block h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; color: #333; }
.form-block label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; color: #444; }
.form-block input[type="text"], .form-block input[type="tel"], .form-block input[type="email"], .form-block textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px;
    margin-top: 4px; font-family: inherit; box-sizing: border-box;
}
.form-block input:invalid.touched, .form-block input.cf-invalid { border-color: #d32f2f; }
.cdek-point-card { border: 1px solid #eee; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; transition: .2s; }
.cdek-point-card:hover { border-color: #000; background: #fafafa; }
.cdek-point-code { font-size: 12px; color: #888; }
