/**
 * CAP Store Main CSS — v2 variant (preserved pre-revert marketing styles).
 * 
 * Styles for the CAP store archive page with:
 * - Hero section with headline and imagery
 * - Toggle switch styling
 * - Responsive product grid (3-column to single-column)
 * - Product card containers
 * - Mobile-first responsive design
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --font-primary: 'Inter', sans-serif;
}

body, .cap-main-container {
    font-family: var(--font-primary) !important;
}

/* Let the page span the full width; the hero is full-bleed and .cap-content re-centres the rest */
.site-content > .ast-container:has(> .cap-main-container) {
    max-width: none;
    margin: 0;
    padding: 0;
}

.cap-main-container {
    width: 100%;
}

.cap-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =============================
   Header & Footer
   ============================= */
.site-content{
    background-color: #F5F6FA !important;
}

/* ===== Hero Section ===== */
.cap-hero {
    background-color: #231A52;
    margin-bottom: 60px;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 4rem 0;
    color: #fff;
}

.cap-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100% !important;
    max-width: none;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Purple overlay (#231A52 at 70%) keeps the white hero text readable */
.cap-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(35, 26, 82, 0.7);
}

.cap-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.cap-hero-left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cap-hero-right {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.cap-hero-badge {
    display: inline-block;
    background-color: var(--solera-sun);
    color: var(--solera-jacarta);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    width: fit-content;
}

.cap-hero-title {
    font-size: 2.85rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    margin: 0 !important;
}

.cap-hero-highlight {
    color: var(--solera-sun);
}

.cap-hero-description {
    font-size: 16px !important;
    color: #ffffff !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    font-weight: 400 !important;
}

.cap-hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0.5rem 0 0 !important;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

.cap-hero-trust strong {
    font-weight: 700;
}

.cap-hero-stars {
    display: inline-flex;
    gap: 2px;
    color: #F5A524;
}

/* ===== Hero Valuation Panel ===== */
.cap-valuation {
    position: relative;
    width: 100%;
    max-width: 384px;
}

.cap-valuation-card {
    background-color: rgba(58, 47, 120, 0.95);
    border-radius: 16px;
    padding: 24px;
    color: #fff;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cap-valuation-card p {
    margin: 0 !important;
}

.cap-valuation-eyebrow {
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 16px !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.cap-valuation-vehicle {
    margin-top: 4px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    color: #fff;
}

.cap-valuation-meta {
    font-size: 12px !important;
    line-height: 16px !important;
    color: rgba(255, 255, 255, 0.8);
}

.cap-valuation-main {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    background-color: #231A52;
}

.cap-valuation-main-value {
    margin-top: 4px !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 36px !important;
    color: #F5A524;
}

.cap-valuation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.cap-valuation-box {
    padding: 12px;
    border-radius: 8px;
    background-color: #231A52;
}

.cap-valuation-box-label {
    font-size: 12px !important;
    line-height: 16px !important;
    color: rgba(255, 255, 255, 0.75);
}

.cap-valuation-box-value {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 20px !important;
    color: #fff;
}

.cap-valuation-updated {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 24px !important;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px !important;
    line-height: 16px !important;
    color: rgba(255, 255, 255, 0.8);
}

.cap-valuation-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #34D399;
}

.cap-valuation-tag {
    position: absolute;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 4px 12px;
    border-radius: 6px;
    background-color: #F5A524;
    color: #231A52;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.cap-valuation-tag-label {
    font-size: 12px;
    font-weight: 600;
    line-height: 16px;
}

.cap-valuation-tag-value {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.cap-valuation-tag--new {
    top: -24px;
    left: -24px;
}

.cap-valuation-tag--live {
    top: -24px;
    right: -20px;
}

.cap-valuation-tag--auction {
    right: -16px;
    bottom: 44px;
}

/* ===== Hero CTA Buttons ===== */
.cap-hero-cta-button {
    background-color: var(--solera-sun);
    color: var(--solera-jacarta) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 0.9rem 2.25rem !important;
    border-radius: 12px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    width: fit-content;
    transition: transform 0.2s ease;
}

.cap-hero-cta-button:hover {
    transform: translateY(-2px);
}

.cap-desktop-only {
    display: inline-block !important;
}

.cap-mobile-only {
    display: none !important;
}

/* ===== Floating Button (Mobile/Tablet) ===== */
.cap-mobile-only.floating {
    position: fixed;
    top: 53px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 0.75rem 1rem;
    border-radius: 0;
    box-sizing: border-box;
    z-index: 999;
    text-align: center;
    transition: top 0.2s ease;
}


/* Adjust for admin bar if logged in */
#wpadminbar + * .cap-mobile-only.floating,
body.admin-bar .cap-mobile-only.floating {
    top: 95px;
}

.cap-mobile-only.floating.scrolled {
    top: 53px !important;
}

@media (max-width: 1024px) {    
    .cap-hero {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .cap-mobile-only {
        display: block !important;
    }

    .cap-desktop-only {
        display: none !important;
    }
}

@media (min-width: 481px) {    

    .cap-mobile-only {
        display: none !important;
    }

    .cap-desktop-only {
        display: inline-block !important;
    }
}

/* ===== Choose Your Plan Section ===== */
.cap-choose-plan {
    text-align: center;
}

.cap-choose-plan-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--solera-jacarta);
    margin: 0 0 25px 0 !important;
    line-height: 1.2 !important;
}

.cap-choose-plan-description {
    font-size: 1.2rem !important;
    color: var(--solera-shark);
    font-weight: 400 !important;
}

/* ===== Monthly Payment Options Notice ===== */
.cap-payment-options-notice {
    text-align: center;
    margin: 30px 0px 50px 0px;
}

.cap-payment-options-notice-text {
    font-size: 1.2rem !important;
    color: var(--solera-shark);
    font-weight: 600;
}

.cap-payment-options-notice-text a {
    color: var(--solera-cobalt-500);
    text-decoration: none;
    font-weight: 600;
}

.cap-payment-options-notice-text a:hover {
    text-decoration: underline;
}

/* ===== Pricing Toggle ===== */
.pricing-toggle-description {
    text-align: center;
}

.pricing-toggle-note {
    text-align: center;
}

.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 6px 0;
}

