.sp-product-grid {
    /* Break out of Elementor Boxed limits, matching Hero Banner */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
}

.sp-product-grid .main-wrapper {
    padding: 40px 0;
    font-family: var(--primaryFont);
    background-color: #ffffff;
    /* Radial gradients for the teal light effect */
    background-image:
        radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(20, 184, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 50%, rgba(45, 212, 191, 0.05) 0%, transparent 60%);
    background-attachment: scroll;
    color: #1e293b;
}

.sp-product-grid .sp-product-grid__container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.certified-badge-wrap {
    width: 150px;
    /* Standardized to 150px for desktop */
    height: 150px;
    margin: 0 0 0px 0;
    /* Gap badge-to-title removed per request */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.certified-badge-wrap svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.certified-badge-static {
    background: #2563eb;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heading-main {
    font-size: 28px !important;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 12px;
    color: #1e293b;
    line-height: 1.2;
    max-width: 800px;
    letter-spacing: -0.03em;
    /* Synced with Hero Banner Heading */
    text-align: left;
}

.heading-main span {
    color: #14b8a6;
    /* Vibrant teal from Sample 1 */
}

/* Accent for the 'Our Products' part */
.heading-main .accent {
    color: #14b8a6;
}

.heading-accent,
.sp-gradient-text {
    background: linear-gradient(90deg, #2dd4bf 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.description-text {
    font-size: 16px !important;
    /* Standardized to 16px per request */
    color: #64748b;
    line-height: 1.6;
    max-width: 400px;
    /* Even narrower for Sample 1 text density */
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.product-grid-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 1rem 0 0 0;
    scroll-behavior: auto;
    /* Managed by GSAP */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.product-grid-container::-webkit-scrollbar,
.sp-product-grid .product-grid-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.product-card {
    background: #000000;
    border-radius: 1rem;
    /* Standardized to 16px */
    overflow: hidden;
    border: none;
    /* Removed border per high-fidelity mock */
    width: 440px;
    height: 440px;
    /* Exact dimension requested */
    flex-shrink: 0;
    box-shadow: none;
    /* Removed shadow per high-fidelity mock */
    transition: transform 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.card-visual {
    width: 100%;
    flex: 1;
    /* Occupy remaining space in fixed 440px card */
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 1rem 1rem 0 0 !important;
}

.card-footer {
    background: #000000 !important;
    padding: 12px 20px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    border-top: none;
    border-radius: 0 0 1rem 1rem !important;
    box-sizing: border-box;
    gap: 0;
}

.product-title {
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    line-height: 1.2;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.curr-price {
    color: #14b8a6;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.curr-price .currency {
    font-size: 12px;
    font-weight: 400;
    vertical-align: 6px;
    margin-right: 2px;
}

.old-price {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 12px;
    opacity: 0.6;
}

.price-suffix {
    color: #94a3b8;
    font-size: 12px;
    opacity: 0.8;
}

.slider-nav-btn {
    background: #ffffff;
    color: #0f1719;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    /* Circle like Sample 1 */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-nav-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: scale(1.05);
}

/* --- Mobile Specific Optimized Styles --- */


/* --- Tablet & Mobile Optimization (Horizontal Slider Layout) --- */
@media (max-width: 1199px) {
    .sp-product-grid .main-wrapper {
        padding: 40px 0;
        /* Consistent section breathing room */
    }

    .sp-product-grid .sp-product-grid__container {
        padding: 0 20px; /* Reduced container padding for smaller screens */
    }

    .sp-product-grid .row {
        flex-direction: column !important;
        text-align: center;
    }

    .sp-product-grid .col-xl-4 {
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 32px; /* Professional gap before slider */
    }

    .heading-main {
        font-size: clamp(1.75rem, 5vw, 2.25rem) !important;
        margin-bottom: 24px !important;
        text-align: center;
        max-width: 100%;
    }

    .description-text {
        max-width: 500px !important;
        margin: 0 auto 24px auto !important;
        text-align: center;
        font-size: 15px !important;
    }

    .certified-badge-wrap {
        margin: 0 auto 1rem auto !important;
        width: 100px;
        height: 100px;
    }

    .product-grid-container {
        padding: 10px 20px 20px 20px !important; /* Bottom padding for shadow/elevation if added */
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }

    .product-card {
        width: 300px !important;
        height: 360px !important; /* Slightly taller for proportional balance */
        border-radius: 12px !important;
    }

    .card-footer {
        padding: 12px 16px !important;
    }

    .product-title {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    .curr-price {
        font-size: 20px !important;
    }

    .slider-nav-container {
        display: none !important;
    }
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 767px) {
    .sp-product-grid .main-wrapper {
        padding: 40px 0;
    }

    .heading-main {
        font-size: 1.6rem !important;
        margin-bottom: 20px !important;
    }

    .description-text {
        font-size: 14px !important;
        max-width: 100% !important;
        padding: 0 10px;
    }

    .product-card {
        width: 260px !important;
        height: 320px !important;
    }

    .curr-price {
        font-size: 18px !important;
    }
    
    .product-grid-container {
        padding: 5px 16px 20px 16px !important;
    }

    .slider-nav-container {
        margin-bottom: 20px !important;
    }
}