
.form-section {
    background-color: #fffde6;
    border: 3px dashed gold;
    padding: 30px;
    border-radius: 1rem;
    margin-bottom: 40px;
}
.form-section label {
    font-weight: bold;
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}


.product-card {
    flex: 0 0 auto;              /* Nezmenšuje se, nepřeteče */
    scroll-snap-align: start;   /* zarovnání pro scroll-snap */
    width: 300px;                      /* širší */
    min-height: 420px;                /* vyšší karta */
    background-color: #ffffff;        /* světle žlutá */
    border: none;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    color: #333;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}


.product-card:hover {
    transform: scale(1.02);
    background-color: white; /* ← změna barvy na bílou */
}


.product-card img {
    width: 100%;
    height: 320px;                    /* větší obrázek */
    object-fit: contain;
    margin: 12px 0;
    border-radius: 12px;
}
.new-label {
    position: absolute;
    top: 40px;
    right: 10px;
    background-color: #fbeca9; /* oranžová barva */
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    z-index: 10;
}


.product-card:hover {
    transform: scale(1.02);
}



.product-card h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #444;
}

.product-card .price {
    font-weight: bold;
    margin-bottom: 10px;
    color : #121110;
}

.product-card .price .original {
    text-decoration: line-through;
    color: #999;
    margin-left: 5px;
}

.product-card .price .sale {
    color: #d32f2f;
}

.product-card .new-label {
    font-size: 0.8rem;
    color: #ff9800;
    margin-bottom: 8px;
}

.add-to-cart-btn {
    margin-top: auto;
    background-color: #ffc107;
    border: none;
    color: #000;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.add-to-cart-btn:hover {
    background-color: #fbeca9;
}
.btn-category {
    font-size: 2.5rem;         /* větší písmo */
    padding: 1.5rem 3rem;      /* větší výška a šířka */
    min-width: 180px;
    min-height: 50px;
    background-color: white;   /* kontrast s pozadím */
    color: #fbeca9;            /* žlutý text */
    transition: all 0.2s ease;
    margin: 0 0.2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-transform: uppercase; /* případně velká písmena */
    letter-spacing: 0.05em; /* lehké rozestupy pro lepší čitelnost */
}

.btn-category:hover {
    background-color: #fbeca9;
    color: #212529;
    border-color: #ffca28;
}
.category-filter-bar {
    width: 100%;
    background-color: #ffffff; /* nebo #fff nebo jiný */
    padding: 20px 30px;
    border-bottom: 2px solid #ffd54f;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.category-filter-bar .btn-category {
    font-weight: bold;
}

.filter-btn {
    background-color: #e0e0e0;
    border: 2px solid #bdbdbd;
    color: #333;
    font-weight: bold;
    padding: 1.5rem 3rem;       /* stejný jako .btn-category */
    font-size: 2.5rem;          /* stejný jako .btn-category */
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    height: auto;
    text-transform: uppercase;  /* volitelné, kvůli konzistenci */
    letter-spacing: 0.05em;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.filter-btn.active {
    background-color: #fbeca9;
    color: #000;
    font-weight: bold;
}


.filter-btn:hover {
    background-color: #d6d6d6;     /* trochu tmavší při najetí */
    border-color: #a0a0a0;
    color: #000;
}
.filter-sidebar-hidden {
    position: absolute;
    top: 0;
    left: -320px; /* začátek mimo obrazovku */
    width: 300px;
    background-color: #f1f1f1; /* světle šedé pozadí */
    padding: 20px;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    border-left: 5px solid #9e9e9e; /* tmavší šedý okraj */
    border-radius: 10px;
    z-index: 5;
}

.filter-sidebar-hidden.active {
    left: 0;
}


.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.yellow-box {
    background-color: #fff9c4; /* světle žlutá */
    border: 2px solid #fdd835; /* výraznější žlutý okraj */
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    margin: 30px auto;
    max-width: 500px;
    font-family: Arial, sans-serif;
}

.yellow-button {
    display: inline-block;
    margin-top: 15px;
    background-color: #fdd835; /* žlutá barva */
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.yellow-button:hover {
    background-color: #fbc02d; /* trochu tmavší žlutá při hoveru */
}
@media (max-width: 768px) {
    .product-card {
        width: 220px;
    }
}

