/* =========================================================
   PREMIUM PRODUCT HERO SECTION
========================================================= */

.products-product-section {
    position: relative;
    padding: 60px 0 110px;
    background: radial-gradient(circle at top, #1D1D1D 0%, #000000 100%);
    overflow: hidden;
    color: #ffffff;
}

/* =========================================================
   BACKGROUND EFFECTS
========================================================= */

.product-animation-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ambient-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, transparent 70%);
}

.product-particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: floatParticle 16s infinite ease-in-out;
}

.particle-1 {
    width: 350px;
    height: 350px;
    background: rgba(221, 31, 37, 0.10);
    top: -120px;
    left: -120px;
}

.particle-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 193, 7, 0.08);
    bottom: -100px;
    right: -100px;
    animation-delay: 3s;
}

.particle-3 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.03);
    top: 30%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -40px) scale(1.08);
    }
}

/* =========================================================
   HERO CONTENT
========================================================= */

.product-content {
    position: relative;
    z-index: 5;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    border-radius: 999px;
    background: rgba(221, 31, 37, 0.15);
    border: 1px solid rgba(221, 31, 37, 0.3);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    backdrop-filter: blur(12px);
}

.product-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.highlight {
    color: #ffc107;
    text-shadow: 0 0 30px rgba(255, 193, 7, 0.35);
}

.product-subtitle {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.72);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.9;
}

/* =========================================================
   NAVIGATION TABS
========================================================= */

.products-navigation {
    position: relative;
    z-index: 10;
    margin-top: 70px;
    display: flex;
    justify-content: center;
}

.product-tabs {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0px 1px 14px 0px rgba(0, 0, 0, 0.13);
}

