/* =========================================================
   PRODUCT WATER PURIFIER CSS
   Keep only product-page styling here.
   Global navbar/marquee/promo/OHSEM/WhatsApp styles are in global.css.
   ========================================================= */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    background-color: #ffffff;
    line-height: 1.5;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-padding {
    padding: 60px 0;
}
.btn-primary {
    display: inline-block;
    background: #c9002c;
    color: white;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary:hover {
    background: #a30023;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid #c9002c;
    color: #c9002c;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    transition: 0.3s;
    display: inline-block;
}
.btn-outline:hover {
    background: #c9002c;
    color: white;
}
html {
    scroll-behavior: smooth;
}

/* ---------- HERO ---------- */
.product-hero {
    padding: 80px 20px 70px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.78), rgba(255,255,255,0.88)),
        url("../../BACKGROUND/22.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left bottom;
}
.product-hero-grid,
.hero-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}
.product-hero-content,
.hero-content {
    flex: 1;
}
.product-hero-content h2,
.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #c9002c;
}
.product-hero-content h3,
.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.product-hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}
.icon-list,
.feature-list,
.hero-content ul {
    list-style: none;
    margin: 20px 0;
}
.icon-list li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    margin-bottom: 10px;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.9rem;
}
.feature-list li,
.hero-content ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-list li i,
.feature-list li i,
.hero-content ul li i {
    color: #c9002c;
}
.price-start {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c9002c;
    margin: 20px 0;
}
.product-image,
.hero-image,
.product-carousel {
    flex: 1;
    text-align: center;
}
.product-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

/* ---------- HERO SWIPER ---------- */
.product-carousel .swiper,
.productImageSwiper,
.heroSwiper {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.0);
}
.product-carousel img,
.productImageSwiper .swiper-slide img,
.heroSwiper .swiper-slide img {
    max-width: 78%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.productImageSwiper .swiper-slide,
.heroSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
}
.productImageSwiper .swiper-button-next,
.productImageSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #c9002c;
    background: rgba(255,255,255,0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.productImageSwiper .swiper-button-next:after,
.productImageSwiper .swiper-button-prev:after,
.heroSwiper .swiper-button-next:after,
.heroSwiper .swiper-button-prev:after {
    font-size: 20px;
}
.heroSwiper .swiper-pagination-bullet {
    background: #c9002c;
}

/* ---------- PRICING ---------- */
.pricing-section {
    background: #fff;
    padding: 40px 0;
}
.pricing-section .container {
    max-width: 1180px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 24px 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;
}
.pricing-flex {
    display: flex;
    align-items: stretch;
    gap: 28px;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.pricing-card {
    width: 300px;
    min-width: 280px;
    flex: 0 0 300px;
    min-height: 130px;
    background: #fff;
    border: 1px dashed #ddd;
    border-radius: 8px;
    padding: 20px 22px;
    text-align: left;
    box-shadow: none;
}
.pricing-card h3 {
    display: block;
    color: #ff3131;
    font-size: 16px;
    margin-bottom: 6px;
}
.pricing-card img {
    height: 22px !important;
    margin-bottom: 12px !important;
}
.pricing-card .price {
    font-size: 34px;
    font-weight: 500;
    color: #3f4a54;
    margin: 0 0 6px;
    line-height: 1;
}
.pricing-card .price small {
    font-size: 18px;
    font-weight: 400;
}
.pricing-card p {
    display: block;
    color: #3f4a54;
    font-size: 16px;
    line-height: 1.3;
    margin: 6px 0 0;
}
.pricing-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    min-width: unset;
    margin-right: 0;
}
.btn-price-list,
.btn-enquire {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}
.btn-price-list {
    padding: 0 28px;
    border: 1px solid #a5102d;
    background: #fff;
    color: #a5102d;
    cursor: pointer;
}
.btn-enquire {
    padding: 0 26px;
    background: #ff3131;
    color: #fff;
    border: 1px solid #ff3131;
}
.btn-enquire:hover {
    background: #e60023;
}

/* ---------- FEATURE / VIDEO ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.feature-card {
    background: #f8f9fc;
    border-radius: 24px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s ease;
}
.feature-card img,
.feature-card video {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 18px;
    display: block;
}
.large-video-section {
    margin: 40px 0;
}
.large-video-card {
    background: #f8f9fc;
    border-radius: 32px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.large-video-card video {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.large-video-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #c9002c;
}
.large-video-card p {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}
.inline-icon-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 700;
}


/* ---------- WD516 EXACT SHOWCASE LAYOUT ---------- */
.wd516-showcase {
    padding: 34px 0 18px;
}

.wd516-showcase .container {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.wd516-top-video,
.wd516-style-row,
.wd516-feature-combo,
.wd516-wide-video-overlay,
.wd516-moving-tap-row {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.wd516-top-video video {
    width: 100%;
    aspect-ratio: 16 / 8.3;
    object-fit: cover;
    display: block;
    background: #000;
}

.wd516-style-row {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    background: #fbfbfa;
}

.wd516-style-image {
    background: #f5f2ea;
    min-height: 440px;
}

.wd516-style-image img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    display: block;
}

.wd516-style-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 58px;
}

.wd516-style-text h2,
.wd516-moving-text h3 {
    font-size: clamp(2.1rem, 4vw, 3.15rem);
    line-height: 1.15;
    font-weight: 400;
    color: #111;
    margin-bottom: 18px;
}

.wd516-style-text p,
.wd516-moving-text p,
.wd516-mini-text p,
.wd516-overlay-box p,
.wd516-wide-overlay-text p {
    font-size: 1.06rem;
    line-height: 1.55;
}

.wd516-feature-combo {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(480px, 1.75fr);
    gap: 0;
    background: transparent;
}

.wd516-mini-card {
    background: #fff;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
    border-right: 10px solid #fff;
}

.wd516-mini-card img {
    width: 100%;
    aspect-ratio: 4 / 4.05;
    object-fit: cover;
    display: block;
}

.wd516-mini-text {
    padding: 28px 26px 34px;
}

.wd516-mini-text h3 {
    font-size: clamp(1.75rem, 2.4vw, 2.2rem);
    line-height: 1.15;
    font-weight: 400;
    color: #111;
    margin-bottom: 16px;
}

.wd516-mini-text p,
.wd516-moving-text p {
    color: #697078;
}

.wd516-large-overlay-card {
    position: relative;
    overflow: hidden;
    border-radius: 0 24px 24px 0;
    background: #dfeaf4;
}

.wd516-large-overlay-card img {
    width: 100%;
    height: 100%;
    min-height: 525px;
    object-fit: cover;
    display: block;
}

.wd516-overlay-box {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(40%, 410px);
    padding: 32px 34px;
    background: rgba(90, 90, 90, 0.48);
    color: #fff;
}

.wd516-overlay-box h3 {
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.22;
    font-weight: 400;
    color: #fff;
    margin-bottom: 18px;
}

.wd516-overlay-box p {
    color: #fff;
    font-weight: 500;
}

.wd516-wide-video-overlay {
    position: relative;
    background: #ddd;
}

.wd516-wide-video-overlay video {
    width: 100%;
    aspect-ratio: 16 / 8.7;
    object-fit: cover;
    display: block;
}

.wd516-wide-overlay-text {
    position: absolute;
    right: 10%;
    bottom: 12%;
    width: min(34%, 430px);
    color: #fff;
}

.wd516-wide-overlay-text h3 {
    font-size: clamp(2.6rem, 5.4vw, 4.6rem);
    line-height: 1.12;
    font-weight: 400;
    color: #fff;
    margin-bottom: 18px;
}

.wd516-wide-overlay-text p {
    color: #fff;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
}

.wd516-moving-tap-row {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(520px, 1.45fr);
    background: #fbfbfa;
}

.wd516-moving-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 34px;
}

