/* Kids Detail Page Specific Styles - Redesign */

.product-detail-container {
    padding-top: 30px;
}

.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 10px;
}

/* Left Column: Image Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
    overflow-y: auto;
    max-height: 500px;
}

.thumbnail-strip::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #ddd;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: var(--primary-blue);
    opacity: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-container {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    border: none;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 400px; /* Minimum height to maintain consistency */
}

.main-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.product-highlights {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #555;
    font-weight: 500;
}

.highlight-item i {
    color: var(--primary-blue);
}

/* Right Column: Product Info */
.product-info-detail {
    padding-left: 20px;
}

.product-title {
    color: #111;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.rating-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.stars {
    color: #ffa41c;
}

.review-count {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
}

.short-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.availability-status {
    font-weight: 700;
    margin-bottom: 25px;
    color: #111;
    font-size: 1.1rem;
}

.notify-box {
    border: 1px solid #ddd;
    padding: 30px;
    border-radius: 4px;
    margin-top: 20px;
}

.notify-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.notify-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.notify-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notify-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.notify-btn {
    background-color: #f6b400;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.notify-btn:hover {
    background-color: #e0a600;
}

.notify-note {
    font-size: 0.8rem;
    color: #777;
    margin-top: 15px;
    font-style: italic;
}

.notify-pdf-box {
    margin-top: 14px;
    border: none;
    border-radius: 0;
    padding: 0;
    background: transparent;
}

.notify-pdf-title {
    font-size: 1.06rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 6px;
}

.notify-pdf-text {
    font-size: 0.92rem;
    color: #666;
    margin-bottom: 12px;
}

.notify-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #0B4DBA;
    color: #fff;
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.notify-pdf-btn:hover {
    background: #073a8c;
    transform: translateY(-1px);
}

/* --- OVERVIEW SECTION --- */
.overview-section {
    padding: 60px 0;
    background-image: url('../image/kids1.jpeg');
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    text-align: center;
    --overview-title-color: #000000;
    --overview-text-color: #000000;
}

.overview-section::before {
    display: none;
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title-center {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    
}

.section-title-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
}

.overview-section .section-title-center {
    color: var(--overview-title-color);
    text-shadow: none;
}

.overview-section .section-title-center::after {
    background: #F6B400;
}

.overview-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--overview-text-color);
    text-shadow: none;
}

