/*
Theme Name: 3Djk template
Theme URI: https://www.3djk-servis.cz/
Description: Moderní, ultrarychlá custom šablona pro servis a 3D tisk. [cite: 926] Dark-mode, tech-design.
Version: 1.0
Text Domain: 3djk-template
*/

:root {
    /* --- ZÁKLADNÍ PALETA (Prusa-style) --- */
    --brand-green: #30b310;
    --brand-green-hover: #26910c;
    --bg-dark: #0f1115;
    --bg-card: #1a1d24;
    
    /* --- TYPOGRAFIE A TEXTY --- */
    --text-light: #e0e0e0;
    --text-white: #ffffff;
    --text-muted: #999999;
    
    /* --- NOVÉ FONTY --- */
    --font-main: 'Inter', sans-serif; /* Čistý text */
    --font-heading: 'Space Grotesk', sans-serif; /* Tech nadpisy */
}


/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   HLAVIČKA A NAVIGACE
   ========================================== */

/* --- Top bar s kontakty --- */
.top-bar {
    background-color: var(--bg-card);
    border-bottom: 1px solid #282c37;
    padding: 8px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar strong {
    color: var(--brand-green);
}

/* --- Hlavní Header --- */
header {
    background-color: var(--bg-dark);
    border-bottom: 1px solid #282c37;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span {
    color: var(--brand-green);
}

/* Menu navigace */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--brand-green);
}

/* Primární tlačítko */
.btn-primary {
    background-color: var(--brand-green);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, transform 0.1s ease;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--brand-green-hover);
    transform: translateY(-1px);
}

/* ==========================================
   HERO SEKCE (Moderní Dark-Mode styl)
   ========================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Větší odsazení zleva, aby to lícovalo s logem jako na návrhu */
    padding: 100px 5% 100px 8%; 
    background-color: var(--bg-dark); /* Čistě tmavé pozadí z vaší palety */
    min-height: 85vh; /* Vyšší sekce pro moderní vzhled */
    gap: 60px;
    overflow: hidden; /* Aby nám velký obrázek nepřetékal */
    
}

.hero-content {
    flex: 1;
    max-width: 550px; /* Omezení šířky textu pro lepší čitelnost */
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem; /* Masivní nadpis podle návrhu */
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--text-white);
    letter-spacing: -1px; /* Moderní těsnější proklad písmen */
}

.hero-content h1 span {
    color: var(--brand-green);
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Úprava tlačítek pro masivnější vzhled */
.btn-primary {
    background-color: var(--brand-green);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--brand-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--brand-green);
    box-shadow: 0 0 20px rgba(48, 179, 16, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    padding: 14px 32px;
    border: 1px solid #444; /* Jemný šedý okraj */
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Pravá část s obrázkem tiskárny */
.hero-image {
    flex: 1.2; /* Dáme obrázku trochu více prostoru než textu */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.hero-photo {
    width: 100%;
    max-width: 850px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    
    /* Původní 3D stín */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    
    /* CSS maska pro plynulé ztracení na všech 4 okrajích */
    -webkit-mask-image: 
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-composite: source-in;
    
    mask-image: 
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-composite: intersect;
}



/* ==========================================
   FORMULÁŘOVÁ SEKCE
   ========================================== */
.service-form-section {
    padding: 80px 5%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-dark);
}

.form-container {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #282c37;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 10px;
    text-align: center;
}

.form-container .highlight {
    color: var(--brand-green);
}

.form-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Rozložení formuláře */
.custom-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 250px;
}

/* Inputy, Selecty a Textarea */
.form-group label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    background-color: #0f1115; /* Ještě tmavší pozadí pro input */
    border: 1px solid #333;
    border-radius: 4px;
    padding: 12px 15px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}


/* Focus efekt (Prusa zelená) */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(48, 179, 16, 0.2);
}

/* Soubor input */
.file-upload-group input[type="file"] {
    padding: 10px 0;
    color: var(--text-muted);
    text-align: center;
}

/* Odesílací tlačítko přes celou šířku */
.btn-submit {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
}