.product-tab {
    border: none;
    outline: none;
    padding: 16px 28px;
    border-radius: 18px;
    background: transparent;
    color: rgba(255,255,255,0.65);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.35s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

    .product-tab i {
        color: #dd1f25;
        transition: all 0.35s ease;
    }

    .product-tab:hover {
        background: rgba(255,255,255,0.06);
        color: #ffffff;
        transform: translateY(-2px);
    }

    .product-tab.active {
        background: #ffc107;
        color: #000000;
        box-shadow: 0 10px 24px rgba(255,193,7,0.35);
    }

        .product-tab.active i {
            color: #000000;
        }

/* =========================================================
   PRODUCT SECTION
========================================================= */

.product-section {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

    .product-section.active-section {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }

/* =========================================================
   PREMIUM OEM CARD
========================================================= */

.prominent-oem-card {
    position: relative;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0px 1px 14px 0px rgba(0, 0, 0, 0.13);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

    .prominent-oem-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 135deg, rgba(221,31,37,0.03) 0%, rgba(255,193,7,0.03) 100% );
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .prominent-oem-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 30px 60px rgba(0,0,0,0.16), 0 10px 25px rgba(221,31,37,0.10);
    }

        .prominent-oem-card:hover::before {
            opacity: 1;
        }

/* =========================================================
   CARD HEADER
========================================================= */

.oem-brand-header {
    position: relative;
    background: linear-gradient( 135deg, #1D1D1D 0%, #000000 100% );
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

    .oem-brand-header::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        background: rgba(221,31,37,0.08);
        border-radius: 50%;
        top: -100px;
        right: -80px;
    }

.header-content {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

/* =========================================================
   LOGO
========================================================= */

.brand-logo-container {
    width: 74px;
    height: 74px;
    background: #ffffff;
    border-radius: 22px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.7);
}

    .brand-logo-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.brand-name {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.brand-status {
    display: inline-flex;
    margin-top: 8px;
    color: #ffc107;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =========================================================
   BADGE
========================================================= */

.custom-badge {
    position: relative;
    z-index: 2;
    background: linear-gradient( 135deg, #dd1f25 0%, #a11217 100% );
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(221,31,37,0.25);
}

/* =========================================================
   CARD BODY
========================================================= */

.oem-grid-body {
    padding: 32px;
    background: #ffffff;
    flex-grow: 1;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #595959;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #F2F2F2;
}

/* =========================================================
   PRODUCT GRID
========================================================= */

.products-integrated-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 18px;
}

.product-grid-item {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    padding: 22px 16px;
    border: 1px solid #F2F2F2;
    transition: all 0.35s ease;
    text-align: center;
    overflow: hidden;
}

    .product-grid-item::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(221,31,37,0.02) 0%, rgba(255,193,7,0.04) 100% );
        opacity: 0;
        transition: opacity 0.35s ease;
    }

    .product-grid-item:hover {
        transform: translateY(-8px);
        border-color: rgba(221,31,37,0.25);
        box-shadow: 0 18px 40px rgba(0,0,0,0.08), 0 5px 18px rgba(221,31,37,0.08);
    }

        .product-grid-item:hover::before {
            opacity: 1;
        }

/* =========================================================
   PRODUCT IMAGE
========================================================= */

.item-visual {
    position: relative;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    z-index: 2;
}

    .item-visual img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        filter: drop-shadow(0 10px 18px rgba(0,0,0,0.12));
        transition: transform 0.45s ease;
    }

.product-grid-item:hover .item-visual img {
    transform: scale(1.08);
}

/* =========================================================
   PRODUCT NAME
========================================================= */

.item-info {
    position: relative;
    z-index: 2;
}

.item-name {
    display: block;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1D1D1D;
    line-height: 1.45;
}

/* =========================================================
   FOOTER
========================================================= */

.card-footer-action {
    padding: 0 32px 32px;
}

.premium-btn {
    width: 100%;
    background: linear-gradient( 135deg, #1D1D1D 0%, #000000 100% );
    color: #ffffff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.35s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

    .premium-btn i {
        transition: transform 0.3s ease;
    }

    .premium-btn:hover {
        background: linear-gradient( 135deg, #dd1f25 0%, #b0171c 100% );
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(221,31,37,0.25);
    }

        .premium-btn:hover i {
            transform: translateX(4px);
        }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .product-tabs {
        flex-direction: column;
        width: 100%;
        max-width: 420px;
    }

    .product-tab {
        width: 100%;
        justify-content: center;
    }

    .products-integrated-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .products-product-section {
        padding: 120px 0 80px;
    }

    .oem-brand-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .custom-badge {
        align-self: flex-start;
    }

    .products-integrated-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .oem-grid-body {
        padding: 24px;
    }

    .card-footer-action {
        padding: 0 24px 24px;
    }
}

@media (max-width: 576px) {

    .products-integrated-grid {
        grid-template-columns: 1fr;
    }

    .brand-logo-container {
        width: 64px;
        height: 64px;
    }

    .brand-name {
        font-size: 1.2rem;
    }

    .product-title {
        font-size: 2.5rem;
    }

    .product-subtitle {
        font-size: 1rem;
    }

    .product-tab {
        padding: 14px 18px;
        font-size: 0.88rem;
    }
}





/* =========================================================
   RETAIL PRODUCT SECTION
========================================================= */

#retail-section .premium-card {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0px 1px 14px 0px rgba(0, 0, 0, 0.13);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    #retail-section .premium-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, rgba(221,31,37,0.03) 0%, rgba(255,193,7,0.04) 100% );
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        z-index: 1;
    }

    #retail-section .premium-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 28px 60px rgba(0,0,0,0.16), 0 10px 25px rgba(221,31,37,0.10);
    }

        #retail-section .premium-card:hover::before {
            opacity: 1;
        }

/* =========================================================
   IMAGE AREA
========================================================= */

#retail-section .card-image-view {
    position: relative;
    height: 320px;
    background: radial-gradient(circle at top, rgba(255,193,7,0.10) 0%, #F2F2F2 45%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px;
}

    #retail-section .card-image-view::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(221,31,37,0.05);
        top: -70px;
        right: -70px;
    }

#retail-section .main-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0,0,0,0.16));
    transition: transform 0.45s ease;
}

#retail-section .premium-card:hover .main-img {
    transform: scale(1.08) rotate(-2deg);
}

/* =========================================================
   BADGE
========================================================= */

#retail-section .custom-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: linear-gradient( 135deg, #dd1f25 0%, #a91217 100% );
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(221,31,37,0.25);
}

/* =========================================================
   CONTENT
========================================================= */

#retail-section .card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

#retail-section .card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1D1D1D;
    margin-bottom: 22px;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

/* =========================================================
   SPECS
========================================================= */

#retail-section .spec-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

#retail-section .spec-chip {
    background: #F2F2F2;
    color: #595959;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

#retail-section .premium-card:hover .spec-chip {
    background: rgba(221,31,37,0.08);
    color: #dd1f25;
    border-color: rgba(221,31,37,0.15);
}

/* =========================================================
   BUTTON
========================================================= */

