
/* =========================================
   GENERAL SETTINGS
========================================= */

.product-page {
    margin: 0;
    padding: 0;

    font-family: 'Poppins', sans-serif;

    background: #ffffff;
    color: #222222;

    overflow-x: hidden;
}

.product-page main,
.product-page main * {
    box-sizing: border-box;
}

.product-page main {
    margin: 0;
    padding: 0;
}


/* =========================================
   FIXED HEADER
========================================= */

.product-page #mainHeader {
    position: fixed !important;

    top: 12px;
    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 40px);
    max-width: 1600px;

    margin: 0;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);

    z-index: 1050;

    transition: box-shadow 0.3s ease;
}

.product-page #mainHeader.scrolled {
    background: #ffffff;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}


/* =========================================
   PRODUCT DEVELOPMENT BANNER
========================================= */

.product-banner {
    position: relative;

    width: 100%;
    height: 450px;

    margin: 0;
    padding: 0;

    display: flex;

    align-items: center;

    overflow: hidden;

    background: #ead8b2;
}


/* BANNER IMAGE */

.product-banner-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-image: url('../images/banner.png');

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


/* BANNER OVERLAY */

.product-banner-overlay {
    position: absolute;

    inset: 0;

    background: rgba(255, 255, 255, 0.08);

    z-index: 1;
}


/* BANNER CONTENT */

.product-banner-container {
    position: relative;

    width: 100%;

    padding: 80px 30px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    z-index: 2;
}


/* =========================================
   BREADCRUMB
========================================= */

.product-breadcrumb {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 15px;

    font-size: 14px;

    font-weight: 500;

    color: #000000;

    animation: productFadeRight 1s ease;
}

.product-breadcrumb a {
    color: #000000;

    text-decoration: none;

    transition: color 0.3s ease;
}

.product-breadcrumb a:hover {
    color: #9b6900;
}

.product-breadcrumb i {
    color: #000000;

    font-size: 13px;
}

.product-breadcrumb span {
    color: #000000;
}


/* =========================================
   BANNER TITLE
========================================= */

.product-banner-title {
    margin: 0;

    font-size: 34px;

    font-weight: 600;

    line-height: 1.4;

    color: #000000;

    text-align: right;

    animation: productFadeLeft 1s ease;
}


/* =========================================
   PRODUCT CONTENT SECTION
========================================= */

.product-content {
    width: 100%;

    padding: 35px 45px;

    background: #ffffff;
}

.product-content-container {
    width: 100%;

    max-width: 1600px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 3fr)
        minmax(0, 1fr);

    align-items: center;

    gap: 45px;
}


/* =========================================
   LEFT SIDE DESCRIPTION
========================================= */

.product-description {
    width: 100%;
}

.product-description p {
    margin: 0 0 18px;

    font-size: 16px;

    font-weight: 400;

    line-height: 1.85;

    color: #222222;

    text-align: justify;
}

.product-description p:last-child {
    margin-bottom: 0;
}


/* =========================================
   RIGHT SIDE PRODUCT IMAGE
========================================= */

.product-image-container {
    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;
}

.product-main-image {
    display: block;

    width: 100%;

    max-width: 280px;

    height: auto;

    object-fit: contain;

    transition: transform 0.5s ease;
}

.product-main-image:hover {
    transform: scale(1.05);
}


/* =========================================
   CONNECT WITH US SECTION
========================================= */

.product-connect {
    width: 100%;

    padding: 15px 10px;

    background: #f0f0f2;
}

.product-connect-container {
    width: 100%;

    display: grid;

    grid-template-columns: 2fr 1fr;

    align-items: center;

    gap: 15px;
}

.product-connect-container p {
    margin: 0;

    font-size: 15px;

    font-weight: 400;

    line-height: 1.6;

    color: #222222;
}

