﻿/* --- ZÁKLADNÍ STYLY --- */
:root {
    --primary: #f6c90e; /* Medově žlutá */
    --primary-light: #fff8e1; /* Světlá krémová */
    --dark: #3e2723; /* Tmavě hnědá */
    --white: #ffffff;
    --text: #333333;
    --red: #e31e24; /* Červená barva kytičky */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.6;
}

/* --- HLAVIČKA A NAVIGACE --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo img {
        height: 50px;
        width: auto;
    }

.logo-flip {
    transform: scaleX(-1);
}

.vcela-logo {
    font-family: 'Fredoka', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: -1px;
    white-space: nowrap;
}

.flower-o {
    height: 0.85em;
    margin: 0 2px;
    vertical-align: middle;
}

.red-part {
    fill: var(--red);
    transition: fill 0.3s;
}

.white-part {
    fill: #fff;
}

nav > ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

    nav a:hover {
        color: var(--primary);
    }

/* --- ANIMACE KOŠÍKU --- */
@keyframes colorPulse {
    0% {
        color: var(--dark);
    }

    50% {
        color: var(--primary);
    }

    100% {
        color: var(--dark);
    }
}

@keyframes flowerPulse {
    0% {
        fill: var(--red);
    }

    50% {
        fill: var(--primary);
    }

    100% {
        fill: var(--red);
    }
}

.cart-active {
    animation: colorPulse 2s infinite ease-in-out;
}

    .cart-active .replacement-flower .red-part {
        animation: flowerPulse 2s infinite ease-in-out;
    }

.letter-box {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    width: 14px;
    height: 1.2em;
    vertical-align: text-bottom;
}

.static-o {
    display: inline-block;
}

.replacement-flower {
    display: none;
    height: 1.1em;
    margin: 0;
    margin-top: -2px;
    margin-right: 1px;
}

.cart-active .static-o {
    display: none;
}

.cart-active .replacement-flower {
    display: inline-block;
}

/* --- DROPDOWN --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
    padding: 10px 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1001;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 5px 5px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    list-style: none;
}

    .dropdown-content li {
        width: 100%;
    }

    .dropdown-content a {
        color: var(--dark);
        padding: 12px 16px;
        text-transform: none;
        display: block;
        text-align: left;
        border-bottom: 1px solid #f1f1f1;
    }

        .dropdown-content a:hover {
            background-color: var(--primary-light);
            color: var(--primary);
        }

.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content {
    display: block;
}

/* --- HERO SEKCE --- */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/pictures/www.vcela-produkt.cz_main.gif'), #5D4037;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 10px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero p {
        font-size: 1.3rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

/* --- GRADIENTY A SEKCE --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

#about {
    background: linear-gradient(to bottom, #ffffff 0%, #fff8e1 100%);
    padding: 40px 0;
}

#products {
    background: linear-gradient(to bottom, #fff8e1 0%, #fff0c7 100%);
    padding: 40px 0;
}

#blog {
    background: linear-gradient(to bottom, #fff0c7 0%, #ffffff 100%);
    padding: 50px 0;
}

#order {
    background: linear-gradient(to bottom, #ffffff 0%, #fff8e1 100%);
    padding: 40px 0;
}

h2 {
    text-align: center;
    color: var(--dark);
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}

    h2::after {
        content: '';
        display: block;
        width: 50%;
        height: 4px;
        background: var(--primary);
        margin: 10px auto 0;
        border-radius: 2px;
    }

.section-title-wrapper {
    text-align: center;
    width: 100%;
}

h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-top: 0;
    padding-top: 0px;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

hr {
    border: 0;
    border-top: 1px solid rgba(62, 39, 35, 0.1);
    margin: 50px 0;
}

/* Popisky pod nadpisy kategorií */
.category-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- GRID PRO SEKCI O NÁS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify;
}

.exhibition-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

    .exhibition-card:hover {
        transform: translateY(-5px);
    }

.exhibition-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--red);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
}

.exhibition-card h3 {
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 1.6rem;
    color: var(--dark);
    text-transform: uppercase;
}

.exhibition-date {
    font-weight: bold;
    color: var(--red);
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: block;
}

.exhibition-place {
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    display: block;
}

.exhibition-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #eee;
    background-color: #f9f9f9;
}

