/* ----------------------------------
 * Sandra Mars Master — Pricing / Cenik
 * ---------------------------------- */

.sm-pricing-page,
.sm-pricing-page * {
    box-sizing: border-box;
}

.sm-pricing-page {
    --sm-pricing-ivory: #fbf6ef;
    --sm-pricing-cream: #fffdf9;
    --sm-pricing-cream-2: #f7efe8;
    --sm-pricing-mauve: #8f4f73;
    --sm-pricing-mauve-dark: #6f3458;
    --sm-pricing-gold: #d8b982;
    --sm-pricing-ink: #3c2b27;
    --sm-pricing-muted: #7b6f69;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--sm-pricing-ink);
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 34%),
        radial-gradient(circle at 88% 14%, rgba(143, 79, 115, 0.13) 0%, rgba(143, 79, 115, 0) 36%),
        radial-gradient(circle at 22% 92%, rgba(216, 185, 130, 0.16) 0%, rgba(216, 185, 130, 0) 36%),
        linear-gradient(135deg, #fffdfa 0%, #fbf6ef 52%, #f8efe7 100%);
}

.sm-pricing-page::before,
.sm-pricing-page::after {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border: 1px solid rgba(216, 185, 130, 0.32);
    border-color: rgba(216, 185, 130, 0.32) transparent transparent transparent;
    border-radius: 58% 42% 63% 37% / 45% 60% 40% 55%;
    filter: drop-shadow(0 0 0.65rem rgba(232, 196, 110, 0.14));
}

.sm-pricing-page::before {
    width: 54rem;
    height: 28rem;
    right: -12rem;
    top: -4rem;
    transform: rotate(-14deg) skewX(-3deg);
    opacity: 0.34;
}

.sm-pricing-page::after {
    width: 50rem;
    height: 26rem;
    left: -16rem;
    bottom: -5rem;
    transform: rotate(13deg) skewX(3deg);
    opacity: 0.22;
}

.sm-pricing__container {
    width: min(calc(100% - 3rem), 1120px);
    margin-inline: auto;
}

.sm-pricing-hero {
    padding: clamp(6rem, 7vw, 8.4rem) 0 clamp(2.6rem, 5vw, 4.8rem);
    text-align: center;
}

.sm-pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-height: 3.2rem;
    margin: 0 0 1.35rem;
    padding: 0.72rem 1.45rem;
    border: 1px solid rgba(216, 185, 130, 0.40);
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.78);
    color: #8f7f78;
    box-shadow: 0 1.2rem 3rem rgba(55, 35, 32, 0.045);
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.sm-pricing-badge::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--sm-pricing-gold);
}