.product-connect-btn {
    justify-self: start;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 36px;

    padding: 10px 16px;

    background: #000000;

    color: #ffffff;

    border-radius: 4px;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.product-connect-btn:hover {
    background: #ffb000;

    color: #111111;

    transform: translateY(-2px);
}


/* =========================================
   FLOATING WHATSAPP BUTTON
========================================= */

.product-whatsapp {
    position: fixed;
    right: 25px;
    bottom: 85px;
    left: auto;
    width: 55px;
    height: 55px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    animation: productWhatsAppAppear 0.8s ease;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.product-whatsapp i {
    font-size: 30px;
    color: #ffffff;
}


.product-whatsapp:hover {
    background: #128c7e;

    color: #ffffff;

    transform: translateY(-4px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}


/* =========================================
   BANNER ANIMATIONS
========================================= */

@keyframes productFadeRight {

    from {
        opacity: 0;

        transform: translateX(-40px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}

@keyframes productFadeLeft {

    from {
        opacity: 0;

        transform: translateX(40px);
    }

    to {
        opacity: 1;

        transform: translateX(0);
    }

}

@keyframes productWhatsAppAppear {

    from {
        opacity: 0;

        transform: translateY(30px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */

.product-reveal-left.animate-reveal {
    opacity: 0;

    transform: translateX(-40px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.product-reveal-right.animate-reveal {
    opacity: 0;

    transform: translateX(40px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.product-reveal-left.animate-reveal.visible,
.product-reveal-right.animate-reveal.visible {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================
   TABLET RESPONSIVE
========================================= */

@media (max-width: 1024px) {

    .product-page #mainHeader {
        top: 10px;

        width: calc(100% - 30px);

        border-radius: 18px;
    }

    .product-banner {
        height: 400px;
    }

    .product-banner-container {
        padding: 70px 25px 0;
    }

    .product-banner-title {
        font-size: 28px;
    }

    .product-breadcrumb {
        font-size: 13px;
    }

    .product-content {
        padding: 30px;
    }

    .product-content-container {
        grid-template-columns:
            minmax(0, 2.5fr)
            minmax(0, 1fr);

        gap: 25px;
    }

    .product-description p {
        font-size: 15px;
    }

    .product-main-image {
        max-width: 240px;
    }

}


/* =========================================
   MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .product-page #mainHeader {
        top: 8px;

        width: calc(100% - 20px);

        border-radius: 15px;
    }

    .product-banner {
        height: 350px;
    }

    .product-banner-container {
        padding: 70px 20px 0;

        flex-direction: column-reverse;

        justify-content: center;

        gap: 15px;
    }

    .product-banner-title {
        font-size: 27px;

        text-align: center;
    }

    .product-breadcrumb {
        justify-content: center;

        font-size: 12px;

        gap: 10px;
    }

    .product-content {
        padding: 25px 20px;
    }

    .product-content-container {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .product-description p {
        font-size: 14px;

        line-height: 1.85;

        text-align: left;
    }

    .product-main-image {
        max-width: 250px;
    }

    .product-connect {
        padding: 20px 15px;
    }

    .product-connect-container {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .product-connect-container p {
        font-size: 14px;
    }

    .product-connect-btn {
        justify-self: center;
    }

    .product-whatsapp {
        right: 15px;
        bottom: 85px;
        width: 50px;
        height: 50px;
    }

    .product-whatsapp i {
        font-size: 30px;
        color: #ffffff;
    }

}


/* =========================================
   SMALL MOBILE RESPONSIVE
========================================= */

@media (max-width: 480px) {

    .product-page #mainHeader {
        top: 5px;

        width: calc(100% - 16px);

        border-radius: 12px;
    }

    .product-banner {
        height: 300px;
    }

    .product-banner-title {
        font-size: 24px;
    }

    .product-breadcrumb {
        font-size: 10px;

        gap: 8px;
    }

    .product-content {
        padding: 25px 15px;
    }

    .product-description p {
        font-size: 14px;

        line-height: 1.8;
    }

    .product-main-image {
        max-width: 210px;
    }

    .product-connect-container p {
        font-size: 13px;
    }

    .product-connect-btn {
        font-size: 12px;
    }

    /* WHATSAPP ICON ONLY ON SMALL MOBILE */

    .product-whatsapp {
        right: 12px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .product-whatsapp i {
        font-size: 30px;
        color: #ffffff;
    }


}


/* =========================================
   ACCESSIBILITY
========================================= */

.product-page main a:focus-visible,
.product-whatsapp:focus-visible {
    outline: 3px solid #ffb000;

    outline-offset: 4px;
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .product-breadcrumb,
    .product-banner-title,
    .product-whatsapp {
        right: 12px;
        bottom: 80px;
        width: 50px;
        height: 50px;
    }

    .product-reveal-left.animate-reveal,
    .product-reveal-right.animate-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }

    .product-page #mainHeader,
    .product-main-image,
    .product-connect-btn,
    .product-whatsapp,
    .product-breadcrumb a {
        transition: none;
    }

}

/* SMALL WHATSAPP CIRCLE - LEFT SIDE */

.product-page .product-whatsapp {
    position: fixed;

    left: 20px;
    right: auto;
    bottom: 25px;

    width: 42px;
    height: 42px;
    min-height: 42px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25d366;
    color: #ffffff;

    border-radius: 50%;
    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    z-index: 9999;
}

.product-page .product-whatsapp i {
    font-size: 24px;
    color: #ffffff;
}

.product-page .product-whatsapp span {
    display: none;
}

.product-page .product-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
}

/* MOBILE RESPONSIVE */

@media (max-width: 768px) {

    .product-page .product-whatsapp {
        left: 15px;
        right: auto;
        bottom: 20px;

        width: 40px;
        height: 40px;
        min-height: 40px;
    }

    .product-page .product-whatsapp i {
        font-size: 22px;
    }
}
