/* DESIGN SYSTÉM PRO TNG-SHOP */
/* Inspirováno webem zatopime.cz s důrazem na čistý kód, moderní vzhled a plynulé animace */

:root {
    /* Hlavní barvy značky z loga a designu */
    --primary-color: #c53539;
    /* Královská modrá z loga */
    --primary-hover: #df4246;
    /* Tmavší odstín modré */
    --secondary-color: #006bb6;
    /* Teplá červená/oranžová z loga */
    --secondary-hover: #005691;
    /* Tmavší odstín červené */
    --accent-green: #c53539;
    /* Světle zelená pro ekologii/dotace */
    --accent-green-dark: #c53539;

    /* Neutrální odstíny */
    --bg-white: #ffffff;
    --bg-light: #f5f5f8;
    /* Světle šedé pozadí sekcí */
    --bg-dark: #23272f;
    /* Tmavé pozadí patičky a prvků */
    --bg-darker: #171a20;
    /* Nejtmavší šedá/černá */
    --text-dark: #23272f;
    /* Hlavní barva textu */
    --text-muted: #576d76;
    /* Ztlumený text */
    --text-light: #ffffff;
    /* Bílý text */
    --border-color: #e1e1ea;
    /* Barva ohraničení */

    /* Typografie */
    --font-headings: 'Prompt', 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Ostatní parametry designu */
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --box-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --box-shadow-md: 0 8px 24px rgba(23, 26, 32, 0.08);
    --box-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Výška hlavičky */
    --header-height: 80px;
}

/* RESET A ZÁKLADNÍ NASTAVENÍ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* TYPOGRAFIE */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    color: var(--bg-darker);
    line-height: 1.25;
    font-weight: 700;
}

h1 strong,
h2 strong,
h3 strong {
    font-weight: 800;
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* POMOCNÉ TŘÍDY */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 24px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.green-text {
    color: var(--accent-green-dark) !important;
}

/* DROBKOVÁ NAVIGACE (BREADCRUMBS) */
.breadcrumbs {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: var(--text-muted);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

/* TLAČÍTKA */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    gap: 10px;
    text-align: center;
}

.btn svg,
.btn i {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 14px rgba(0, 107, 182, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 107, 182, 0.4);
}

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

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

.btn-full {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
}

/* HLAVIČKA (HEADER) */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(35, 39, 47, 0.95);
    /* Tmavá barva z patičky zatopime.cz */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-fast);
}

.header-container {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 48px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
}

.header-phone:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.header-phone i {
    width: 16px;
    height: 16px;
}

.cart-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 107, 182, 0.3);
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    transform: scale(1.05);
    background-color: var(--primary-hover);
}

.cart-btn.active {
    background-color: var(--primary-hover);
}

.cart-icon-wrapper {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(35, 39, 47, 0.95);
}

.mobile-nav-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SEKCE */
.hero-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 107, 182, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.9);
        opacity: 0.6;
    }
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    width: 100%;
}

.trust-icon-wrapper {
    background-color: rgba(0, 107, 182, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon {
    color: var(--primary-color);
    width: 20px;
    height: 20px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-lg);
}

.hero-floating-card {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 4px solid var(--accent-green);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.card-icon {
    color: var(--accent-green);
}

.card-icon i {
    width: 36px;
    height: 36px;
}

.hero-floating-card h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.hero-floating-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FILTRY A VYHLEDÁVÁNÍ PRODUKTŮ */
.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}

.category-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.search-sort-bar {
    display: flex;
    gap: 16px;
    flex-grow: 1;
    max-width: 500px;
    justify-content: flex-end;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-input-wrapper i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.search-input-wrapper input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 107, 182, 0.15);
}

.sort-select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
}

/* MŘÍŽKA PRODUKTŮ (PRODUCTS GRID) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-md);
    border-color: rgba(0, 107, 182, 0.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1D1E22;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--box-shadow-sm);
}

.product-img-wrapper {
    position: relative;
    padding-top: 75%;
    /* Poměr stran 4:3 */
    background-color: var(--bg-light);
    overflow: hidden;
    cursor: pointer;
}

