/* ============================================================
   POS Comparison Cards — shopify-pos-vs-toast-vs-square.php
   ============================================================ */

/* ── Shared grid ─────────────────────────────────────────── */

.pos-compare-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0 36px;
}

/* ── Quick Overview Cards ────────────────────────────────── */

.pos-overview-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.pos-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.13);
}

.pos-overview-card--featured {
    box-shadow: 0 4px 20px rgba(232, 76, 61, 0.18);
}

.pos-overview-card--featured:hover {
    box-shadow: 0 12px 36px rgba(232, 76, 61, 0.26);
}

/* Colored top accent bar */
.pos-overview-card__accent {
    height: 5px;
    flex-shrink: 0;
}

.pos-overview-card--flip .pos-overview-card__accent {
    background: linear-gradient(90deg, #e84c3d 0%, #c0392b 100%);
}

.pos-overview-card--toast .pos-overview-card__accent {
    background: linear-gradient(90deg, #2d3748 0%, #1a202c 100%);
}

.pos-overview-card--square .pos-overview-card__accent {
    background: linear-gradient(90deg, #0aaa72 0%, #077a52 100%);
}

/* "Recommended" ribbon */
.pos-overview-card__ribbon {
    position: absolute;
    top: 18px;
    right: -2px;
    background: #e84c3d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 12px 4px 10px;
    border-radius: 3px 0 0 3px;
    line-height: 1;
    white-space: nowrap;
}

.pos-overview-card__body {
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

/* Icon circle */
.pos-overview-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.pos-overview-card--flip .pos-overview-card__icon {
    background: #fef2f2;
}

.pos-overview-card--toast .pos-overview-card__icon {
    background: #f1f5f9;
}

.pos-overview-card--square .pos-overview-card__icon {
    background: #ecfdf5;
}

.pos-overview-card__name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

.pos-overview-card__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pos-overview-card__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9ca3af;
    line-height: 1;
}

.pos-overview-card__value {
    font-size: 13.5px;
    color: #374151;
    line-height: 1.45;
    margin: 0;
}

/* Price display block */
.pos-overview-card__price-block {
    background: #f9fafb;
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pos-overview-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.pos-overview-card__price-from {
    font-size: 11px;
    color: #9ca3af;
    font-weight: 500;
}

.pos-overview-card__price-amount {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.pos-overview-card--flip .pos-overview-card__price-amount { color: #e84c3d; }
.pos-overview-card--toast .pos-overview-card__price-amount { color: #2d3748; }
.pos-overview-card--square .pos-overview-card__price-amount { color: #0aaa72; }

.pos-overview-card__price-per {
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.pos-overview-card__price-note {
    font-size: 11px;
    color: #b0b8c6;
    margin: 0;
    line-height: 1.4;
}

/* CTA link */
.pos-overview-card__cta {
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
    padding-top: 2px;
    transition: opacity 0.15s;
}

.pos-overview-card--flip .pos-overview-card__cta { color: #e84c3d; }
.pos-overview-card--toast .pos-overview-card__cta { color: #2d3748; }
.pos-overview-card--square .pos-overview-card__cta { color: #077a52; }

.pos-overview-card__cta:hover { opacity: 0.65; }


/* ── Pricing Cards ───────────────────────────────────────── */

.pos-pricing-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pos-pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.pos-pricing-card--featured {
    box-shadow: 0 4px 20px rgba(232, 76, 61, 0.16);
}

.pos-pricing-card--featured:hover {
    box-shadow: 0 10px 36px rgba(232, 76, 61, 0.24);
}

/* Colored header with price */
.pos-pricing-card__header {
    padding: 22px 20px 20px;
    color: #fff;
    position: relative;
}

.pos-pricing-card--flip .pos-pricing-card__header {
    background: linear-gradient(135deg, #e84c3d 0%, #c0392b 100%);
}

.pos-pricing-card--toast .pos-pricing-card__header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.pos-pricing-card--square .pos-pricing-card__header {
    background: linear-gradient(135deg, #0aaa72 0%, #077a52 100%);
}

.pos-pricing-card__sys-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.82;
    margin-bottom: 8px;
}

.pos-pricing-card__price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.pos-pricing-card__price-from {
    font-size: 12px;
    opacity: 0.72;
}

.pos-pricing-card__price-amount {
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pos-pricing-card__price-period {
    font-size: 14px;
    opacity: 0.72;
    font-weight: 500;
}

.pos-pricing-card__price-note {
    font-size: 11px;
    opacity: 0.65;
    margin-top: 4px;
}

.pos-pricing-card__header-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Line items */
.pos-pricing-card__items {
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #f3f4f6;
}

.pos-pricing-card__items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
    gap: 8px;
}

.pos-pricing-card__items li:nth-child(even) {
    background: #fafafa;
}

.pos-pricing-item-label {
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.pos-pricing-item-value {
    color: #111827;
    font-weight: 600;
    text-align: right;
    font-size: 12.5px;
}

/* Annual estimate callout */
.pos-pricing-card__estimate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: #f9fafb;
    margin: 0;
}

.pos-pricing-estimate-label {
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.45;
    flex: 1;
}

.pos-pricing-estimate-amount {
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.pos-pricing-card--flip .pos-pricing-estimate-amount { color: #e84c3d; }
.pos-pricing-card--toast .pos-pricing-estimate-amount { color: #2d3748; }
.pos-pricing-card--square .pos-pricing-estimate-amount { color: #077a52; }

/* Verdict chip */
.pos-pricing-card__verdict {
    padding: 10px 18px;
    font-size: 12.5px;
    font-weight: 600;
    text-align: center;
    border-radius: 0 0 14px 14px;
}

.pos-pricing-card--flip .pos-pricing-card__verdict {
    background: #fef2f2;
    color: #c0392b;
}

.pos-pricing-card--toast .pos-pricing-card__verdict {
    background: #f1f5f9;
    color: #2d3748;
}

.pos-pricing-card--square .pos-pricing-card__verdict {
    background: #ecfdf5;
    color: #077a52;
}


/* ── Responsive ──────────────────────────────────────────── */

/* ── System section H2 accent ────────────────────────────── */

.sys-h2 {
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
    margin-top: 56px !important;
}

.sys-h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 64px;
    height: 2px;
}

.sys-h2--flip::after { background: #e84c3d; }
.sys-h2--toast::after { background: #2d3748; }
.sys-h2--square::after { background: #0aaa72; }


/* ── Pros / Cons section label ───────────────────────────── */

.pcons-bar {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 6px;
    margin: 22px 0 10px;
}

.pcons-bar--pro {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.pcons-bar--con {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}


/* ── Pros / Cons 2-col grid ──────────────────────────────── */

.pcons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    margin-bottom: 20px;
}

.pcon-card {
    border-radius: 10px;
    padding: 15px 17px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pcon-card--pro {
    background: #fff;
    border-left: 3px solid #4ade80;
}

.pcon-card--con {
    background: #fff;
    border-left: 3px solid #fbbf24;
}

.pcon-card__title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
}

.pcon-card--pro .pcon-card__title { color: #15803d; }
.pcon-card--con .pcon-card__title { color: #78350f; }

.pcon-card .pcon-card__body {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}


/* ── Best-for pill tags ──────────────────────────────────── */

.best-for-wrap {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 22px 0 32px;
    flex-wrap: wrap;
}

.best-for-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #9ca3af;
    padding-top: 7px;
    white-space: nowrap;
    flex-shrink: 0;
}

.best-for-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.best-for-tag {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
}


/* ── Verdict 3-col cards ─────────────────────────────────── */

.verdict-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 28px 0 40px;
    align-items: start;
}

.verdict-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.verdict-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11);
}

.verdict-card__header {
    padding: 18px 18px 16px;
    color: #fff;
    position: relative;
}

.verdict-card--flip .verdict-card__header {
    background: linear-gradient(135deg, #e84c3d 0%, #c0392b 100%);
}

.verdict-card--toast .verdict-card__header {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

.verdict-card--square .verdict-card__header {
    background: linear-gradient(135deg, #0aaa72 0%, #077a52 100%);
}

.verdict-card__sys {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

.verdict-card__rec {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 2px 9px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.verdict-card .verdict-card__list {
    list-style: none;
    padding: 14px 18px;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.verdict-card .verdict-card__list li {
    font-size: 13px;
    color: #374151;
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
    margin: 0;
}

.verdict-card .verdict-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.4;
}

.verdict-card--flip .verdict-card__list li::before { color: #e84c3d; }
.verdict-card--toast .verdict-card__list li::before { color: #2d3748; }
.verdict-card--square .verdict-card__list li::before { color: #0aaa72; }

.verdict-card__best {
    padding: 10px 18px 15px;
    font-size: 11.5px;
    color: #6b7280;
    line-height: 1.5;
    border-top: 1px solid #f3f4f6;
    font-style: italic;
}


/* ── Final Recommendation dark callout ───────────────────── */

.final-rec-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 36px 32px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.final-rec-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #e84c3d 0%, #c0392b 100%);
}

.final-rec-box__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e84c3d;
    margin-bottom: 10px;
}

.final-rec-box .final-rec-box__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.final-rec-box__body {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 20px;
}

.final-rec-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.final-rec-feature {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 5px 13px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.final-rec-box__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}


/* ── FAQ accordion-style list ────────────────────────────── */

.faq-list {
    margin: 24px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 22px 18px;
    border-left: 4px solid #e84c3d;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.faq-q {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.faq-item .faq-a {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}


/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 700px) {
    .pos-compare-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pos-pricing-card__price-amount {
        font-size: 32px;
    }

    .pos-overview-card__price-amount {
        font-size: 22px;
    }

    .pcons-grid {
        grid-template-columns: 1fr;
    }

    .verdict-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .final-rec-box {
        padding: 26px 22px;
    }

    .final-rec-box__title {
        font-size: 1.1rem;
    }
}
