/* ==========================================================================
   CEHA.CZ - Zahradni domky a chatky
   Redesign: Clean + Warm (lesni zelena + teply pisek)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Primary — lesni zelena */
    --c-primary: #2d6a4f;
    --c-primary-dark: #1b4332;
    --c-primary-light: #52b788;

    /* Accent — teply pisek */
    --c-accent: #f7f3ee;
    --c-accent-dark: #e8dfd4;
    --c-accent-warm: #c9a96e;

    /* Neutraly */
    --c-text: #2c2c2c;
    --c-text-light: #6b6b6b;
    --c-bg: #fafaf8;
    --c-white: #ffffff;
    --c-black: #1a1a1a;
    --c-success: #2d6a4f;
    --c-error: #c44536;
    --c-warning: #e6a52c;

    /* Typografie */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.8125rem;
    --font-size-sm: 0.9375rem;
    --font-size-base: 1.0625rem;
    --font-size-lg: 1.1875rem;
    --font-size-xl: 1.375rem;
    --font-size-2xl: 1.625rem;
    --font-size-3xl: 2.125rem;
    --font-size-4xl: 2.75rem;
    --font-size-5xl: 3.25rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-open {
    overflow: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Focus visible */
*:focus-visible {
    outline: 3px solid var(--c-primary-light);
    outline-offset: 2px;
    border-radius: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Skip to content */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--c-primary);
    color: var(--c-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--border-radius);
    z-index: 9999;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.skip-to-content:focus {
    top: var(--space-md);
    color: var(--c-white);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-text);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

.text-center { text-align: center; }
.text-light { color: var(--c-text-light); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-5xl) 0;
}

.section--accent {
    background-color: var(--c-accent);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__subtitle {
    font-size: var(--font-size-lg);
    color: var(--c-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .grid--4,
    .grid--3,
    .grid--2 {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--c-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.header > .container {
    height: 100%;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-lg);
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: var(--space-sm);
}

.header__logo img {
    height: 40px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
    justify-content: flex-end;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    height: 100%;
}

.nav__link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--c-text);
    padding: var(--space-sm) 0;
    position: relative;
    white-space: nowrap;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-primary);
    transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--c-primary);
}

/* Nav items */
.nav__item {
    position: relative;
}

.nav__item--dropdown {
    position: relative;
}

/* Parent link (button) */
.nav__link--parent {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--font-size-sm);
    color: var(--c-text);
    padding: var(--space-sm) 0;
    position: relative;
    line-height: inherit;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.nav__link--parent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-primary);
    transition: width var(--transition-base);
}

.nav__link--parent:hover::after {
    width: 100%;
}

.nav__link--parent:hover {
    color: var(--c-primary);
}

/* Chevron */
.nav__chevron {
    width: 12px;
    height: 12px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.nav__item--open .nav__chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: var(--c-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    z-index: 100;
    list-style: none;
    margin: 0;
}

@media (min-width: 769px) {
    .nav__item--dropdown:hover .nav__dropdown,
    .nav__item--dropdown:focus-within .nav__dropdown,
    .nav__item--open .nav__dropdown {
        opacity: 1;
        visibility: visible;
    }

    .nav__item--dropdown:hover .nav__chevron,
    .nav__item--dropdown:focus-within .nav__chevron {
        transform: rotate(180deg);
    }
}

.nav__dropdown-link {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    color: var(--c-text);
    font-size: var(--font-size-sm);
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.nav__dropdown-link:hover {
    background: var(--c-accent);
    color: var(--c-primary);
}

.nav__dropdown-link--all {
    font-weight: 600;
    color: var(--c-primary);
    border-bottom: 1px solid var(--c-accent-dark);
    margin-bottom: var(--space-xs);
    padding-bottom: var(--space-sm);
}

/* Header actions (phone + CTA + hamburger) */
.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--c-text);
    font-weight: 600;
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.header__phone:hover {
    color: var(--c-primary);
}

.header__phone svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

.header__phone-text {
    display: inline;
}

@media (min-width: 769px) {
    .header__phone {
        display: none;
    }
}

.header__cta {
    display: inline-flex;
}

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    padding: var(--space-sm);
    min-height: 48px;
    min-width: 48px;
    align-items: center;
    justify-content: center;
}