.cap-billing-toggle {
    display: inline-flex;
    padding: 4px;
    background: #fff;
    border: 1px solid #E6E5EE;
    border-radius: 9999px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.cap-billing-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border: none;
    border-radius: 9999px;
    background: transparent;
    color: #6B6785;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.cap-billing-option:hover {
    background: transparent;
    color: var(--solera-jacarta);
}

.cap-billing-option.active,
.cap-billing-option.active:hover {
    background: var(--solera-jacarta);
    color: #fff;
}

.cap-billing-option:focus-visible {
    outline: 2px solid var(--solera-sun);
    outline-offset: 2px;
}

.cap-billing-option:disabled,
.cap-billing-option.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cap-annual-savings-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 9999px;
    background: #FDF1DC;
    color: #9A5B00;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    white-space: nowrap;
}

.cap-billing-option.active .cap-annual-savings-badge {
    background: var(--solera-sun);
    color: #231A52;
}

/* ===== Product Grids ===== */
.cap-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 30px;
    column-gap: 16px;
    padding: 1.25rem 0 1.25rem 0;
    animation: fadeIn 0.4s ease-in-out;
}

/* ===== Notice & disclaimer ===== */
.cap-faq {
    max-width: 860px;
    margin: 0 auto 50px;
    padding: 0 1rem;
}

.cap-faq-title {
    text-align: center;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--solera-jacarta);
    margin: 0 0 2rem;
}

.cap-faq-list {
    border-top: 1px solid #E6E5EE;
    border-bottom: 1px solid #E6E5EE;
}

.cap-faq-item {
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.cap-faq-item + .cap-faq-item {
    border-top: 1px solid #E6E5EE;
}

.cap-faq-item summary::-webkit-details-marker {
    display: none;
}

.cap-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--solera-jacarta);
    list-style: none;
    user-select: none;
    gap: 1rem;
}

.cap-faq-chevron {
    display: inline-block;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid var(--solera-jacarta);
    border-bottom: 2px solid var(--solera-jacarta);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease;
    margin-bottom: 3px;
}

