/* ================= SPECIFICKÉ STYLY PRO E-SHOP ================= */

/* Hlavní obsah E-shopu */
.shop-section {
    flex-grow: 1;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 15px var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, background 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img-container {
    height: 240px;
    background: rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-container img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-body {
    padding: 25px;
}

.product-body h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
}

.product-body p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 900;
    color: #10b981;
}

.product-footer {
    padding: 0 25px 25px 25px;
    display: flex;
    gap: 12px;
}

.btn-detail {
    flex: 1;
    text-align: center;
    background: transparent;
    border: 2px solid rgba(128,128,128,0.3);
    color: var(--text-color);
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.btn-detail:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-cart {
    flex: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.2s;
    box-shadow: 0 4px 10px rgba(0, 119, 255, 0.2);
}

.btn-cart:hover {
    opacity: 0.9;
}

/* Tlačítko košíku v menu */
.cart-nav-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    border: 1px solid rgba(128,128,128,0.2);
    color: var(--text-color);
    padding: 6px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.cart-nav-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

#cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #10b981;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Notifikace (Toast) */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}
.toast-enter { animation: slideIn 0.3s ease-out forwards; }
.toast-exit { animation: slideOut 0.3s ease-in forwards; }