/* --- BLOG GRID & STYLES --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
    transition: max-height 0.5s ease;
}

    /* LOGIKA PRO SKRÝVÁNÍ ŘAD (RESPONZIVNÍ) */
    .blog-grid.collapsed .blog-card:nth-child(n+2) {
        display: none;
    }

@media (min-width: 690px) {
    .blog-grid.collapsed .blog-card:nth-child(n+2) {
        display: flex;
    }

    .blog-grid.collapsed .blog-card:nth-child(n+3) {
        display: none;
    }
}

@media (min-width: 1020px) {
    .blog-grid.collapsed .blog-card:nth-child(n+3) {
        display: flex;
    }

    .blog-grid.collapsed .blog-card:nth-child(n+4) {
        display: none;
    }
}

.blog-load-more {
    text-align: center;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

.blog-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #eee;
}

    .blog-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.blog-title {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.3;
}

.blog-excerpt {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--dark);
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    align-self: flex-start;
    text-transform: uppercase;
    font-size: 0.85rem;
}

    .btn-outline:hover {
        background: var(--primary);
    }

/* BLOG MODAL */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    background: white;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    position: relative;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

.modal-header {
    position: relative;
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    .close-modal:hover {
        background: var(--primary);
    }

.modal-body {
    padding: 40px;
}

    .modal-body h2 {
        text-align: left;
        margin-top: 0;
        padding: 0;
        font-size: 1.8rem;
    }

        .modal-body h2::after {
            margin: 10px 0 0 0;
            width: 60px;
        }

.modal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- PRODUKTY GRID --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

#accessories-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(62, 39, 35, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.5);
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(246, 201, 14, 0.3);
    }

.product-img {
    height: 250px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: background-color 0.3s ease;
    overflow: hidden;
    position: relative;
    padding-top: 10px;
    box-sizing: border-box;
}

    .product-img img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
        mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent), linear-gradient(to bottom, transparent, black 30px, black calc(100% - 30px), transparent);
        mask-composite: intersect;
        -webkit-mask-image: linear-gradient(to right, transparent, black 30px, black calc(100% - 30px), transparent), linear-gradient(to bottom, transparent, black 30px, black calc(100% - 30px), transparent);
        -webkit-mask-composite: source-in;
    }

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--dark);
}

.product-short-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.4;
}

.product-price {
    font-size: 1.4rem;
    color: var(--dark);
    font-weight: bold;
    margin: 10px 0;
}

.product-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    flex-grow: 1;
}

.price-select {
    margin-bottom: 10px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
}

.btn {
    background-color: var(--primary);
    color: var(--dark);
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    width: 100%;
    transition: background 0.3s;
    margin-top: auto;
}

    .btn:hover {
        background-color: #fdd835;
    }

.btn-secondary {
    background-color: #eee;
    color: var(--dark);
    border: 1px solid #ccc;
    margin-top: 10px;
}

    .btn-secondary:hover {
        background-color: #ddd;
    }

/* --- VÝBĚR MNOŽSTVÍ (PRODUKTY) --- */
.add-to-cart-wrapper {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    flex-shrink: 0; /* <--- TOTO JE KLÍČOVÉ: Zabrání zmáčknutí bloku */
}

/* Pro jistotu pojistíme i to, aby se nesmrskla samotná malá tlačítka */
.qty-btn-inline {
    background: #f9f9f9;
    border: none;
    padding: 10px 12px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0; /* <--- Pojistka */
    display: flex;
    align-items: center;
    justify-content: center;
}

    .qty-btn-inline:hover {
        background: #eee;
        color: var(--primary);
    }

.qty-control .qty-input {
    width: 35px;
    border: none;
    border-radius: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: var(--dark);
    padding: 10px 0;
    font-family: inherit;
    /* Skrytí nativních šipek v prohlížečích */
    -moz-appearance: textfield;
}

    .qty-control .qty-input:focus {
        outline: none;
        background: var(--primary-light);
    }

    .qty-control .qty-input::-webkit-outer-spin-button,
    .qty-control .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.product-card .add-to-cart-wrapper .btn {
    margin-top: 0;
    flex-grow: 1;
    padding: 12px 10px; /* Trochu zmenšíme padding, aby se to na mobilu vešlo */
}