.cap-faq-item[open] .cap-faq-chevron {
    transform: rotate(-135deg);
    margin-bottom: -3px;
}

.cap-faq-answer {
    padding: 0 2.25rem 1.25rem 0;
    font-size: 0.93rem;
    color: #444;
    line-height: 1.65;
}

.cap-faq-answer p:last-child {
    margin-bottom: 0;
}

.cap-team-notice {
    margin-top: 1.5rem;
    font-size: 14px !important;
    line-height: 20px !important;
    text-align: center;
    color: #1F1A3D;
    font-weight: 400 !important;
}

.cap-team-notice a {
    color: var(--solera-cobalt-500);
    text-decoration: none;
    font-weight: 600 !important;
}

.cap-team-notice a:hover {
    text-decoration: underline;
}

.cap-disclaimer {
    margin: 16px 0 70px 0;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 16px !important;
    color: #6B6785;
    text-align: center;
}

.cap-disclaimer-text {
    margin: 0;
}

.cap-product-grid.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== Product Card ===== */
.cap-product-card {
    font-family: var(--font-primary) !important;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-height: 100%;
    position: relative;
    overflow: visible;
}

.cap-product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--solera-jacarta);
}

/* ===== Product Ribbon ===== */
.cap-product-card .cap-product-ribbon {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 6px 20px;
    background-color: var(--solera-sun);
    color: var(--solera-shark);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-align: center;
    border-radius: 20px;
    z-index: 1;
}

.cap-product-card .cap-product-ribbon-spacer {
    display: none;
}

/* ===== Card Containers ===== */
.cap-card-container {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    align-items: baseline;
    row-gap: 10px;
}

/* Container 1: Headings */
.cap-container-headings {
    min-height: 2.5rem;
    text-align: center;
    align-items: center;
    row-gap: 0.313rem;
}

.cap-heading-secondary {
    font-size: 1.5rem;
    line-height: 2rem;
    text-shadow: none;
    font-weight: 800;
    color: var(--solera-jacarta);
    margin: 0;
}

/* Container 2: Pricing */
.cap-container-pricing {
    padding-bottom: 0;
    min-height: 7rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* WooCommerce / ACF pricing utilities */
.cap-product-pricing {
    font-size: 24px;
    font-weight: 700;
    color: var(--solera-jacarta);
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.cap-product-regular-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.cap-product-price-only {
    font-size: 28px;
    font-weight: 700;
    color: var(--solera-jacarta);
}

.cap-price-period {
    font-size: 16px;
    font-weight: 600;
    margin-left: 4px;
}

.cap-annual-billing-note {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    width: 100%;
}

#cap-benefits .dce-acf-repeater-item {
    display: flex;
    align-items: flex-start;
    gap: 0.313rem;
}

#cap-benefits .dce-acf-repeater-item svg {
    flex-shrink: 0;
}

#cap-benefits p {
    margin: 0 !important;
}

.short-desc p {
    margin: 0 !important;
}

#cap-product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #080808;
}

/* Bundle pricing */
.cap-bundle-total {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 2.1rem;
    color: var(--solera-jacarta);
    width: 100%;
}

.cap-product-sale-price {
    font-weight: 900;
    font-size: 2.2rem;
    color: var(--solera-jacarta);
}

.cap-regular-price {
    text-decoration: line-through;
    opacity: 0.6;
    font-size: 1rem;
    font-weight: 600;
}

.cap-bundle-text {
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--solera-shark);
    opacity: 0.6;
}

.cap-bundle-billing-total {
    background-color: #F8F7FF;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 2.5rem;
    align-content: center;
    margin-top: 1rem;
    color: var(--solera-shark);
    font-weight: 600;
}

.cap-bundle-billing-total span.amount {
    font-weight: 700;
}

/* ===== Monthly & Annual Pricing (shared base) ===== */
.cap-pricing-monthly,
.cap-pricing-annual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    font-size: 1rem;
    color: var(--solera-shark);
    width: 100%;
}

/* Monthly: matches annual flex-wrap layout so the price row sits at the same vertical position */
.cap-pricing-monthly .cap-bundle-total {
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 0.2rem;
}