.product-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
    font-family: var(--font-body);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    color: #ffb800;
    /* Zlatavá barva pro hvězdičky */
    font-size: 0.85rem;
}

.product-rating span {
    color: var(--text-muted);
    margin-left: 6px;
}

.product-price-wrapper {
    margin-top: auto;
    margin-bottom: 20px;
    background-color: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    flex-direction: column;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.price-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.standard-price {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.subsidy-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
}

.regular-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bg-darker);
}

.subsidy-info {
    font-size: 0.75rem;
    color: var(--accent-green-dark);
    font-weight: 600;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* SEKCE VÝHOD */
.benefits-section {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    border-top: 4px solid var(--primary-color);
    transition: all var(--transition-smooth);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--box-shadow-md);
}

.benefit-icon-wrapper {
    background-color: rgba(0, 107, 182, 0.08);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-icon-wrapper i {
    width: 32px;
    height: 32px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* SEKCE REFERENCÍ */
.installations-section {
    background-color: var(--bg-darker);
    color: var(--text-light);
}

.inverse-title {
    color: var(--text-light);
}

.inverse-p {
    color: rgba(255, 255, 255, 0.6);
}

.installations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobil - 2 sloupce */
    gap: 16px;
}

@media (min-width: 768px) {
    .installations-grid {
        grid-template-columns: repeat(3, 1fr); /* Tablet - 3 sloupce */
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .installations-grid {
        grid-template-columns: repeat(6, 1fr); /* Desktop - všech 6 v řadě */
        gap: 24px;
    }
}

.install-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--box-shadow-md);
}

.install-img-wrapper {
    position: relative;
    padding-top: 75%;
}

.install-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.install-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(23, 26, 32, 0.85);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

/* KONTAKTNÍ SEKCE A FORMULÁŘ */
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.c-icon {
    background-color: rgba(0, 107, 182, 0.08);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.c-icon i {
    width: 22px;
    height: 22px;
}

.contact-method-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-method-item strong {
    font-size: 1.15rem;
    color: var(--bg-darker);
}

.contact-form-wrapper {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bg-darker);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 107, 182, 0.15);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* DETAIL PRODUKTU (PRODUCT DETAIL PAGE) */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.detail-main-image {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    padding-top: 75%;
    position: relative;
}

.detail-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-family: var(--font-headings);
}

.detail-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.detail-purchase-row {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    background-color: var(--bg-light);
    height: 52px;
    padding: 0 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 700;
    box-shadow: var(--box-shadow-sm);
}

.qty-btn:hover {
    background-color: var(--border-color);
}

.qty-val {
    width: 40px;
    text-align: center;
    font-weight: 700;
}

.detail-trust-info {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
}

.trust-item i {
    color: var(--accent-green-dark);
    width: 20px;
    height: 20px;
}

/* TABULKA SPECIFIKACÍ */
.detail-specifications-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    display: inline-block;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.specifications-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specifications-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

.specifications-table td {
    padding: 14px 20px;
    font-size: 0.95rem;
}

.specifications-table td:first-child {
    font-weight: 700;
    color: var(--bg-darker);
    width: 35%;
}

.specifications-table td:last-child {
    color: var(--text-muted);
}

/* SAMOSTATNÁ STRÁNKA KOŠÍKU (CART PAGE) */
.cart-page-layout {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.cart-page-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item-row {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1.5fr 1fr 1fr auto;
    gap: 24px;
    align-items: center;
}

.cart-item-row img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    background-color: var(--bg-light);
}

.cart-item-info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cart-item-info span {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 700;
}

.cart-item-unit-price {
    font-size: 1rem;
    color: var(--text-muted);
}

.cart-item-total-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    text-align: right;
}

.cart-empty-message {
    text-align: center;
    padding: 60px 24px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: var(--box-shadow-sm);
}

.empty-icon {
    color: var(--text-muted);
}