.wd516-moving-text h3 {
    font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.wd516-moving-image {
    background: #dfeaf4;
}

.wd516-moving-image img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .wd516-style-row,
    .wd516-feature-combo,
    .wd516-moving-tap-row {
        grid-template-columns: 1fr;
    }

    .wd516-style-image,
    .wd516-style-image img {
        min-height: auto;
    }

    .wd516-style-image img {
        aspect-ratio: 16 / 10;
    }

    .wd516-style-text,
    .wd516-moving-text {
        padding: 30px 24px;
    }

    .wd516-mini-card {
        border-radius: 24px 24px 0 0;
        border-right: none;
        border-bottom: 10px solid #fff;
    }

    .wd516-large-overlay-card {
        border-radius: 0 0 24px 24px;
    }

    .wd516-large-overlay-card img {
        min-height: 440px;
    }

    .wd516-overlay-box {
        width: min(52%, 420px);
        padding: 24px 26px;
    }

    .wd516-wide-overlay-text {
        right: 6%;
        width: min(45%, 390px);
    }
}

@media (max-width: 767px) {
    .wd516-showcase {
        padding: 22px 0 12px;
    }

    .wd516-showcase .container {
        padding: 0 12px;
        gap: 18px;
    }

    .wd516-top-video,
    .wd516-style-row,
    .wd516-feature-combo,
    .wd516-wide-video-overlay,
    .wd516-moving-tap-row {
        border-radius: 18px;
    }

    .wd516-top-video video,
    .wd516-wide-video-overlay video,
    .wd516-style-image img,
    .wd516-moving-image img {
        aspect-ratio: 16 / 10;
        min-height: auto;
    }

    .wd516-style-text,
    .wd516-moving-text,
    .wd516-mini-text {
        padding: 22px 16px 24px;
    }

    .wd516-style-text h2,
    .wd516-moving-text h3,
    .wd516-mini-text h3,
    .wd516-overlay-box h3,
    .wd516-wide-overlay-text h3 {
        font-size: 1.85rem;
        margin-bottom: 12px;
    }

    .wd516-style-text p,
    .wd516-moving-text p,
    .wd516-mini-text p,
    .wd516-overlay-box p,
    .wd516-wide-overlay-text p {
        font-size: 0.96rem;
    }

    .wd516-mini-card {
        border-radius: 18px 18px 0 0;
        border-bottom: 8px solid #fff;
    }

    .wd516-mini-card img,
    .wd516-large-overlay-card img {
        aspect-ratio: 16 / 11;
        min-height: auto;
    }

    .wd516-large-overlay-card {
        border-radius: 0 0 18px 18px;
    }

    .wd516-overlay-box,
    .wd516-wide-overlay-text {
        position: static;
        width: 100%;
        padding: 18px 16px 20px;
        background: #6c6c6c;
    }

    .wd516-wide-overlay-text {
        background: #8b8c83;
    }
}

