/* ═══════════════════════════════════════════════
   takeKONTROL — shop page styles
   Loaded after tokens.css, base.css and chrome.css.
   ═══════════════════════════════════════════════ */

/* Token values this page declared that differ from the shared
   set in tokens.css. Preserved exactly rather than normalised,
   so the refactor changes no pixel. Delete a line here once the
   design agrees on one value for it. */
:root,
[data-theme="light"] {
  --card-shadow: 0 8px 24px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 16px 32px rgba(179, 32, 32, 0.12);
  --radius-corp: 12px;
}

[data-theme="dark"] {
  --card-bg: #161616;
  --card-shadow: 0 8px 24px rgba(0,0,0,0.4);
  --card-shadow-hover: 0 16px 32px rgba(211, 47, 47, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0;}

body, html {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            color: var(--text-main);
            line-height: 1.6;
            scroll-behavior: smooth;
            background-color: var(--primary-bg);
            transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
            overflow-x: hidden;
            width: 100%;
            max-width: 100vw;
        }

img, video {
            max-width: 100%;
            height: auto;
        }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.bg-alt {
            background-color: var(--secondary-bg);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
        }

/* Flush Corporate Global Header Navigation */

.tesla-header {
            position: fixed; top: 38px; left: 0; width: 100%; display: flex;
            justify-content: space-between; align-items: center; padding: 16px 48px; z-index: 1000;
            background: transparent; background-image: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
            color: #ffffff; transition: background var(--transition-speed) ease, box-shadow var(--transition-speed) ease, color var(--transition-speed) ease, padding var(--transition-speed) ease;
        }

.tesla-header.scrolled {
            background-color: var(--header-bg-scrolled); backdrop-filter: blur(10px); background-image: none;
            box-shadow: 0 2px 20px rgba(0,0,0,0.1); border-bottom: 1px solid var(--border-color); color: var(--nav-text-scrolled);
            padding: 12px 48px;
        }

.tesla-header .logo { display: flex; align-items: center; font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; color: inherit; text-decoration: none; }

.tesla-header a, .theme-toggle, .lang-toggle { color: inherit; text-decoration: none; }

.tesla-header nav a { font-size: 0.95rem; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-corp); transition: background var(--transition-speed) ease; }

.lang-toggle {
            background: none; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 700;
            padding: 6px 10px; border-radius: var(--radius-corp); letter-spacing: 0.5px; transition: background var(--transition-speed) ease; color: inherit;
        }

.theme-toggle {
            background: none; border: none; cursor: pointer; display: flex; align-items: center;
            justify-content: center; padding: 8px; border-radius: var(--radius-corp); transition: transform 0.2s ease, background var(--transition-speed) ease; color: inherit;
        }

.cart-wrapper {
            position: relative; display: flex; align-items: center; cursor: pointer;
            padding: 8px; border-radius: var(--radius-corp); transition: background var(--transition-speed) ease; margin-left: 5px; color: inherit;
        }

.drawer-header .logo { font-weight: 700; font-size: 1.1rem; color: var(--text-heading); letter-spacing: 1px; text-decoration: none; display: flex; align-items: center; gap: 8px; }

/* Buttons */

.btn {
            display: inline-flex; align-items: center; justify-content: center;
            padding: 12px 32px; text-decoration: none; font-weight: 600;
            border-radius: 50px; transition: all var(--transition-speed) ease;
            cursor: pointer; border: 1px solid transparent; font-size: 0.95rem; letter-spacing: 0.5px;
            text-align: center;
        }

.btn-primary:hover { background-color: var(--primary-red-hover); box-shadow: 0 4px 15px rgba(179, 32, 32, 0.4); transform: translateY(-2px); }

.btn-secondary {
            background-color: var(--secondary-bg); color: var(--text-heading);
            border: 1px solid var(--border-color);
        }

.btn-secondary:hover { background-color: var(--border-color); transform: translateY(-2px); }

.btn-outline {
            background-color: transparent; color: var(--primary-red);
            border: 1px solid var(--primary-red);
        }

.btn-outline:hover { background-color: var(--primary-red); color: #fff; }

.btn-small { padding: 8px 20px; font-size: 0.85rem; }

/* ── Add to Cart button ─────────────────────────────────────── */

.btn-cart {
            position: relative; overflow: hidden;
            display: inline-flex; align-items: center; justify-content: center; gap: 8px;
            background-color: var(--primary-red); color: #ffffff !important;
            border: 1px solid var(--primary-red);
            font-weight: 700; letter-spacing: 0.3px;
            box-shadow: 0 2px 8px rgba(179, 32, 32, 0.18);
            -webkit-tap-highlight-color: transparent;
        }

.btn-cart:hover {
            background-color: var(--primary-red-hover); border-color: var(--primary-red-hover);
            box-shadow: 0 6px 18px rgba(179, 32, 32, 0.35); transform: translateY(-2px);
        }

.btn-cart:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 6px rgba(179,32,32,0.25); }

.btn-cart:focus-visible { outline: 3px solid rgba(179, 32, 32, 0.35); outline-offset: 2px; }

.btn-cart .atc-icon, .btn-cart .atc-check { flex-shrink: 0; transition: transform 0.25s ease, opacity 0.2s ease; }

