/* ArtiZynt site-2 | prefix: apd | layout: flat-borders | font: Rubik */

:root {
    --apd-primary: #0F4146;
    --apd-primary-light: #A8C8C9;
    --apd-accent: #FFA13C;
    --apd-accent-start: #FFCF21;
    --apd-accent-hover: #E8901A;
    --apd-bg: #FFFEFA;
    --apd-bg-alt: #FFF2E0;
    --apd-surface: #F5F5F5;
    --apd-surface-warm: #FDEAD4;
    --apd-text: #28261B;
    --apd-text-secondary: #444A49;
    --apd-text-muted: #5A5956;
    --apd-border: #A8C8C9;
    --apd-price-old: #5A5956;
    --apd-price-new: #F42F29;
    --apd-footer-bg: #0F4146;
    --apd-footer-text: #A8C8C9;
    --apd-font: 'Rubik', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--apd-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--apd-text);
    background: var(--apd-bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--apd-primary); text-decoration: none; }
a:hover { color: var(--apd-accent); }

ul, ol { padding-left: 1.4em; }

/* ===================== HEADER ===================== */
.apd-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--apd-bg);
    border-bottom: 1px solid var(--apd-border);
}

.apd-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.apd-header__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.apd-site-logo-badge { width: 30px; height: 30px; flex: 0 0 auto; }
.apd-logo-wordmark { display: inline-flex; align-items: center; }
.apd-header__logo { width: 140px; height: auto; }

.apd-header__nav {
    display: flex;
    gap: 24px;
}

.apd-header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--apd-text);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.apd-header__link:hover {
    color: var(--apd-accent);
    border-bottom-color: var(--apd-accent);
}

.apd-header__burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.apd-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--apd-text);
    transition: transform 0.3s;
}

.apd-header__close {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--apd-text);
    cursor: pointer;
    position: absolute;
    top: 16px;
    right: 20px;
}

/* ===================== HERO ===================== */
.apd-hero {
    background: var(--apd-bg);
    border-bottom: 1px solid var(--apd-border);
    padding: 48px 0 56px;
}

.apd-hero__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: center;
}

.apd-hero__figure {
    border: 1px solid var(--apd-border);
    padding: 16px;
    background: #fff;
}

.apd-hero__img {
    width: 100%;
    height: auto;
}

.apd-hero__title {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--apd-primary);
    margin-bottom: 20px;
}

.apd-hero__content p {
    margin-bottom: 14px;
    color: var(--apd-text-secondary);
}

/* ===================== PRICE BLOCK ===================== */
.apd-price-block {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid var(--apd-border);
    background: var(--apd-bg-alt);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.apd-price-block--section {
    margin-top: 28px;
    margin-bottom: 28px;
    flex-direction: column;
    align-items: flex-start;
}

.apd-price-block__badge {
    display: inline-block;
    background: var(--apd-price-new);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 4px;
}

.apd-price-block__prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.apd-price-block__row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.apd-price-block__old {
    font-size: 16px;
    color: var(--apd-price-old);
}

.apd-price-block__new {
    font-size: 28px;
    font-weight: 700;
    color: var(--apd-price-new);
}

.apd-price-block__label {
    font-weight: 600;
    font-size: 18px;
    color: var(--apd-primary);
    margin-bottom: 4px;
}

.apd-price-block__details {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 4px;
}

.apd-price-block__details li {
    font-size: 15px;
    color: var(--apd-text-secondary);
    padding: 2px 0;
}

/* ===================== BUTTON ===================== */
.apd-btn {
    display: inline-block;
    font-family: var(--apd-font);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    border: none;
}

.apd-btn--cta {
    background: linear-gradient(90deg, var(--apd-accent-start) 0%, var(--apd-accent) 100%);
    color: var(--apd-text);
    padding: 12px 28px;
    border-radius: 4px;
    border-bottom: 3px solid var(--apd-accent-hover);
}

.apd-btn--cta:hover {
    background: var(--apd-accent-hover);
    color: #fff;
}

/* ===================== OVERVIEW TABLE ===================== */
.apd-overview {
    border-bottom: 1px solid var(--apd-border);
    padding: 32px 0;
}

.apd-overview__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.apd-overview__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.apd-overview__table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--apd-border);
    vertical-align: top;
}

.apd-overview__label {
    font-weight: 600;
    color: var(--apd-primary);
    width: 200px;
    white-space: nowrap;
}

/* ===================== TOC ===================== */
.apd-toc {
    border-bottom: 1px solid var(--apd-border);
    padding: 28px 0;
    background: var(--apd-surface);
}

.apd-toc__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.apd-toc__heading {
    font-weight: 600;
    font-size: 18px;
    color: var(--apd-primary);
    margin-bottom: 12px;
}

.apd-toc__list {
    columns: 2;
    column-gap: 32px;
    padding-left: 1.4em;
}

