/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* ==========================================
   BEOLIFE NAD+ - PRODUCT DESCRIPTION
   ========================================== */

.bl-nad-description {
    --bl-accent: #E9A187;
    --bl-accent-light: #FBF3EF;
    --bl-text: #292929;
    --bl-muted: #777777;
    --bl-border: #EAE7E5;
    --bl-white: #FFFFFF;

    margin: 0 auto;
    color: var(--bl-text);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
}

.bl-nad-description *,
.bl-nad-description *::before,
.bl-nad-description *::after {
    box-sizing: border-box;
}

.bl-nad-description p {
    margin: 0 0 16px;
    color: var(--bl-muted);
    font-size: 15px;
    line-height: 1.8;
}

.bl-nad-description strong {
    color: var(--bl-text);
    font-weight: 600;
}

.bl-nad-description h2,
.bl-nad-description h3 {
    padding: 0;
    color: var(--bl-text);
    font-weight: 700;
    line-height: 1.3;
}

.bl-nad-description h2 {
    margin: 0 0 20px;
    font-size: clamp(23px, 2.5vw, 30px);
    letter-spacing: -0.6px;
}

.bl-nad-description h3 {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -0.3px;
}

/* SEKCJE */

.bl-nad-section {
    margin-top: 65px;
}

.bl-nad-section-heading {
    margin-bottom: 24px;
}

.bl-nad-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #C98770;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1.4;
}

.bl-nad-section-heading .bl-nad-eyebrow::before,
.bl-nad-intro-content .bl-nad-eyebrow::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 14px;
    background: var(--bl-accent);
}

/* WPROWADZENIE */

.bl-nad-intro {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 45px;
    margin-bottom: 60px;
}

.bl-nad-intro h2 {
    font-size: clamp(25px, 3vw, 34px);
}

.bl-nad-intro-content p:last-child {
    margin-bottom: 0;
}

/* PLACEHOLDERY ZDJĘĆ */

.bl-nad-image-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 190px;
    border-radius: 9px;
    background:
        radial-gradient(circle at 70% 30%, rgba(233,161,135,.25), transparent 45%),
        linear-gradient(135deg, #F7F1ED, #EDE7E2);
    color: #A18D83;
}

.bl-nad-image-placeholder span {
    padding: 10px;
    font-size: 12px;
    letter-spacing: 1px;
    text-align: center;
    opacity: .75;
}

.bl-nad-image-intro {
    min-height: 280px;
}

/* Po dodaniu zdjęcia:
   umieść img wewnątrz placeholdera */

.bl-nad-image-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TABELA SKŁADU */

.bl-nad-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--bl-border);
    border-radius: 9px;
}

.bl-nad-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
}

.bl-nad-table th,
.bl-nad-table td {
    padding: 13px 18px;
    border: none;
    border-bottom: 1px solid #F0ECE9;
    text-align: left;
    vertical-align: middle;
}

.bl-nad-table th {
    background: #F7F1ED;
    color: var(--bl-text);
    font-weight: 700;
}

.bl-nad-table th:not(:first-child),
.bl-nad-table td:not(:first-child) {
    text-align: center;
}

.bl-nad-table td {
    color: #626262;
}

.bl-nad-table tbody tr:nth-child(even) {
    background: #FAF8F6;
}

.bl-nad-table tbody tr:last-child td {
    border-bottom: none;
}

.bl-nad-footnote {
    margin: 12px 0 !important;
    font-size: 12px !important;
}

.bl-nad-ingredients-note {
    padding-top: 10px;
    color: var(--bl-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* RDZEŃ I WSPARCIE */

.bl-nad-formula-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.bl-nad-formula-card {
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 120px;
    padding: 25px;
    border: 1px solid #F2E8E2;
    border-radius: 9px;
    background: var(--bl-accent-light);
}

.bl-nad-formula-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 55px;
    width: 55px;
    height: 55px;
    border-right: 1px solid var(--bl-accent);
    color: #C98770;
    font-size: 24px;
    font-weight: 300;
}

.bl-nad-card-label {
    display: block;
    margin-bottom: 5px;
    color: #B77F6B;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.bl-nad-formula-card strong {
    display: block;
    margin-bottom: 3px;
    font-size: 17px;
}

.bl-nad-formula-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* SKŁADNIKI */

.bl-nad-ingredient-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 35px;
}

