/* ==========================================================================
   Produktübersicht Seite - AMEYZE Shop

   PAGE-LEVEL STYLES ONLY
   Product card component styles are in: components/product-card.css
   ========================================================================== */

/* Breadcrumb-Styles wurden in components/breadcrumb.css zentralisiert */

/* ==========================================================================
   Filter Section Layout
   ========================================================================== */

.filter-section-wrapper {
    background-color: #ffffff;
    padding-top: 2rem;
}

/* ==========================================================================
   Products Header
   ========================================================================== */

.products-header {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.product-count h5 {
    font-weight: 600;
    color: #333;
}

/* ==========================================================================
   Product Sort Controls
   ========================================================================== */

.product-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-sort::before {
    content: "Sortieren:";
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.product-sort select {
    border-color: #d8a9b4;
    border-radius: 8px;
    cursor: pointer;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%237f4d5a' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.product-sort select:hover {
    border-color: #7f4d5a;
    box-shadow: 0 2px 6px rgba(127, 77, 90, 0.12);
}

.product-sort select:focus {
    border-color: #7f4d5a;
    box-shadow: 0 0 0 0.2rem rgba(127, 77, 90, 0.25);
    outline: none;
}

@media (max-width: 767px) {
    .product-sort::before {
        display: none;
    }

    .product-sort select {
        font-size: 0.8125rem;
        padding: 0.4rem 2rem 0.4rem 0.75rem;
        background-position: right 0.5rem center;
    }
}

/* ==========================================================================
   Filter Sidebar Layout
   ========================================================================== */

.filter-section-wrapper .filter-sidebar {
    position: sticky;
    top: 20px;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Product Grid Section
   ========================================================================== */

.products-grid-section {
    min-height: 60vh;
    background-color: #ffffff;
    padding-top: 0;
}

/* ==========================================================================
   Large Display Optimizations
   ========================================================================== */

@media (min-width: 1200px) {
    .products-grid-section .product-info {
        padding: 0.45rem 0.5rem;
        gap: 0.18rem;
    }
}

/* ==========================================================================
   Tooltip Styling
   ========================================================================== */

.tooltip {
    font-size: 0.875rem;
}

.tooltip-inner {
    background: #7f4d5a;
    padding: 8px 12px;
    border-radius: 6px;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #7f4d5a;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #7f4d5a;
}

.tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #7f4d5a;
}

.tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #7f4d5a;
}

/* ==========================================================================
   Page-Level Staggered Entry Animation
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#productsGrid .product-card {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

#productsGrid .product-card:nth-child(1) { animation-delay: 0.1s; }
#productsGrid .product-card:nth-child(2) { animation-delay: 0.2s; }
#productsGrid .product-card:nth-child(3) { animation-delay: 0.3s; }
#productsGrid .product-card:nth-child(4) { animation-delay: 0.4s; }
#productsGrid .product-card:nth-child(5) { animation-delay: 0.5s; }
#productsGrid .product-card:nth-child(6) { animation-delay: 0.6s; }
#productsGrid .product-card:nth-child(7) { animation-delay: 0.7s; }
#productsGrid .product-card:nth-child(8) { animation-delay: 0.8s; }
