
/* =========================================================
   CLOVEBAY LIFESCIENCES
   SINGLE PRODUCT DETAIL PAGE
========================================================= */

.product-detail-page {
    background: #ffffff;
}

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

/* BREADCRUMB */

.product-detail-page .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    color: #78857c;
    font-size: 13px;
}

.product-detail-page .breadcrumb a {
    color: #267448;
    text-decoration: none;
    font-weight: 600;
}

.product-detail-page .breadcrumb a:hover {
    text-decoration: underline;
}

/* MAIN LAYOUT */

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 55px;
    align-items: start;
}

/* PRODUCT GALLERY */

.product-gallery {
    min-width: 0;
}

.gallery-main {
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background: #f7faf7;
    border: 1px solid #e9efe9;
    border-radius: 18px;
}

.gallery-main img {
    width: 100%;
    height: 420px;
    display: block;
    object-fit: contain;
}

.product-image-placeholder {
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #267448;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.gallery-thumbs .thumb {
    width: 76px;
    height: 76px;
    padding: 5px;
    background: #ffffff;
    border: 1px solid #e3eae3;
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
}

.gallery-thumbs .thumb.active {
    border: 2px solid #267448;
}

.gallery-thumbs .thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* PRODUCT CONTENT */

.detail-content {
    min-width: 0;
}

.product-labels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 17px;
}

.featured {
    display: inline-block;
    padding: 7px 13px;
    color: #8a641b;
    background: #fff4d9;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.product-sku {
    color: #7b887f;
    font-size: 12px;
}

.detail-content h1 {
    margin: 0 0 18px;
    color: #173d2b;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 750;
    line-height: 1.2;
}

.product-lead {
    margin: 0 0 22px;
    color: #65746a;
    font-size: 16px;
    line-height: 1.8;
}

.product-intro {
    padding: 17px 20px;
    margin: 22px 0 28px;
    background: #f1f8f2;
    border-left: 4px solid #267448;
    border-radius: 8px;
}

.product-intro p {
    margin: 0;
    color: #465d4c;
    font-size: 14px;
    line-height: 1.8;
}

/* CONTENT SECTIONS */

.product-content-section {
    margin: 30px 0;
}

.product-content-section h2,
.product-specifications > h2 {
    margin: 0 0 14px;
    color: #173d2b;
    font-size: 21px;
    font-weight: 700;
}

.product-content-section > p {
    margin: 0;
    color: #647168;
    font-size: 15px;
    line-height: 1.9;
}

/* BENEFITS */

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.benefits-list li {
    position: relative;
    padding-left: 27px;
    color: #56675c;
    font-size: 14px;
    line-height: 1.7;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #267448;
    font-size: 17px;
    font-weight: 800;
}

/* SPECIFICATIONS */

.product-specifications {
    margin-top: 32px;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 18px;
}

.info-card {
    padding: 20px;
    background: #f8faf8;
    border: 1px solid #e8eee8;
    border-radius: 12px;
}

.info-card h3 {
    margin: 0 0 10px;
    color: #267448;
    font-size: 15px;
    font-weight: 700;
}

.info-card p {
    margin: 0;
    color: #65736a;
    font-size: 14px;
    line-height: 1.8;
}

/* ENQUIRY CTA */

.product-detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
    padding: 24px;
    background: #f0f7f1;
    border: 1px solid #dcebdd;
    border-radius: 15px;
}

.product-cta-content {
    flex: 1 1 220px;
}

.product-cta-content h2 {
    margin: 0 0 8px;
    color: #173d2b;
    font-size: 19px;
}

.product-cta-content p {
    margin: 0;
    color: #647168;
    font-size: 13px;
    line-height: 1.7;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 25px;
    color: #ffffff;
    background: #267448;
    border: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.product-btn:hover {
    color: #ffffff;
    background: #185a35;
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 900px) {

    .product-detail {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .gallery-main {
        min-height: 380px;
    }

    .gallery-main img {
        height: 350px;
    }
}

@media (max-width: 600px) {

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

    .product-detail {
        gap: 28px;
    }

    .gallery-main {
        min-height: 290px;
        padding: 18px;
    }

    .gallery-main img {
        height: 270px;
    }

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

    .product-lead {
        font-size: 15px;
    }

    .benefits-list,
    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-cta {
        align-items: stretch;
        padding: 20px;
    }

    .product-btn {
        width: 100%;
    }
}