.btn-cart .atc-check { position: absolute; left: 50%; transform: translate(-50%, 14px); opacity: 0; }

.btn-cart .atc-label { white-space: nowrap; }

.btn-cart .atc-count {
            min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
            background: rgba(255, 255, 255, 0.22); color: #fff;
            font-size: 0.72rem; font-weight: 800; line-height: 20px; text-align: center;
        }

.btn-cart:hover .atc-icon { transform: translateX(2px); }

/* Item already in the cart — persisted across page loads */

.btn-cart.in-cart {
            background-color: transparent; color: var(--primary-red) !important;
            border-color: var(--primary-red); box-shadow: none;
        }

.btn-cart.in-cart .atc-count { background: var(--primary-red); color: #fff; }

.btn-cart.in-cart:hover { background-color: var(--primary-red); color: #fff !important; }

.btn-cart.in-cart:hover .atc-count { background: rgba(255,255,255,0.22); }

/* Transient confirmation flash */

.btn-cart.is-added { background-color: #16a34a !important; border-color: #16a34a !important; color: #fff !important; }

.btn-cart.is-added .atc-icon { opacity: 0; transform: translateY(-14px); }

.btn-cart.is-added .atc-check { opacity: 1; transform: translate(-50%, 0); left: 14px; }

.btn-cart.is-added .atc-label { transform: translateX(6px); }

.btn-cart.is-added .atc-count { background: rgba(255,255,255,0.25); }

@media (prefers-reduced-motion: reduce) {
            .btn-cart, .btn-cart * { transition: none !important; transform: none !important; }
        }

/* ── View Included Items button ─────────────────────────────── */

.view-items-btn { display: inline-flex; align-items: center; gap: 7px; }

.view-items-btn .vi-chevron { transition: transform 0.25s ease; flex-shrink: 0; }

.view-items-btn.is-open { background-color: var(--primary-red); color: #fff; }

.view-items-btn.is-open .vi-chevron { transform: rotate(180deg); }

.view-items-btn:focus-visible { outline: 3px solid rgba(179, 32, 32, 0.35); outline-offset: 2px; }

/* The old chevron row is retired — the button above drives the panel. */

.expandable > .toggle, .expandable [data-legacy-toggle] { display: none !important; }

/* Hero (full-bleed video background) */

.hero {
            position: relative;
            width: 100vw;
            left: 50%;
            transform: translateX(-50%);
            height: 70vh;
            min-height: 500px;
            margin-top: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
            background-color: #1c1c1c;
        }

.hero-video {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            object-fit: cover; z-index: 1; opacity: 0.6;
        }

.hero-overlay {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.7) 100%);
            z-index: 2;
        }

.hero-content { position: relative; z-index: 3; max-width: 800px; padding: 0 24px; width: 100%; }

.hero h1 { font-size: 3.5rem; font-weight: 700; letter-spacing: -0.02em; color: #ffffff; line-height: 1.1; margin-bottom: 16px; }

.hero h1 span { color: #ff6b5e; }

.hero p { color: rgba(255,255,255,0.9); font-size: 1.25rem; max-width: 650px; margin: 0 auto 32px auto; }

/* ─── FULL-WIDTH LIVE NEWS TICKER ─── */

.ticker-wrapper {
            width: 100%; 
            background: #080808; 
            border-bottom: 1px solid var(--border-color); 
            overflow: hidden; 
            position: relative; 
            z-index: 10;
        }

/* Scenario Cards (Corporate Polish) */

.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 30px; margin: 60px 0; align-items: stretch; }

.scenario-card {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-corp);
            padding: 40px 30px; text-align: center; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
            cursor: pointer; text-decoration: none; color: var(--text-heading); box-shadow: var(--card-shadow);
            display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100%;
        }

.scenario-card:hover { transform: translateY(-8px); border-color: var(--primary-red); box-shadow: var(--card-shadow-hover); }

.scenario-card .icon-wrapper {
            width: 80px; height: 80px; background: var(--secondary-bg); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
            color: var(--primary-red); transition: all 0.3s ease; border: 1px solid var(--border-color); flex-shrink: 0;
        }

.scenario-card:hover .icon-wrapper {
            background: var(--primary-red); color: #fff; border-color: var(--primary-red); transform: scale(1.05);
        }

.scenario-card h3 { font-size: 1.4rem; font-weight: 700; color: var(--text-heading); margin-bottom: 12px; }

.scenario-card p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; line-height: 1.6; flex-grow: 1; }

.scenario-card .btn { margin-top: auto; }

/* Product Image Carousel (picture slider) */

.product-image-container {
            position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color);
            background-color: var(--secondary-bg); width: 100%; aspect-ratio: 4 / 3; margin-bottom: 16px;
        }

.shelf-card .product-image-container { max-width: 320px; flex-shrink: 0; }

.carousel-track { display: flex; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); width: 100%; height: 100%; align-items: center; }

.carousel-slide { min-width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }

.carousel-btn {
            position: absolute; top: 50%; transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.35); backdrop-filter: blur(4px); color: #fff; border: none;
            width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
            cursor: pointer; z-index: 10; transition: background var(--transition-speed) ease, transform 0.2s; font-size: 1rem;
        }

.carousel-btn:hover { background: var(--primary-red); transform: translateY(-50%) scale(1.05); }