.nav__toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--c-text);
    transition: var(--transition-base);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .header__cta {
        display: none !important;
    }

    .header__phone-text {
        display: none;
    }

    .header__phone svg {
        width: 24px;
        height: 24px;
    }

    .nav {
        flex: 0;
    }

    .nav__list {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        background: var(--c-white);
        padding: var(--space-xl);
        gap: 0;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    .nav--open .nav__list {
        transform: translateX(0);
    }

    .nav__link {
        font-size: var(--font-size-lg);
        padding: var(--space-md) 0;
        border-bottom: 1px solid var(--c-accent-dark);
    }

    .nav__item {
        border-bottom: 1px solid var(--c-accent-dark);
    }

    .nav__link--parent {
        font-size: var(--font-size-lg);
        padding: var(--space-md) 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav__link--parent::after {
        display: none;
    }

    .nav__dropdown {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transition: max-height var(--transition-base);
        background: var(--c-accent);
        margin: 0 calc(-1 * var(--space-xl));
        padding: 0 var(--space-xl);
        min-width: 0;
    }

    .nav__item--open .nav__dropdown {
        max-height: 400px;
        padding-top: var(--space-sm);
        padding-bottom: var(--space-sm);
    }

    .nav__dropdown-link {
        font-size: var(--font-size-base);
        padding: var(--space-sm) 0;
    }

    .nav__dropdown-link--all {
        margin-bottom: 0;
        padding-bottom: var(--space-sm);
    }

    .nav__item > .nav__link {
        display: block;
        font-size: var(--font-size-lg);
        padding: var(--space-md) 0;
    }

    /* Mobile CTA in menu */
    .nav__mobile-cta {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        padding-top: var(--space-xl);
        margin-top: var(--space-md);
        border-top: 2px solid var(--c-accent-dark);
    }

    .nav__mobile-cta .btn {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }
}

@media (min-width: 769px) {
    .nav__mobile-cta {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   6. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    min-height: 48px;
}

.btn--primary {
    background: var(--c-primary);
    color: var(--c-white);
}

.btn--primary:hover {
    background: var(--c-primary-dark);
    color: var(--c-white);
}

.btn--secondary {
    background: transparent;
    color: var(--c-primary);
    border-color: var(--c-primary);
}

.btn--secondary:hover {
    background: var(--c-primary);
    color: var(--c-white);
}

.btn--white {
    background: var(--c-white);
    color: var(--c-primary);
}

.btn--white:hover {
    background: var(--c-accent);
    color: var(--c-primary-dark);
}

.btn--outline-white {
    background: transparent;
    color: var(--c-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    background: var(--c-white);
    color: var(--c-primary);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--font-size-lg);
    min-height: 56px;
}

.btn--small {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
    min-height: 40px;
}

.btn--full {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    margin-top: var(--header-height);
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide--active {
    opacity: 1;
}

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

/* Tmavsi overlay pro citelnost textu */
.hero__slider::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(27, 67, 50, 0.7) 0%,
        rgba(27, 67, 50, 0.4) 50%,
        rgba(27, 67, 50, 0.15) 100%
    );
    pointer-events: none;
}

/* Dots navigace */
.hero__dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: var(--space-sm);
}

.hero__dot {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__dot::after {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--c-white);
    background: transparent;
    transition: background-color 0.3s ease;
}

.hero__dot--active::after {
    background: var(--c-white);
}

.hero__dot:hover::after {
    background: rgba(255, 255, 255, 0.6);
}

.hero__dot--active:hover::after {
    background: var(--c-white);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--c-white);
    padding: var(--space-4xl) 0;
}

.hero__title {
    font-size: var(--font-size-5xl);
    color: var(--c-white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: var(--font-size-xl);
    opacity: 0.9;
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }

    .hero__title {
        font-size: var(--font-size-3xl);
    }

    .hero__subtitle {
        font-size: var(--font-size-lg);
    }

    .hero__buttons {
        flex-direction: column;
    }

    .hero__buttons .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   8. Trust Strip
   -------------------------------------------------------------------------- */
.trust-strip {
    background: var(--c-white);
    border-bottom: 1px solid var(--c-accent-dark);
}

.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-2xl) var(--space-md);
    border-right: 1px solid var(--c-accent-dark);
}

.trust-strip__item:last-child {
    border-right: none;
}

