/* ========== PRODUCT BANNER CAROUSEL ========== */
.product-banner {
    margin-top: 62px;
    background: #0C4DA2;
    overflow: hidden;
}

.banner-carousel {
    position: relative;
    width: 100%;
    max-height: 420px;
    overflow: hidden;
}

.banner-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.banner-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a3d82, #0C4DA2);
}

.banner-slide img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.banner-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.banner-prev { left: 20px; }
.banner-next { right: 20px; }

.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.banner-dot.active {
    background: #fff;
    border-color: #48CAE4;
    transform: scale(1.2);
}

/* ========== FILTER SECTION ========== */
.filter-section {
    background: #fff;
    border-bottom: 1px solid #e0f0ff;
    padding: 20px 0;
    position: sticky;
    top: 62px;
    z-index: 50;
    box-shadow: 0 2px 10px rgba(12, 77, 162, 0.06);
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.filter-title {
    font-size: 1.2rem;
    color: #0C4DA2;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.filter-title i {
    margin-right: 8px;
    color: #00B4D8;
}

.filter-count {
    font-size: 0.85rem;
    color: #888;
    background: #F0F8FF;
    padding: 4px 12px;
    border-radius: 20px;
}

.filter-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.filter-group select {
    padding: 8px 32px 8px 14px;
    border: 2px solid #e0f0ff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Open Sans', sans-serif;
    color: #333;
    background: #F9FCFF;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%230C4DA2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.filter-group select:focus {
    border-color: #00B4D8;
}

.filter-tabs {
    display: flex;
    gap: 6px;
}

.filter-tab {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    background: #F0F8FF;
    border: 1px solid #e0f0ff;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.filter-tab i {
    margin-right: 5px;
    font-size: 0.8rem;
}

.filter-tab:hover {
    color: #0C4DA2;
    border-color: #00B4D8;
    background: #e0f0ff;
}

.filter-tab.active {
    color: #fff;
    background: linear-gradient(135deg, #0C4DA2, #00B4D8);
    border-color: transparent;
}

/* ========== PRODUCT GRID ========== */
.products-section {
    padding: 40px 0 60px;
    background: #F5F9FE;
    min-height: 60vh;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0f0ff;
    transition: all 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(12, 77, 162, 0.12);
    border-color: transparent;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-brand {
    background: linear-gradient(135deg, #0C4DA2, #0077B6);
    color: #fff;
}

.badge-premium {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}

/* Product Image */
.product-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8fbff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 77, 162, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 24px;
    background: #fff;
    color: #0C4DA2;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover .btn-view {
    transform: translateY(0);
}

.btn-view:hover {
    background: #48CAE4;
    color: #fff;
}

.btn-view i {
    margin-right: 6px;
}

/* Product Info */
.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: #00B4D8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-category i {
    margin-right: 4px;
}

.product-name {
    font-size: 1.1rem;
    color: #0a2540;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.product-brand {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.product-brand i {
    margin-right: 5px;
    color: #00B4D8;
}

.product-desc {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-product {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0C4DA2, #00B4D8);
    color: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
}

.btn-product i {
    margin-right: 6px;
}

.btn-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 77, 162, 0.3);
}

/* ========== CERTIFICATIONS ========== */
.certifications-section {
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #e0f0ff;
    overflow: hidden;
}

.cert-title {
    text-align: center;
    font-size: 1rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.cert-carousel {
    overflow: hidden;
    width: 100%;
}

.cert-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: certScroll 30s linear infinite;
    width: max-content;
}

.cert-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cert-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes certScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-tabs {
        flex-wrap: wrap;
    }

    .banner-carousel {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .product-banner {
        margin-top: 56px;
    }

    .filter-section {
        top: 56px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .product-image {
        height: 200px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .banner-prev { left: 10px; }
    .banner-next { right: 10px; }

    .banner-carousel {
        max-height: 200px;
    }

    .filter-tabs {
        display: none;
    }

    .cert-logo {
        height: 40px;
    }

    .cert-track {
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        gap: 15px;
    }

    .product-info {
        padding: 15px;
    }

    .product-name {
        font-size: 1rem;
    }
}