.prev-btn { left: 12px; }

.next-btn { right: 12px; }

.carousel-dots {
            position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px;
            z-index: 10; background: rgba(0,0,0,0.3); padding: 6px 12px; border-radius: 20px; backdrop-filter: blur(4px);
        }

.dot { width: 8px; height: 8px; background: rgba(255, 255, 255, 0.5); border-radius: 50%; cursor: pointer; transition: all var(--transition-speed) ease; }

.dot.active { background: #ffffff; transform: scale(1.3); }

.swipe-hint {
            position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
            background: rgba(0,0,0,0.6); color: #fff; padding: 6px 14px; border-radius: 30px; font-size: 0.75rem;
            font-weight: 600; backdrop-filter: blur(4px); pointer-events: none; z-index: 10; opacity: 1;
            transition: opacity 0.5s ease; animation: pulseHint 2s infinite; display: flex; align-items: center; gap: 6px;
        }

.swipe-hint.hidden { opacity: 0; }

@keyframes pulseHint { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Single static product photo */

.single-image {
            width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden;
            border: 1px solid var(--border-color); background-color: var(--secondary-bg);
            margin-bottom: 16px; flex-shrink: 0;
        }

.single-image img { width: 100%; height: 100%; object-fit: cover; }

/* Section Base */

.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 12px; width: 100%;}

.section-header .left h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-heading); }

.section-header .left h2 span { color: var(--primary-red); }

.section-header .left p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0; }

section { padding: 60px 0; border-bottom: 1px solid var(--border-color); }

section:last-of-type { border-bottom: none; }

/* Product Cards */

.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 30px; margin-bottom: 48px; align-items: stretch; width: 100%;}

.product-card {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-corp);
            padding: 24px; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; box-shadow: var(--card-shadow); height: 100%;
            overflow: hidden;
        }

.product-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--primary-red); }

.product-card .badge {
            display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 4px 12px;
            border-radius: 20px; text-transform: uppercase; margin-bottom: 10px; width: fit-content; flex-shrink: 0;
        }

.badge.essential { background: var(--text-muted); color: #fff; }

.badge.standard { background: #3b82f6; color: #fff; }

.badge.premium { background: var(--primary-red); color: #fff; }

.product-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; flex-shrink: 0;}

.product-card .description { color: var(--text-muted); font-size: 0.95rem; margin: 4px 0 12px; line-height: 1.5; flex-grow: 1; }

/* Action Wrappers aligned to bottom */

.product-card-bottom { margin-top: auto; display: flex; flex-direction: column; width: 100%; }

.product-card .price { font-size: 1.5rem; font-weight: 700; color: var(--primary-red); margin-top: 12px; }

.product-card .price .vat { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }

.product-card .actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; width: 100%; }

.product-card .best-for { margin-top: 12px; border-top: 1px solid var(--border-color); padding-top: 12px; font-size: 0.8rem; color: var(--text-muted); }

.product-card .best-for .label { font-weight: 600; color: var(--text-heading); display: block; margin-bottom: 6px; }

.product-card .best-for span {
            display: inline-block; background: var(--secondary-bg); padding: 4px 12px; border-radius: 20px;
            margin: 3px 4px 3px 0; border: 1px solid var(--border-color); color: var(--text-main); font-weight: 500;
        }

/* Redesigned tier card content — badge pill, quote, ideal-for box,
   category coverage bar, price note, "View content" link. The old
   .best-for pill list and inline .expandable checklist are gone from
   these three cards; the full breakdown now lives on its own page. */

.product-badge {
            display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 5px 14px;
            border-radius: 20px; text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 14px;
            width: fit-content; flex-shrink: 0; background: rgba(179, 32, 32, 0.1); color: var(--primary-red);
        }

[data-theme="dark"] .product-badge { background: rgba(211, 47, 47, 0.18); }

.product-quote {
            font-style: italic; color: var(--primary-red); font-weight: 600; font-size: 0.98rem;
            line-height: 1.45; margin: 0 0 10px;
        }

.ideal-for-box {
            background: var(--secondary-bg); border-radius: 10px; padding: 16px 18px; margin: 14px 0;
        }

.ideal-for-box .ideal-for-label {
            font-size: 0.72rem; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
            color: var(--primary-red); margin-bottom: 10px;
        }

.ideal-for-box ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.ideal-for-box li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; color: var(--text-main); }

.ideal-for-box li svg { flex-shrink: 0; color: var(--primary-red); margin-top: 2px; }

.category-progress { margin: 4px 0 16px; }

.category-progress .segments { display: flex; gap: 4px; margin-bottom: 8px; }

.category-progress .segment { flex: 1; height: 6px; border-radius: 3px; background: var(--border-color); }

.category-progress .segment.filled { background: var(--primary-red); }

.category-progress .stats { font-size: 0.82rem; color: var(--text-muted); }

.product-card .price-note { font-size: 0.82rem; color: var(--text-muted); margin: 2px 0 16px; }

.view-content-link {
            display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 0.95rem;
            color: var(--primary-red); text-decoration: none; width: fit-content;
        }

.view-content-link:hover { text-decoration: underline; }

/* Legal Product Disclaimer */

