/* ==========================================================================
   DESIGN SYSTÉM A GLOBÁLNÍ NASTAVENÍ (Posteel.cz)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Barevná paleta */
    --color-dark: #121212;
    --color-surface: #1E1E1E;
    --color-accent: #C5A467;
    --color-accent-hover: #B08D4F;
    --color-text-dark: #1A1A1A;
    --color-text-secondary: #555555;
    --color-text-light: #F5F5F7;
    --color-text-muted: #8E8E93;
    --color-bg-light: #F8F9FA;
    --color-white: #FFFFFF;
    --color-border: #E5E5EA;
    --color-success: #34C759;
    --color-success-bg: #E8F9EE;
    --color-danger: #FF3B30;

    /* Typografie */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Rozvržení */
    --container-width: 1200px;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    /* Stíny */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    
    /* Animace */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset stylů */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   POMOCNÉ TŘÍDY (Utilities)
   ========================================================================== */

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-text-light);
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

.w-100 { width: 100%; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.d-flex { display: flex; }
.gap-2 { gap: 10px; }
.gap-3 { gap: 15px; }
.flex-1 { flex: 1; }

/* Nadpisy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

.section-title {
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

.subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
}

/* ==========================================================================
   TLAČÍTKA (Buttons)
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 5px 15px rgba(197, 164, 103, 0.3);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

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

.btn-outline-light {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.btn-accent-outline {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

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

.btn-full {
    width: 100%;
}

.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-animated::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.6s ease-in-out;
}

.btn-animated:hover::after {
    left: 100%;
}

/* ==========================================================================
   HLAVIČKA A NAVIGACE (Header & Navigation)
   ========================================================================== */

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.logo span {
    color: var(--color-accent);
}

/* Navigace na PC */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: var(--color-text-secondary);
    position: relative;
    padding: 5px 0;
}

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

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent);
}

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

/* Košík / Poptávka */
.cart-icon {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-dark);
    color: var(--color-white) !important;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
}

.cart-icon:hover {
    background-color: var(--color-accent);
}

.cart-count {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 2px 7px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

.cart-icon:hover .cart-count {
    background: var(--color-dark);
}

/* Hamburger (Mobil) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition-normal);
}

/* Hamburger Animace do Křížku */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responzivní Menu */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: rgba(26, 26, 26, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        padding: 100px 40px 40px 40px;
        transform: translateX(100%);
        transition: var(--transition-normal);
        z-index: 1050;
        display: flex;
        flex-direction: column;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
    }

    .main-nav a {
        color: var(--color-text-light);
        font-size: 1.1rem;
        width: 100%;
        display: block;
    }
    
    .cart-icon {
        margin-top: auto;
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   HERO SEKCE (Hero Section)
   ========================================================================== */

.hero {
    height: 85vh;
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), 
                linear-gradient(to top, var(--color-dark) 0%, transparent 100%);
    z-index: -1;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 450px;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
}

/* ==========================================================================
   VÝHODY (Features Grid)
   ========================================================================== */

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

.feature-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--color-text-dark);
}

.feature-item p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   KATEGORIE (Categories Grid)
   ========================================================================== */

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

.cat-card {
    height: 350px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    display: block;
    box-shadow: var(--shadow-sm);
}

.cat-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.cat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.2) 60%, transparent 100%);
    z-index: 1;
    transition: var(--transition-normal);
}

.cat-card:hover .cat-bg {
    transform: scale(1.08);
}

.cat-card:hover::after {
    background: linear-gradient(to top, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.3) 70%, transparent 100%);
}

.cat-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
}

.cat-text h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ==========================================================================
   KATALOG PRODUKTŮ (Products Catalog)
   ========================================================================== */

.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: 30px;
}

.filter-btn:hover, 
.filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(197, 164, 103, 0.2);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.product-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.product-img {
    height: 280px;
    overflow: hidden;
    position: relative;
    background-color: var(--color-bg-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.6s ease;
}

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

.product-details {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-details h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-transform: none;
    font-weight: 600;
}

.product-details h3 a:hover {
    color: var(--color-accent);
}

.product-details .price {
    font-family: var(--font-heading);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 12px;
    display: block;
}

.product-details p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
    flex-grow: 1;
}

.product-item.hide {
    display: none;
}

/* ==========================================================================
   DETAIL PRODUKTU (Product Detail)
   ========================================================================== */

.product-detail-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.detail-gallery {
    position: sticky;
    top: 100px;
}

@media (max-width: 992px) {
    .detail-gallery {
        position: static;
    }
}

.main-image {
    width: 100%;
    height: 500px;
    object-fit: scale-down;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 15px;
}

