:root { 
    --primary: #00d2ff; 
    --bg-dark: #090a0f; 
    --bg-panel: #12141d; 
    --text-main: #f4f4f4; 
    --text-muted: #888888; 
    --radius-md: 12px; 
    --radius-sm: 8px; 
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; line-height: 1.6; }

/* ==========================================================================
   KAMPANJ & BLACK FRIDAY TOP-BANNER
   ========================================================================== */
.promo-topbar {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.9rem;
    z-index: 105;
    position: relative;
    text-align: center;
}
.promo-topbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.promo-pill {
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.76rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.promo-message {
    font-weight: 700;
}
.promo-countdown {
    font-family: monospace;
    font-weight: 900;
    font-size: 0.88rem;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.promo-cta-link {
    font-weight: 800;
    text-decoration: underline;
    font-size: 0.85rem;
    transition: 0.2s;
}
.promo-cta-link:hover { opacity: 0.85; }

/* Stil 1: Black Friday (Svart & Guld) */
.promo-style-blackfriday {
    background: linear-gradient(90deg, #050505 0%, #1c1605 50%, #050505 100%);
    border-bottom: 2px solid #ffd700;
    color: #ffffff;
}
.promo-style-blackfriday .promo-pill { background: #ffd700; color: #000; }
.promo-style-blackfriday .promo-countdown { color: #ffd700; border-color: rgba(255, 215, 0, 0.4); }
.promo-style-blackfriday .promo-cta-link { color: #ffd700; }

/* Stil 2: Röd Urgency / Rea */
.promo-style-urgent {
    background: linear-gradient(90deg, #8b0000 0%, #e30613 50%, #8b0000 100%);
    border-bottom: 1px solid #ff7b7b;
    color: #ffffff;
}
.promo-style-urgent .promo-pill { background: #ffffff; color: #b30000; }
.promo-style-urgent .promo-countdown { color: #fff; }
.promo-style-urgent .promo-cta-link { color: #ffffff; }

/* Stil 3: Butikens Temafärg */
.promo-style-brand {
    background: var(--primary);
    color: #000000;
}
.promo-style-brand .promo-pill { background: #000000; color: var(--primary); }
.promo-style-brand .promo-countdown { background: rgba(0,0,0,0.8); color: #fff; }
.promo-style-brand .promo-cta-link { color: #000000; }

/* Kampanj-prislapp på produktkort */
.promo-discount-tag {
    display: inline-block;
    background: #e30613;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.5px;
}

/* HEADER & MENY (CoolCharge Standard) */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 14px 4%; 
    gap: 15px;
    background: rgba(18, 20, 29, 0.85); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    border-bottom: 1px solid rgba(0, 210, 255, 0.2); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.logo { 
    font-size: 1.4rem; 
    font-weight: 900; 
    text-decoration: none; 
    color: #fff; 
    display: flex; 
    align-items: center; 
    flex-shrink: 0;
}
.logo img {
    max-height: 58px !important;
    width: auto;
}
nav ul { 
    list-style: none; 
    display: flex; 
    gap: 8px; 
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
nav a { 
    color: var(--text-main); 
    text-decoration: none; 
    text-transform: uppercase; 
    font-size: 0.78rem; 
    letter-spacing: 0.5px;
    font-weight: 700; 
    padding: 8px 13px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
    transition: all 0.25s ease; 
}
nav a:hover { 
    color: #000; 
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
}
.header-utils { 
    display: flex; 
    gap: 8px; 
    align-items: center; 
    flex-shrink: 0;
}
select { 
    background: #1a1d28; 
    color: white; 
    border: 1px solid #33384a; 
    padding: 7px 10px; 
    border-radius: 6px; 
    font-size: 0.82rem; 
    font-weight: 600;
    cursor: pointer; 
    outline: none;
}
select:hover { border-color: var(--primary); }
.cart-btn-nav { 
    background: rgba(0, 210, 255, 0.1); 
    color: white; 
    border: 1px solid var(--primary); 
    padding: 7px 14px; 
    cursor: pointer; 
    font-weight: bold; 
    border-radius: 6px; 
    transition: 0.25s; 
    white-space: nowrap;
}
.cart-btn-nav:hover { background: var(--primary); color: #000; }

/* HERO */
.hero { position: relative; text-align: center; padding: 160px 20px; background: linear-gradient(-45deg, #090a0f, #0a192f, #002845, #001220); background-size: 400% 400%; animation: coldBreeze 12s ease infinite; border-bottom: 1px solid rgba(0, 210, 255, 0.2); overflow: hidden; }
@keyframes coldBreeze { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(0, 210, 255, 0.12) 0%, transparent 40%); animation: pulseIce 5s ease-in-out infinite alternate; pointer-events: none; z-index: 1; }
@keyframes pulseIce { 0% { transform: scale(0.9); opacity: 0.5; } 100% { transform: scale(1.3); opacity: 1; } }
.hero h1 { position: relative; z-index: 2; font-size: 4.2rem; font-weight: 900; text-transform: uppercase; margin-bottom: 15px; color: #ffffff; text-shadow: 0 0 10px rgba(0, 210, 255, 0.8), 0 0 25px rgba(0, 210, 255, 0.5), 0 0 50px rgba(0, 210, 255, 0.3); letter-spacing: 3px; }
.hero p { position: relative; z-index: 2; font-size: 1.2rem; color: #b0c4de; margin-bottom: 35px; max-width: 600px; margin-inline: auto; }

/* FORDONSVÄLJARE PÅ STARTSIDAN */
.car-selector-section {
    max-width: 960px;
    margin: -45px auto 20px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}
.car-selector-box {
    background: var(--bg-panel);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md, 12px);
    padding: 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.65);
}
.car-badge {
    display: inline-block;
    background: rgba(0, 210, 255, 0.12);
    color: var(--primary);
    border: 1px solid var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.car-selector-box h2 {
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 6px;
}
.car-selector-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.car-select-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.car-select-grid select {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    background: var(--bg-dark);
    border: 1px solid #33384a;
    border-radius: 8px;
    color: #fff;
}
.car-result-card {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: left;
}
.car-specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2d3a;
    margin-bottom: 15px;
}
.car-specs-row small {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 4px;
}
.car-rec-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* PRODUKTKORT & GRID (CoolCharge Standard) */
.products { padding: 80px 5%; text-align: center; }
.products h2 { text-transform: uppercase; font-size: 2rem; margin-bottom: 50px; position: relative; display: inline-block; }
.products h2::after { content: ''; position: absolute; width: 50%; height: 3px; background: var(--primary); bottom: -10px; left: 25%; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.pricing-card { background: var(--bg-panel); border: 2px solid #333; border-radius: var(--radius-md, 12px); padding: 35px 25px 25px; position: relative; text-align: left; transition: 0.3s; display: flex; flex-direction: column; }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,210,255,0.1); }
.pricing-card.highlight { border-color: var(--primary); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #000; padding: 6px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.card-title { font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.card-subtitle { font-size: 0.85rem; color: var(--text-muted); }
.price-section { margin-bottom: 20px; }
.price-huge { font-size: 3rem; font-weight: 900; color: #fff; line-height: 1; }
.price-suffix { font-size: 0.9rem; color: var(--text-muted); font-weight: normal; }
.price-strikethrough { display: block; font-size: 0.95rem; color: #888; text-decoration: line-through; margin-top: 6px; font-weight: 600; }
.savings-box { background: rgba(0, 210, 255, 0.08); border-radius: 8px; padding: 15px; display: flex; align-items: center; gap: 12px; margin-bottom: 25px; border: 1px solid rgba(0, 210, 255, 0.2); }
.savings-text { font-size: 0.95rem; color: var(--primary); font-weight: bold; display: block; margin-bottom: 2px;}
.savings-sub { font-size: 0.8rem; color: #aaa; }
.specs-row { display: flex; gap: 20px; border-top: 1px solid #2a2d3a; border-bottom: 1px solid #2a2d3a; padding: 15px 0; margin-bottom: 25px; font-size: 0.85rem; color: #ccc; }
.specs-row div { display: flex; align-items: center; gap: 8px; }
.bullets { list-style: none; padding: 0; margin-bottom: 30px; flex-grow: 1; }
.bullets li { position: relative; padding-left: 25px; margin-bottom: 12px; font-size: 0.95rem; color: #ddd; }
.bullets li::before { content: '•'; color: var(--primary); position: absolute; left: 0; top: -2px; font-size: 1.5rem; line-height: 1;}
.add-to-cart-btn { width: 100%; background: var(--primary); color: #000; border: none; padding: 16px; font-size: 1.1rem; font-weight: 900; text-transform: uppercase; cursor: pointer; border-radius: var(--radius-sm, 8px); transition: 0.3s; box-shadow: 0 4px 15px rgba(0,210,255,0.2);}
.add-to-cart-btn:hover { background: #fff; transform: scale(1.02); }

/* Grundläggande styling för nya 3-kolumners footern */
.footer-brand-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin-bottom: 14px; max-width: 320px; }
.footer-contact-badge { display: inline-block; background: rgba(255,255,255,0.06); border: 1px solid var(--primary); padding: 8px 16px; border-radius: 20px; font-size: 0.84rem; color: #fff; font-weight: 700; text-decoration: none; transition: 0.25s; }
.footer-contact-badge:hover { background: var(--primary); color: #000; }

/* ==========================================================================
   AUTOMOTIVE DARK DESIGN-VARIANTER
   ========================================================================== */
body.brand-variant-carbon { 
    --bg-dark: #060a08; 
    --bg-panel: #0e1713; 
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 24px 24px;
}
body.brand-variant-carbon header {
    width: 95%;
    max-width: 1220px;
    margin: 14px auto 0;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(11, 19, 16, 0.92);
    border: 2px solid var(--primary);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(0, 255, 170, 0.12);
    top: 12px;
}
body.brand-variant-carbon nav ul {
    background: #060b09;
    padding: 5px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}
body.brand-variant-carbon nav a {
    border-radius: 25px;
    background: transparent;
    border: none;
    padding: 8px 16px;
}
body.brand-variant-carbon nav a:hover {
    background: var(--primary);
    color: #000;
}
body.brand-variant-carbon .hero { 
    background: radial-gradient(circle at top, #153226 0%, #060a08 80%); 
    border-bottom: 2px solid var(--primary); 
}
body.brand-variant-carbon .pricing-card { 
    border-radius: 26px; 
    border: 1px solid rgba(255,255,255,0.1); 
    border-top: 6px solid var(--primary); 
    background: linear-gradient(165deg, #13201b 0%, #090f0d 100%);
    box-shadow: 0 15px 35px rgba(0,0,0,0.55);
    text-align: center;
    padding: 30px 24px 24px;
}
body.brand-variant-carbon .pricing-card .card-header {
    flex-direction: column;
    text-align: center;
    gap: 14px;
}
body.brand-variant-carbon .pricing-card .card-img-box {
    width: 100% !important;
    height: 165px !important;
    border-radius: 18px !important;
    padding: 15px !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.15);
}
body.brand-variant-carbon .pricing-card .price-section {
    background: #060a08;
    border: 1px solid var(--primary);
    display: inline-block;
    margin: 0 auto 20px;
    padding: 10px 28px;
    border-radius: 40px;
}
body.brand-variant-carbon .pricing-card .specs-row { justify-content: center; }
body.brand-variant-carbon .pricing-card .bullets { text-align: left; }
body.brand-variant-carbon .add-to-cart-btn { border-radius: 40px; letter-spacing: 1.5px; }
body.brand-variant-carbon footer {
    background: #040706;
    border-top: 3px solid var(--primary);
    border-radius: 36px 36px 0 0;
    padding-top: 45px;
}
body.brand-variant-carbon .footer-col {
    background: rgba(255,255,255,0.025);
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}

body.brand-variant-racing { 
    --bg-dark: #0b0908; 
    --bg-panel: #161210; 
    --radius-md: 2px;
    --radius-sm: 2px;
}
body.brand-variant-racing header {
    background: repeating-linear-gradient(-45deg, #110d0c, #110d0c 12px, #161110 12px, #161110 24px);
    border-top: 5px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    padding: 16px 4%;
}
body.brand-variant-racing nav a {
    border-radius: 0;
    transform: skewX(-14deg);
    background: #1d1614;
    border: 1px solid #382a25;
    border-left: 4px solid var(--primary);
    font-style: italic;
    font-weight: 900;
}
body.brand-variant-racing nav a:hover {
    background: var(--primary);
    color: #000;
    transform: skewX(-14deg) scale(1.05);
}
body.brand-variant-racing .cart-btn-nav {
    border-radius: 0;
    transform: skewX(-10deg);
    background: var(--primary);
    color: #000;
    font-weight: 900;
}
body.brand-variant-racing .pricing-card { 
    border-radius: 0; 
    border: 2px solid #2e221e; 
    border-left: 6px solid var(--primary); 
    background: #14100e;
    padding-top: 45px;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
body.brand-variant-racing .pricing-card .card-header {
    flex-direction: column;
    align-items: flex-start;
}
body.brand-variant-racing .pricing-card .card-img-box {
    width: 100% !important;
    height: 150px !important;
    border-radius: 2px !important;
    border-bottom: 4px solid var(--primary);
}
body.brand-variant-racing .pricing-card .price-section {
    background: var(--primary);
    color: #000;
    padding: 8px 18px;
    display: inline-block;
    transform: skewX(-10deg);
    margin-bottom: 18px;
}
body.brand-variant-racing .pricing-card .price-huge,
body.brand-variant-racing .pricing-card .price-suffix {
    color: #000 !important;
    font-style: italic;
    font-weight: 900;
}
body.brand-variant-racing .pricing-card .price-strikethrough { color: #222 !important; }
body.brand-variant-racing .add-to-cart-btn { 
    border-radius: 0; 
    letter-spacing: 2px; 
    font-style: italic;
    transform: skewX(-8deg);
}
body.brand-variant-racing footer {
    background: repeating-linear-gradient(45deg, #070505, #070505 14px, #0d0a09 14px, #0d0a09 28px);
    border-top: 5px solid var(--primary);
}
body.brand-variant-racing .footer-col {
    border-left: 4px solid var(--primary);
    padding-left: 18px;
}

body.brand-variant-titanium { 
    --bg-dark: #0c1017; 
    --bg-panel: #171f2c; 
}
body.brand-variant-titanium header {
    flex-wrap: wrap;
    background: linear-gradient(180deg, #1c2536 0%, #101622 100%);
    border-bottom: 2px solid var(--primary);
    padding: 14px 5% 0;
    gap: 10px;
}
body.brand-variant-titanium nav {
    order: 3;
    width: calc(100% + 10%);
    margin-left: -5%;
    margin-right: -5%;
    background: #0a0e15;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 5%;
}
body.brand-variant-titanium nav ul { justify-content: center; gap: 12px; }
body.brand-variant-titanium nav a {
    border-radius: 6px;
    background: linear-gradient(180deg, #232d42 0%, #161d2b 100%);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 8px 18px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}
body.brand-variant-titanium nav a:hover { background: var(--primary); color: #000; }
body.brand-variant-titanium .pricing-card { 
    background: linear-gradient(180deg, #1f293a 0%, #121824 100%); 
    border: 1px solid rgba(255,255,255,0.22); 
    border-bottom: 5px solid var(--primary);
    border-radius: 14px; 
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 12px 30px rgba(0,0,0,0.5);
}
body.brand-variant-titanium .pricing-card .card-header {
    background: rgba(0, 0, 0, 0.28);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}
body.brand-variant-titanium .pricing-card .card-img-box {
    width: 90px !important;
    height: 90px !important;
    border-radius: 10px !important;
    border: 2px solid var(--primary);
}
body.brand-variant-titanium .pricing-card .price-section {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    background: #0c1017;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
body.brand-variant-titanium footer {
    background: linear-gradient(180deg, #141b26 0%, #090c12 100%);
    border-top: 2px solid rgba(255,255,255,0.2);
}
body.brand-variant-titanium .footer-col {
    border-right: 1px solid rgba(255,255,255,0.08);
    padding-right: 20px;
}
body.brand-variant-titanium .footer-col:last-child { border-right: none; }

/* ENSKILD PRODUKTSIDA */
.product-container { max-width: 1200px; margin: 80px auto; padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; min-height: 50vh;}
.product-image { background: #fff; border-radius: 12px; padding: 20px; display: flex; justify-content: center; align-items: center; border: 1px solid #333; }
.product-image img { max-width: 100%; max-height: 500px; border-radius: 8px; object-fit: contain; }
.product-info h1 { font-size: 2.5rem; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; }
.product-price { font-size: 2rem; font-weight: bold; color: #fff; margin-bottom: 20px; }
.product-desc { font-size: 1.1rem; color: #ccc; margin-bottom: 30px; }
.trust-badges { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; justify-content: flex-start; border-top: 1px solid #2a2d3a; padding-top: 25px;}
.badge-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #ddd; background: rgba(0, 210, 255, 0.05); border: 1px solid rgba(0, 210, 255, 0.2); padding: 10px 15px; border-radius: 6px; font-weight: bold; }

/* CLP / UN2037 SÄKERHETSRUTA PÅ PRODUKTSIDAN */
.clp-hazard-box {
    margin-top: 22px;
    padding: 15px;
    background: rgba(227, 6, 19, 0.07);
    border: 1px solid rgba(227, 6, 19, 0.35);
    border-left: 4px solid #e30613;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.clp-hazard-box strong { display: block; color: #ff6b6b; font-size: 0.9rem; margin-bottom: 4px; }
.clp-hazard-box p { color: #cbd5e1; font-size: 0.8rem; line-height: 1.45; margin: 0; }

/* SUPPORTSIDA */
.container { max-width: 900px; margin: 50px auto; padding: 0 20px; min-height: 60vh;}
.container h1 { text-align: center; margin-bottom: 50px; font-size: 2.5rem; text-transform: uppercase; color: var(--primary); }
.container h2 { font-size: 1.8rem; margin: 40px 0 20px; border-bottom: 1px solid #333; padding-bottom: 10px; color: #fff; }
.step { background: var(--bg-panel); padding: 20px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid var(--primary); }
.step h3 { color: var(--primary); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.step-number { background: var(--primary); color: #000; width: 25px; height: 25px; display: flex; justify-content: center; align-items: center; border-radius: 50%; font-weight: bold; font-size: 0.9rem; }
table { width: 100%; border-collapse: collapse; margin-bottom: 30px; background: var(--bg-panel); border-radius: 8px; overflow: hidden; }
th, td { padding: 15px; text-align: left; border-bottom: 1px solid #222; }
th { background: #1a1c23; color: var(--primary); text-transform: uppercase; }
tr:last-child td { border-bottom: none; }
.warning-box { background: rgba(255, 77, 77, 0.1); border-left: 4px solid #ff4d4d; padding: 15px; border-radius: 4px; margin-bottom: 20px; font-size: 0.9rem; }
.faq-item { margin-bottom: 20px; background: var(--bg-panel); padding: 20px; border-radius: 8px; }
.faq-item h3 { color: #fff; margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { color: var(--text-muted); font-size: 0.95rem; }

/* VARUKORG & FORMULÄR */
.cart-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 999; display: none; opacity: 0;}
.cart-overlay.active { display: block; opacity: 1; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 400px; max-width: 100%; height: 100dvh; background: var(--bg-panel); z-index: 1000; padding: 20px; display: flex; flex-direction: column; transition: right 0.3s; border-left: 2px solid var(--primary); overflow-y: auto; }
.cart-drawer.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 15px; }
.close-cart { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: visible; margin-bottom: 15px; }
.cart-item { display: flex; justify-content: space-between; margin-bottom: 15px; background: #1a1c23; padding: 10px; border-radius: 4px; }
.item-remove { color: #ff4d4d; cursor: pointer; font-size: 0.8rem; margin-top: 5px; }
.cart-footer { border-top: 1px solid #333; padding-top: 15px; padding-bottom: 80px; }
.co-input { width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 4px; border: 1px solid #444; background: #222; color: #fff; outline: none; font-family: inherit; }
.co-input::placeholder { color: #888; }
.co-input:focus { border-color: var(--primary); }
.co-btn { width: 100%; background: var(--primary); color: #000; font-weight: bold; padding: 12px; border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; text-transform: uppercase;}
.co-btn:hover { background: #fff; }

/* FOOTER & MODAL */
footer { background: #050505; padding: 50px 5% 20px; border-top: 1px solid #222; margin-top: 50px;}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-bottom: 30px;}
.footer-col h4 { text-transform: uppercase; margin-bottom: 15px; color: white; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.footer-col ul a:hover { color: var(--primary); }
.modal { display: none; position: fixed; top:0; left:0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center;}
.modal-content { background: var(--bg-panel); padding: 30px; width: 90%; max-width: 600px; border-radius: 8px; border: 1px solid var(--primary); max-height: 80vh; overflow-y: auto;}

/* MOBIL-ANPASSNING */
@media (max-width: 820px) { 
    header { 
        flex-wrap: wrap; 
        padding: 12px 15px; 
        gap: 10px; 
        justify-content: space-between; 
    } 
    body.brand-variant-carbon header {
        border-radius: 24px;
        padding: 12px 16px;
    }
    .logo img { max-height: 44px !important; }
    nav { 
        order: 3; 
        width: 100%; 
        overflow-x: auto;
        padding-bottom: 2px;
    } 
    nav ul { 
        flex-wrap: nowrap; 
        justify-content: flex-start; 
        gap: 6px;
    }
    nav a {
        font-size: 0.72rem;
        padding: 6px 11px;
    }
    .hero h1 { font-size: 2.4rem; } 
    .product-container { grid-template-columns: 1fr; margin: 40px auto; } 
    .car-select-grid { grid-template-columns: 1fr; }
    .car-rec-action { flex-direction: column; text-align: center; }
    .car-rec-action a { width: 100% !important; text-align: center; }
    body.brand-variant-titanium .footer-col { border-right: none; padding-right: 0; }
}
