/* Pricing "VS" comparison section.
   Ported from legacy pricing.php inline <style> block (lines 768-895).
   Visual: 2-column row with an orange "VS" circle floating between columns;
   left = dark navy "Premium Features" card; right = stacked competitor cards
   with "+" badges between rows and "=" before the total. */

.section--plan-savings-compare { padding: 60px 0; }

/* ------- Right column: competitor stack ------- */
.section--plan-savings-compare .compare-wrp { padding-right: 0; }

.section--plan-savings-compare .card-box.card--compare {
    padding: 8px 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    height: auto;
    margin-bottom: 14px;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    transform: none;
}

/* "+" badge between consecutive cards (legacy line 781) */
.section--plan-savings-compare .card-box.card--compare::after {
    content: '+';
    position: absolute;
    top: calc(100% - 9px);
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    line-height: 26px;
    background-color: #FFDCDC;
    color: #EB6261;
    z-index: 3;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

/* "=" badge on the last card before the total (legacy line 797) */
.section--plan-savings-compare .card-box.card--compare.mb-0::after {
    content: '=';
}

.section--plan-savings-compare .card-box.card--compare .card__image {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section--plan-savings-compare .card-box.card--compare .card__image img {
    height: auto;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.section--plan-savings-compare .card-box.card--compare .card__description {
    text-align: left;
    padding: 4px 14px;
    flex: 1 1 auto;
}
.section--plan-savings-compare .card-box.card--compare .card__description p { font-size: 13px; line-height: 1.35; }

.section--plan-savings-compare .card-box.card--compare .card__pricing {
    text-align: right;
    padding-right: 12px;
    white-space: nowrap;
}

.section--plan-savings-compare .card-box.card--compare h6 {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
}

.section--plan-savings-compare .card-box.card--compare p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
}

.section--plan-savings-compare .card-box.card--compare .card__pricing strong {
    font-size: 18px;
    color: #111;
}
.section--plan-savings-compare .card-box.card--compare .card__pricing strong span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* ------- Total row ------- */
.section--plan-savings-compare .compare-total p {
    font-size: 14px;
    margin-bottom: 0;
    color: #4b5563;
}
.section--plan-savings-compare .compare-total p > strong {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

/* ------- Left column: dark "Premium Features" card ------- */
.section--plan-savings-compare .fc-best-plan-compare {
    position: relative;
    display: flex;
    flex-direction: column;
    /* Header + features hugs the top; btn-holder pushed to bottom via margin-top:auto.
       Avoids the big empty gap that "space-between" used to create. */
    justify-content: flex-start;
    height: 100%;
    padding: 28px 26px;
    background-color: #013756;
    color: #fff;
    border-radius: 10px;
}

/* Orange "VS" circle floats off the right edge of the left card (legacy line 840) */
.section--plan-savings-compare .fc-best-plan-compare::after {
    content: 'VS';
    background-color: #FC706F;
    color: #fff;
    width: 100px;
    height: 100px;
    line-height: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(100% - 15px);
    z-index: 3;
    border-radius: 50%;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 8px rgba(81, 85, 88, 0.1);
}

.section--plan-savings-compare .fc-best-plan-compare img.brand-logo {
    width: 170px;
    height: auto;
    margin-bottom: 6px;
}

.section--plan-savings-compare .fc-best-plan-compare p { font-size: 14px; color: #cad7dc; line-height: 1.45; margin-bottom: 14px; }
.section--plan-savings-compare .fc-best-plan-compare h3 { color: #fff; font-size: 20px; margin-top: 0; margin-bottom: 10px; font-weight: 700; }

.section--plan-savings-compare .fc-best-plan-compare ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.section--plan-savings-compare .fc-best-plan-compare ul > li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #e8eef2;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.section--plan-savings-compare .fc-best-plan-compare ul > li i {
    font-size: 12px;
    color: #84ea00;
    flex-shrink: 0;
    margin-top: 4px;
}
.section--plan-savings-compare .fc-best-plan-compare ul > li .feat-tip-dark {
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .25);
    text-decoration-style: dotted;
    cursor: help;
}

.section--plan-savings-compare .fc-best-plan-compare .text-yellow { color: #FFD43B; font-weight: 700; }

/* CTA block pinned to the bottom of the card regardless of feature-list height.
   margin-top:auto absorbs all leftover vertical space above it. */
.section--plan-savings-compare .fc-best-plan-compare .btn-holder { margin-top: auto; padding-top: 22px; }
.section--plan-savings-compare .fc-best-plan-compare .btn-holder p strong {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
}
.section--plan-savings-compare .fc-best-plan-compare .btn-holder .btn { margin: 6px 8px 6px 0; }

/* Text-link variant for the secondary CTA — sits next to the primary "Choose Plan"
   button as plain underlined text rather than a second button. */
.section--plan-savings-compare .fc-best-plan-compare .vs-contact-link {
    display: inline-block;
    margin-left: 14px;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .55);
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: color .15s ease, text-decoration-color .15s ease;
}
.section--plan-savings-compare .fc-best-plan-compare .vs-contact-link:hover {
    color: #FFD43B;
    text-decoration-color: #FFD43B;
}

/* ------- Hide VS circle + reflow on mobile ------- */
@media (max-width: 991.98px) {
    .section--plan-savings-compare .fc-best-plan-compare::after { display: none; }
    .section--plan-savings-compare .fc-best-plan-compare { padding: 30px 22px; }
    .section--plan-savings-compare .compare-wrp { margin-top: 28px; }
}