/* --- INGREDIENTS SECTION --- */
.ingredients-section {
    padding: 18px 0 86px;
    background-color: var(--kids-ingredients-bg, #162332);
    color: white;
    text-align: center;
}

.ingredients-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ingredients-card {
    background: white;
    border-radius: 30px;
    width: 90%;
    max-width: 1000px;
    overflow: hidden;
    display: flex;
    color: #333;
    min-height: 380px;
    text-align: left;
}

.ingredients-list-col {
    width: 30%;
    background-color: #f4f4f4;
    padding: 24px 0;
}

.ingredients-list-col.scrollable {
    max-height: 380px;
    overflow-y: auto;
}

.ingredient-tab {
    padding: 15px 30px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s;
    border-left: 4px solid transparent;
    text-align: left;
}

.ingredient-tab:hover {
    background-color: #e0e0e0;
}

.ingredient-tab.active {
    background-color: white;
    border-left-color: #F6B400;
}

.ingredient-detail-col {
    width: 70%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ingredient-detail-text {
    max-width: 60%;
}

.ingredient-visual {
    width: 35%;
}

/* Certification strip between Ingredients and Essentials */
.cert-strip-section {
    padding: 12px 0 14px;
    background: linear-gradient(to bottom, var(--kids-ingredients-bg, #162332) 0 58%, transparent 58% 100%);
    position: relative;
    z-index: 6;
    margin-top: -68px;
    margin-bottom: -68px;
}

.cert-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    width: 100%;
}

.cert-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    width: 122px;
    height: 122px;
    background: #ffffff;
    border-radius: 50%;
    border: 2px solid #000000;
}

.supplement-facts-link {
    display: block;
    text-align: center;
    margin-bottom: 14px;
    color: #ffffff;
    font-size: 1.75rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

.cert-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}

/* --- ESSENTIALS SECTION WITH BACKGROUND IMAGE (LIKE OVERVIEW) --- */
.essentials-section {
    padding: 30px;
    min-height: 400px;
    height: auto;
    background-image: url('../image/kids3.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: var(--essentials-text-color, #ffffff);
}

.essentials-section::before {
    display: none;
}

.essentials-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.essentials-content {
    width: 50%;
    max-width: 600px;
    margin: 0;
    text-align: left;
    padding-top: 26px;
}

.essentials-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--essentials-text-color, #ffffff);
    text-shadow: var(--essentials-text-shadow, 2px 2px 4px rgba(0, 0, 0, 0.35));
}

.essentials-detail {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--essentials-text-color, #ffffff);
    text-shadow: var(--essentials-text-shadow, 1px 1px 2px rgba(0, 0, 0, 0.35));
}

.essentials-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--essentials-text-color, #ffffff);
    text-shadow: var(--essentials-text-shadow, 1px 1px 2px rgba(0, 0, 0, 0.35));
}

.essentials-detail p {
    margin-bottom: 14px;
}

.essentials-detail .benefits-list {
    display: block;
    width: 100%;
}

.essentials-detail .benefit-item {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    line-height: 1.75;
    color: var(--essentials-text-color, #ffffff);
    text-shadow: var(--essentials-text-shadow, 1px 1px 2px rgba(0, 0, 0, 0.35));
}

.essentials-detail .benefit-icon {
    margin-top: 4px;
    flex: 0 0 24px;
}

.essentials-list {
    margin: 0;
    padding-left: 22px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--essentials-text-color, #ffffff);
    text-shadow: var(--essentials-text-shadow, 1px 1px 2px rgba(0, 0, 0, 0.35));
}

.essentials-list li {
    margin-bottom: 10px;
}

/* --- BENEFITS SECTION WITH BACKGROUND IMAGE (LIKE OVERVIEW) --- */
.benefits-section {
    padding: 20px 90px;
    background-image: url('../image/kids2.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefits-section::before {
    display: none;
}

.benefits-wrapper {
     display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
}

.benefits-content-col {
   width: 50%;              /* Control how much space it takes */
    max-width: 600px;
    text-align: left;        /* Align text left */
}

.benefits-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    position: relative;
    color: var(--benefits-text-color, #ffffff);
    text-shadow: var(--benefits-text-shadow, 2px 2px 4px rgba(0, 0, 0, 0.35));
}

.benefits-list {
    list-style: none;
    display: inline-block;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--benefits-text-color, #ffffff);
    text-shadow: var(--benefits-text-shadow, 1px 1px 2px rgba(0, 0, 0, 0.35));
}

.benefit-icon {
    width: 24px;
    height: 24px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
}

/* HOW TO USE Section (remove "box" look) */
.how-to-use-section {
    padding: 20px 0;
    background-color: #f9f9f9;
    position: relative;
}

.how-to-use-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 20px auto 0;
}

.how-to-use-card {
    flex: 1;
    padding: 10px 10px;
    text-align: center;
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.how-to-use-card:hover {
    transform: none;
    box-shadow: none;
}

.how-to-use-icon {
    font-size: 3rem;
    color: #0B4DBA;
    margin-bottom: 20px;
    background: rgba(11, 77, 186, 0.1);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.how-to-use-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
    font-family: 'Poppins', sans-serif;
}

.how-to-use-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Lab Test & Quality Assurance Section */
.labtest-section {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.labtest-section .container {
    max-width: none;
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
}

.labtest-wrapper {
    max-width: none;
    margin: 0;
    width: 100%;
    text-align: center;
}

.labtest-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    text-align: left;
}

.labtest-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #0B4DBA;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.labtest-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #F6B400;
    margin: 15px auto 0;
}

.labtest-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
}

.labtest-text p {
    margin-bottom: 15px;
}

.labtest-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
}

.badge i {
    font-size: 2.5rem;
    color: #0B4DBA;
}

.badge span {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.labtest-report {
    display: flex;
    justify-content: flex-end;
}

.labtest-card {
    display: flex;
    gap: 24px;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #eef0f4;
    width: 360px;
    max-width: 100%;
}

.labtest-doc {
    width: 130px;
    height: 170px;
    background: #fff;
    border: 1px solid #d9dde3;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.labtest-doc::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 28px solid #f3f4f7;
    border-left: 28px solid transparent;
}

.labtest-doc-header {
    height: 24px;
    background: #0b4dba;
}

.labtest-doc-lines {
    padding: 14px;
    display: grid;
    gap: 8px;
}

.labtest-doc-lines span {
    height: 6px;
    background: #e6e9ef;
    border-radius: 999px;
    display: block;
}

.labtest-doc-lines span:nth-child(2) {
    width: 90%;
}

.labtest-doc-lines span:nth-child(3) {
    width: 80%;
}

.labtest-doc-lines span:nth-child(4) {
    width: 95%;
}

.labtest-doc-lines span:nth-child(5) {
    width: 70%;
}

.labtest-report-text {
    flex: 1;
}

.labtest-report-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.labtest-report-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0b4dba;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.labtest-report-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.labtest-btn {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.labtest-btn.primary {
    background: #f6b400;
    color: #111;
    box-shadow: 0 6px 16px rgba(246, 180, 0, 0.25);
}

.labtest-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(246, 180, 0, 0.35);
}

.labtest-btn.outline {
    border-color: #0b4dba;
    color: #0b4dba;
    background: #fff;
}

.labtest-btn.outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 77, 186, 0.15);
}

