/* Products Page Custom Styles */

/* Header Pill Position */
.product-header-wrapper {
    margin-top: -30px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.product-header-pill {
    background: linear-gradient(90deg, #1e4ea1 0%, #4a90e2 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    padding: 10px 40px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(30, 78, 161, 0.3);
    letter-spacing: 1.2px;
}

.product-header-pill i {
    margin-right: 15px;
    font-size: 20px;
}

/* Section Spacing */
.product-section {
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.section-title-wrapper h3 {
    display: inline-block;
    color: #1e4ea1;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding: 0 20px;
    font-size: 19px;
    margin: 0;
}

.section-title-wrapper h3::before,
.section-title-wrapper h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #1e4ea1);
}

.section-title-wrapper h3::before {
    right: 100%;
}

.section-title-wrapper h3::after {
    left: 100%;
    transform: scaleX(-1);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin-bottom: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 78, 161, 0.1);
    border-color: #1e4ea1;
}

.product-image-box {
    margin-bottom: 12px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fbfbfb;
    border-radius: 8px;
    overflow: hidden;
}

.product-image-box img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-box img {
    transform: scale(1.08);
}

.product-name {
    color: #2c3e50;
    font-size: 15px;
    font-weight: 700;
    margin: 8px 0 0;
}

/* Slanted Deco */
.slanted-decoration-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.3;
}

.slanted-container {
    position: absolute;
    top: -20px;
    right: -80px;
    display: flex;
    gap: 20px;
}

.slanted-bar {
    height: 800px;
    width: 35px;
    background: linear-gradient(180deg, #1e4ea1 0%, rgba(30, 78, 161, 0) 100%);
    transform: rotate(45deg);
    opacity: 0.1;
}

.slanted-bar-thick {
    width: 70px;
}

.slanted-container-left {
    left: -100px;
    right: auto;
}

/* Swiper Styles */
.other-product-swiper {
    padding-bottom: 40px !important;
}

.other-product-swiper .swiper-pagination-bullet-active {
    background: #1e4ea1;
}

/* Responsive */
@media (max-width: 768px) {
    .product-header-wrapper {
        margin-top: -25px;
    }

    .product-header-pill {
        font-size: 18px;
        padding: 8px 30px;
    }

    .product-section {
        padding: 30px 0;
    }

    .section-title-wrapper h3 {
        font-size: 17px;
    }

    .product-image-box {
        height: 130px;
    }

    .product-name {
        font-size: 14px;
    }
}