/* Invisible height-holder matching annual .cap-regular-price row */
.cap-pricing-monthly .cap-regular-price {
    flex-basis: 100%;
    visibility: hidden;
    pointer-events: none;
    line-height: 1.3;
}

/* Annual: regular price wraps to its own line above sale price */
.cap-pricing-annual .cap-bundle-total {
    flex-wrap: wrap;
    row-gap: 1rem;
    column-gap: 0.2rem;
}

/* Row 1: regular price alone (strikethrough) */
.cap-pricing-annual .cap-regular-price {
    flex-basis: 100%;
    text-align: center;
    margin-right: 0;
    line-height: 1.3;
}

/* Per-year (monthly) and billed annually boxes — identical styling */
.cap-pricing-monthly .cap-bundle-billing-total,
.cap-pricing-annual .cap-bundle-billing-total {
    display: block;
    width: 100%;
    background-color: #EBEBF0;
    border-radius: 6px;
    padding: 7px 12px;
    margin-top: 10px;
    min-height: 3rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--solera-shark);
}

/* ===== Featured / Most Popular Card ===== */
.cap-product-card--featured {
    background-color: var(--solera-jacarta);
    color: #fff;
    margin-top: -18px;
}

.cap-product-card--featured .cap-product-ribbon {
    background-color: var(--solera-sun);
    color: var(--solera-jacarta);
}

.cap-product-card--featured .cap-heading-secondary {
    color: #fff;
}

.cap-product-card--featured .cap-product-sale-price {
    color: #fff;
}

.cap-product-card--featured .cap-bundle-total {
    color: #fff;
}

.cap-product-card--featured .cap-bundle-text {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.cap-product-card--featured .cap-regular-price {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
    text-decoration: line-through;
}

.cap-product-card--featured .cap-pricing-annual .cap-bundle-billing-total,
.cap-product-card--featured .cap-pricing-monthly .cap-bundle-billing-total {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cap-product-card--featured .cap-benefit-text {
    color: rgba(255, 255, 255, 0.9);
}

.cap-product-card--featured .cap-benefit-icon {
    color: var(--solera-sun);
}

.cap-product-card--featured .cap-benefit-item--unavailable .cap-benefit-text,
.cap-product-card--featured .cap-benefit-item--unavailable .cap-benefit-icon {
    color: rgba(255, 255, 255, 0.55);
}

.cap-product-card--featured .cap-container-benefits {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.cap-product-card--featured .cap-container-button button,
.cap-product-card--featured .cap-container-button a.button {
    background-color: #F59E0B !important;
    color: var(--solera-jacarta) !important;
}

/* Container 3: Button */
.cap-container-button {
    min-height: 60px;
    display: flex;
    align-items: stretch;
    padding: 10px;
}

.cap-container-button button,
.cap-container-button a.button {
    padding: 0.5rem 10.75rem;
    font-size: 0.75rem;
    background-color: #F59E0B !important;
    border-radius: 0.625rem !important;
}

/* Container 4: Description */
.cap-container-description {
    min-height: 40px;
    padding: 10px;
}

.cap-container-description p {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    color: var(--solera-mako-base);
}

/* Container 5: Benefits */
.cap-container-benefits {
    min-height: 10.313rem;
    padding: 10px;
}

.cap-benefits-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.cap-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 14px;
    color: var(--solera-shark);
    line-height: 20px;
}

.cap-benefit-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--solera-sun);
}

.cap-benefit-text {
    flex: 1;
    margin: 0 !important;
    color: #374c6c; /* No similar colors in the Figma palette */
    font-weight: 500 !important;
    font-size: 14px !important;
    line-height: 20px !important;
}

/* Features not included in the package */
.cap-benefit-item--unavailable .cap-benefit-icon,
.cap-benefit-item--unavailable .cap-benefit-text {
    color: #8E8AA8;
}