.labtest-report-note {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* FAQs Section */
.faqs-section {
    padding: 10px 0;
    background-color: #fff;
}

.faqs-container {
    max-width: 800px;
    margin: 20px auto 0;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 25px;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #0B4DBA;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
    line-height: 1.6;
    color: #666;
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .product-detail-container {
        padding-top: 16px;
    }

    .product-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-info-detail {
        padding-left: 0;
    }

    .product-gallery {
        flex-direction: column-reverse;
        position: static;
        width: 100%;
    }

    .thumbnail-strip {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        justify-content: start;
        max-height: none;
        padding-bottom: 10px;
        gap: 10px;
    }

    .thumbnail {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .main-image-container {
        min-height: 300px;
    }

    .essentials-wrapper,
    .benefits-wrapper {
        flex-direction: column;
    }

    .ingredients-card {
        flex-direction: column;
    }

    .ingredients-list-col {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 12px 0;
        gap: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .ingredients-list-col::-webkit-scrollbar {
        display: none;
    }

    .ingredients-list-col.scrollable {
        max-height: none;
        overflow-y: visible;
    }

    .ingredient-detail-col {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .ingredient-detail-text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .ingredient-tab {
        white-space: nowrap;
        padding: 12px 18px;
        flex: 0 0 auto;
        border-left: none;
        border-radius: 999px;
        background: #ffffff;
        scroll-snap-align: start;
    }

    .ingredient-tab.active {
        background: #F6B400;
        color: #111;
    }

    .essentials-content,
    .benefits-content-col {
        width: 100%;
        max-width: 100%;
    }
    
    .essentials-section,
    .benefits-section {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .kids-detail-page .container {
        width: 94%;
    }

    .product-title {
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .rating-container {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .notify-box {
        padding: 18px;
        margin-top: 14px;
    }

    .notify-title {
        font-size: 1.1rem;
    }

    .notify-pdf-box {
        margin-top: 10px;
        padding: 14px;
    }

    .notify-pdf-title {
        font-size: 1rem;
    }
    
    .essentials-title,
    .benefits-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .essentials-list li,
    .benefit-item {
        font-size: 0.95rem;
        line-height: 1.55;
    }
    
    .benefits-section,
    .essentials-section,
    .labtest-section,
    .faqs-section {
        padding: 28px 0;
    }

    .essentials-section {
        min-height: 440px;
        padding: 56px 0 58px;
    }

    .essentials-content {
        padding-top: 16px;
    }

    .overview-section,
    .how-to-use-section {
        padding: 28px 0;
    }
    
    .labtest-title {
        font-size: 1.25rem;
        margin-bottom: 18px;
    }

    .labtest-section .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    
    .labtest-text {
        font-size: 0.95rem;
        padding: 0;
    }
    
    .labtest-badges {
        gap: 20px;
    }
    
    .badge {
        padding: 15px 20px;
    }
    
    .badge i {
        font-size: 2rem;
    }

    .labtest-grid {
        grid-template-columns: 1fr;
    }

    .labtest-card {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 14px;
        padding: 16px;
    }

    .labtest-doc {
        width: 100px;
        height: 130px;
    }

    .labtest-report-actions {
        justify-content: stretch;
    }

    .labtest-btn {
        width: 100%;
        text-align: center;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer.show {
        padding: 15px 20px;
        max-height: 420px;
    }

    .main-image-container {
        min-height: 250px;
    }

    .main-image:hover {
        transform: none;
    }

    .ingredients-card {
        width: 100%;
        border-radius: 16px;
    }

    .benefits-section {
        padding-left: 0;
        padding-right: 0;
    }

    .benefits-list {
        display: block;
    }

    .benefit-item {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 14px;
    }

    .how-to-use-container {
        gap: 14px;
        margin-top: 14px;
    }

    .how-to-use-card {
        flex: 1 1 100%;
        padding: 10px 4px;
    }

    .section-title-center {
        font-size: 1.25rem;
        letter-spacing: 1px;
    }

    .ingredients-section {
        padding: 14px 0 62px;
    }

    .ingredients-card {
        min-height: 320px;
    }

    .cert-strip {
        gap: 8px;
        justify-content: center;
        flex-wrap: nowrap;
        overflow: visible;
        padding: 0;
    }

    .cert-badge {
        min-width: 64px;
        width: 64px;
        height: 64px;
    }

    .cert-logo {
        width: 48px;
        height: 48px;
    }

    .supplement-facts-link {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .cert-strip-section {
        margin-top: -44px;
        margin-bottom: -44px;
        padding: 8px 0 10px;
    }
}

@media (max-width: 480px) {
    .kids-detail-page .container {
        width: 95%;
    }

    .product-title {
        font-size: 1.45rem;
    }

    .short-desc,
    .overview-text,
    .essentials-detail,
    .labtest-text,
    .faq-answer {
        font-size: 0.92rem;
    }

    .essentials-section {
        min-height: 360px;
        padding: 42px 0 44px;
    }

    .labtest-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 250px;
    }

    .main-image-container {
        min-height: 200px;
    }
    
    .main-image {
        max-height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }

    .how-to-use-icon {
        width: 64px;
        height: 64px;
        line-height: 64px;
        font-size: 2.2rem;
        margin-bottom: 14px;
    }

    .how-to-use-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .faq-question,
    .faq-answer.show {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Additional fixes for very large screens */
@media (min-width: 1400px) {
    .main-image-container {
        min-height: 500px;
    }
    
    .main-image {
        max-height: 700px;
    }
}