.trust-strip__number {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.trust-strip__label {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

@media (max-width: 768px) {
    .trust-strip__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-strip__item {
        padding: var(--space-lg) var(--space-md);
    }

    .trust-strip__item:nth-child(2) {
        border-right: none;
    }

    .trust-strip__item:nth-child(1),
    .trust-strip__item:nth-child(2) {
        border-bottom: 1px solid var(--c-accent-dark);
    }
}

/* --------------------------------------------------------------------------
   9. Category Card (landscape)
   -------------------------------------------------------------------------- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.category-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.category-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-card:hover .category-card__bg img {
    transform: scale(1.05);
}

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.category-card__content {
    position: relative;
    z-index: 2;
    padding: var(--space-2xl);
    color: var(--c-white);
    width: 100%;
}

.category-card__title {
    font-size: var(--font-size-2xl);
    color: var(--c-white);
    margin-bottom: var(--space-xs);
}

.category-card__count {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* --------------------------------------------------------------------------
   10. Product Card (homepage + related)
   -------------------------------------------------------------------------- */
.product-card {
    background: var(--c-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--c-accent);
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card__badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background: var(--c-accent-warm);
    color: var(--c-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.product-card__content {
    padding: var(--space-lg);
}

.product-card__category {
    font-size: var(--font-size-xs);
    color: var(--c-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.product-card__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__title a {
    color: inherit;
}

.product-card__title a:hover {
    color: var(--c-primary);
}

.product-card__specs {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

.product-card__spec {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--c-accent-dark);
}

.product-card__price {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--c-primary);
}

.product-card__price--inquiry {
    font-size: var(--font-size-base);
    color: var(--c-text-light);
}

/* --------------------------------------------------------------------------
   10b. Product Tile (katalog - vetsi s metadaty)
   -------------------------------------------------------------------------- */
.product-tile {
    display: block;
    background: var(--c-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
}

.product-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.product-tile__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--c-accent);
}

.product-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease, transform var(--transition-slow);
}

.product-tile__image .product-tile__image--hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-tile:hover .product-tile__image img {
    transform: scale(1.05);
}

.product-tile:hover .product-tile__image--hover {
    opacity: 1;
}

.product-tile__info {
    padding: var(--space-lg);
}

.product-tile__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tile__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.product-tile__tag {
    padding: 2px var(--space-sm);
    background: var(--c-accent);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 500;
}

.product-tile__desc {
    font-size: var(--font-size-xs);
    color: var(--c-text-light);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tile__price {
    font-family: var(--font-heading);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   11. Filters & Filter Pills
   -------------------------------------------------------------------------- */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--c-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--c-accent-dark);
    align-items: flex-end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.filter-group__label {
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--c-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-group select,
.filter-group input {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--c-accent-dark);
    border-radius: var(--border-radius);
    background: var(--c-white);
    min-width: 180px;
    min-height: 44px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--c-primary);
}

/* Category pills */
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-pill {
    padding: var(--space-sm) var(--space-lg);
    background: var(--c-white);
    border: 1px solid var(--c-accent-dark);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.filter-pill:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
}

.filter-pill.active {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}

/* Active filter tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    align-items: center;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background: var(--c-accent);
    border-radius: 999px;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.active-filter-tag:hover {
    background: var(--c-accent-dark);
}

.active-filter-tag__close {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0.6;
}

.active-filters__reset {
    font-size: var(--font-size-sm);
    color: var(--c-primary);
    cursor: pointer;
    font-weight: 600;
    background: none;
    border: none;
    padding: var(--space-xs) var(--space-sm);
}

.active-filters__reset:hover {
    text-decoration: underline;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.filter-tag {
    padding: var(--space-sm) var(--space-md);
    background: var(--c-white);
    border: 1px solid var(--c-accent-dark);
    border-radius: 999px;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tag:hover,
.filter-tag.active {
    background: var(--c-primary);
    color: var(--c-white);
    border-color: var(--c-primary);
}

@media (max-width: 768px) {
    /* Kompaktní filtry — 2-sloupcový grid */
    .filters {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
        padding: var(--space-md);
    }

    /* Řazení na celou šířku */
    .filter-group:last-child {
        grid-column: 1 / -1;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        min-width: 0;
    }

    /* Filter pills — scrollovatelné s fade indikátorem vpravo */
    .filter-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-sm);
        -webkit-overflow-scrolling: touch;
        mask-image: linear-gradient(to right, black calc(100% - 2rem), transparent);
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 2rem), transparent);
    }
}

/* --------------------------------------------------------------------------
   12. Product Detail
   -------------------------------------------------------------------------- */
.product-detail {
    margin-top: var(--header-height);
    padding: var(--space-xl) 0 var(--space-2xl);
}

