/* ================= PRODUCTS HERO SECTION ================= */

.products-hero {
    position: relative;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
}

.products-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.products-hero-title {
    font-size: 38px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.products-hero-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ================= CATEGORY FILTER BAR ================= */

.category-filter-bar {
    padding: 25px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.filter-btn {
    padding: 8px 20px;
    background: #ffffff;
    color: #555;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #F4B41A;
    color: #1a1a1a;
    background: #fffbf0;
}

.filter-btn.active {
    background: #F4B41A;
    border-color: #F4B41A;
    color: #1a1a1a;
    font-weight: 600;
}

/* ================= PRODUCTS SHOWCASE SECTION ================= */

.products-showcase {
    padding: 50px 20px 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.section-subtitle {
    color: #666;
    font-size: 15px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= PRODUCTS GRID ================= */

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

/* ================= PRODUCT CARD ================= */

.product-card {
    background: #ffffff;
    border-radius: 12px;
    border: 2px solid #eaeaea;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #F4B41A;
    box-shadow: 0 12px 28px rgba(244, 180, 26, 0.18);
}

/* Product Image Wrapper */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: #f8f9fa;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 10px 24px;
    background: #F4B41A;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: #ffffff;
    color: #1a1a1a;
}

/* Product Content */
.product-content {
    padding: 20px 18px;
    text-align: center;
}

.product-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 56px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Footer */
.product-footer {
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 2px solid #F4B41A;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.product-btn:hover {
    background: #F4B41A;
    transform: translateX(3px);
}

.btn-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.product-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ================= NO PRODUCTS STATE ================= */

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-products-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.no-products h3 {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.no-products p {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}

.back-btn {
    display: inline-block;
    padding: 11px 26px;
    background: #F4B41A;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e6a917;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(244, 180, 26, 0.25);
}

/* ================= QUALITY BANNER ================= */

.quality-banner {
    padding: 45px 20px;
    background: linear-gradient(135deg, #F4B41A 0%, #e6a917 100%);
    text-align: center;
}

.quality-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.quality-content p {
    font-size: 15px;
    color: #2a2a2a;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ================= RESPONSIVE DESIGN ================= */

/* Tablet */
@media (max-width: 992px) {
    .products-hero {
        padding: 50px 20px 35px;
    }

    .products-hero-title {
        font-size: 32px;
    }

    .products-hero-subtitle {
        font-size: 15px;
    }

    .category-filter-bar {
        padding: 20px 20px;
    }

    .filter-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .filter-buttons {
        width: 100%;
    }

    .products-showcase {
        padding: 40px 20px 55px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 24px;
    }

    .quality-content h3 {
        font-size: 22px;
    }

    .quality-content p {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .products-hero {
        padding: 40px 15px 30px;
    }

    .products-hero-title {
        font-size: 26px;
        margin-bottom: 8px;
    }

    .products-hero-subtitle {
        font-size: 14px;
    }

    .category-filter-bar {
        padding: 18px 15px;
        position: static;
    }

    .filter-label {
        font-size: 13px;
        width: 100%;
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 7px 16px;
        font-size: 12px;
    }

    .products-showcase {
        padding: 35px 15px 50px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .section-subtitle {
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-content {
        padding: 18px 16px;
    }

    .product-name {
        font-size: 16px;
        min-height: auto;
    }

    .product-description {
        font-size: 12px;
        min-height: auto;
        margin-bottom: 14px;
    }

    .product-btn {
        font-size: 12px;
        padding: 8px 18px;
    }

    .quality-banner {
        padding: 40px 15px;
    }

    .quality-content h3 {
        font-size: 20px;
    }

    .quality-content p {
        font-size: 13px;
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    .products-hero-title {
        font-size: 23px;
    }

    .section-title {
        font-size: 21px;
    }

    .filter-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
}