/* ============================================================
   Pricing Section — pricing-section.css
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
.ps-section {
    --ps-green-dark:    #1a3a1a;
    --ps-green-mid:     #2d5a1b;
    --ps-green-bright:  #4a8c1c;
    --ps-green-text:    #3a7a18;
    --ps-orange:        #F68B1F;
    --ps-orange-hover:  #d0720a;
    --ps-bg-card:       #F2F2DE;
    --ps-bg-section:    #e8e2d0;
    --ps-border:        #C4C498;
    --ps-text-dark:     #214617;
    --ps-text-mid:      #4A4A4A;
    --ps-text-light:    #f5f0e8;
    --ps-radius-card:   16px;
    --ps-radius-btn:    50px;
    --ps-shadow:        0 4px 24px rgba(26,58,26,0.10);
    --ps-transition:    0.25s ease;

    font-family: 'Noto Sans', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 20px;
    margin-top: -80px;
}

/* ── Tabs ───────────────────────────────────────────────────── */
.ps-tabs {
    display: flex;
    justify-content: center;
    background: #DBDBC2;
    border-radius: 50px;
    padding: 10px;
    width: fit-content;
    margin: 0 auto 36px;
    gap: 2px;
	border: 2px solid #C4C498;
	color: rgba(0, 0, 0, 0.32);
}

.ps-tab {
    background: #DBDBC2;
    border: none;
    padding: 10px 34px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 900;
    font-family: 'Noto Sans', sans-serif;
    color: rgba(0, 0, 0, 0.32);
    cursor: pointer;
    transition: background var(--ps-transition), color var(--ps-transition);
    white-space: nowrap;
}

.ps-tab--active {
    background: white !important;
    color: #000 !important;
    box-shadow: 2px 2px 3px 0px #00000040;
}

.ps-tab:hover {
    background: white;
    color: #000;
    box-shadow: 2px 2px 3px 0px #00000040;
}

.ps-tab:not(.ps-tab--active):not(:hover) {
    background: #DBDBC2;
    color: rgba(0, 0, 0, 0.32);
    box-shadow: none;
}

/* ── Panels ─────────────────────────────────────────────────── */
.ps-panel { display: none; }
.ps-panel--active { display: block; }

/* ── Grid Layouts ───────────────────────────────────────────── */
.ps-grid {
    display: grid;
    gap: 20px;
    align-items: start;
}

.ps-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.ps-grid--3
.ps-grid--1 {
    grid-template-columns: repeat(3, 1fr);
}

.ps-card--col-center {
    grid-column: 2;
}