.product-detail__grid {
    display: grid;
    grid-template-columns: 55fr 45fr;
    gap: var(--space-3xl);
}

@media (max-width: 992px) {
    .product-detail__grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    /* Rozpad kontejnerů — děti se stanou přímé flex items gridu */
    .product-detail__left,
    .product-info {
        display: contents !important;
    }

    /* Pořadí: název+cena → galerie → pills+specs → includes → popis → CTA */
    .product-info__category { order: 1; margin-bottom: 0; }
    .product-info__title { order: 2; margin-bottom: var(--space-xs); }
    .product-info__price { order: 3; margin-bottom: var(--space-xs); font-size: var(--font-size-2xl); }
    .product-gallery { order: 4; margin-top: var(--space-sm); }
    .spec-pills { order: 5; margin-top: var(--space-sm); margin-bottom: 0; }
    .product-specs { order: 6; margin-bottom: 0; }
    .product-includes { order: 7; grid-template-columns: 1fr; }
    .product-description { order: 8; }
    .product-cta { order: 9; }
}

/* Levý sloupec (galerie + výhody + popis) */
.product-detail__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

/* Gallery */
.product-gallery {}

.product-gallery__main {
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--c-accent);
    position: relative;
}

.product-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.product-gallery__counter {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    background: rgba(0, 0, 0, 0.6);
    color: var(--c-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.product-gallery__thumbs {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-sm);
}

.product-gallery__thumb {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color var(--transition-fast);
    background: none;
    padding: 0;
}

.product-gallery__thumb.active,
.product-gallery__thumb:hover {
    border-color: var(--c-primary);
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info__category {
    display: inline-block;
    font-size: var(--font-size-xs);
    color: var(--c-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-sm);
}

.product-info__title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
    line-height: 1.15;
}

.product-info__price {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--c-primary);
    margin-bottom: var(--space-xl);
}

.product-info__price-note {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
    font-weight: 400;
}

/* Spec pills (inline) */
.spec-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.spec-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--c-accent);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

/* Product includes */
.product-includes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--c-accent);
    border-radius: var(--border-radius-lg);
}

.product-includes__title {
    grid-column: 1 / -1;
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.product-includes__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--c-text);
}

.product-includes__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* CTA Box */
.product-cta {
    background: var(--c-primary);
    color: var(--c-white);
    padding: var(--space-lg);
    border-radius: var(--border-radius-lg);
}

.product-cta__title {
    font-size: var(--font-size-lg);
    color: var(--c-white);
    margin-bottom: var(--space-md);
}

.product-cta__buttons {
    display: flex;
    gap: var(--space-md);
}

@media (max-width: 640px) {
    .product-cta__buttons {
        flex-direction: column;
    }
}

/* Specs table (full-width section) */
.product-specs-section {
    background: var(--c-accent);
    padding: var(--space-3xl) 0;
}

.product-specs {
    margin-bottom: var(--space-xl);
}

.product-specs__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.product-specs__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md) var(--space-3xl);
}

@media (max-width: 640px) {
    .product-specs__grid {
        grid-template-columns: 1fr;
    }
}

.product-specs__row {
    display: flex;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--c-accent-dark);
}

.product-specs__label {
    flex: 0 0 140px;
    font-weight: 600;
    color: var(--c-text-light);
    font-size: var(--font-size-sm);
}

.product-specs__value {
    flex: 1;
    font-size: var(--font-size-base);
}

/* Product description */
.product-description {}

.product-description__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-lg);
}

.product-description__content {
    color: var(--c-text-light);
    line-height: 1.8;
    max-width: var(--container-narrow);
}

.product-description__seo {
    font-size: var(--font-size-base);
    color: var(--c-text);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.product-description__content ul {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.product-description__content li {
    list-style: disc;
    margin-bottom: var(--space-xs);
}

/* --------------------------------------------------------------------------
   13. Contact Form
   -------------------------------------------------------------------------- */
.contact-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--c-text);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid var(--c-accent-dark);
    border-radius: var(--border-radius);
    background: var(--c-white);
    transition: border-color var(--transition-fast);
    min-height: 48px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--c-primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--c-text-light);
    opacity: 0.6;
}

.form-message {
    padding: var(--space-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-lg);
}

.form-message--success {
    background: rgba(45, 106, 79, 0.1);
    color: var(--c-success);
    border: 1px solid var(--c-success);
}

