
/* ==========================================
   Natur Advanta produktu apraksti
   ========================================== */

.na-product-info-page {
    background: #fff;
}


/* Ievads */

.na-product-info-intro {
    padding: 34px 18px 12px;
}

.na-product-info-lead {
    max-width: 900px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.7;

    color: #4e5e53;
}


/* Galvenais saturs */

.na-product-info-content {
    padding: 20px 18px 30px;
}

.na-product-info-content > .na-home-container {
    max-width: 1000px;
}

.na-product-info-content h2 {
    margin-top: 38px;
    margin-bottom: 16px;

    color: #2f5132;

    font-size: 27px;
}

.na-product-info-content h3 {
    color: #2f5132;
}

.na-product-info-content p,
.na-product-info-content li {
    font-size: 15px;
    line-height: 1.65;
}


/* Sastāvdaļas */

.na-product-info-ingredients {
    padding: 10px 18px 60px;
}

.na-product-info-ingredients > .na-home-container {
    max-width: 1000px;
}

.na-product-info-ingredients > .na-home-container > h2 {
    margin: 30px 0 20px;

    color: #2f5132;

    font-size: 27px;
}


/* Sastāvdaļa: bilde pa kreisi, teksts pa labi */

.na-product-info-ingredients .na-info-row {
    display: grid !important;

    grid-template-columns: 260px minmax(0, 1fr) !important;

    gap: 38px !important;

    align-items: center !important;

    margin: 0 !important;
    padding: 30px 0 !important;

    border-bottom: 1px solid #e4ebe3 !important;
}

.na-product-info-ingredients .na-info-row-image {
    order: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.na-product-info-ingredients .na-info-row-content {
    order: 2 !important;
}

.na-product-info-ingredients .na-info-row-image img {
    display: block !important;

    width: auto !important;
    height: auto !important;

    max-width: 240px !important;
    max-height: 240px !important;

    margin: 0 auto !important;

    object-fit: contain !important;
}

.na-product-info-ingredients .na-info-row-content h3 {
    margin: 0 0 10px;

    color: #2f5132;

    font-size: 22px;
}

.na-product-info-ingredients .na-info-row-content p {
    margin: 0;

    font-size: 15px;
    line-height: 1.65;
}


/* Mobilā versija */

@media (max-width: 768px) {

    .na-product-info-intro {
        padding-top: 24px;
    }

    .na-product-info-content h2,
    .na-product-info-ingredients > .na-home-container > h2 {
        font-size: 23px;
    }

    .na-product-info-ingredients .na-info-row {
        grid-template-columns: 1fr !important;

        gap: 18px !important;

        padding: 24px 0 !important;
    }

    .na-product-info-ingredients .na-info-row-image {
        order: 1 !important;
    }

    .na-product-info-ingredients .na-info-row-content {
        order: 2 !important;
    }

    .na-product-info-ingredients .na-info-row-image img {
        max-width: 220px !important;
        max-height: 220px !important;
    }
}


/* ==========================================
   Produktu aprakstu katalogs
   ========================================== */

.na-product-descriptions {
    margin-top: 50px;
}

.na-product-descriptions-heading {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
}

.na-product-descriptions-heading h2 {
    margin: 6px 0 10px;
    color: #2f5132;
    font-size: 32px;
}

.na-product-descriptions-heading p {
    margin: 0;
    color: #647168;
    font-size: 15px;
    line-height: 1.6;
}

.na-product-description-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.na-product-description-card {
    overflow: hidden;

    background: #fff;
    border: 1px solid #e1e8df;
    border-radius: 16px;

    box-shadow: 0 4px 18px rgba(48, 75, 54, .06);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.na-product-description-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 26px rgba(48, 75, 54, .11);
}

.na-product-description-image {
    display: block;

    aspect-ratio: 16 / 9;
    overflow: hidden;

    background: #f3f6f1;
}

.na-product-description-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.na-product-description-placeholder {
    width: 100%;
    height: 100%;
    background: #eef3ec;
}

.na-product-description-body {
    padding: 20px 20px 22px;
}

.na-product-description-brand {
    margin-bottom: 7px;

    color: #78905f;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.na-product-description-body h3 {
    margin: 0 0 8px;

    font-size: 20px;
    line-height: 1.2;
}

.na-product-description-body h3 a {
    color: #2f5132;
    text-decoration: none;
}

.na-product-description-body p {
    min-height: 44px;
    margin: 0 0 18px;

    color: #667268;

    font-size: 14px;
    line-height: 1.55;
}

.na-product-description-more {
    color: #3f6843;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.na-product-description-more span {
    margin-left: 4px;
}

.na-product-descriptions-empty {
    margin: 40px 0;
    text-align: center;
}


@media (max-width: 900px) {

    .na-product-description-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


@media (max-width: 600px) {

    .na-product-descriptions {
        margin-top: 34px;
    }

    .na-product-descriptions-heading h2 {
        font-size: 27px;
    }

    .na-product-description-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .na-product-description-body p {
        min-height: 0;
    }
}