/* --- STYLY PRO KARUSEL A LIGHTBOX --- */
.carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    margin-top: 20px;
    cursor: grab;
    touch-action: pan-y;
}

    .carousel-wrapper:active {
        cursor: grabbing;
    }

.carousel-track {
    display: flex;
    width: max-content;
    gap: 30px;
    padding: 0 20px;
}

.carousel-item {
    width: 220px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
}

    .carousel-item:hover {
        transform: scale(1.02);
    }

.carousel-img-box {
    height: 180px;
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fffbf0;
    border-radius: 8px;
    cursor: zoom-in;
    pointer-events: none;
}

    .carousel-img-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        pointer-events: none;
    }

.carousel-title {
    font-weight: bold;
    color: var(--dark);
    font-size: 0.95rem;
    margin-top: auto;
    user-select: none;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .lightbox.active {
        display: flex;
        opacity: 1;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 90vh;
        border: 5px solid #fff;
        border-radius: 4px;
        box-shadow: 0 0 20px rgba(0,0,0,0.5);
        transform: scale(0.8);
        transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .lightbox.active img {
        transform: scale(1);
    }

/* --- KOŠÍK --- */
.cart-section {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    margin-top: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    border-top: 5px solid var(--primary);
    position: relative;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

/* --- POLOŽKY V KOŠÍKU S OVLÁDÁNÍM MNOŽSTVÍ --- */
.cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    gap: 15px;
}

.cart-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-weight: bold;
    color: var(--dark);
}

.cart-item-variant {
    font-size: 0.85rem;
    color: #666;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 8px;
}

.qty-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
}

    .qty-btn:hover {
        color: var(--primary);
    }

.cart-item-qty {
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-weight: bold;
    min-width: 70px;
    text-align: right;
}

.remove-btn {
    color: var(--red);
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.2s;
    padding: 5px;
}

    .remove-btn:hover {
        transform: scale(1.2);
    }

.cart-empty {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 20px;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto 0;
}

    .order-form h3 {
        margin-top: 0;
        margin-bottom: 15px;
        position: static;
        text-align: left;
    }

    .order-form input, .order-form textarea {
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-family: inherit;
        font-size: 1rem;
    }

        .order-form input:focus, .order-form textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 5px rgba(246, 201, 14, 0.3);
        }

.total-price {
    text-align: right;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    color: var(--dark);
    border-top: 2px solid #eee;
    padding-top: 20px;
}

.help-text {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
    line-height: 1.4;
}

#manual-order-box {
    display: none;
    background-color: #f9f9f9;
    border: 2px dashed #ccc;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

#manual-order-text {
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #3e2723;
    color: #fffbf0;
    padding: 50px 0 20px 0;
    font-family: 'Roboto', sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #f6c90e;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    margin-top: -40px;
}

    .footer-column h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: #e31e24;
    }

.footer-column p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-column a {
    color: #f6c90e;
    text-decoration: none;
    transition: color 0.3s;
}

    .footer-column a:hover {
        color: #fff;
        text-decoration: underline;
    }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #aaa;
}

/* --- RESPONZIVITA --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .logo img {
        height: 40px;
    }

    .vcela-logo {
        font-size: 20px;
    }

    nav > ul {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
        width: 100%;
        flex-wrap: wrap;
    }

    nav a {
        font-size: 0.85rem;
    }

    .dropdown {
        position: relative;
        display: block;
        width: auto;
    }

    .dropdown-content {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        background-color: var(--white);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border-top: 3px solid var(--primary);
    }

        .dropdown-content a {
            text-align: left;
            padding: 10px 15px;
        }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text p {
        text-align: left;
    }

    .exhibition-card {
        padding: 20px;
    }

    .modal-content {
        max-height: 85vh;
        width: 95%;
    }

    .modal-img {
        height: 200px;
    }

    .modal-body {
        padding: 20px;
    }

    #products .section-title-wrapper {
        margin-bottom: 20px;
    }

    #products #cat-classic {
        margin-top: 0;
    }
}

/* Úprava košíku pro mobily - zalamování řádků */
@media (max-width: 600px) {
    .cart-item-row {
        flex-wrap: wrap;
    }

    .cart-item-details {
        width: 100%;
        margin-bottom: 5px;
    }

    .cart-item-price {
        flex-grow: 1;
    }
}