/* SAMOSTATNÁ POKLADNA (CHECKOUT PAGE) */
.checkout-form {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.checkout-sections {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.checkout-form-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--box-shadow-sm);
}

.checkout-form-section h3 {
    font-size: 1.35rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.step-num {
    background-color: var(--primary-color);
    color: var(--text-light);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row:only-child,
.form-row .form-group:only-child {
    grid-template-columns: 1fr;
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.option-card:hover {
    border-color: rgba(0, 107, 182, 0.3);
    background-color: var(--bg-light);
}

.option-card input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--primary-color);
}

.option-details {
    display: flex;
    flex-direction: column;
}

.option-details strong {
    font-size: 0.95rem;
    color: var(--bg-darker);
}

.option-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.option-card.active {
    border-color: var(--primary-color);
    background-color: rgba(0, 107, 182, 0.04);
}

/* PANEL SHRNUTÍ V POKLADNĚ */
.checkout-summary-panel {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--box-shadow-sm);
}

.checkout-summary-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.summary-items {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 10px;
}

.summary-item-row span strong {
    color: var(--primary-color);
}

.summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.green-row {
    color: var(--accent-green-dark);
    font-weight: 500;
}

.total-row {
    border-top: 1px dashed var(--border-color);
    padding-top: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--bg-darker);
}

.checkout-submit-btn {
    height: 55px;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.security-badge i {
    width: 28px;
    height: 28px;
    color: var(--accent-green-dark);
    flex-shrink: 0;
}

/* DĚKOVACÍ STRÁNKA (SUCCESS SCREEN/CARD) */
.success-card {
    background-color: var(--bg-white);
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow-md);
    max-width: 600px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(33, 220, 107, 0.1);
    color: var(--accent-green-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon i {
    width: 44px;
    height: 44px;
}

.success-order-num {
    font-size: 1.1rem;
    background-color: var(--bg-light);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 24px;
}

.success-details {
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
}

.success-next-steps {
    margin-top: 24px;
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--border-radius-md);
}

.success-next-steps h4 {
    margin-bottom: 12px;
}

.success-next-steps ol {
    list-style-type: decimal;
    padding-left: 20px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-muted);
}

/* PATIČKA (FOOTER) */
.site-footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
}

.logo-svg-footer {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-cols {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 24px 50px 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 24px;
    font-family: var(--font-headings);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-light);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.9rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    margin-top: 16px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--border-radius-sm) 0 0 var(--border-radius-sm);
    font-size: 0.9rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    padding: 0 20px;
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.footer-legal-links a:hover {
    color: var(--text-light);
}

.footer-legal-links .divider {
    color: rgba(255, 255, 255, 0.2);
}

/* RESPONZIVITA (MEDIA QUERIES) */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-section h1 {
        font-size: 2.75rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-floating-card {
        left: 20px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cart-page-layout {
        grid-template-columns: 1fr;
    }

    .checkout-form {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
    }

    :root {
        --header-height: 70px;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        transition: left var(--transition-smooth);
        padding: 40px 24px;
        align-items: flex-start;
        z-index: 1000;
    }

    .main-navigation.open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.15rem;
        display: block;
        width: 100%;
    }

    .header-actions {
        gap: 12px;
    }

    .header-phone {
        display: none;
        /* Skryje se na malých telefonech, číslo je v patičce a kontaktu */
    }
}

@media (max-width: 768px) {

    .cart-item-row {
        grid-template-columns: 80px 1fr;
        gap: 16px;
    }

    .cart-item-row img {
        width: 80px;
        height: 80px;
    }

    .cart-item-unit-price {
        display: none;
        /* Skryje se na mobilu */
    }

    .cart-item-total-price {
        grid-column: 2;
        text-align: left;
        margin-top: 8px;
    }

    .cart-item-row button {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        align-self: start;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .success-card {
        padding: 30px 20px;
    }

    .success-card h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.25rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .checkout-form-section {
        padding: 20px;
    }
}