.apd-toc__link {
    display: inline-block;
    padding: 3px 0;
    font-size: 15px;
    color: var(--apd-text-secondary);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.apd-toc__link:hover {
    color: var(--apd-accent);
    border-bottom-color: var(--apd-accent);
}

/* ===================== SECTIONS ===================== */
.apd-segment {
    padding: 56px 0;
    border-bottom: 1px solid var(--apd-border);
}

.apd-segment--alt {
    background: var(--apd-surface);
}

.apd-segment__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.apd-segment__heading {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--apd-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--apd-accent);
}

.apd-segment__subheading {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--apd-primary);
    margin-top: 28px;
    margin-bottom: 14px;
}

.apd-segment p {
    margin-bottom: 14px;
    color: var(--apd-text-secondary);
}

.apd-segment__list {
    margin-bottom: 16px;
    color: var(--apd-text-secondary);
}

.apd-segment__list li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.apd-segment__note {
    font-size: 14px;
    color: var(--apd-text-muted);
    border-left: 3px solid var(--apd-accent);
    padding: 10px 16px;
    margin-top: 20px;
    background: var(--apd-bg-alt);
}

.apd-segment__figure {
    margin-top: 24px;
    margin-bottom: 16px;
    border: 1px solid var(--apd-border);
    padding: 8px;
    background: #fff;
}

.apd-segment__img {
    width: 100%;
    height: auto;
}

/* ===================== COMPOSITION TABLE ===================== */
.apd-composition {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.apd-composition th {
    text-align: left;
    padding: 10px 14px;
    background: var(--apd-primary);
    color: #fff;
    font-weight: 600;
    border: 1px solid var(--apd-primary);
}

.apd-composition td {
    padding: 10px 14px;
    border: 1px solid var(--apd-border);
    vertical-align: top;
}

.apd-composition tbody tr:nth-child(even) {
    background: var(--apd-surface);
}

.apd-composition tbody tr:hover {
    background: var(--apd-bg-alt);
}

/* ===================== INGREDIENTS ===================== */
.apd-ingredient {
    padding: 16px 0;
    border-bottom: 1px solid var(--apd-border);
}

.apd-ingredient:last-child {
    border-bottom: none;
}

.apd-ingredient__name {
    font-size: 17px;
    font-weight: 600;
    color: var(--apd-primary);
    margin-bottom: 8px;
}

.apd-ingredient p {
    margin-bottom: 0;
}

/* ===================== STEPS ===================== */
.apd-steps {
    counter-reset: apd-step;
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.apd-steps__item {
    padding: 16px 16px 16px 56px;
    position: relative;
    border: 1px solid var(--apd-border);
    margin-bottom: 12px;
    background: #fff;
    counter-increment: apd-step;
}

.apd-steps__item::before {
    content: counter(apd-step);
    position: absolute;
    left: 16px;
    top: 16px;
    width: 28px;
    height: 28px;
    background: var(--apd-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.apd-steps__name {
    display: block;
    font-weight: 600;
    color: var(--apd-primary);
    margin-bottom: 6px;
}

.apd-steps__item p {
    margin-bottom: 0;
    color: var(--apd-text-secondary);
}

/* ===================== TESTIMONIALS ===================== */
.apd-testimonials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.apd-testimonial {
    border: 1px solid var(--apd-border);
    padding: 20px;
    background: #fff;
    transition: border-color 0.2s;
}

.apd-testimonial:hover {
    border-bottom: 3px solid var(--apd-accent);
}

.apd-testimonial__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.apd-testimonial__name {
    font-size: 15px;
    color: var(--apd-primary);
}

.apd-testimonial__stars {
    color: var(--apd-accent);
    font-size: 16px;
    letter-spacing: 2px;
}

.apd-testimonial__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--apd-text-secondary);
}

/* ===================== FAQ ===================== */
.apd-faq {
    margin-top: 20px;
}

.apd-faq__item {
    border: 1px solid var(--apd-border);
    margin-bottom: 8px;
    background: #fff;
}

.apd-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 500;
    color: var(--apd-primary);
    cursor: pointer;
    list-style: none;
    transition: background 0.2s;
}

.apd-faq__question::-webkit-details-marker { display: none; }

.apd-faq__question::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--apd-accent);
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.2s;
}

.apd-faq__item[open] .apd-faq__question::after {
    content: '-';
}

.apd-faq__item[open] .apd-faq__question {
    border-bottom: 1px solid var(--apd-border);
    background: var(--apd-surface);
}

.apd-faq__answer {
    padding: 16px 20px;
}

.apd-faq__answer p {
    margin-bottom: 0;
    color: var(--apd-text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* ===================== AUTHOR ===================== */
.apd-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid var(--apd-border);
    background: #fff;
}

.apd-author__avatar {
    flex-shrink: 0;
}

.apd-author__img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid var(--apd-border);
    border-radius: 4px;
}

.apd-author__info {
    display: flex;
    flex-direction: column;
}

.apd-author__name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--apd-primary);
}

.apd-author__role {
    display: block;
    font-size: 14px;
    color: var(--apd-text-muted);
    margin-top: 4px;
}

.apd-author__opinion p {
    color: var(--apd-text-secondary);
    margin-bottom: 14px;
}