.safety-disclaimer {
            margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border-color);
            font-size: 0.8rem; color: var(--text-muted); line-height: 1.4;
            display: flex; align-items: flex-start; gap: 8px; text-align: left;
            word-wrap: break-word; overflow-wrap: break-word;
        }

.safety-disclaimer i { color: #f59e0b; margin-top: 2px; flex-shrink: 0;}

.safety-disclaimer a { color: var(--text-main); text-decoration: underline; font-weight: 500; transition: color var(--transition-speed); }

.safety-disclaimer a:hover { color: var(--primary-red); }

/* Expandable Items */

.expandable { margin-top: 16px; width: 100%; }

.expandable .toggle {
            color: #3b82f6; cursor: pointer; font-size: 0.9rem; font-weight: 600;
            display: flex; align-items: center; gap: 8px; user-select: none;
        }

.expandable .toggle:hover { color: #60a5fa; }

.expandable .content {
            display: none; background: var(--secondary-bg); border-radius: 8px; padding: 14px 18px;
            margin-top: 10px; border: 1px solid var(--border-color); max-height: 250px; overflow-y: auto; width: 100%;
        }

.expandable .content.open { display: block; animation: tkExpandIn 0.22s ease; }

@keyframes tkExpandIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Individual items expand on click to reveal what the item is and why
   it's included — same interaction as a native <details>/<summary>
   accordion, built by hand so every row can carry its own quantity
   and description. Class names and pixel values match the reference
   product page (.item / .item__head / .item__facts) exactly, themed
   in our own red/black/white palette. */
.item { border-bottom: 1px solid var(--border-color); }

.item:last-child { border-bottom: 0; }

.item__head {
            width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px 4px;
            background: none; border: 0; cursor: pointer; text-align: left; color: var(--text-heading);
            font: inherit; transition: 0.2s;
        }

.item__head:hover { padding-left: 10px; color: var(--primary-red); }

.item__name { font-weight: 620; font-size: 15.5px; }

.item__qty {
            margin-left: auto; font-size: 13.5px; color: var(--text-muted); white-space: nowrap;
            background: var(--secondary-bg); padding: 3px 11px; border-radius: 99px;
        }

.item__head .chev {
            width: 10px; height: 10px; border-right: 2px solid var(--primary-red);
            border-bottom: 2px solid var(--primary-red); transform: rotate(45deg);
            transition: transform 0.3s; flex: none; margin-left: 6px;
        }

.item.is-open .item__head .chev { transform: rotate(-135deg); }

.item__body { padding: 4px 4px 20px; animation: tkExpandIn 0.35s both; }

.item__body p { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--text-muted); }

.item__facts { display: grid; grid-template-columns: 150px 1fr; gap: 9px 18px; margin: 0; font-size: 14.8px; }

.item__facts dt { font-weight: 700; color: var(--primary-red); }

.item__facts dd { margin: 0; color: var(--text-main); }

@media (max-width: 560px) {
            .item__facts { grid-template-columns: 1fr; }
            .item__facts dt { margin-top: 4px; }
        }

.item__age {
            display: flex; align-items: flex-start; gap: 6px; font-size: 0.78rem;
            color: #b45309; background: #fef3c7; border-radius: 6px; padding: 6px 10px; margin: 0 0 10px;
        }

/* Category accordions — one per "What's inside" section, each holding
   several items. Native <details>/<summary> for free keyboard and
   focus handling, styled to match the card system. */
.cat {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 10px;
            margin-bottom: 8px; overflow: hidden;
        }

.cat:last-child { margin-bottom: 0; }

.cat[open] { border-color: var(--primary-red); }

.cat > summary {
            list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
            padding: 10px 12px; font-size: 0.85rem; color: var(--text-heading); user-select: none;
        }

.cat > summary::-webkit-details-marker,
.cat > summary::marker { display: none; content: ''; }

.cat__num {
            display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px;
            background: var(--secondary-bg); color: var(--text-muted); font-weight: 800;
            font-size: 0.68rem; flex-shrink: 0;
        }

.cat[open] .cat__num { background: var(--primary-red); color: #fff; }

.cat__name { font-weight: 650; flex: 1; }

.cat__count { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }

.cat > summary .chev { flex-shrink: 0; color: var(--text-muted); transition: transform var(--transition-speed); }

.cat[open] > summary .chev { transform: rotate(180deg); }

.cat__body { padding: 0 12px 8px; border-top: 1px solid var(--border-color); }

.cat__intro {
            display: flex; gap: 14px; align-items: center; background: var(--secondary-bg);
            border-radius: 10px; padding: 12px; margin: 10px 0;
        }

.cat__intro .img { width: 80px; height: 80px; flex: none; border-radius: 8px; }

.cat__intro p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

.cat__contains { margin-top: 6px !important; font-size: 0.78rem !important; color: var(--text-main) !important; }

.cat__contains b { color: var(--primary-red); }

/* Placeholder tile shown when a product or category photo hasn't been
   uploaded yet — matches the reference's "photo coming soon" tile. */
.img { margin: 0; position: relative; overflow: hidden; background: var(--secondary-bg); border-radius: 10px; }

.img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.img--placeholder { display: grid; place-items: center; aspect-ratio: 1; padding: 0; }

.img__soon {
            display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
            width: 100%; height: 100%; min-height: 60px;
            background: linear-gradient(135deg, var(--primary-red), var(--primary-red-hover));
        }

.img__logo { font-size: 0.72rem; font-weight: 850; color: #fff; letter-spacing: -0.02em; }

.img__logo i { font-style: normal; opacity: 0.85; }

/* Manufacturer / EU-representative identification, collapsed by default
   inside each item — Art. 19 GPSR-style disclosure. */
.mfr { margin-top: 4px; font-size: 0.78rem; }

.mfr > summary {
            list-style: none; cursor: pointer; color: var(--primary-red); font-weight: 600;
            display: inline-flex; align-items: center; gap: 5px;
        }

.mfr > summary::-webkit-details-marker, .mfr > summary::marker { display: none; content: ''; }

.mfr > summary::before { content: '\\25B8'; font-size: 0.7em; transition: transform var(--transition-speed); }

.mfr[open] > summary::before { transform: rotate(90deg); }

.mfr__body table { width: 100%; border-collapse: collapse; margin-top: 8px; }

.mfr__body td {
            padding: 4px 0; border-bottom: 1px solid var(--border-color); vertical-align: top;
            font-size: 0.78rem;
        }

.mfr__body td:first-child { color: var(--text-muted); font-weight: 600; width: 42%; padding-right: 10px; }

.mfr__body tr:last-child td { border-bottom: none; }

/* Food safety / nutrition — legally required ingredient, allergen and
   nutrition facts for the food items included in a kit. */
.food-info {
            margin: 10px 0; padding: 10px 12px; background: var(--secondary-bg); border-radius: 8px;
            font-size: 0.78rem;
        }

.food-info h4 { margin: 0 0 6px; font-size: 0.8rem; color: var(--text-heading); }

.food-info__allergens {
            font-weight: 700; color: #b45309; background: #fef3c7; border-radius: 6px;
            padding: 5px 8px; margin-bottom: 8px;
        }

.food-info__allergens span { text-transform: uppercase; margin-right: 4px; }

.food-info__traces { display: block; font-weight: 400; margin-top: 2px; }

.food-info__facts, .food-info__nutrition { width: 100%; border-collapse: collapse; margin-bottom: 8px; }

.food-info__facts td, .food-info__nutrition td {
            padding: 3px 0; border-bottom: 1px solid var(--border-color); vertical-align: top;
        }

.food-info__facts td:first-child, .food-info__nutrition td:first-child {
            color: var(--text-muted); font-weight: 600; width: 40%; padding-right: 10px;
        }

.food-info__nutrition caption { text-align: left; font-weight: 700; color: var(--text-heading); padding-bottom: 4px; }

.food-info__nutrition tr.sub td:first-child { padding-left: 12px; font-weight: 400; }

.food-info__note { margin: 6px 0 0; font-size: 0.72rem; color: var(--text-muted); font-style: italic; }

/* Level Selector */

.level-selector {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-corp);
            padding: 40px; margin-bottom: 48px; text-align: center; box-shadow: var(--card-shadow); width: 100%; overflow: hidden;
        }

.level-selector h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; color: var(--text-heading); }

.level-selector h2 span { color: var(--primary-red); }

.level-selector .sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 30px; }

