        :root {
            --cream: #f4f0e5;
            --paper: #fffdf7;
            --ink: #151515;
            --muted: #535a55;
            --teal: #217b7d;
            --teal-dark: #12595b;
            --line: rgba(18, 89, 91, 0.28);
            --shadow: 0 16px 34px rgba(21, 21, 21, 0.16);
            --panel: rgba(218, 234, 208, 0.68);
            --panel-strong: rgba(224, 238, 213, 0.72);
            --dark-section-bg: #151515;
            --brand-bar-bg: #1d594b;
            --contacts-bg: rgba(29, 89, 75, 0.80);
            --btn-bg: rgba(29, 89, 75, 0.85);
            --brand-bar-text: #f4f0e5;
            --accent-on-panel: var(--teal-dark);
            --text-strong-on-photo: #1d594b;
            --accent-brown: #7a3d2b;
        }

        body.night-mode {
            --ink: #f5e6b8;
            --muted: #cbbf9a;
            --teal: #2aa3a5;
            --teal-dark: #0d3f40;
            --line: rgba(245, 230, 184, 0.25);
            --shadow: 0 16px 34px rgba(0, 0, 0, 0.55);
            --panel: rgba(42, 30, 22, 0.75);
            --panel-strong: rgba(37, 26, 19, 0.79);
            --accent-on-panel: #e2984f;
            --text-strong-on-photo: #f5e6b8;
            --accent-brown: #e8a87c;
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        h1, h2, h3, h4, .section-title, .brand-mark { font-family: 'Montserrat', Arial, Helvetica, sans-serif; }
        body { margin: 0; font-family: 'Nunito Sans', Arial, Helvetica, sans-serif; color: var(--ink); overflow-x: hidden;
            background-image: url('images/site-bg-day.webp'); background-size: cover; background-position: center top; background-attachment: fixed; background-repeat: no-repeat; background-color: var(--cream);
            transition: color 0.4s ease;
        }
        body.night-mode { background-image: url('images/site-bg-night.webp'); }
        img { display: block; max-width: 100%; }
        a { color: inherit; text-decoration: none; }
        button { cursor: pointer; border: none; font-family: inherit; transition: all 0.2s; }
        
        .container { width: min(1220px, calc(100% - 36px)); margin: 0 auto; }
        
        .top-sales-banner {
            background-color: var(--teal-dark);
            color: #ffffff;
            font-size: 13px;
            text-align: center;
            padding: 9px 0;
            font-weight: 500;
            letter-spacing: 0.5px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .top-sales-banner b { color: #f4f0e5; font-weight: 900; font-size: 14px; }
        
        .site-header { position: sticky; top: 0; z-index: 50; background: var(--brand-bar-bg); border-bottom: 2px solid rgba(255,255,255,0.12); }
        .site-header .nav-link, .site-header .brand-mark { color: var(--brand-bar-text) !important; }
        .site-header .nav-link:hover, .site-header .nav-link.active { color: #ffffff !important; border-bottom-color: #ffffff; }
        .site-header .lang-switch a, .site-header #theme-toggle { border-color: rgba(255,255,255,0.35); color: var(--brand-bar-text); }
        .site-header .lang-switch a.active, .site-header .lang-switch a:hover, .site-header #theme-toggle:hover { background: rgba(255,255,255,0.18); color: #fff; border-color: #fff; }
        .header-wrap { min-height: 58px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; position: relative; }
        .nav-left, .nav-right { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
        .nav-right { justify-content: flex-end; }
        .nav-link { color: var(--ink); text-transform: uppercase; font-size: 13px; font-weight: 700; padding: 8px 0 5px; border-bottom: 2px solid transparent; white-space: nowrap; }
        .nav-link:hover, .nav-link.active { color: var(--teal-dark); border-bottom-color: var(--teal); }
        
        .brand-block { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 0; }
        #nav-burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; background: transparent; border: none; padding: 0; }
        #nav-burger span { display: block; width: 24px; height: 2px; background: var(--brand-bar-text); border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
        .site-header.nav-open #nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .site-header.nav-open #nav-burger span:nth-child(2) { opacity: 0; }
        .site-header.nav-open #nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
        .brand-mark { color: #7a3d2b; font-weight: 900; letter-spacing: 1.4px; font-size: 23px; text-transform: uppercase; line-height: 1; }
        
        .lang-switch { display: flex; gap: 6px; margin-top: 4px; }
        .lang-switch a { min-width: 28px; height: 20px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); text-align: center; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; text-transform: uppercase; }
        .lang-switch a.active, .lang-switch a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
        #theme-toggle { min-width: 28px; height: 20px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--teal-dark); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0; line-height: 1; }
        #theme-toggle:hover { background: var(--teal); border-color: var(--teal); }
        
        .hero { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.5) 100%), url('images/hero.webp') center center / cover no-repeat; text-align: center; width: min(1220px, calc(100% - 36px)); margin: 20px auto 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
        .hero-copy { width: min(850px, 100%); padding: 0 18px; color: #ffffff; }
        .hero-copy h1 { margin: 0; font-size: clamp(24px, 3.8vw, 44px); font-weight: 900; line-height: 1.25; text-transform: uppercase; text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6); letter-spacing: 0.8px; }
        
        .catalog-section { padding: 70px 0; text-align: center; border-bottom: 2px solid rgba(33, 123, 125, 0.12); }
        .catalog-lead { font-size: 16px; color: var(--text-strong-on-photo); max-width: 600px; margin: -20px auto 40px; font-weight: 600; }
        .catalog-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; width: 100%; }
        
        .product-card { position: relative; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px 12px 12px; border: 2px solid var(--teal); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); text-align: center; transition: all 0.2s ease; }
        .product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
        
        .product-card.is-hit { border-color: #b33925; box-shadow: 0 16px 34px rgba(179, 57, 37, 0.12); }
        .hit-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #b33925; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 10px; font-weight: 900; letter-spacing: 0.5px; white-space: nowrap; box-shadow: 0 4px 10px rgba(179, 57, 37, 0.3); z-index: 5; display: flex; align-items: center; gap: 4px; line-height: 1; }
        .hit-badge .crown-icon { font-size: 14px; margin-top: -2px; }
        
        .product-card.is-season-hit { border-color: var(--teal); box-shadow: 0 16px 34px rgba(33, 123, 125, 0.12); }
        .hit-badge.season-badge { background: var(--teal); box-shadow: 0 4px 10px rgba(33, 123, 125, 0.3); }
        
        .product-name { min-height: 36px; display: flex; align-items: center; justify-content: center; margin: 0 0 8px; color: var(--ink); font-size: 13px; font-weight: 900; line-height: 1.1; text-transform: uppercase; }
        .product-image { height: 130px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
        .product-image img { max-height: 130px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.12)); }
        .product-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; color: var(--ink); font-size: 13px; padding: 0 4px; }
        .product-meta strong { font-weight: 900; color: var(--accent-on-panel); }
        
        .product-card-counter { font-size: 12px; color: var(--muted); margin: 2px 0 10px; text-align: center; font-weight: 600; }
        .product-card-counter span { color: #b33925; font-weight: 900; background: rgba(179, 57, 37, 0.07); padding: 1px 6px; border-radius: 4px; display: inline-block; }
        
        .product-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
        .btn, .ghost-btn { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 6px 10px; font-size: 11px; font-weight: 900; text-transform: uppercase; white-space: nowrap; }
        .btn { border: 1px solid var(--btn-bg); background: var(--btn-bg); color: #fff; }
        .btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
        .ghost-btn { border: 1px solid var(--teal-dark); background: #fff; color: var(--teal-dark); }
        .ghost-btn:hover { background: #fdfcf7; }
        
        .student-showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
        
        .factory-story { padding: 80px 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.8) 100%), url('images/factory.jpeg') center / cover no-repeat; color: #fff; text-align: left; }
        .factory-inner { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
        .factory-copy h2 { margin: 0 0 16px; font-size: clamp(26px, 3.5vw, 42px); line-height: 1.1; text-transform: uppercase; }
        .factory-story p { margin: 0; font-size: 16px; line-height: 1.5; color: #e5e5e5; }
        .factory-stats { display: grid; gap: 12px; }
        .factory-stats div { display: flex; flex-direction: column; padding: 14px 20px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); }
        .factory-stats strong { font-size: 30px; font-weight: 900; line-height: 1; color: #fff; margin-bottom: 2px; }
        .factory-stats span { color: rgba(255, 255, 255, 0.75); font-size: 12px; text-transform: uppercase; font-weight: 700; }
        
        .section { padding: 64px 0; text-align: center; }
        .section.white { }
        .section-title { margin: 0 0 36px; color: var(--ink); font-size: clamp(24px, 3vw, 36px); font-weight: 900; text-transform: uppercase; text-shadow: 0 1px 3px rgba(255,255,255,0.9), 0 1px 14px rgba(255,255,255,0.85); }
        body.night-mode .section-title { text-shadow: 0 1px 3px rgba(0,0,0,0.85), 0 1px 14px rgba(0,0,0,0.8); }
        
        .trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
        .delivery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
        .delivery-card { display: flex; flex-direction: column; text-align: left; gap: 6px; padding: 20px; border: 2px solid var(--teal); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
        .delivery-card-title { font-weight: 800; color: var(--ink); font-size: 12px; line-height: 1.3; text-transform: none; }
        .delivery-card-text { color: var(--muted); font-size: 12px; line-height: 1.45; font-weight: 400; text-transform: none; }
        .trust-card { min-height: 100px; display: flex; align-items: center; justify-content: center; padding: 20px; border: 2px solid var(--teal); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
        .trust-card span { color: var(--accent-on-panel); font-size: clamp(16px, 2vw, 22px); font-weight: 900; text-transform: uppercase; }
        
        .recipes-grid { display: grid; gap: 20px; text-align: left; margin-top: 30px; }
        .recipe-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 20px; border: 2px solid var(--teal); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); }
        .recipe-image { height: 180px; display: flex; align-items: center; justify-content: center; background: transparent; padding: 0; }
        .recipe-image img { max-height: 160px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0,0,0,0.18)); border-radius: 10px; }
        .recipe-content h3 { margin: 0 0 8px; font-size: 18px; font-weight: 900; color: var(--accent-on-panel); text-transform: uppercase; }
        .recipe-concept { font-weight: 700; color: var(--accent-brown); margin-bottom: 12px; font-size: 14px; }
        .recipe-steps { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.4; color: var(--ink); }
        .recipe-steps li { margin-bottom: 6px; }

        .contacts-section { padding: 0; background: transparent; text-align: center; }
        .contacts-section-inner { background: var(--contacts-bg); color: #fff; padding: 36px 40px; border-radius: 28px; max-width: 1000px; margin: 0 auto; box-shadow: var(--shadow); }
        .contacts-section-inner .section-title { text-shadow: none; color: #fff; }
        .contacts-grid { display: flex; flex-wrap: nowrap; justify-content: center; overflow-x: auto; gap: 10px; margin-top: 40px; padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none; }
        .contacts-grid::-webkit-scrollbar { display: none; }
        .contact-card { flex: 0 0 auto; width: 172px; background: rgba(255,255,255,0.04); padding: 16px 10px; border-radius: 18px; border: 1px solid rgba(255,255,255,0.08); transition: all 0.3s ease; }
        .contact-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.08); border-color: #f4b400; }
        .contact-card h4 { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; color: #f4b400; letter-spacing: 1px; white-space: nowrap; font-weight: 800; }
        .contact-card a { font-size: 12px; font-weight: 700; color: #ffffff; display: inline-block; transition: color 0.2s; overflow-wrap: anywhere; word-break: normal; }
        .contact-card a:hover { color: #f4b400; }
        .footer-credits { margin-top: 60px; font-size: 12px; color: rgba(255,255,255,0.4); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
        
        .floating-cart { position: fixed; bottom: 20px; right: 20px; background: var(--btn-bg); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); z-index: 100; display: flex; align-items: center; gap: 8px; cursor: pointer; }
        .floating-cart:hover { background: #164a3e; transform: translateY(-2px); }
        
        .cart-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 200; display: none; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
        .cart-modal { background: var(--panel-strong); padding: 24px; border-radius: 24px; width: min(450px, calc(100% - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; box-shadow: var(--shadow); position: relative; border: 2px solid var(--teal); }
        .cart-modal-close { position: absolute; top: 12px; right: 16px; font-size: 24px; cursor: pointer; color: var(--muted); font-weight: bold; }
        .cart-modal-title { margin: 0 0 16px; font-size: 20px; font-weight: 900; color: var(--accent-on-panel); text-transform: uppercase; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
        .cart-items-list { max-height: 240px; overflow-y: auto; margin-bottom: 16px; padding: 0; list-style: none; }
        .cart-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 14px; }
        .cart-item-actions { display: flex; align-items: center; gap: 8px; }
        .cart-btn-sm { background: var(--teal); color: white; border-radius: 4px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; font-weight: bold; font-size: 14px; }
        .cart-btn-sm:hover { background: var(--teal-dark); }
        .cart-total-block { display: flex; justify-content: space-between; font-weight: 900; margin-bottom: 20px; font-size: 16px; border-top: 2px solid var(--line); padding-top: 12px; }
        .cart-order-btn { background: var(--btn-bg); color: white; width: 100%; padding: 12px; border-radius: 999px; text-align: center; font-weight: 900; text-transform: uppercase; font-size: 13px; display: block; box-shadow: var(--shadow); border: none; cursor: pointer; }
        .cart-order-btn:hover { background: #164a3e; }
        .cart-order-btn:disabled { opacity: 0.6; cursor: default; }
        .cart-input { width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; font-family: inherit; background: var(--cream); }
        .cart-input:focus { outline: none; border-color: var(--teal); }

        .payment-method-block { display: flex; flex-direction: column; gap: 6px; }
        .payment-method-label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
        .payment-method-options { display: flex; gap: 8px; flex-wrap: wrap; }
        .payment-option { flex: 1 1 140px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all 0.2s; background: var(--panel-strong); }
        .payment-option input { display: none; }
        .payment-option.active { border-color: var(--teal); background: var(--teal); color: #fff; }
        .payment-option-disabled { cursor: not-allowed; opacity: 0.65; position: relative; }
        .kaspi-badge { background: #ff2e17; color: #fff; font-weight: 900; font-size: 11px; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.3px; }
        .soon-tag { font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; margin-left: 2px; }

        .reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 700px; margin: 0 auto; }
        .yt-lite { position: relative; width: 100%; aspect-ratio: 16 / 9; background-size: cover; background-position: center; border-radius: 16px; overflow: hidden; cursor: pointer; box-shadow: 0 20px 40px rgba(0,0,0,0.18); border: 4px solid #ffffff; }
        .yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
        .yt-lite-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: rgba(0,0,0,0.65); color: #fff; border: 3px solid #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s; }
        .yt-lite:hover .yt-lite-play { background: var(--teal); transform: translate(-50%, -50%) scale(1.08); }
        .reviews-video-caption { display: block; width: fit-content; margin: 12px auto 0; text-align: center; color: var(--text-strong-on-photo); font-size: 13px; font-weight: 700; font-style: italic; background: var(--panel-strong); padding: 8px 16px; border-radius: 12px; }

        .text-reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 30px auto 0; }
        @media (max-width: 900px) {
            .text-reviews-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 520px) {
            .text-reviews-grid { grid-template-columns: 1fr; }
        }
        .text-review-card { background: var(--panel); border-radius: 22px; padding: 18px 20px; border: 2px solid var(--teal); box-shadow: var(--shadow); text-align: left; }
        .text-review-card p { margin: 0 0 10px; color: var(--ink); font-size: 14px; line-height: 1.5; }
        .text-review-author { color: var(--accent-on-panel); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
        .text-on-photo { text-shadow: 0 1px 3px rgba(255,255,255,0.95), 0 1px 14px rgba(255,255,255,0.9); }
        body.night-mode .text-on-photo { text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 1px 14px rgba(0,0,0,0.85); }
        .text-plate { display: inline-block; background: var(--panel-strong); padding: 10px 16px; border-radius: 14px; text-shadow: none !important; }
        .reviews-more-link { text-align: center; margin-top: 24px; }
        .reviews-more-link a { display: inline-block; color: var(--text-strong-on-photo); font-weight: 700; font-size: 15px; text-decoration: underline; background: var(--panel-strong); padding: 8px 16px; border-radius: 12px; }

        @media (max-width: 1024px) {
            .catalog-strip { grid-template-columns: repeat(3, 1fr); }
            .factory-inner { grid-template-columns: 1fr; }
            .delivery-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .header-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0; text-align: center; }
            .brand-block { order: 1; flex: 1; }
            #nav-burger { display: flex; order: 2; }
            .nav-left, .nav-right {
                display: none; flex-direction: column; align-items: stretch; gap: 0;
                flex-basis: 100%; width: 100%;
                background: var(--brand-bar-bg); box-shadow: 0 12px 20px rgba(0,0,0,0.25);
            }
            .nav-left { order: 3; padding-top: 8px; }
            .nav-right { order: 4; padding-bottom: 8px; border-top: 1px solid rgba(255,255,255,0.12); }
            .site-header.nav-open .nav-left,
            .site-header.nav-open .nav-right { display: flex; }
            .header-wrap .nav-link { width: 100%; padding: 12px 0; border-bottom: none; }
            .catalog-strip { grid-template-columns: repeat(2, 1fr); }
            .trust-grid { grid-template-columns: 1fr; }
            .delivery-grid { grid-template-columns: 1fr; }
            .recipe-card { grid-template-columns: 1fr; text-align: center; }
            .recipe-image { height: 140px; max-width: 200px; margin: 0 auto; }
            .recipe-steps { text-align: left; }
            .student-showcase-grid { grid-template-columns: 1fr; text-align: center; }
            .student-showcase-grid h2 { text-align: center; }
            .contacts-grid { flex-wrap: wrap; flex-direction: column; align-items: center; }
            .contact-card { width: fit-content; padding: 14px 20px; }
        }
        .hit-showcase-row { display: flex; gap: 16px; flex-wrap: nowrap; }
        .hit-showcase-card { flex: 1; min-width: 0; text-align: center; background: var(--panel); padding: 24px 12px; border-radius: 22px; border: 2px solid var(--teal); box-shadow: var(--shadow); position: relative; }
        .hit-showcase-badge { position: absolute; top: 12px; left: 12px; color: white; padding: 5px 12px; font-weight: 900; border-radius: 20px; font-size: 10px; letter-spacing: 0.5px; text-transform: uppercase; white-space: nowrap; }
        .hit-showcase-card img { max-width: 100%; max-height: 200px; margin: 10px auto 0; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15)); }
        @media (max-width: 480px) {
            .catalog-strip { grid-template-columns: 1fr; }
            .hit-showcase-row { flex-wrap: wrap; }
            .hit-showcase-card { flex: 1 1 100%; }
        }