#retail-section .premium-btn {
    width: 100%;
    border: none;
    background: linear-gradient( 135deg, #1D1D1D 0%, #000000 100% );
    color: #ffffff;
    padding: 18px 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
    transition: all 0.35s ease;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

    #retail-section .premium-btn i {
        transition: transform 0.3s ease;
    }

    #retail-section .premium-btn:hover {
        background: linear-gradient( 135deg, #dd1f25 0%, #b0171c 100% );
        color: #ffffff;
        transform: translateY(-3px);
        box-shadow: 0 18px 35px rgba(221,31,37,0.25);
    }

        #retail-section .premium-btn:hover i {
            transform: translateX(4px);
        }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    #retail-section .card-image-view {
        height: 290px;
    }

    #retail-section .main-img {
        max-height: 210px;
    }
}

@media (max-width: 767px) {

    #retail-section .card-content {
        padding: 24px;
    }

    #retail-section .card-title {
        font-size: 1.2rem;
    }

    #retail-section .premium-btn {
        padding: 16px 20px;
    }
}

@media (max-width: 576px) {

    #retail-section .card-image-view {
        height: 250px;
        padding: 24px;
    }

    #retail-section .main-img {
        max-height: 180px;
    }

    #retail-section .spec-wrapper {
        gap: 10px;
    }

    #retail-section .spec-chip {
        font-size: 0.72rem;
        padding: 8px 14px;
    }
}


/* =========================================================
   AFTERMARKET PRODUCT SECTION
========================================================= */

#aftermarket-section .premium-card {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0px 1px 14px 0px rgba(0, 0, 0, 0.13);
    transition: all 0.4s ease;
}

    #aftermarket-section .premium-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 50px rgba(0,0,0,0.14), 0 8px 20px rgba(221,31,37,0.08);
    }

/* =========================================================
   IMAGE AREA
========================================================= */

#aftermarket-section .card-image-view {
    position: relative;
    height: 300px;
    background: linear-gradient( 180deg, #F2F2F2 0%, #ffffff 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

    #aftermarket-section .card-image-view::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        background: rgba(255,193,7,0.10);
        border-radius: 50%;
        top: -60px;
        right: -60px;
    }

#aftermarket-section .main-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(0,0,0,0.14));
    transition: transform 0.4s ease;
}

#aftermarket-section .premium-card:hover .main-img {
    transform: scale(1.06);
}

/* =========================================================
   BADGE
========================================================= */

#aftermarket-section .custom-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background: #dd1f25;
    color: #ffffff;
    padding: 9px 14px;
    border-radius: 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(221,31,37,0.22);
}

/* =========================================================
   CONTENT
========================================================= */

#aftermarket-section .card-content {
    padding: 26px;
}

#aftermarket-section .card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1D1D1D;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* =========================================================
   SPEC CHIPS
========================================================= */

#aftermarket-section .spec-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

#aftermarket-section .spec-chip {
    background: #F2F2F2;
    color: #595959;
    padding: 9px 14px;
    border-radius: 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

#aftermarket-section .premium-card:hover .spec-chip {
    background: rgba(221,31,37,0.08);
    color: #dd1f25;
    border-color: rgba(221,31,37,0.12);
}

/* =========================================================
   BUTTON
========================================================= */

#aftermarket-section .premium-btn {
    width: 100%;
    background: #1D1D1D;
    color: #ffffff;
    padding: 16px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    transition: all 0.35s ease;
    border: none;
}

    #aftermarket-section .premium-btn i {
        transition: transform 0.3s ease;
    }

    #aftermarket-section .premium-btn:hover {
        background: #dd1f25;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(221,31,37,0.22);
    }

        #aftermarket-section .premium-btn:hover i {
            transform: translateX(4px);
        }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    #aftermarket-section .card-image-view {
        height: 270px;
    }

    #aftermarket-section .main-img {
        max-height: 200px;
    }
}

@media (max-width: 767px) {

    #aftermarket-section .card-content {
        padding: 22px;
    }

    #aftermarket-section .card-title {
        font-size: 1.15rem;
    }

    #aftermarket-section .premium-btn {
        padding: 15px 18px;
    }
}

@media (max-width: 576px) {

    #aftermarket-section .card-image-view {
        height: 240px;
        padding: 24px;
    }

    #aftermarket-section .main-img {
        max-height: 170px;
    }

    #aftermarket-section .spec-chip {
        font-size: 0.72rem;
    }
}