.level-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 20px; align-items: stretch; width: 100%; }

.level-card {
            background: var(--secondary-bg); border: 1px solid var(--border-color); border-radius: 12px;
            padding: 24px 20px; transition: border-color 0.2s, box-shadow 0.2s; text-align: left; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
            display: flex; flex-direction: column; height: 100%; overflow: hidden;
        }

.level-card:hover { border-color: var(--primary-red); box-shadow: var(--card-shadow-hover); }

.level-card .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; flex-shrink: 0;}

.level-card .dot.green { background: #22c55e; }

.level-card .dot.blue { background: #3b82f6; }

.level-card .dot.red { background: var(--primary-red); }

.level-card h4 { font-size: 1.2rem; font-weight: 700; margin: 8px 0; color: var(--text-heading); }

.level-card p { color: var(--text-muted); font-size: 0.9rem; margin: 6px 0 0 0; line-height: 1.5; flex-grow: 1; }

.level-card .arrow { color: var(--primary-red); font-size: 0.95rem; font-weight: 600; margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; }

/* Comparison Table */

.comparison-section {
            margin: 40px 0 60px 0; background: var(--card-bg); border-radius: var(--radius-corp);
            padding: 40px 30px; border: 1px solid var(--border-color); box-shadow: var(--card-shadow);
            max-width: 100%; overflow: hidden; /* Prevent Grid Blowout */
        }

.comparison-section h2 { text-align: center; font-size: 1.8rem; font-weight: 700; margin-bottom: 8px; color: var(--text-heading); }

.comparison-section h2 span { color: var(--primary-red); }

.comparison-section .sub { text-align: center; color: var(--text-muted); font-size: 1rem; margin-bottom: 30px; }

.table-responsive { 
            width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; 
            margin-bottom: 10px; padding-bottom: 10px;
        }

.comparison-table { width: 100%; min-width: 650px; border-collapse: collapse; font-size: 0.9rem; color: var(--text-main); }

.comparison-table th, .comparison-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border-color); }

.comparison-table th { color: var(--text-muted); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }

.comparison-table td:first-child { text-align: left; color: var(--text-muted); font-weight: 600; }

