/* Saray Pastanesi - Catalog Page Styles */

.page-header {
    background: linear-gradient(135deg, var(--gruen-dunkel), var(--gruen));
    padding: 4rem 2rem 3rem;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--gold-light);
    max-width: 600px;
    margin: 0 auto;
}

.catalog-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
}

/* Sidebar */
.sidebar {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gruen-dunkel);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--schwarz);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.category-list a:hover,
.category-list a.active {
    background: var(--creme);
    color: var(--gruen-dunkel);
}

.category-list a.active {
    font-weight: 600;
}

.category-count {
    background: var(--beige);
    color: var(--gruen);
    font-family: 'Playfair Display', serif !important;
    font-size: 0.85rem;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.6rem;
    border-radius: 10px;
    font-variant-numeric: lining-nums;
}

/* Search */
.search-box {
    margin-bottom: 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--beige);
    border-radius: 6px;
    font-size: 0.9rem;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold);
}

/* Products Grid */
.products-container h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gruen-dunkel);
    margin-bottom: 1.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-size: cover;
    background-position: center;
    position: relative;
}

.product-image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--beige), var(--creme));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 2.5rem;
}

.product-content {
    padding: 1.25rem;
}

.product-category {
    color: var(--gold-dark);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gruen-dunkel);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
    font-variant-numeric: lining-nums;
}

.product-card p {
    font-family: 'Playfair Display', serif;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--beige);
}

.product-price {
    font-family: Arial, Helvetica, sans-serif !important;
    color: var(--gold-dark) ;
    font-size: 1.1rem;
    font-weight: bolder !important;
    letter-spacing: 0.5px;
    font-variant-numeric: lining-nums;
}

.product-link {
    background: var(--gold);
    color: var(--gruen-dunkel);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.product-link:hover {
    background: var(--gold-dark);
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-products i {
    font-size: 3rem;
    color: var(--beige);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .catalog-container {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .sidebar {
        position: static;
        padding: 1rem;
    }

    .sidebar h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .category-list a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 2.5rem 1.25rem 1.75rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .page-header p {
        font-size: 0.85rem;
    }

    .catalog-container {
        padding: 1rem;
        gap: 1rem;
    }

    .sidebar {
        padding: 0.85rem;
        border-radius: 8px;
    }

    .sidebar h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        padding-bottom: 0.4rem;
    }

    .search-box {
        margin-bottom: 1rem;
    }

    .search-box input {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }

    .category-list a {
        padding: 0.5rem 0.65rem;
        font-size: 0.85rem;
    }

    .category-count {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .products-container h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-content {
        padding: 0.85rem;
    }

    .product-category {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .product-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .product-card p {
        font-size: 0.78rem;
        margin-bottom: 0.65rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-footer {
        padding-top: 0.65rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .product-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .no-products {
        padding: 2.5rem 1.5rem;
    }
}