.ps-grid--addons {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .ps-grid--3,
    .ps-grid--1 {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .ps-grid--3     .ps-grid--addons {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    .ps-card--col-center {
        grid-column: 1;
    }
}

/* ── Card Base ──────────────────────────────────────────────── */
.ps-card {
    background: var(--ps-bg-card);
    border-radius: var(--ps-radius-card);
    padding: 32px 16px 20px;
    box-shadow: var(--ps-shadow);
    border: 2px solid var(--card-accent, var(--ps-border));
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* Per-card accent colors */
.ps-card--safe      { --card-accent: #C4C498; }
.ps-card--safer     { --card-accent: #50863D; }
.ps-card--safest    { --card-accent: #0D210D; }
.ps-card--adult     { --card-accent: #50863D; --toggle-text: #fff; }
.ps-card--addon-3hr { --card-accent: #50863D; --toggle-text: #fff; }
.ps-card--addon-1hr { --card-accent: #DBDBC2; --toggle-text: #4A4A4A; }

/* Per-card badge colors */
.ps-card--safe      .ps-badge { background: #C4C498; color: #4A4A4A; }
.ps-card--safer     .ps-badge { background: #50863D; color: #fff; }
.ps-card--safest    .ps-badge { background: #0D210D; color: #fff; }
.ps-card--adult     .ps-badge { background: #50863D; color: #fff; }
.ps-card--addon-3hr .ps-badge { background: #50863D; color: #fff; }
.ps-card--addon-1hr .ps-badge { background: transparent; color: #50863D; border: 2px solid #50863D; }

/* ── Badge ──────────────────────────────────────────────────── */
.ps-badge-wrap {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ps-badge {
    display: inline-block;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 8px 16px;
    border-radius: 50px;
    text-align: center;
    background: var(--ps-green-dark);
    color: #fff;
    width: fit-content;
    margin: auto;
}

/* ── Title ──────────────────────────────────────────────────── */
.ps-card__title {
    font-family: 'LosLana', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--ps-green-text);
    margin: 16px 0;
    line-height: 1;
    text-align: center;
}

/* ── Price ──────────────────────────────────────────────────── */
.ps-card__price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 6px;
    justify-content: center;
}

.ps-price__amount {
    font-family: 'LosLana', serif;
    font-size: 54px;
    font-weight: 900;
    color: var(--ps-text-dark);
    line-height: 1;
}

.ps-price__currency {
    font-family: 'LosLana', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--ps-text-dark);
    letter-spacing: 0;
}

/* ── Availability ───────────────────────────────────────────── */
.ps-card__availability {
    font-size: 14px;
    color: var(--ps-text-mid);
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    justify-content: center;
    font-weight: 600;
}

.ps-dot {
    width: 8px;
    height: 8px;
    background: var(--ps-green-bright);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* ── CTA Button ─────────────────────────────────────────────── */
.ps-btn {
    display: block;
    width: calc(100% - 8px);
    background: var(--ps-orange);
    color: #1a1a1a;
    text-align: center;
    font-family: 'LosLana', sans-serif;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none;
    padding: 15px 24px;
    border-radius: var(--ps-radius-btn);
    border: 3px solid #1a1a1a;
    box-shadow: 3px 3px 0px 0px #000 !important;
    letter-spacing: 0.01em;
    line-height: 100%;
    margin-bottom: 22px;
    box-sizing: border-box;
    position: relative;
}

.ps-btn:hover {
    background: var(--ps-orange);
    color: #1a1a1a;
    text-decoration: none;
}

.ps-btn:active {
    background: var(--ps-orange);
}

/* ── Schedule Trigger ───────────────────────────────────────── */
.ps-schedule-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: transparent;
    border: none;
    color: var(--ps-text-mid);
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 4px 0;
    margin-bottom: 18px;
    width: 100%;
    transition: color var(--ps-transition);
}

.ps-schedule-trigger:hover { color: var(--ps-text-mid); }

/* ── Divider ────────────────────────────────────────────────── */
.ps-divider {
    border: none;
    border-top: 2px solid var(--ps-border);
    margin: 0 0 16px;
}

/* ── List Label ─────────────────────────────────────────────── */
.ps-list-label {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 900;
    color: #000;
    margin: 20px 0 10px;
}

.ps-list-label--features { margin-top: 16px; }

/* ── Checklist ──────────────────────────────────────────────── */
.ps-checklist {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.ps-checklist__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: #000;
    padding: 8px 10px;
}

.ps-checklist__item:nth-child(even) {
    background: rgba(0,0,0,0.055);
}

.ps-check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: var(--ps-green-bright);
    border-radius: 4px;
}

/* ── Features (collapsible) ─────────────────────────────────── */
.ps-features {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
    pointer-events: none;
    margin-bottom: 14px;
}

.ps-features[data-expanded="true"] {
    max-height: 700px;
    opacity: 1;
    pointer-events: auto;
}

.ps-features__list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 5px;
}

.ps-features__list li {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    padding: 4px 0 4px 16px;
    position: relative;
    line-height: 1.5;
}

.ps-features__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 900;
}

.ps-features__list li strong {
    font-weight: 700;
    color: #000;
}

/* ── Footnote ───────────────────────────────────────────────── */
.ps-footnote {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: var(--ps-text-mid);
    margin: 10px 0 0;
    font-style: italic;
    font-weight: 500;
}

.ps-footnote strong {
    font-weight: 500;
}

.ps-footnote a {
    color: #50863d !important;
    text-underline-offset: 2px;
    font-style: italic;
    font-weight: 400;
    text-decoration: underline !important;
    text-decoration-color: #50863d !important;
}

/* ── Expand Toggle ──────────────────────────────────────────── */
.ps-expand-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--card-accent, var(--ps-border));
    border: none;
    color: var(--toggle-text, #4A4A4A);
    font-family: 'Noto Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 16px 16px;
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: -22px;
    margin-top: 16px;
    border-bottom-left-radius: var(--ps-radius-card);
    border-bottom-right-radius: var(--ps-radius-card);
}

.ps-expand-toggle:hover,
.ps-expand-toggle:focus,
.ps-expand-toggle:active {
    background: var(--card-accent, var(--ps-border));
    color: var(--toggle-text, #4A4A4A);
    filter: none;
    outline: none;
}

/* Per-card toggle text colors */
.ps-card--safe   { --toggle-text: #4A4A4A; }
.ps-card--safer  { --toggle-text: #fff; }
.ps-card--safest { --toggle-text: #fff; }

.ps-expand-toggle__icon {
    transition: transform var(--ps-transition);
    flex-shrink: 0;
}

.ps-expand-toggle[aria-expanded="true"] .ps-expand-toggle__icon {
    transform: rotate(180deg);
}

.ps-expand-toggle__label-hide { display: none; }

.ps-expand-toggle[aria-expanded="true"] .ps-expand-toggle__label-show { display: none; }
.ps-expand-toggle[aria-expanded="true"] .ps-expand-toggle__label-hide { display: inline; }

/* ── Add-On Card ─────────────────────────────────────────────── */
.ps-addon__description {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: #000;
    line-height: 1.55;
    margin: 14px 0 0;
}

.ps-addon__list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}

.ps-addon__list li {
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
    color: #000;
    padding: 3px 0 3px 14px;
    position: relative;
    line-height: 1.45;
}

.ps-addon__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 700;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
    .ps-section { padding: 24px 14px; margin-top: -60px; }
    .ps-tab { padding: 10px 20px; font-size: 0.9rem; }
    .ps-card__title { font-size: 24px; }
    .ps-price__amount { font-size: 2.6rem; }
    .ps-badge { font-size: 12px; }
    .ps-card__availability { font-size: 12px; }
    .ps-btn { font-size: 18px; }
    .ps-schedule-trigger { font-size: 14px; }
}

/* ── Schedule Popup ─────────────────────────────────────────── */
#ps-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#ps-popup-overlay.ps-popup--open {
    display: flex;
}

body.ps-popup-open {
    overflow: hidden;
}

#ps-popup {
    background: #ffffff;
    border-radius: 12px;
    width: 100%;
    max-width: 780px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
    overflow: visible;
    position: relative;
}

#ps-popup > #ps-popup-body {
    overflow-y: auto;
    border-radius: 12px;
}

#ps-popup-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 12px 0;
    flex-shrink: 0;
    position: relative;
}

#ps-popup-title {
    display: none;
}

#ps-popup-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
    position: absolute;
    top: -16px;
    right: -16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    z-index: 1;
}

#ps-popup-close:hover {
    background: #333;
    transform: scale(1.1);
}

#ps-popup-close svg {
    width: 22px;
    height: 22px;
}

#ps-popup-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

/* ── Mobile Slider ──────────────────────────────────────────── */
@media (max-width: 900px) {

    .ps-grid.ps-slider-init {
        display: flex;
        flex-direction: row;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding: 8px 20px 16px;
        margin: 0 -20px;
        scrollbar-width: none;
        max-width: none;
    }

    .ps-grid.ps-slider-init::-webkit-scrollbar {
        display: none;
    }

    .ps-grid.ps-slider-init .ps-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        max-width: 340px;
    }

    .ps-slider-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        margin-top: 16px;
    }

    .ps-slider-dot {
        width: 32px;
        height: 6px;
        border-radius: 50px;
        border: none;
        background: #c8c0a8 !important;
        cursor: pointer;
        padding: 0;
        transition: background 0.25s ease, width 0.25s ease;
        flex-shrink: 0;
    }

    .ps-slider-dot--active {
        background: #F68B1F !important;
        width: 72px;
    }
}

@media (min-width: 901px) {
    .ps-slider-dots { display: none; }
}