.comparison-table .check { color: #22c55e; font-size: 1.1rem; }

.comparison-table .cross { color: #ef4444; font-size: 1.1rem; }

.comparison-table .highlight { color: #f59e0b; font-weight: 600; }

.comparison-table .price-cell { font-weight: 700; color: var(--primary-red); font-size: 1.1rem; }

.comparison-table .product-name { font-weight: 700; color: var(--text-heading); }

.comparison-table tr:hover { background: var(--secondary-bg); }

/* Home Shelf */

.shelf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; margin-bottom: 60px; width: 100%; }

.shelf-card {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-corp);
            padding: 30px; display: flex; flex-direction: column; box-shadow: var(--card-shadow);
            width: 100%; overflow: hidden; /* CRITICAL FOR MOBILE CONSTRAINT */
        }

@media (min-width: 768px) { .shelf-card { flex-direction: row; align-items: stretch; gap: 40px; } }

.shelf-card .shelf-info { flex: 1; display: flex; flex-direction: column; justify-content: center; min-width: 0; width: 100%; }

.shelf-card .shelf-info h3 { font-size: 1.5rem; font-weight: 700; color: var(--text-heading); }

.shelf-card .shelf-info .description { color: var(--text-muted); font-size: 1rem; margin: 6px 0 12px; }

.shelf-card .shelf-info .price { font-size: 1.6rem; font-weight: 700; color: var(--primary-red); }

.shelf-card .shelf-info .actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; width: 100%; }

.shelf-card .best-for { margin-top: 16px; border-top: 1px solid var(--border-color); padding-top: 16px; font-size: 0.85rem; color: var(--text-muted); width: 100%;}

.shelf-card .best-for .label { font-weight: 700; color: var(--text-heading); display: block; margin-bottom: 8px; }

.shelf-card .best-for span {
            display: inline-block; background: var(--secondary-bg); padding: 4px 14px; border-radius: 20px;
            margin: 4px 8px 4px 0; border: 1px solid var(--border-color); color: var(--text-main); font-weight: 500;
        }

/* Recommended Shelves */

.shelf-recommend { margin-top: 20px; background: var(--secondary-bg); border-radius: 10px; padding: 16px 20px; border: 1px solid var(--border-color); width: 100%;}

.shelf-recommend .title { font-size: 0.95rem; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }

.shelf-recommend .title i { color: #3b82f6; margin-right: 8px; }

.shelf-recommend .note { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; }

.shelf-options { display: flex; gap: 16px; flex-wrap: wrap; width: 100%; }

.shelf-option {
            display: flex; align-items: center; gap: 10px; background: var(--card-bg); padding: 10px 16px;
            border-radius: 10px; border: 1px solid var(--border-color); flex-wrap: wrap; box-shadow: 0 2px 10px rgba(0,0,0,0.02);
            flex: 1; min-width: 200px; /* Let them grow or wrap gracefully */
        }

.shelf-option .name { font-size: 0.85rem; font-weight: 600; color: var(--text-heading); flex-grow: 1; }

.shelf-option .price { font-size: 0.9rem; font-weight: 700; color: var(--primary-red); }

.shelf-recommend .affiliate-note { font-size: 0.65rem; color: var(--text-muted); margin-top: 10px; font-style: italic; }

/* Individual Products */

.individual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 24px; margin-bottom: 60px; align-items: stretch; width: 100%;}

.individual-card {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-corp);
            padding: 24px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; box-shadow: var(--card-shadow);
            display: flex; flex-direction: column; height: 100%; overflow: hidden;
        }

.individual-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: var(--primary-red); }

.individual-card-content { flex-grow: 1; display: flex; flex-direction: column; }

.individual-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }

.individual-card-bottom { margin-top: auto; display: flex; flex-direction: column; width: 100%; }

.individual-card .price { color: var(--primary-red); font-weight: 700; font-size: 1.25rem; margin: 12px 0 16px; }

/* Trust Section */

.trust-section {
            background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--radius-corp);
            padding: 40px 30px; margin-bottom: 60px; text-align: center; box-shadow: var(--card-shadow); width: 100%; overflow: hidden;
        }

.trust-section h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; color: var(--text-heading); }

.trust-section h2 span { color: var(--primary-red); }

.trust-section .sub { color: var(--text-muted); font-size: 1rem; margin-bottom: 30px; }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; width: 100%; }

.trust-item {
            background: var(--secondary-bg); border: 1px solid var(--border-color); border-radius: 10px;
            padding: 16px 20px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; font-size: 0.9rem; font-weight: 500; color: var(--text-heading); text-align: left;
        }

.trust-item i { color: #22c55e; font-size: 1.1rem; flex-shrink: 0; }

/* Interactive Toast Notification */

.toast-container {
            position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex;
            flex-direction: column; gap: 10px; pointer-events: none;
        }

.toast {
            background: var(--card-bg); color: var(--text-heading); border: 1px solid var(--border-color);
            border-left: 4px solid var(--primary-red); padding: 16px 24px; border-radius: var(--radius-corp);
            box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 12px;
            transform: translateX(120%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); font-weight: 600;
        }

.toast.show { transform: translateX(0); }

/* Layout Footer */

footer { background-color: var(--footer-bg); border-top: 1px solid var(--border-color); padding: 80px 0 40px; color: var(--text-muted); transition: background-color var(--transition-speed) ease; width: 100%; overflow: hidden;}

.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; flex-wrap: wrap; gap: 15px; }

