/* ==========================================================
   ClearSkin4u — Components
   Reusable UI patterns scoped under #cs-prof.
   Load after layout.css.
========================================================== */

/* ----- Kicker / section heading / lead ----- */

#cs-prof .cs-kicker {
    margin: 0 0 10px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

#cs-prof .cs-heading {
    max-width: 740px;
    margin: 0 auto 30px;
    text-align: center;
}

#cs-prof .cs-heading p:last-child {
    margin-bottom: 0;
}

#cs-prof .cs-lead {
    font-size: 16px;
    line-height: 1.7;
}

/* ----- Buttons & links ----- */

#cs-prof .cs-btn {
    display: inline-flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 19px;
    border: 1px solid var(--green);
    background: var(--green);
    color: var(--white) !important;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition:
        background-color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

#cs-prof .cs-btn:hover,
#cs-prof .cs-btn:focus-visible {
    border-color: var(--green-dark);
    background: var(--green-dark);
}

#cs-prof .cs-btn:active {
    transform: translateY(1px);
}

#cs-prof .cs-btn-outline {
    background: transparent;
    color: var(--green) !important;
}

#cs-prof .cs-btn-outline:hover,
#cs-prof .cs-btn-outline:focus-visible {
    background: var(--green);
    color: var(--white) !important;
}

#cs-prof .cs-text-link {
    display: inline-block;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#cs-prof .cs-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#cs-prof .cs-note {
    margin: 9px 0 0;
    color: #746e67;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

/* ----- Numbered / content cards ----- */

#cs-prof .cs-card {
    padding: 22px 18px;
    border: 1px solid var(--border);
    background: var(--white);
}

#cs-prof .cs-card-number {
    display: inline-flex;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--green);
    font-size: 12px;
    font-weight: 900;
}

#cs-prof .cs-card p:last-child {
    margin-bottom: 0;
    font-size: 14px;
}

/* ----- Process cards ----- */

#cs-prof .cs-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

#cs-prof .cs-process-card {
    padding: 22px 18px;
    border: 1px solid var(--border);
    background: var(--white);
}

#cs-prof .cs-process-card p:last-of-type {
    margin-bottom: 10px;
}

/* ----- Pricing cards ----- */

#cs-prof .cs-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 960px;
    margin: 0 auto;
}

#cs-prof .cs-price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 27px 19px;
    border: 1px solid var(--border);
    background: var(--white);
}

#cs-prof .cs-price-card.is-featured {
    border: 2px solid var(--green);
    box-shadow: var(--shadow);
}

#cs-prof .cs-popular {
    position: absolute;
    top: -13px;
    left: 50%;
    padding: 5px 12px;
    transform: translateX(-50%);
    background: var(--green);
    color: var(--white);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    white-space: nowrap;
    text-transform: uppercase;
}

#cs-prof .cs-amount {
    margin: 5px 0 11px;
    color: var(--green-dark);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 49px;
    font-weight: 600;
    line-height: 1;
}

#cs-prof .cs-save {
    margin-bottom: 13px;
    color: var(--green);
    font-size: 13px;
    font-weight: 900;
}

#cs-prof .cs-includes {
    display: grid;
    flex: 1;
    gap: 7px;
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
}

#cs-prof .cs-includes li {
    position: relative;
    padding-left: 21px;
    color: var(--muted);
    font-size: 13px;
}

#cs-prof .cs-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 900;
}

#cs-prof .cs-klarna {
    max-width: 960px;
    margin: 20px auto 0;
    padding: 14px 15px;
    background: var(--cream);
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

#cs-prof .cs-price-disclaimer {
    max-width: 760px;
    margin: 13px auto 0;
    color: #756e67;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

/* ----- Trust / practitioner ----- */

#cs-prof .cs-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

#cs-prof .cs-practitioner-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--cream-dark);
}

#cs-prof .cs-credentials {
    display: grid;
    gap: 8px;
    margin: 19px 0;
    padding: 0;
    list-style: none;
}

#cs-prof .cs-credentials li {
    padding: 10px 12px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

/* ----- Proof / review ----- */

#cs-prof .cs-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 23px;
    align-items: center;
}

#cs-prof .cs-result-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--border);
    background: var(--cream-dark);
}

#cs-prof .cs-caption {
    margin: 8px 0 0;
    font-size: 10px;
    line-height: 1.5;
}

#cs-prof .cs-review {
    margin: 18px 0;
    padding: 18px;
    border-left: 3px solid var(--gold);
    background: var(--cream);
}

#cs-prof .cs-review p {
    margin-bottom: 7px;
    color: var(--text);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
}

#cs-prof .cs-review cite {
    color: var(--muted);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

/* ----- FAQ accordion ----- */

#cs-prof .cs-faqs {
    max-width: 820px;
    margin: 0 auto;
}

#cs-prof .cs-faq {
    border-bottom: 1px solid var(--border);
}

#cs-prof .cs-faq button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

#cs-prof .cs-faq-icon {
    flex: 0 0 auto;
    font-size: 21px;
    font-weight: 400;
    transition: transform .18s ease;
}

#cs-prof .cs-faq-answer {
    display: none;
    padding: 0 0 18px;
}

#cs-prof .cs-faq.is-open .cs-faq-answer {
    display: block;
}

#cs-prof .cs-faq.is-open .cs-faq-icon {
    transform: rotate(45deg);
}

#cs-prof .cs-faq-answer p:last-child {
    margin-bottom: 0;
}

/* ----- Final CTA band ----- */

#cs-prof .cs-final {
    padding: 58px 0 86px;
    background: var(--green);
    text-align: center;
}

#cs-prof .cs-final h2,
#cs-prof .cs-final p {
    color: var(--white);
}

#cs-prof .cs-final .cs-btn {
    border-color: var(--white);
    background: var(--white);
    color: var(--green-dark) !important;
}

#cs-prof .cs-final .cs-btn-outline {
    border-color: var(--white);
    background: transparent;
    color: var(--white) !important;
}

#cs-prof .cs-final .cs-btn-outline:hover {
    background: var(--white);
    color: var(--green-dark) !important;
}

/* ----- Mobile sticky CTA ----- */

#cs-prof .cs-sticky {
    position: fixed;
    z-index: 999;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: rgba(245,241,235,.97);
    backdrop-filter: blur(7px);
}

#cs-prof .cs-sticky a {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: var(--white) !important;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

/* ----- Component responsive ----- */

@media (min-width: 640px) {
    #cs-prof .cs-actions {
        flex-direction: row;
        align-items: center;
    }

    #cs-prof .cs-btn {
        width: auto;
    }

    #cs-prof .cs-process {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (min-width: 800px) {
    #cs-prof .cs-pricing {
        grid-template-columns: repeat(2, minmax(0,1fr));
        align-items: stretch;
    }

    #cs-prof .cs-price-card {
        padding: 34px 28px;
    }
}

@media (min-width: 920px) {
    #cs-prof .cs-trust-grid,
    #cs-prof .cs-proof-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 54px;
    }

    #cs-prof .cs-sticky {
        display: none;
    }

    #cs-prof .cs-final {
        padding-bottom: 68px;
    }
}