@media (max-width: 576px) {
    .main-image {
        height: 300px;
    }
}

.thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 164, 103, 0.4) rgba(255, 255, 255, 0.05);
}

.thumbnails::-webkit-scrollbar {
    height: 6px;
}

.thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: rgba(197, 164, 103, 0.35);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.thumbnails::-webkit-scrollbar-thumb:hover {
    background: rgba(197, 164, 103, 0.6);
}

.thumb {
    width: 90px;
    height: 90px;
    object-fit: scale-down;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    flex-shrink: 0;
    
    /* Handle broken images gracefully without breaking layout */
    overflow: hidden;
    color: transparent;
    text-indent: -10000px;
}

.thumb:hover, 
.thumb.active {
    opacity: 1;
    border-color: var(--color-accent);
}

.detail-info {
    padding-top: 10px;
}

.detail-title {
    font-size: 2.75rem;
    margin-bottom: 10px;
    text-transform: none;
    font-weight: 800;
}

.detail-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 25px;
    display: block;
}

.detail-desc {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 35px;
    white-space: pre-line;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    background-color: var(--color-dark);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-large:hover {
    background-color: var(--color-accent);
}

.detail-benefits {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-benefits p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-benefits p::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .detail-benefits {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PROCES A SPOLUPRÁCE (Process Flow)
   ========================================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 35px 25px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 16px rgba(197, 164, 103, 0.3);
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ==========================================================================
   O NÁS (About Us Section)
   ========================================================================== */

.about-flex {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .about-flex {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-img {
        order: -1;
    }
}

.about-text h3 {
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.about-text p {
    color: var(--color-text-secondary);
    margin-bottom: 15px;
}

.history-section {
    margin-top: 40px;
    padding: 30px;
    background: var(--color-bg-light);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.history-section h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.benefits-list {
    list-style: none;
    margin-top: 25px;
}

.benefits-list li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
    font-weight: 600;
}

.benefits-list li::before {
    content: '✓';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: 800;
}

.about-img img {
    border-radius: var(--border-radius-md);
    box-shadow: 15px 15px 0px var(--color-accent);
}

@media (max-width: 992px) {
    .about-img img {
        box-shadow: 10px 10px 0px var(--color-accent);
    }
}

/* ==========================================================================
   RECENZE A HODNOCENÍ (Reviews Section)
   ========================================================================== */

.rating-overview {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: var(--border-radius-md);
    margin-bottom: 50px;
    align-items: center;
    border-left: 5px solid var(--color-accent);
    gap: 40px;
}

@media (max-width: 768px) {
    .rating-overview {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 30px;
        text-align: center;
    }
}

.rating-score {
    text-align: center;
    border-right: 1px solid var(--color-border);
    padding-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .rating-score {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-right: 0;
        padding-bottom: 30px;
    }
}

.big-number {
    font-size: 5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1;
}

.rating-score .stars {
    font-size: 1.5rem;
    margin: 10px 0;
}

.total-reviews {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bar-row {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.star-label {
    width: 45px;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.progress-bg {
    flex-grow: 1;
    height: 8px;
    background: #E5E5EA;
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 4px;
    transition: width 1s ease-out;
}

.count-label {
    width: 30px;
    text-align: right;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Filtr recenzí */
.reviews-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-chip {
    background: transparent;
    border: 1px solid var(--color-border);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.filter-chip.active, 
.filter-chip:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

/* Kolotoč recenzí */
.carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

@media (max-width: 576px) {
    .carousel-wrapper {
        padding: 0 35px;
    }
}

.reviews-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0 25px 0;
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.review-card-slide {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: center;
    background: var(--color-white);
    padding: 35px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-bottom: 4px solid var(--color-accent);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.review-card-slide:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-card-slide.hidden {
    display: none !important;
}

@media (max-width: 992px) {
    .review-card-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .review-card-slide {
        flex: 0 0 100%;
    }
}

.review-card-slide .stars {
    color: var(--color-accent);
    margin-bottom: 15px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-card-slide .review-text {
    font-style: italic;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.author-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.author-icon {
    background: var(--color-bg-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
}

.author-name {
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 5px;
    display: block;
}

/* Šipky */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(197, 164, 103, 0.3);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

@media (max-width: 576px) {
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* Formulář na recenze */
.review-form-container {
    max-width: 600px;
    margin: 0 auto 50px auto;
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: none;
}

.review-form-container.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.btn-toggle-review {
    display: block;
    margin: 0 auto 30px auto;
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-text-dark);
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: var(--transition-fast);
}

.btn-toggle-review:hover {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(197, 164, 103, 0.2);
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin-bottom: 25px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 2.25rem;
    color: #E5E5EA;
    cursor: pointer;
    padding: 0 5px;
    transition: var(--transition-fast);
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--color-accent);
}

/* ==========================================================================
   KONTAKT A FORMULÁŘE (Contact & Forms)
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-info h3, 
.contact-form-wrapper h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 10px;
}

.contact-info p {
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.info-item a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-accent);
}

.info-item a:hover {
    color: var(--color-accent-hover);
}

.map-container {
    margin-top: 35px;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

/* Formulář */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

.form-input,
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--color-bg-light);
    color: var(--color-text-dark);
    transition: var(--transition-fast);
}

.form-input:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(197, 164, 103, 0.1);
}

textarea.form-input,
.form-group textarea {
    resize: vertical;
}

#obsah-kosiku {
    background-color: #F2F2F7;
    color: #48484A;
    font-family: monospace;
    font-size: 0.85rem;
}

/* ==========================================================================
   PATIČKA (Footer)
   ========================================================================== */

footer {
    background-color: var(--color-dark);
    color: var(--color-text-muted);
    padding: 60px 0 30px 0;
    margin-top: auto;
    font-size: 0.9rem;
    border-top: 4px solid var(--color-accent);
}

footer p {
    color: var(--color-text-light);
}

footer a {
    color: var(--color-white);
}

footer a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   ANIMACE A SPECIÁLNÍ ÚČINKY (Animations & Effects)
   ========================================================================== */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.saw-wrapper {
    position: relative;
    width: 300px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Kotouč pily */
.saw-blade {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #555 20%, transparent 21%),
                conic-gradient(from 0deg, transparent 0deg 10deg, #aaa 10deg 20deg) repeat-x;
    background-size: 100% 100%;
    border-radius: 50%;
    border: 4px dashed #888;
    position: absolute;
    bottom: 39px;
    left: 0;
    animation: spin 0.4s linear infinite, cut-move 2.5s ease-in-out forwards;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    z-index: 2;
}

/* Prkno dřeva */
.wood-plank {
    width: 100%;
    height: 18px;
    background: #8B5A2B;
    border-radius: var(--border-radius-sm);
    position: absolute;
    bottom: 20px;
    overflow: hidden;
    border: 1px solid #5C3815;
}

/* Čára řezu */
.cut-line {
    height: 100%;
    width: 0%;
    background: var(--color-dark);
    animation: cutting 2.5s ease-in-out forwards;
}

.loading-text {
    color: var(--color-accent);
    font-family: var(--font-heading);
    margin-top: 40px;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: blink 1.5s infinite;
}

/* Scroll animace (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.cat-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.cat-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.process-step.reveal:nth-child(2) { transition-delay: 0.15s; }
.process-step.reveal:nth-child(3) { transition-delay: 0.3s; }
.process-step.reveal:nth-child(4) { transition-delay: 0.45s; }

/* Klíčové snímky */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cut-move {
    0% { left: 0; }
    100% { left: 80%; }
}

@keyframes cutting {
    0% { width: 0; }
    100% { width: 85%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Upozornění */
.alert-success {
    color: #155724;
    background-color: var(--color-success-bg);
    border: 1px solid #c3e6cb;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 25px;
    font-weight: 500;
}

/* Toast Oznámení */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1c1c1e;
    color: #f5f5f7;
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    border-left: 4px solid var(--color-accent);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.3rem;
    color: var(--color-accent);
    font-weight: bold;
}

.toast-message {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Interaktivní poptávkový košík na kontakt.html */
.cart-items-wrapper {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    max-height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-items-wrapper::-webkit-scrollbar {
    width: 6px;
}

.cart-items-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.cart-items-wrapper::-webkit-scrollbar-thumb {
    background: rgba(197, 164, 103, 0.3);
    border-radius: 3px;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 10px 14px;
    border-radius: 6px;
    gap: 15px;
    transition: all 0.2s ease;
}

.cart-item-row:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(197, 164, 103, 0.25);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.cart-item-price {
    font-size: 0.90rem;
    color: var(--color-accent);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--color-danger);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background-color: rgba(239, 68, 68, 0.15);
    transform: scale(1.15);
}

.cart-empty-state {
    text-align: center;
    color: var(--color-text-muted);
    padding: 30px 10px;
    font-style: italic;
    font-size: 0.95rem;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    margin-top: 5px;
    padding-top: 15px;
    font-weight: 700;
}

.cart-total-label {
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.cart-total-value {
    color: var(--color-accent);
    font-size: 1.15rem;
}