/* --- PRODUKTY - HLAVNÍ KONTEJNER --- */
.products-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 5%;
    min-height: 70vh;
}

.products-header {
    margin-bottom: 40px;
}

.products-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px 0;
}

.products-header h1 span {
    color: var(--yellow);
}

.products-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* --- FILTRAČNÍ PANEL --- */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: #0a0a0a;
    border: 1px solid #141414;
    padding: 20px;
    margin-bottom: 40px;
}

.search-box {
    flex: 1;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    background: #111;
    border: 1px solid #222;
    padding: 12px 20px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.1);
}

.filter-controls {
    display: flex;
    gap: 15px;
}

.filter-controls select {
    background: #111;
    border: 1px solid #222;
    color: white;
    padding: 12px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-controls select:focus, 
.filter-controls select:hover {
    outline: none;
    border-color: var(--yellow);
}

/* --- MŘÍŽKA PRODUKTŮ --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* --- PRODUKTOVÁ KARTA --- */
.product-card {
    background: #0a0a0a;
    border: 1px solid #141414;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: scale(1.03);
    border-color: #222;
}

.card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ZMĚNA z contain na cover: Ořízne černé boky i v katalogu */
    object-position: center;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7)); 
    transition: transform 0.4s ease;
}

/* Navíc mírně poladíme padding kontejneru, aby krabice po ořezu krásně vyplnily prostor */
.card-img-link {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1; 
    background: #111;
    overflow: hidden;
    padding: 0; /* Odstraněn padding, ořez vyplní celou kartu */
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(5, 5, 5, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #aaa;
    z-index: 2;
}

.card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: white;
    line-height: 1.4;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.card-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--yellow);
}

.view-btn {
    background: white;
    color: black;
    text-decoration: none;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all 0.3s;
}

.view-btn:hover {
    background: var(--yellow);
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.2);
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: #555;
    font-size: 16px;
    padding: 40px 0;
}

/* RESPONSIVITA */
@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        max-width: 100%;
    }
    .filter-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

/* --- STYL PRO UZAMČENÝ OBSAH (Netflix / Blur styl) --- */
.locked-content-box {
    max-width: 600px;
    margin: 60px auto;
    padding: 40px 30px;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(255, 204, 0, 0.2); /* Jemný žlutý olem pro prémiový vzhled */
    border-radius: 4px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.lock-icon {
    font-size: 50px;
    margin-bottom: 20px;
    animation: pulseLock 2s infinite ease-in-out;
}

.locked-content-box h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #ffffff;
    letter-spacing: 1px;
}

.locked-content-box p {
    color: #888888;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.auth-btn-inline {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.auth-btn-inline:hover {
    background-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

@keyframes pulseLock {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}