/* --- VÝRAZNĚJŠÍ POD-ZÁLOŽKY (SUB-TABS) --- */
.sub-tabs { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 30px; 
}
.sub-tab-btn { 
    flex: 1; 
    background: #0f1115; 
    color: var(--text-muted); 
    border: 1px solid #2a2e39; 
    padding: 16px 20px; 
    font-size: 1rem; 
    font-weight: 700; 
    cursor: pointer; 
    border-radius: 6px; 
    text-transform: uppercase; 
    transition: all 0.3s ease; 
    text-align: center;
}
.sub-tab-btn:hover { 
    background: rgba(48, 179, 16, 0.05); 
    border-color: #444; 
    color: #fff; 
}
.sub-tab-btn.active { 
    background: rgba(48, 179, 16, 0.1); 
    color: var(--brand-green); 
    border-color: var(--brand-green); 
    box-shadow: 0 0 15px rgba(48, 179, 16, 0.15); 
}

/* ==========================================
   STRÁNKA: SERVIS
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 5%;
}

.text-center { text-align: center; }
.highlight { color: var(--brand-green); }

/* Hero pro podstránky */
.page-hero {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
    padding: 80px 5% 60px;
    text-align: center;
    border-bottom: 1px solid #282c37;
}

.page-hero h1 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-perex {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Značky (Grid) */
.brands-section {
    padding: 80px 0;
    padding-bottom: 20px;
    background-color: var(--bg-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 15px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding-bottom: 60px;
}

.brand-card {
    background-color: var(--bg-card);
    border: 1px solid #282c37;
    padding: 25px 15px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.brand-logo-img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo-img {
    filter: grayscale(0%) opacity(1);
}

.brand-name {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s;
}

.brand-card:hover {
    border-color: var(--brand-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.brand-card:hover .brand-name {
    color: var(--brand-green);
}

/* ==========================================
   STRÁNKA: SERVIS - Výhody
   ========================================== */
.features-section {
    padding: 60px 0 80px;
    background-color: #0b0c0f; /* Temné pozadí podle referenčního kódu */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-box {
    padding: 30px;
    background-color: var(--bg-card); /* Pozadí karty */
    border-radius: 8px;
    border-top: 3px solid var(--brand-green);
    display: flex;
    flex-direction: column;
    align-items: center; /* Vycentrování obsahu karty */
    text-align: center;
}

/* Nahrazujeme .feature-icon-placeholder pro fotky místo malých ikon */
.feature-icon-placeholder {
    width: 250px; /* Plná šířka pro obrázky */
    max-width: 250px; /* Maximální šířka fotky */
    height: auto; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon-placeholder img {
    width: 100%; /* Obrázek vyplní svůj kontejner */
    height: auto; /* Zachování poměru stran */
    object-fit: cover; /* Lepší zarovnání, aby obrázek neřezal */
    border-radius: 6px; /* Lehce zakulacené rohy pro moderní vzhled */
    filter: brightness(0.8) contrast(1.1); /* Mírné úpravy pro "tech-look" */
    transition: filter 0.3s ease, transform 0.3s ease; /* Plynulý přechod na hover */
}

.feature-box:hover .feature-icon-placeholder img {
    filter: brightness(1) contrast(1.2); /* Osvětlení na najetí */
    transform: scale(1.05); /* Jemné zvětšení obrázku */
}

.feature-box h3 {
    color: var(--text-white); /* Světlý nadpis */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-box p {
    color: var(--text-muted); /* Tlumený popis */
    font-size: 0.95rem;
}

/* CTA Sekce */
.cta-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    border-top: 1px solid #282c37;
}

.cta-section h2 {
    color: var(--text-white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-large {
    font-size: 1.1rem;
    padding: 15px 35px;
}

/* ==========================================
   STRÁNKA: UPGRADE A VYLEPŠENÍ
   ========================================== */

/* Upgrades grid (3 sloupce na PC) */
.upgrades-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.upgrade-card {
    background-color: var(--bg-card);
    border: 1px solid #282c37;
    padding: 40px 30px;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Jemný světelný efekt při přejetí myší */
.upgrade-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.upgrade-card:hover {
    transform: translateY(-5px);
    border-color: #333;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(48, 179, 16, 0.05);
}

.upgrade-card:hover::before {
    transform: scaleX(1);
}

/* Kontejner pro ikonu (místo původního textového .upgrade-icon) */
.upgrade-icon-box {
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    display: block; /* Zarovnání vlevo podle grafického návrhu */
}

/* Samotný obrázek ikony */
.upgrade-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Efekt mírného zvětšení při najetí na kartu */
.upgrade-card:hover .upgrade-icon-img {
    transform: scale(1.1);
}

.upgrade-card h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.upgrade-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Sekce typů tiskáren (Flex boxy) */
.types-section {
    padding: 20px 0 80px;
    background-color: var(--bg-dark);
}

.types-flex {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.type-box {
    flex: 1;
    background: linear-gradient(135deg, #11141a 0%, #0b0d10 100%);
    border: 1px solid #282c37;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.type-box h3 {
    color: var(--brand-green);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.type-box p {
    color: var(--text-light);
}

/* ==========================================
   STRÁNKA: ZAKÁZKOVÝ TISK
   ========================================== */

/* Technologie FDM / SLA rozložení */
.technologies-section {
    padding: 60px 0;
    background-color: #0b0c0f;
}

.tech-split {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tech-card {
    display: flex;
    background-color: var(--bg-card);
    border: 1px solid #282c37;
    border-radius: 8px;
    overflow: hidden;
    flex-direction: column;
}

@media (min-width: 768px) {
    .tech-card {
        flex-direction: row;
        align-items: stretch;
    }
    .tech-card:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.tech-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-right: 1px solid #282c37;
    filter: brightness(0.8) contrast(1.2); /* Tech look na fotky */
}

@media (min-width: 768px) {
    .tech-photo {
        width: 40%;
        height: auto;
    }
    .tech-card:nth-child(even) .tech-photo {
        border-right: none;
        border-left: 1px solid #282c37;
    }
}

.tech-content {
    padding: 40px;
    flex: 1;
}

.tech-content h3 {
    color: var(--brand-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.tech-content p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

.materials-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.materials-list li {
    color: var(--text-muted);
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.materials-list li::before {
    content: '▪';
    color: var(--brand-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.materials-list li strong {
    color: var(--text-white);
}

/* Proces (Timeline) */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.process-step {
    padding: 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #0f1115;
    border: 2px solid var(--brand-green);
    color: var(--brand-green);
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px rgba(48, 179, 16, 0.2);
}

.process-step h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* ==========================================
   WOOCOMMERCE DARK MODE STYLY
   ========================================== */

/* --- Produkty v gridu (Kategorie & Obchod) --- */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    gap: 25px !important;
    margin: 30px 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce ul.products li.product {
    background-color: var(--bg-card) !important;
    border: 1px solid #282c37 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    text-align: center !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.woocommerce ul.products li.product:hover {
    border-color: var(--brand-green) !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
}

.woocommerce ul.products li.product img {
    border-radius: 6px !important;
    margin-bottom: 15px !important;
    max-height: 200px !important;
    object-fit: contain !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--text-white) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
}

.woocommerce ul.products li.product .price {
    color: var(--brand-green) !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .button {
    background-color: var(--brand-green) !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 10px 15px !important;
    border: none !important;
    transition: all 0.2s !important;
}

.woocommerce ul.products li.product .button:hover {
    background-color: var(--brand-green-hover) !important;
    box-shadow: 0 0 15px rgba(48, 179, 16, 0.4) !important;
}

/* --- TABULKY (Košík & Pokladna) --- */
.woocommerce table.shop_table {
    background-color: var(--bg-card) !important;
    border: 1px solid #282c37 !important;
    border-radius: 8px !important;
    color: var(--text-light) !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}

.woocommerce table.shop_table th {
    background-color: #0f1115 !important;
    color: var(--brand-green) !important;
    font-family: var(--font-heading) !important;
    border-bottom: 1px solid #282c37 !important;
    padding: 15px !important;
    text-transform: uppercase !important;
}

.woocommerce table.shop_table td {
    border-bottom: 1px solid #282c37 !important;
    padding: 15px !important;
    color: var(--text-light) !important;
}

.woocommerce table.shop_table td.product-name a {
    color: var(--text-white) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--brand-green) !important;
}

/* --- FORMULÁŘOVÉ PRVKY V POKLADNĚ A KOŠÍKU --- */
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select {
    background-color: #0f1115 !important;
    border: 1px solid #2a2e39 !important;
    color: var(--text-white) !important;
    padding: 12px 15px !important;
    border-radius: 4px !important;
    font-family: var(--font-main) !important;
}

.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
    border-color: var(--brand-green) !important;
    outline: none !important;
}

.woocommerce label {
    color: var(--text-muted) !important;
    font-weight: 600 !important;
    margin-bottom: 5px !important;
}

/* --- TLAČÍTKA A NOTIFIKACE --- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input[type="submit"] {
    background-color: var(--brand-green) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    padding: 12px 25px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--brand-green-hover) !important;
    box-shadow: 0 0 20px rgba(48, 179, 16, 0.4) !important;
}

/* Zprávy / Hlášky (Info, Error, Success) */
.woocommerce-message, 
.woocommerce-info, 
.woocommerce-error {
    background-color: var(--bg-card) !important;
    border-top: 3px solid var(--brand-green) !important;
    color: var(--text-light) !important;
    border-radius: 4px !important;
    padding: 15px 20px !important;
    margin-bottom: 25px !important;
}

.woocommerce-error {
    border-top-color: #ff4c4c !important;
}

/* Součty v košíku (Cart totals) */
.woocommerce .cart-collaterals .cart_totals {
    background-color: var(--bg-card) !important;
    border: 1px solid #282c37 !important;
    padding: 25px !important;
    border-radius: 8px !important;
    color: var(--text-light) !important;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    color: var(--text-white) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    margin-bottom: 20px !important;
}

/* ==========================================
   KOŠÍK V HLAVIČCE A AKCE
   ========================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-cart {
    position: relative;
    color: var(--text-light);
    transition: color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-cart:hover {
    color: var(--brand-green);
    transform: translateY(-2px);
}

.header-cart svg {
    width: 26px;
    height: 26px;
}

/* Zelený bublinový odznak s číslem */
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--brand-green);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(48, 179, 16, 0.4);
}




/* ==========================================
   RESPONZIVITA / MEDIA QUERIES (Bootstrap logika)
   ========================================== */

/* --- MAX 992px (Tablety a menší monitory - lg/md zlom) --- */
@media screen and (max-width: 992px) {
    /* Hero sekce: Text a obrázek pod sebou */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 5%;
        gap: 30px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        width: 100%;
        margin-top: 20px;
    }
    
    /* Zmenšení masivních nadpisů pro menší monitory */
    .hero-content h1, .page-hero h1 {
        font-size: 2.8rem;
    }
    
    /* Formulář - přepínače */
    .tabs {
        flex-direction: column;
        gap: 15px;
    }
    
    .tab-btn {
        padding: 20px 15px;
    }
    
    .tab-btn img {
        width: 100px;
        height: 100px;
    }
}

/* --- MAX 768px (Běžné mobilní telefony - md/sm zlom) --- */
@media screen and (max-width: 768px) {
    /* Top bar: vycentrujeme kontakty a zabalíme pod sebe */
    .top-bar {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }
    
    /* Hlavička a navigace: Menu se zabalí pod logo */
    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Akce v hlavičce (Košík, poptávka) */
    .header-actions {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Zmenšení nadpisů pro mobily */
    .hero-content h1, .page-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2, .cta-section h2, .form-container h2 {
        font-size: 1.8rem;
    }
    
    /* Formuláře: Vše do jednoho sloupce */
    .form-container {
        padding: 25px 15px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Úprava odsazení na všech podstránkách */
    .upgrades-section, .brands-section, .features-section, .technologies-section, .process-section, .cta-section, .types-section {
        padding: 50px 0;
    }
    
    /* Zjednodušení karty pro technologie (tisk) */
    .tech-content {
        padding: 25px 20px;
    }
    
    .tech-content h3 {
        font-size: 1.5rem;
    }
    
    /* Timeline (Proces) na mobilu - zarovnáme vlevo místo centrování */
    .process-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .process-step {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        padding: 10px 0;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
    
    .process-step h4 {
        margin-top: 10px;
        margin-bottom: 5px;
    }
}

/* --- MAX 480px (Velmi úzké displeje - sm/xs zlom) --- */
@media screen and (max-width: 480px) {
    /* Další zmenšení fontů pro nejmenší obrazovky */
    .hero-content h1, .page-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p, .hero-perex {
        font-size: 1rem;
    }
    
    /* Tlačítka přes celou šířku obrazovky */
    .btn-primary, .btn-secondary, .btn-large {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        display: block; /* Ujistí se, že tlačítko zabere celý řádek */
    }
    
    /* Zmenšení vnitřního paddingu u všech karet (ušetří místo) */
    .upgrade-card, .type-box, .feature-box, .brand-card, .tech-content {
        padding: 20px 15px;
    }
}