.apd-author__opinion p:last-child {
    margin-bottom: 0;
}

/* ===================== DISCLAIMER ===================== */
/* ===================== LEGAL PAGES ===================== */
.apd-legal p {
    margin-bottom: 14px;
}

.apd-legal__meta {
    font-size: 14px;
    color: var(--apd-text-muted);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--apd-border);
}

/* ===================== DISCLAIMER ===================== */
.apd-disclaimer {
    padding: 24px 0;
    background: var(--apd-surface-warm);
    border-bottom: 1px solid var(--apd-border);
}

.apd-disclaimer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.apd-disclaimer p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--apd-text-muted);
}

/* ===================== FOOTER ===================== */
.apd-footer {
    background: var(--apd-footer-bg);
    padding: 40px 0 32px;
    color: var(--apd-footer-text);
}

.apd-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.apd-footer__brand {
    margin-bottom: 20px;
}

.apd-footer__logo {
    width: 120px;
    height: auto;
    margin: 0 auto;
    filter: brightness(0) invert(1);
}

.apd-footer__nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
}

.apd-footer__link {
    font-size: 14px;
    color: var(--apd-footer-text);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.apd-footer__link:hover {
    color: #fff;
    border-bottom-color: var(--apd-accent);
}

.apd-footer__copy {
    font-size: 13px;
    color: var(--apd-footer-text);
    margin-bottom: 12px;
}

.apd-footer__disclaimer {
    font-size: 12px;
    color: var(--apd-footer-text);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ===================== RESPONSIVE ===================== */

/* 1024px */
@media (max-width: 1024px) {
    .apd-hero__inner {
        gap: 28px;
    }

    .apd-hero__title {
        font-size: 28px;
    }

    .apd-testimonials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 768px */
@media (max-width: 768px) {
    .apd-header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--apd-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 200;
    }

    .apd-header__nav.apd-nav--open {
        display: flex;
    }

    .apd-header__nav.apd-nav--open ~ .apd-header__close {
        display: block;
        z-index: 201;
    }

    .apd-header__link {
        font-size: 18px;
    }

    .apd-header__burger {
        display: flex;
    }

    .apd-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .apd-hero__media {
        order: -1;
        max-width: 360px;
        margin: 0 auto;
    }

    .apd-hero__title {
        font-size: 26px;
    }

    .apd-segment {
        padding: 40px 0;
    }

    .apd-segment__heading {
        font-size: 22px;
    }

    .apd-toc__list {
        columns: 1;
    }

    .apd-testimonials {
        grid-template-columns: 1fr;
    }

    .apd-overview__label {
        width: auto;
        white-space: normal;
    }

    .apd-overview__table td {
        display: block;
        padding: 6px 14px;
    }

    .apd-overview__table td:first-child {
        padding-top: 12px;
        padding-bottom: 2px;
        border-bottom: none;
    }

    .apd-composition {
        font-size: 14px;
    }

    .apd-composition th,
    .apd-composition td {
        padding: 8px 10px;
    }
}

/* 320px */
@media (max-width: 480px) {
    .apd-hero {
        padding: 28px 0 36px;
    }

    .apd-hero__title {
        font-size: 22px;
    }

    .apd-hero__content p {
        font-size: 15px;
    }

    .apd-segment {
        padding: 32px 0;
    }

    .apd-segment__heading {
        font-size: 20px;
    }

    .apd-price-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .apd-price-block__new {
        font-size: 24px;
    }

    .apd-btn--cta {
        width: 100%;
        text-align: center;
    }

    .apd-author {
        flex-direction: column;
        text-align: center;
    }

    .apd-author__img {
        width: 90px;
        height: 90px;
    }

    .apd-steps__item {
        padding-left: 48px;
    }

    .apd-faq__question {
        padding: 14px 16px;
        font-size: 15px;
    }

    .apd-footer__nav {
        flex-direction: column;
        gap: 12px;
    }
}
/* ===== IMG-CAP HOTFIX v1 (prevent full-bleed image blowups on grid collapse) ===== */
main [class*="image"] img,main [class*="visual"] img,main [class*="media"] img,main [class*="feature"] img,main [class*="showcase"] img,main [class*="substance"] img,main [class*="foto"] img,main [class*="obr"] img{max-width:min(460px,100%);height:auto;margin-left:auto;margin-right:auto;display:block}
main figure img{max-width:min(560px,100%);height:auto;margin:0 auto;display:block}
main [class*="split-image"],main [class*="split-media"],main [class*="hero-image"],main [class*="hero-visual"]{display:flex;align-items:center;justify-content:center}

/* ingredient gallery */
.apd-ingr-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:24px 0}
.apd-ingr-grid figure{margin:0;text-align:center}
.apd-ingr-grid img{width:100%;height:auto;border-radius:12px;box-shadow:0 4px 16px rgba(0,0,0,.08)}
.apd-ingr-grid figcaption{font-size:13.5px;color:#6b6b6b;margin-top:8px;line-height:1.4}
@media(max-width:560px){.apd-ingr-grid{grid-template-columns:1fr}}