/* ─── BULLETPROOF MOBILE OPTIMIZATIONS ─── */

@media (max-width: 992px) {
            .hero h1 { font-size: 3rem; }
            .hero p { font-size: 1.1rem; }
            .footer-grid { grid-template-columns: 1fr; gap: 40px; }
        }

@media (max-width: 768px) {
            .tesla-header { padding: 16px 20px; }
            .hero { height: 60vh; min-height: 450px; }
            .hero h1 { font-size: 2.5rem; }
            .hero p { font-size: 1.1rem; padding: 0 10px; }
            .section-title { font-size: 1.6rem; }
            .section-padding { padding: 50px 0; }
            
            /* Enforce Max Widths tightly on Mobile */
            .shelf-card, .product-card, .individual-card, .level-card, .scenario-card {
                padding: 20px;
                width: 100%;
                max-width: 100%;
                overflow: hidden;
            }
            
            /* Shelf Card Specifics */
            .shelf-card { flex-direction: column; text-align: center; }
            .shelf-card .product-image-container { max-width: 100%; margin: 0 auto 20px auto; }
            .shelf-card .shelf-info .actions { flex-direction: column; width: 100%; gap: 10px; }
            .shelf-card .shelf-info .actions .btn { width: 100%; }
            .shelf-card .best-for { text-align: left; }
            
            /* Stacking Options (IKEA/Amazon Links) */
            .shelf-options { flex-direction: column; width: 100%; }
            .shelf-option { 
                flex-direction: column; 
                align-items: flex-start; 
                width: 100%; 
                gap: 8px; 
            }
            .shelf-option .btn { width: 100%; margin-top: 4px; }
            .shelf-option .name { width: 100%; display: block; }
            
            /* Actions Blocks standardizing */
            .actions { flex-direction: column; width: 100%; }
            .actions .btn { width: 100%; margin-bottom: 4px; }
            
            /* Table Box Protection */
            .comparison-section { padding: 24px 16px; width: 100%; overflow: hidden; }
            .comparison-table { font-size: 0.8rem; }
            .comparison-table th, .comparison-table td { padding: 10px 8px; }
            
            /* UI Controls */
            .desktop-only, .center-nav { display: none !important; }
            .mobile-toggle { display: inline-flex !important; }
            
            /* Footer */
            .footer-form { flex-direction: column; }
            .footer-form .btn { width: 100%; }
            .footer-bottom { flex-direction: column; text-align: center; }
        }

@media (max-width: 480px) {
            .container { padding: 0 16px; }
            .hero { min-height: 400px; }
            .hero h1 { font-size: 2.2rem; }
            .hero-content .btn { width: 100%; }
            
            .level-selector { padding: 24px 16px; }
            .trust-grid { grid-template-columns: 1fr; }
        }

/* ── Promo banner — thin strip fixed above the header ─────────── */
.promo-banner {
            position: fixed; top: 0; left: 0; width: 100%; height: 38px; z-index: 1001;
            background: #1a0508; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px;
        }

[data-theme="dark"] .promo-banner { background: #050101; }

.promo-banner__inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; font-size: 0.85rem; max-width: 1200px; margin: 0 auto; }

.promo-banner__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-red); flex-shrink: 0; }

.promo-banner__text { color: rgba(255, 255, 255, 0.85); }

.promo-banner__link { color: var(--primary-red); font-weight: 700; text-decoration: none; }

.promo-banner__link:hover { text-decoration: underline; color: #fff; }

/* ── Workshop discount section ───────────────────────────────── */
.workshop-section { padding: 70px 0; }

.workshop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.workshop-eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-red); margin-bottom: 12px; display: block; }

.workshop-info h2 { font-size: 2rem; margin-bottom: 16px; color: var(--text-heading); line-height: 1.25; }

.workshop-info p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.7; margin: 0; }

.workshop-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 16px; padding: 36px; box-shadow: var(--card-shadow); }

.workshop-field { margin-bottom: 18px; }

.workshop-field label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--text-heading); margin-bottom: 8px; }

.workshop-field input {
            width: 100%; padding: 13px 16px; border: 1px solid var(--border-color); border-radius: 8px;
            background: var(--secondary-bg); color: var(--text-main); font-family: inherit; font-size: 0.95rem;
            transition: border-color var(--transition-speed) ease;
        }

.workshop-field input:focus { outline: none; border-color: var(--primary-red); }

.workshop-btn {
            width: 100%; padding: 15px; background: var(--primary-red); color: #fff; border: none;
            border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer;
            transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
        }

.workshop-btn:hover { background: var(--primary-red-hover); transform: translateY(-1px); }

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

.workshop-note { font-size: 0.78rem; color: var(--text-muted); margin: 16px 0 0; line-height: 1.6; }

.workshop-result { display: none; margin-top: 18px; padding: 16px 18px; background: rgba(211, 47, 47, 0.08); border: 1px solid rgba(211, 47, 47, 0.3); border-radius: 10px; }

.workshop-result.visible { display: block; animation: tkExpandIn 0.25s ease; }