.bl-nad-ingredient-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--bl-border);
}

/* UNIWERSALNA IKONA */
.bl-nad-ingredient-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
	padding: 15px;
    border-radius: 50%;
    background: #FBF3EF;
    border: 1px solid #F2E3DC;
}

.bl-nad-ingredient-icon svg {
    width: 30px;
    height: 30px;
    stroke: #D69A83;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bl-nad-ingredient-content h3 {
    font-size: 16px;
}

.bl-nad-ingredient-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
}

.bl-nad-disclaimer {
    margin-top: 22px !important;
    padding: 16px 20px;
    border-left: 3px solid var(--bl-accent);
    background: #FAF8F6;
    font-size: 13px !important;
}

/* STOSOWANIE */

.bl-nad-usage-box {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 28px;
    border: 1px solid #F2E8E2;
    border-radius: 9px;
    background: var(--bl-accent-light);
}

.bl-nad-usage-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-right: 1px solid var(--bl-accent);
    color: #C98770;
    font-size: 22px;
}

.bl-nad-usage-box p {
    margin: 0;
    color: var(--bl-text);
}

/* FAQ */

.bl-nad-faq-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.bl-nad-faq-item {
    overflow: hidden;
    border: 1px solid var(--bl-border);
    border-radius: 8px;
    background: var(--bl-white);
    transition: border-color .2s ease, background .2s ease;
}

.bl-nad-faq-item[open] {
    border-color: #E8C3B5;
    background: #FFFCFA;
}

.bl-nad-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 20px;
    color: var(--bl-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.bl-nad-faq-item summary::-webkit-details-marker {
    display: none;
}

.bl-nad-faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #C98770;
    font-size: 23px;
    font-weight: 400;
    line-height: 1;
    transition: transform .2s ease;
}

.bl-nad-faq-item[open] summary::after {
    content: "−";
}

.bl-nad-faq-answer {
    padding: 0 20px 18px;
}

.bl-nad-faq-answer p {
    margin: 0;
    font-size: 14px;
}

/* ZASTRZEŻENIE */

.bl-nad-legal {
    padding-top: 28px;
    border-top: 1px solid var(--bl-border);
}

.bl-nad-legal .bl-nad-section-heading {
    margin-bottom: 12px;
}

.bl-nad-legal p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.8;
}

/* RESPONSYWNOŚĆ */

@media (max-width: 900px) {

    .bl-nad-intro {
        grid-template-columns: 1fr 0.8fr;
        gap: 25px;
    }

    .bl-nad-ingredient-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .bl-nad-description {
        font-size: 14px;
    }

    .bl-nad-description p {
        font-size: 14px;
    }

    .bl-nad-section {
        margin-top: 45px;
    }

    .bl-nad-intro {
        grid-template-columns: 1fr;
        gap: 22px;
        margin-bottom: 45px;
    }

    .bl-nad-image-intro {
        min-height: 200px;
    }

    .bl-nad-description h2 {
        font-size: 23px;
    }

    .bl-nad-formula-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bl-nad-formula-card {
        min-height: 100px;
        padding: 18px;
    }

    .bl-nad-ingredient-card {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
    }

    .bl-nad-ingredient-icon {
        width: 52px;
        height: 52px;
    }

    .bl-nad-ingredient-icon svg {
        width: 26px;
        height: 26px;
    }

    .bl-nad-table {
        min-width: 520px;
    }

    .bl-nad-table th,
    .bl-nad-table td {
        padding: 11px 12px;
        font-size: 12px;
    }

    .bl-nad-usage-box {
        gap: 15px;
        padding: 18px;
    }

    .bl-nad-faq-item summary {
        padding: 15px;
        font-size: 13px;
    }

    .bl-nad-faq-answer {
        padding: 0 15px 15px;
    }

}