.sm-pricing-title {
    margin: 0;
    color: var(--sm-pricing-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(4.1rem, 8vw, 8.2rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 700;
}

.sm-pricing-title span {
    display: block;
    color: var(--sm-pricing-mauve);
}

.sm-pricing-lead {
    max-width: 760px;
    margin: clamp(1.3rem, 2vw, 1.9rem) auto 0;
    color: var(--sm-pricing-muted);
    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.75;
}

.sm-price-section {
    padding: 0 0 clamp(5rem, 7vw, 8rem);
}

.sm-price-sheet {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(143, 79, 115, 0.12);
    border-radius: 42px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(250, 246, 241, 0.86));
    box-shadow:
        0 3.8rem 9rem rgba(55, 35, 32, 0.11),
        0 1.2rem 3.6rem rgba(143, 79, 115, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    padding: clamp(2.3rem, 5vw, 5.2rem);
}

.sm-price-sheet::before {
    content: "";
    position: absolute;
    inset: 1.15rem;
    border: 1px solid rgba(216, 185, 130, 0.15);
    border-radius: 32px;
    pointer-events: none;
}

.sm-price-sheet__top {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 0 clamp(2.3rem, 4vw, 3.6rem);
}

.sm-price-sheet__kicker {
    margin: 0 0 0.55rem;
    color: var(--sm-pricing-mauve);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.sm-price-sheet__name {
    margin: 0;
    color: var(--sm-pricing-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.sm-price-list {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.sm-price-category {
    padding: clamp(1.25rem, 2.8vw, 2.15rem) 0;
}

.sm-price-category + .sm-price-category {
    border-top: 1px solid rgba(216, 185, 130, 0.28);
}

.sm-price-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.05rem;
    margin: 0 0 1.3rem;
}

.sm-price-head::before,
.sm-price-head::after {
    content: "";
    width: min(20vw, 170px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 185, 130, 0.55), transparent);
}

.sm-price-pill {
    min-width: min(100%, 270px);
    text-align: center;
    padding: 0.78rem 1.6rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #8f4f73 0%, #6f3458 100%);
    color: #fffdf9;
    box-shadow:
        0 1rem 2.4rem rgba(143, 79, 115, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.22rem, 2vw, 1.7rem);
    line-height: 1.05;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sm-price-subtitle {
    margin: -0.35rem 0 1.45rem;
    text-align: center;
    color: var(--sm-pricing-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.45rem, 2.2vw, 2.05rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sm-price-row {
    display: grid;
    grid-template-columns: minmax(90px, 170px) 1fr auto;
    align-items: baseline;
    gap: 1rem;
    padding: 0.42rem 0;
    color: var(--sm-pricing-ink);
}

.sm-price-row__label {
    color: #5c4b45;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.08rem, 1.55vw, 1.36rem);
}

.sm-price-row__desc {
    color: #786b65;
    font-size: clamp(0.98rem, 1.2vw, 1.08rem);
    line-height: 1.45;
}

.sm-price-row__price {
    min-width: 116px;
    text-align: right;
    color: var(--sm-pricing-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.16rem, 1.7vw, 1.5rem);
    font-weight: 700;
    white-space: nowrap;
}

.sm-price-row__old {
    position: relative;
    display: inline-block;
    margin-right: 0.62rem;
    color: #968a84;
    font-weight: 400;
}

.sm-price-row__old::after {
    content: "";
    position: absolute;
    left: -0.08em;
    right: -0.08em;
    top: 52%;
    height: 2px;
    background: rgba(143, 79, 115, 0.72);
    transform: rotate(-4deg);
}

.sm-price-row__new {
    color: var(--sm-pricing-mauve);
}

.sm-price-category--program .sm-price-row {
    grid-template-columns: minmax(160px, 210px) 1fr auto;
}

.sm-price-category--program .sm-price-row__label {
    color: var(--sm-pricing-mauve);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.sm-price-note {
    margin: 1.4rem auto 0;
    padding: 1.1rem 1.25rem;
    width: min(100%, 620px);
    border: 1px solid rgba(216, 185, 130, 0.22);
    border-radius: 22px;
    background: rgba(255, 253, 249, 0.58);
    color: #7b6f69;
    font-size: 1rem;
    line-height: 1.58;
    text-align: center;
}

.sm-price-ornament {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.34;
    color: var(--sm-pricing-mauve-dark);
}

.sm-price-ornament--left {
    left: 4.2rem;
    bottom: 5.8rem;
}

.sm-price-ornament--right {
    right: 4.2rem;
    top: 8rem;
    transform: scaleX(-1);
}

.sm-price-ornament svg {
    width: 120px;
    height: auto;
}

.sm-pricing-cta {
    margin: clamp(2rem, 4vw, 3.5rem) auto 0;
    text-align: center;
}

.sm-pricing-cta p {
    max-width: 680px;
    margin: 0 auto 1.25rem;
    color: var(--sm-pricing-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.sm-pricing-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.95rem 1.65rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #9a557c 0%, #854667 100%);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 1.3rem 3rem rgba(143, 79, 115, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sm-pricing-cta a:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #8f4f73 0%, #743c5d 100%);
    box-shadow: 0 1.6rem 3.6rem rgba(143, 79, 115, 0.30);
}

@media (max-width: 820px) {
    .sm-pricing__container {
        width: min(calc(100% - 2rem), 1120px);
    }

    .sm-pricing-hero {
        padding-top: 4.8rem;
    }

    .sm-pricing-title {
        font-size: clamp(3.5rem, 18vw, 5.2rem);
    }

    .sm-price-sheet {
        border-radius: 30px;
        padding: 2rem 1.2rem;
    }

    .sm-price-sheet::before,
    .sm-price-ornament {
        display: none;
    }

    .sm-price-head {
        gap: 0.65rem;
    }

    .sm-price-head::before,
    .sm-price-head::after {
        width: 52px;
    }

    .sm-price-row,
    .sm-price-category--program .sm-price-row {
        grid-template-columns: 1fr auto;
        gap: 0.45rem 0.85rem;
        padding: 0.68rem 0;
        border-bottom: 1px solid rgba(216, 185, 130, 0.16);
    }

    .sm-price-row:last-child {
        border-bottom: 0;
    }

    .sm-price-row__label {
        grid-column: 1;
    }

    .sm-price-row__desc {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .sm-price-row__price {
        grid-column: 2;
        grid-row: 1;
        min-width: auto;
    }
}