.form-message--error {
    background: rgba(196, 69, 54, 0.1);
    color: var(--c-error);
    border: 1px solid var(--c-error);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--c-primary-dark);
    color: var(--c-white);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 992px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer__logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__desc {
    opacity: 0.8;
    font-size: var(--font-size-sm);
    line-height: 1.7;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--c-white);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    padding: var(--space-xs) 0;
}

.footer__links a:hover {
    color: var(--c-white);
}

.footer__contact-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.75);
}

.footer__contact-item a {
    color: inherit;
}

.footer__contact-item a:hover {
    color: var(--c-white);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: var(--font-size-sm);
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   15. Utilities
   -------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

/* Reveal animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   16. Contact Page
   -------------------------------------------------------------------------- */
.contact-page {
    margin-top: var(--header-height);
    padding: var(--space-3xl) 0;
}

.contact-page__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

@media (max-width: 992px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
    }
}

.contact-info__title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
}

.contact-info__text {
    color: var(--c-text-light);
    margin-bottom: var(--space-2xl);
}

.contact-info__item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    background: var(--c-accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon svg {
    width: 24px;
    height: 24px;
    fill: var(--c-primary);
}

.contact-info__label {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
    margin-bottom: var(--space-xs);
}

.contact-info__value {
    font-size: var(--font-size-lg);
    font-weight: 600;
}

.contact-info__value a {
    color: var(--c-text);
}

.contact-info__value a:hover {
    color: var(--c-primary);
}

/* Map */
.contact-map {
    margin-top: var(--space-2xl);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------------------------------
   17. 404 Page
   -------------------------------------------------------------------------- */
.page-404 {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
}

.page-404__title {
    font-size: 8rem;
    color: var(--c-primary);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.page-404__subtitle {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-lg);
}

.page-404__text {
    color: var(--c-text-light);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

/* --------------------------------------------------------------------------
   18. Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

.breadcrumb__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.breadcrumb__item::after {
    content: '/';
    opacity: 0.5;
}

.breadcrumb__item:last-child::after {
    display: none;
}

.breadcrumb__link {
    color: var(--c-text-light);
}

.breadcrumb__link:hover {
    color: var(--c-primary);
}

/* --------------------------------------------------------------------------
   19. Loading & Empty states
   -------------------------------------------------------------------------- */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    color: var(--c-text-light);
}

.loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--c-accent-dark);
    border-top-color: var(--c-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: var(--space-4xl);
    color: var(--c-text-light);
}

.empty-state__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    opacity: 0.5;
}

.empty-state__title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
}

/* --------------------------------------------------------------------------
   20. Products Grid
   -------------------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.products-header__count {
    color: var(--c-text-light);
    font-size: var(--font-size-sm);
}

.products-header__sort {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.products-header__sort label {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

.products-header__sort select {
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--c-accent-dark);
    border-radius: var(--border-radius);
    background: var(--c-white);
    min-height: 44px;
}

/* Featured products grid (homepage) */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   21. CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    color: var(--c-white);
}

.cta-section__title {
    font-size: var(--font-size-3xl);
    color: var(--c-white);
    margin-bottom: var(--space-md);
}

.cta-section__text {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.cta-section__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Contact strip (compact CTA) */
.contact-strip {
    background: var(--c-primary);
    padding: var(--space-3xl) 0;
}

.contact-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.contact-strip__text {
    color: var(--c-white);
}

.contact-strip__title {
    font-size: var(--font-size-2xl);
    color: var(--c-white);
    margin-bottom: var(--space-xs);
}

.contact-strip__subtitle {
    opacity: 0.85;
    font-size: var(--font-size-base);
}

.contact-strip__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-strip__phone {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--c-white);
}

.contact-strip__phone:hover {
    color: var(--c-white);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-strip__inner {
        flex-direction: column;
        text-align: center;
    }

    .contact-strip__actions {
        flex-direction: column;
        width: 100%;
    }

    .contact-strip__actions .btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   22. Why CEHA Section
   -------------------------------------------------------------------------- */
.why-section {
    padding: var(--space-5xl) 0;
}

.why-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 768px) {
    .why-section__grid {
        grid-template-columns: 1fr;
    }
}

.why-section__image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.why-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-section__title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-lg);
}

.why-section__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.why-section__item {
    display: flex;
    gap: var(--space-md);
}

.why-section__icon {
    width: 48px;
    height: 48px;
    background: var(--c-accent);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-section__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--c-primary);
    fill: none;
    stroke-width: 2;
}

