﻿/* =========================================================
   WELFLEW PRODUCTS PAGE V4 PREMIUM (FINAL FREEZE)
   Same Design Language as Home Page
========================================================= */

/* =========================================================
   DESKTOP
========================================================= */


/* =========================================================
   PRODUCTS HERO (LEFT CONTENT + RIGHT IMAGE)
========================================================= */

.products-hero {
    padding: 28px 0 20px;
    margin-bottom: 20px;
}

/* ---------- Left Content ---------- */


.products-hero-title {
    font-size: clamp(3.4rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
    text-align: left;
    color: var(--text);
    margin-bottom: 24px;
}

.products-title-line {
    width: 100px;
    height: 4px;
    margin: 0 0 20px;      /* Left align */
    border-radius: 50px;
    background: linear-gradient(90deg,#EF4444 0%, var(--primary) 50%, var(--accent) 100%);
    box-shadow: 0 0 10px rgba(var(--primary-rgb), .25);
}

.products-subtitle {
    max-width: 620px;
    text-align: left;
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---------- Right Image ---------- */

.products-hero-image {
    margin-top: 0;
    overflow: hidden;
    border-radius: 26px;
}

.products-featured-image {
    width: 100%;
    height: 350px;
    display: block;
    object-fit: cover;
    object-position: top center; /* Zoom fix */

    border-radius: 26px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 55px rgba(var(--primary-rgb), .15);
}

/* =========================================================
   MOBILE HERO
========================================================= */

@media (max-width:991px) {

    .products-hero {
        padding: 28px 0 20px;
        
    }

    .products-title-line {
        margin: 0 auto 16px;
    }

    .products-hero-title {
        text-align: center;
        max-width: 520px;
        font-size: clamp(2.2rem, 8vw, 3rem);
        margin-top: 18px;
        margin-bottom: 18px;
    }

    .products-subtitle {
        text-align: center;
        font-size: 16px;
        line-height: 1.8;
        margin: 0 auto;
    }

    .products-hero-image {
        margin-top: 24px;
    }

    .products-featured-image {
        height: 200px;
        object-position: top center;
        border-radius: 18px;
    }
}

/* ---------------------------------------------------------
   PRODUCT CARD (HOME COUNTER STYLE)
--------------------------------------------------------- */

.product-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    overflow: visible; /* hidden → visible */
    position: relative;
    height: 100%;
    box-shadow: 0 14px 28px rgba(0,0,0,.12);
    transition: all .35s ease;
}

    .product-card:hover {
        transform: translateY(-6px); /* 8 → 6 */
        border-color: rgba(var(--primary-rgb), .35);
        box-shadow: 0 22px 40px rgba(var(--primary-rgb), .18);
    }


/* =========================================================
   PRODUCT STRIP IMAGE (FINAL FREEZE)
========================================================= */

.product-image-box {
    width: 100%;
    height: 210px; /* Sab cards ki image same height */
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: var(--surface-soft);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop kare, stretch nahi */
    object-position: center;
    display: block;
    transition: transform .45s ease;
}

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

/* ---------- Content ---------- */

.product-card .card-body {
    background: transparent;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center; /* Title vertically center */
    justify-content: center;
    min-height: 82px;
}

.product-title {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    text-align: center;
    /* Maximum 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-short {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
    margin: 0;
}

.product-description,
.product-description p,
.product-description li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
}

    .product-description p:last-child {
        margin-bottom: 0;
    }

    .product-description ul {
        padding-left: 20px;
        margin-bottom: 0;
    }

/* ---------- Button ---------- */

.product-btn {
    margin-top: auto;
    border-radius: 14px;
    padding: 13px 18px;
    font-size: 15px;
    font-weight: 700;
}
.products-hero .row {
    --bs-gutter-x: 2rem;
    margin-left: 0;
    margin-right: 0;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:991px) {

    .products-hero .row {
        --bs-gutter-x: 1.5rem;
    }
     
    .product-card {
        border-radius: 18px;
    }

    .product-image {
        height: 220px;
    }

    .product-card .card-body {
        padding: 18px;
    }

    .product-title {
        font-size: 20px;
    }

    .product-short,
    .product-description,
    .product-description p,
    .product-description li {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-btn {
        width: 100%;
        padding: 12px 16px;
    }
}

/* =========================================================
   WELFLEW PRODUCTS PAGE V4 - PART 2
   (Only NEW Sections - No Duplicate CSS)
========================================================= */


/* =========================================================
   COMMON SECTION HEADING
========================================================= */

.section-heading {
    max-width: 900px;
    margin: 0 auto 55px;
    padding-top: 0;
    margin-bottom: 24px;
}

    .section-heading h2 {
        color: var(--text);
        font-size: clamp(2.2rem, 3vw, 3rem);
        font-weight: 800;
        margin-bottom: 18px;
        line-height: 1.2;
    }

/* =========================================================
   PRODUCT DETAIL SHOWCASE
========================================================= */

.product-detail-section {
    padding-top: 12px;
}

.product-detail-block {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
    .product-detail-block .row {
        align-items: center;
    }
    .product-detail-block:last-child {
        border-bottom: none;
    }



.product-detail-image img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(var(--primary-rgb), .12);
    transition: .35s ease;
}

    .product-detail-image img:hover {
        transform: translateY(-4px);
    }

.product-detail-content {
    padding-left: 18px;
}
.product-detail-content h3 {
    color: var(--text);
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.detail-short {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.detail-description {
    color: var(--text-muted);
    line-height: 1.95;
}

    .detail-description p {
        margin-bottom: 18px;
    }

    .detail-description h2,
    .detail-description h3,
    .detail-description h4 {
        color: var(--text);
        margin-top: 30px;
        margin-bottom: 16px;
        font-weight: 700;
    }

    .detail-description ul {
        padding-left: 22px;
        margin-bottom: 20px;
    }

    .detail-description li {
        margin-bottom: 10px;
    }

    .detail-description strong {
        color: var(--text);
    }

.detail-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* =========================================================
   ABOUT PRODUCTS
========================================================= */

.products-about-section {
    padding: 90px 0;
}

.products-about-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 48px;
    box-shadow: 0 16px 40px rgba(0,0,0,.08);
}

/* =========================================================
   CTA SECTION
========================================================= */

.products-cta-section {
    padding: 90px 0 110px;
}

.products-cta-box {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 30px;
    padding: 55px;
    position: relative;
    overflow: hidden;
}

    .products-cta-box::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -120px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(255,255,255,.08);
    }

    .products-cta-box h2 {
        color: #fff;
        font-size: 42px;
        font-weight: 800;
        line-height: 1.2;
        margin: 18px 0;
    }

    .products-cta-box p {
        color: rgba(255,255,255,.92);
        font-size: 17px;
        line-height: 1.9;
    }

    .products-cta-box .detail-label {
        background: rgba(255,255,255,.12);
        border-color: rgba(255,255,255,.18);
        color: #fff;
    }

.cta-business-hours {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    margin-top: 18px;
    font-size: 15px;
}

.cta-phone {
    text-align: right;
    color: #fff;
}

    .cta-phone small {
        display: block;
        color: rgba(255,255,255,.75);
    }

    .cta-phone a {
        color: #fff;
        text-decoration: none;
        font-size: 22px;
        font-weight: 700;
    }

/* =========================================================
   MOBILE ONLY (Only New Sections)
========================================================= */

@media (max-width:991px) {

    .products-featured-image {
        height: 240px;
        border-radius: 18px;
        object-position: center;
    }

    .section-heading {
        margin-bottom: 20px;
    }

        .section-heading h2 {
            font-size: 30px;
        }

    .product-detail-section {
        padding: 55px 0;
    }

    /* ---------- Mobile Detail Layout (FINAL FIX) ---------- */

    .product-detail-block {
        padding: 32px 0;
    }

        /* =========================================================
   MOBILE PRODUCT ORDER FIX (FINAL)
========================================================= */

        .product-detail-block .row,
        .product-detail-block.reverse .row {
            display: flex;
           
        }

    /* Image always first */
    .product-detail-image {
        order: 1;
        margin-bottom: 10px;
    }
        .product-detail-image img {
            height: 220px; /* 260 → 220 */
            object-fit: cover;
            border-radius: 18px;
        }


    /* Text always second */
    .product-detail-content {
        order: 2;
        padding-left: 0;
        margin-top: 0;
        text-align: left;
    }

        .product-detail-content h3 {
            font-size: 28px;
        }

    .detail-short {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .detail-buttons {
        flex-direction: column;
        gap: 12px;
    }

        .detail-buttons .btn {
            width: 100%;
            margin-left: 0 !important;
        }

    .products-about-section {
        padding: 55px 0;
    }

    .products-about-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .products-cta-section {
        padding: 55px 0 70px;
    }

    .products-cta-box {
        padding: 28px 22px;
        border-radius: 22px;
    }

        .products-cta-box h2 {
            font-size: 28px;
        }

    .cta-phone {
        text-align: left;
        margin-top: 18px;
    }
}
/* =========================================================
   WELFLEW PRODUCT STRIP (HOME GALLERY CONTINUOUS LOOP)
   CSS ONLY VERSION
========================================================= */

/* ---------- Wrapper ---------- */

/* =========================================================
   PRODUCT STRIP WRAPPER (FINAL FIX)
========================================================= */

.product-strip-wrapper {
    width: 100%;
    overflow-x: hidden; /* Left-right loop hidden rahe */
    overflow-y: visible; /* Hover cut fix */

    padding-top: 12px; /* Hover ke liye space */
    padding-bottom: 14px; /* Shadow cut nahi hogi */
    margin-bottom: 28px;
    position: relative;
}

.product-strip {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: productLoop 35s linear infinite;
    will-change: transform;
}

    /* Pause animation on hover (Desktop) */
    .product-strip:hover {
        animation-play-state: paused;
    }

/* ---------- Card ---------- */
.product-strip-card {
    flex: 0 0 320px;
    min-width: 320px;
    position: relative; /* Required for z-index */
    z-index: 1;
    overflow: visible;
    transition: z-index .2s ease;
}

    .product-strip-card:hover {
        z-index: 100;
    }

/* ---------- Infinite Loop ---------- */

@keyframes productLoop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 14px));
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:991px) {

    .product-strip-wrapper {
        margin-bottom: 50px;
    }

    .product-strip {
        gap: 18px;
        animation-duration: 25s;
    }

    .product-strip-card {
        flex: 0 0 240px;
        min-width: 240px;
    }
}

.detail-description ul {
    list-style: none;
    padding-left: 0;
}

.detail-description li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
}

    .detail-description li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: 700;
    }

.product-strip-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

    .product-strip-link:hover {
        text-decoration: none;
        color: inherit;
    }