/**
 * AquaPure child theme: Service plans page (design .pls/.pl, register R-56).
 * Card look, type and spacing are native presets (Group / Plan Card, Text / Plan Card ...); this file only styles the
 * inner markup of the price and list text modules and the selected state set by assets/js/plans.js.
 */
:root {
    --el-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E")
}

/* Price: big figure + "/month" on one baseline; the figure rises in when the billing switch changes it. */
.el-spl-p p {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0
}

.el-spl-p strong {
    font-weight: inherit;
    font-variant-numeric: tabular-nums
}

.el-spl-p.is-anim strong {
    animation: el-rise .35s cubic-bezier(.22, .61, .36, 1) both
}

.el-spl-p small {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--gcid-2ccbcdbe0a, #46535B)
}

.el-spl--hi .el-spl-p small {
    color: var(--gcid-b1a8f807de, #D3E2E7)
}

/* List fills the card so the buttons line up; rows share the extra height as in the design grid. */
.el-spl-ul,
.el-spl-ul .et_pb_text_inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column
}

.el-spl-ul ul {
    display: grid;
    flex: 1 1 auto;
    gap: 12px;
    margin: 0;
    padding: 0;
    line-height: inherit;
    list-style: none
}

.el-spl-ul li {
    display: flex;
    gap: 8px;
    align-items: flex-start
}

.el-spl-ul li::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    background: var(--gcid-28669f4abe, #1F4D3B);
    -webkit-mask: var(--el-check) center/18px 18px no-repeat;
    mask: var(--el-check) center/18px 18px no-repeat
}

.el-spl--hi .el-spl-ul li::before {
    background: #8FD3B2
}

/* Selected plan: 2 px Copper ring, kept while hovered. */
#page-container .el-spl.is-sel {
    box-shadow: 0 0 0 2px var(--gcid-3d46655f50, #8A4214)
}

.el-spl-pop {
    width: auto !important;
    white-space: nowrap
}

/* Monthly: the saving line is empty and keeps only its 22 px slot. */
.el-spl-s .et_pb_text_inner:has(>p:empty:only-child) {
    display: none
}

.el-spl-b {
    cursor: pointer
}

/* Toast after choosing a plan (design .toast). */
.el-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 999px;
    background: var(--gcid-68132854d9, #0E1A1F);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 20px 44px -16px rgba(11, 16, 32, .7);
    transform: translateX(-50%);
    animation: el-toast .45s cubic-bezier(.22, .61, .36, 1) both
}

.el-toast[hidden] {
    display: none
}

.el-toast::before {
    content: "";
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: #6FD3A7;
    -webkit-mask: var(--el-check) center/18px 18px no-repeat;
    mask: var(--el-check) center/18px 18px no-repeat
}

@media (max-width:767px) {
    .el-toast {
        bottom: 92px;
        font-size: 14px;
        white-space: nowrap
    }
}

@keyframes el-toast {
    from {
        opacity: 0;
        transform: translate(-50%, 20px)
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0)
    }
}

@media (prefers-reduced-motion:reduce) {

    .el-spl-p.is-anim strong,
    .el-toast {
        animation: none
    }
}

/* R-80 The "Most homes choose this" badge sits half outside the highlighted card. */
#page-container .el-spl--hi {
    overflow: visible
}