.why-section__item-title {
    font-size: var(--font-size-base);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.why-section__item-text {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

/* --------------------------------------------------------------------------
   23. Features/Benefits (legacy, ale keep for compatibility)
   -------------------------------------------------------------------------- */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

@media (max-width: 992px) {
    .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .features { grid-template-columns: 1fr; }
}

.feature {
    text-align: center;
    padding: var(--space-xl);
}

.feature__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    background: var(--c-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature__icon svg {
    width: 32px;
    height: 32px;
    fill: var(--c-primary);
}

.feature__title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
}

.feature__text {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

/* --------------------------------------------------------------------------
   24. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox__counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.lightbox__close {
    position: absolute;
    top: var(--space-xl);
    right: var(--space-xl);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-size: var(--font-size-2xl);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    font-size: var(--font-size-xl);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox__nav--prev {
    left: var(--space-xl);
}

.lightbox__nav--next {
    right: var(--space-xl);
}

/* --------------------------------------------------------------------------
   25. Products Slider (legacy, kept for compatibility)
   -------------------------------------------------------------------------- */
.products-slider {
    position: relative;
    overflow: hidden;
}

.products-slider__track {
    display: flex;
    gap: var(--space-xl);
    transition: transform 0.5s ease;
}

.products-slider__track .product-card {
    flex: 0 0 calc((100% - 2 * var(--space-xl)) / 3);
    min-width: 0;
}

@media (max-width: 992px) {
    .products-slider__track .product-card {
        flex: 0 0 calc((100% - var(--space-xl)) / 2);
    }
}

@media (max-width: 640px) {
    .products-slider__track .product-card {
        flex: 0 0 100%;
    }
}

.products-slider__nav {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.products-slider__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    cursor: pointer;
    border: none;
}

.products-slider__btn:hover {
    background: var(--c-primary);
    color: var(--c-white);
}

.products-slider__btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* --------------------------------------------------------------------------
   Vizualizér — zasazení domku do fotky zahrady (AI)
   -------------------------------------------------------------------------- */

.viz-section {
    margin-top: var(--space-3xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--c-accent-dark);
}

.viz-section__title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: var(--space-sm);
}

.viz-section__desc {
    color: var(--c-text-light);
    margin-bottom: var(--space-xl);
}

/* Upload dropzone */
.viz-upload__dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-2xl) var(--space-xl);
    background: var(--c-accent);
    border: 2px dashed var(--c-accent-dark);
    border-radius: var(--radius-lg, 12px);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    text-align: center;
}

.viz-upload__dropzone:hover,
.viz-upload__dropzone.viz-upload__dropzone--active {
    border-color: var(--c-primary);
    background: var(--c-accent-dark);
}

.viz-upload__icon {
    width: 48px;
    height: 48px;
    color: var(--c-primary);
}

.viz-upload__text {
    font-weight: 600;
    color: var(--c-text);
}

.viz-upload__text-small {
    font-size: var(--font-size-sm);
    color: var(--c-text-light);
}

.viz-upload__formats {
    font-size: var(--font-size-xs);
    color: var(--c-text-light);
    margin-top: var(--space-xs);
}

/* Preview */
.viz-upload__preview {
    position: relative;
    margin-top: var(--space-lg);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    max-width: 600px;
}

.viz-upload__preview img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg, 12px);
}

.viz-upload__remove {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--c-white);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.viz-upload__remove:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Tlačítko Vizualizovat */
.viz-upload__btn {
    margin-top: var(--space-lg);
}

.viz-upload__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading */
.viz-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-2xl) 0;
}

.viz-loading__text {
    color: var(--c-text-light);
    text-align: center;
    line-height: 1.6;
}

/* Výsledek */
.viz-result {
    margin-top: var(--space-lg);
}

.viz-result img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.viz-result__actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

/* Error */
.viz-error {
    padding: var(--space-lg);
    background: #fef2f2;
    border: 1px solid var(--c-error);
    border-radius: var(--radius-lg, 12px);
    margin-top: var(--space-lg);
}

.viz-error__text {
    color: var(--c-error);
    margin-bottom: var(--space-md);
}

/* Responsive */
@media (max-width: 640px) {
    .viz-upload__dropzone {
        padding: var(--space-xl) var(--space-md);
    }

    .viz-result__actions {
        flex-direction: column;
    }

    .viz-result__actions .btn {
        width: 100%;
        text-align: center;
    }
}