/* ===== Responsive Design ===== */
/* Large Desktop: 4 columns */
@media (min-width: 1400px) {
    .cap-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Desktop: 3 columns */
@media (max-width: 1399px) and (min-width: 1200px) {
    .cap-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet: Hero stacked, 2-column grid */
@media (max-width: 1199px) {
    .cap-hero-title {
        font-size: 32px;
    }

    .cap-choose-plan {
        margin: 50px 0 30px 0;
    }

    .cap-choose-plan-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .cap-choose-plan-description {
        font-size: 15px;
    }

    .cap-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cap-content {
        padding: 0 40px;
    }
}

@media (max-width: 900px) {
    .cap-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cap-hero-right {
        justify-content: center;
    }
}

/* Mobile: Single-column grid */
@media (max-width: 768px) {

    .cap-hero-inner {
        gap: 3rem;
        padding: 2rem 1.5rem;
    }

    .cap-hero-trust {
        justify-content: center;
    }

    .cap-hero-title {
        font-size: 2rem !important;
    }

    .cap-hero-description {
        font-size: 15px !important;
    }

    .cap-hero-cta-button {
        font-size: 15px !important;
    }

    .cap-choose-plan {
        margin: 60px 0 30px 0;
        padding: 0 16px;
    }

    .cap-choose-plan-title {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .cap-choose-plan-description {
        font-size: 14px;
        text-align: center;
    }

    .cap-hero-left {
        text-align: center;
        align-items: center;
    }

    .cap-disclaimer {
        text-align: center;
    }

    .cap-product-grid {
        grid-template-columns: 1fr;
        gap:3.125rem;
    }

    .cap-content {
        padding: 0 36px;
    }

    .pricing-toggle-container {
        margin-bottom: 30px;
    }

    .cap-billing-option {
        padding: 8px 16px;
    }

    .cap-container-benefits {
        min-height: auto;
        border-top: 1px solid #f0f0f0;
    }

    .cap-benefit-item {
        gap: 8px;
    }

    .cap-container-button button,
    .cap-container-button a.button {
        padding: 10px 16px;
        font-size: 13px;
    }

    .cap-container-description {
        font-size: 13px;
        min-height: auto;
    }
}

/* Small mobile: Extra adjustments */
@media (max-width: 480px) {
    .cap-content {
        padding: 0 20px;
    }

    .cap-hero {
        margin-bottom: 20px;
        padding: 2rem 0;
    }

    .cap-hero-inner {
        padding: 2rem 1rem;
    }

    .cap-valuation-tag--new {
        left: -8px;
    }

    .cap-valuation-tag--live,
    .cap-valuation-tag--auction {
        right: -8px;
    }

    .cap-hero-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .cap-hero-description {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .cap-hero-cta-button {
        font-size: 14px;
    }

    .cap-choose-plan {
        margin: 30px 0 20px 0;
        padding: 0 12px;
    }

    .cap-choose-plan-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .cap-choose-plan-description {
        font-size: 13px;
        text-align: center;
    }

    .pricing-toggle-container {
        margin-bottom: 10px;
    }

    .cap-billing-option {
        padding: 8px 12px;
        font-size: 13px;
    }

    .cap-container-button button,
    .cap-container-button a.button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .cap-team-notice {
        padding: 16px;
    }

    .cap-disclaimer {
        padding: 12px;
    }
}

/* ===== Footer ===== */
.cap-custom-footer {
    background-color: var(--solera-jacarta);
    color: #fff;
    border-top: 1px solid #e0e0e0;
}

.cap-footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 0;
}

.cap-footer-content a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cap-footer-content a:hover {
    color: #ddd;
}

.cap-footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.cap-footer-left img {
    max-width: 250px;
    height: auto;
    margin-bottom: 0.5rem;
}

.cap-footer-left p{
    margin: 0 !important;
    line-height: 16px !important;
}

.cap-footer-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    gap: 1.4rem;
    font-size: 1rem;
}

.site-footer {
    display: none !important;
}

/* Footer responsive */
@media (max-width: 768px) {
    .cap-footer-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .cap-footer-left,
    .cap-footer-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }
}

/* ===== Utility Classes ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Loading & Transition States ===== */
/* Monthly cards are hidden by default via CSS so annual cards render immediately
   without waiting for JS. JS still manages the toggle interaction. */
.cap-product-variation-monthly {
    display: none;
}

.cap-product-grid.is-filtering {
    opacity: 0.6;
    pointer-events: none;
}

.cap-product-grid.is-filtered {
    opacity: 1;
    pointer-events: auto;
}