/* ---------- ACCORDION / SPEC ---------- */
.accordion-item {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.accordion-header {
    padding: 18px 24px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-content {
    padding: 0 24px 20px 24px;
    display: none;
    border-top: 1px solid #eee;
}
.accordion-item.active .accordion-content {
    display: block;
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.spec-table td,
.spec-table th {
    padding: 12px;
    border: 1px solid #ddd;
    vertical-align: top;
}
.spec-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* ---------- CTA BEFORE FOOTER ---------- */
.lg-cta {
    position: relative;
    width: 100%;
    margin-top: 80px;
    margin-bottom: -74px;
    z-index: 20;
    padding: 0 20px;
    background: transparent;
}
.lg-cta::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    bottom: 0;
    background: #971D37;
    z-index: 0;
}
.cta-container {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 999px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
}
.cta-logo {
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cta-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.cta-text {
    flex: 1;
    font-size: 25px;
    line-height: 1.4;
    color: #555;
    font-weight: 400;
    max-width: 560px;
}
.cta-btn {
    flex-shrink: 0;
}
.cta-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #a50034;
    color: #ffffff;
    padding: 13px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    min-width: 170px;
    transition: all 0.3s ease;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #971D37;
    color: #fff;
    padding: 100px 0 28px;
    position: relative;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.8fr 1fr 1.3fr;
    gap: 50px;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 32px;
    align-items: start;
}
.footer-col h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer-col p,
.footer-col a,
.footer-contact-item {
    color: #fff;
    font-size: 17px;
    line-height: 1.45;
}
.footer-intro-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 24px;
    max-width: 360px;
}
.footer-intro-desc {
    max-width: 360px;
    margin-bottom: 28px;
}
.footer-bullet-list a,
.footer-bullet-list .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    color: #fff;
}
.footer-bullet-list a::before {
    content: "●";
    font-size: 12px;
    line-height: 1.8;
    flex-shrink: 0;
}
.footer-contact-item i {
    width: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}
.footer-branch-label {
    font-weight: 700;
    margin: 6px 0 4px 0;
}
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    color: #111 !important;
    min-width: 330px;
    padding: 16px 28px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 28px;
}
.footer-bottom {
    text-align: center;
    margin-top: 44px;
    color: #fff;
    font-size: 18px;
}

/* ---------- RESPONSIVE PRODUCT PAGE ONLY ---------- */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .pricing-row {
        flex-direction: column;
        align-items: stretch;
    }
    .pricing-actions {
        justify-content: center;
        margin-top: 20px;
    }
    .pricing-flex {
        justify-content: center;
    }
}
@media (max-width: 1024px) {
    .product-hero-grid,
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
    .feature-list li,
    .hero-content ul li {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .product-hero {
        padding: 56px 18px 48px;
    }
    .product-hero-content h2,
    .hero-content h2 {
        font-size: 2rem;
    }
    .product-hero-content h3,
    .hero-content h3 {
        font-size: 1.35rem;
    }
    .product-carousel img,
    .productImageSwiper .swiper-slide img,
    .heroSwiper .swiper-slide img {
        max-width: 82%;
        max-height: 230px;
    }
    .pricing-section .container {
        padding: 20px;
    }
    .pricing-card {
        width: 100%;
        min-width: auto;
        flex: 1 1 100%;
    }
    .pricing-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-price-list,
    .btn-enquire {
        width: 100%;
    }
    .large-video-card {
        padding: 20px;
    }
    .large-video-card h3 {
        font-size: 1.2rem;
    }
    .cta-container {
        border-radius: 26px;
        flex-direction: column;
        text-align: center;
        padding: 22px;
    }
    .cta-text {
        font-size: 19px;
    }
    .footer {
        padding: 50px 0 24px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 20px;
    }
    .footer-intro-title {
        font-size: 24px;
        max-width: 100%;
    }
    .footer-intro-desc {
        max-width: 100%;
    }
    .footer-col p,
    .footer-col a,
    .footer-contact-item {
        font-size: 16px;
    }
    .footer-whatsapp-btn {
        min-width: 100%;
        width: 100%;
    }
    .footer-bottom {
        font-size: 16px;
        margin-top: 34px;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .section-padding {
        padding: 42px 0;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