.workshop-result code {
            display: inline-block; font-size: 1.15rem; font-weight: 800; color: var(--primary-red);
            letter-spacing: 0.06em; background: var(--card-bg); border: 1px dashed rgba(211, 47, 47, 0.5);
            padding: 4px 12px; border-radius: 6px;
        }

.workshop-result p { margin: 10px 0 0; font-size: 0.82rem; color: var(--text-muted); }

@media (max-width: 860px) {
            .workshop-grid { grid-template-columns: 1fr; gap: 32px; }
        }

/* ── KONTROL Score CTA banner ─────────────────────────────────── */
.score-banner { background: linear-gradient(120deg, #1a0508 0%, #4a1218 100%); padding: 48px 20px; }

[data-theme="dark"] .score-banner { background: linear-gradient(120deg, #050101 0%, #2a0a0d 100%); }

.score-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }

.score-banner__eyebrow { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-red); margin-bottom: 10px; display: block; }

.score-banner__text h2 { font-size: 1.9rem; color: #fff; margin: 0 0 10px; }

.score-banner__text p { color: rgba(255, 255, 255, 0.7); font-size: 0.98rem; max-width: 520px; margin: 0; }

.score-banner__btn {
            flex-shrink: 0; display: inline-flex; align-items: center; padding: 14px 30px; background: var(--primary-red);
            color: #fff; border-radius: 50px; font-weight: 700; text-decoration: none; white-space: nowrap;
            transition: background var(--transition-speed) ease, transform var(--transition-speed) ease;
        }

.score-banner__btn:hover { background: var(--primary-red-hover); transform: translateY(-2px); }

@media (max-width: 700px) {
            .score-banner__inner { flex-direction: column; align-items: flex-start; text-align: left; }
        }

/* ── Community sign-up popup (opened from the promo banner) ───────── */
@keyframes tkModalIn { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }

.sub-modal {
            position: fixed; inset: 0; z-index: 3200; display: flex; align-items: center; justify-content: center;
            padding: 20px; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(3px);
        }

.sub-modal[hidden] { display: none; }

.sub-modal__card {
            position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow-y: auto;
            background: var(--card-bg); color: var(--text-main); border-radius: 20px; padding: 36px 32px 30px;
            border-top: 5px solid var(--primary-red); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
            animation: tkModalIn 0.2s ease;
        }

.sub-modal__close {
            position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%;
            background: transparent; color: var(--text-muted); font-size: 1.7rem; line-height: 1; cursor: pointer;
        }

.sub-modal__close:hover { background: rgba(128, 128, 128, 0.18); color: var(--text-heading); }

.sub-modal h3 { margin: 0 0 8px; padding-right: 30px; font-size: 1.45rem; color: var(--text-heading); }

.sub-modal__lead { margin: 0 0 22px; font-size: 0.98rem; line-height: 1.6; color: var(--text-muted); }

.sub-modal label { display: block; margin-bottom: 7px; font-size: 0.9rem; font-weight: 700; color: var(--text-heading); }

.sub-modal input[type="email"] {
            width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--border-color); border-radius: 12px;
            background: var(--secondary-bg); color: var(--text-main); font: inherit; font-size: 1rem;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

.sub-modal input[type="email"]:focus {
            outline: none; border-color: var(--primary-red); box-shadow: 0 0 0 4px rgba(179, 32, 32, 0.16);
        }

.sub-modal__consent { display: flex; align-items: flex-start; gap: 12px; margin: 18px 0 22px; }

.sub-modal__consent input { flex: none; width: 19px; height: 19px; margin-top: 3px; accent-color: var(--primary-red); cursor: pointer; }

.sub-modal__consent label { margin: 0; font-size: 0.86rem; font-weight: 400; line-height: 1.55; color: var(--text-muted); cursor: pointer; }

.sub-modal__consent a { color: var(--primary-red); font-weight: 600; text-decoration: underline; }

.sub-modal__submit {
            width: 100%; padding: 15px 24px; border: 0; border-radius: 14px;
            background: linear-gradient(135deg, #d32f2f 0%, #8c1919 100%); color: #fff; font: inherit;
            font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 10px 26px rgba(179, 32, 32, 0.35);
            transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        }

.sub-modal__submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(179, 32, 32, 0.48); }

.sub-modal__submit:disabled { opacity: 0.65; cursor: wait; transform: none; }

.sub-modal__error {
            margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d32f2f;
            border-left-width: 5px; background: rgba(211, 47, 47, 0.09); color: var(--text-heading);
            font-size: 0.92rem; font-weight: 600;
        }

.sub-modal__error[hidden] { display: none; }

.sub-modal__code {
            display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px;
            padding: 16px 18px; border: 1.5px dashed var(--primary-red); border-radius: 12px; background: var(--secondary-bg);
            font-size: 0.9rem; color: var(--text-muted);
        }

.sub-modal__code[hidden] { display: none; }

.sub-modal__code strong { font-size: 1.35rem; letter-spacing: 0.08em; color: var(--primary-red); user-select: all; }

/* Bot trap: present for form-filling scripts, unreachable for people. */
.sub-modal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (max-width: 480px) {
            .sub-modal { align-items: flex-end; padding: 0; }
            .sub-modal__card { max-width: none; border-radius: 20px 20px 0 0; padding: 32px 22px 26px; }
        }
