.vv-comparison {
    --vv-cream: #FAF7F2;
    --vv-warm: #F5EFE6;
    --vv-sand: #E8DFD1;
    --vv-gold: #C9A96E;
    --vv-deep: #2C2820;
    --vv-text: #3D3830;
    --vv-muted: #8A7E6F;
    --vv-teal: #5A8F7B;
    --vv-teal-light: #E8F2ED;
    --vv-rose: #C27B7B;
    --vv-blue: #6B89A8;
    --vv-shadow-sm: 0 1px 3px rgba(44, 40, 32, .06);
    --vv-shadow-md: 0 4px 16px rgba(44, 40, 32, .08);
    --vv-shadow-lg: 0 8px 32px rgba(44, 40, 32, .12);
    --vv-radius: 12px;
    --vv-radius-lg: 20px;
    font-family: 'DM Sans', sans-serif;
    color: var(--vv-text);
    line-height: 1.6;
}

/* ── Utility ── */
.vv-hidden {
    display: none !important;
}

.vv-column--hidden {
    display: none !important;
}

/* ── Header ── */
.vv-comparison__title {
    font-family: "Georgia", serif;
    padding: 0 0 15px 0;
    font-size: 36px;
    font-weight: 400;
}

.vv-comparison__description {
    font-size: 16px;
    color: #374151;
}


/* ── Country groups ── */
.vv-comparison__selector {
    margin: 30px auto;
}

.vv-country {
    margin-bottom: 25px;
}

.vv-country__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #25358033;
}

.vv-country__header-image {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vv-country__flag {
    border-radius: 0 !important;
    width: 48px;
    min-width: 48px;
    height: 48px;
}

.vv-country__name {
    font-family: "Georgia", serif;
    font-size: 28px;
    margin: 0;
    padding: 0;
    hyphens: auto;
    font-weight: 400;
    line-height: 1.1;
    color: #243580;
}

.vv-country__meta {
    font-size: 16px;
    color: #6b7280;
}

/* ── Cards ── */
.vv-program-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vv-program-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #fff;
    border: 2px solid transparent;
    border-radius: var(--vv-radius);
    padding: 16px;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 16px rgba(37, 53, 128, .08);
    user-select: none;
}

.vv-program-card:hover {
    transform: translateY(-5px);
}

.vv-program-card.is-selected {
    background: linear-gradient(135deg, #F7F9FF, #EEF2FF);
    box-shadow: 0 0 0 3px rgba(37, 53, 128, .15), 0 4px 16px rgba(37, 53, 128, .08);
}

.vv-program-card__check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #253580;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-program-card.is-selected .vv-program-card__check {
    background: #253580;
}

.vv-program-card__check svg {
    opacity: 0;
    transition: opacity .15s;
}

.vv-program-card.is-selected .vv-program-card__check svg {
    opacity: 1;
}

.vv-program-card__name {
    color: #253580;
    font-size: 20px;
}

.vv-program-card__price {
    color: #253580;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.vv-program-card__description {
    color: #374151;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

/* ── Sticky bar ── */
.vv-compare-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;

    text-align: center;
    margin: 15px 0 30px 0;
    pointer-events: none;
    transition: opacity .3s;
}

.vv-compare-bar.vv-hidden {
    opacity: 0;
    pointer-events: none;
}

.vv-compare-bar>* {
    pointer-events: all;
}

.vv-compare-bar__button-compare {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background-color: #253580;
    color: #fff;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1;
    padding: 15px 24px;
    box-shadow: 0 10px 15px -3px #5c5c7a33, 0 4px 6px -4px #5c5c7a33;
    backdrop-filter: blur(8px);
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
}

.vv-compare-bar__button-compare:hover {
    background-color: #253580e6;
    box-shadow: 0 20px 25px -5px rgba(37, 53, 128, 0.3), 0 8px 10px -6px rgba(37, 53, 128, 0.3);
}

.vv-compare-bar__button-compare:disabled {
    opacity: .3;
    cursor: not-allowed;
    transform: none;
}

.vv-compare-bar__count {
    background: #fd768a;
    color: #ffffff;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.vv-compare-bar__button-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #253580;
    background: transparent;
    color: #253580;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1;
    padding: 15px 24px;
    box-shadow: 0 10px 15px -3px #5c5c7a33, 0 4px 6px -4px #5c5c7a33;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: all 0.3s ease;
}

.vv-compare-bar__button-clear:hover {
    box-shadow: 0 20px 25px -5px rgba(37, 53, 128, 0.3), 0 8px 10px -6px rgba(37, 53, 128, 0.3);
}


/* ── Table ── */
.vv-table {
    table-layout: fixed;
}

/* Head */
.vv-table thead th {
    position: relative;
    color: #fff;
    padding: 10px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    text-align: center;
    border-bottom: none;
    white-space: nowrap;
}

.vv-table thead th a {
    text-decoration: none;
    color: inherit;
}

.vv-table thead th.is-odd {
    background: #253580;
}

.vv-table thead th.is-even {
    background: #fd768a;
}

.vv-table__group + .vv-table__group::before {
    content: "";
    display: table-row;
    height: 15px;
}

.vv-column__name {
    font-size: 18px;
    display: block;
}

.vv-column__price {
    font-size: 14px;
    font-weight: 400;
}

.vv-column__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: center;
    font-size: 14px;
    align-items: center;
    cursor: pointer;
    line-height: 1;
}


/* Data cells */
.vv-table-scroll .vv-table__category td {
    font-weight: 700;
    padding: 15px 0;
    font-size: 22px;
    color: #000000;
    border-bottom: none;
}

.vv-table .vv-table__category span,
.vv-table__label span {
    position: sticky;
    left: 0;
    display: block;
    max-width: calc(100vw - 40px);
    text-align: center;
    padding: 0 15px;
}

.vv-table .vv-table__label {
    border-radius: 15px 15px 0 0;
    background: #2535801a !important;
    font-weight: 600;
    padding: 15px 0;
    text-align: left;
    border-bottom: none;
    font-size: 16px;
    color: #333;
}

.vv-table tbody tr:last-child td {
    border-bottom: none;
}

.vv-table tbody tr td.is-odd {
    background: #253580;
}
.vv-table tbody tr td.is-odd:before{
    content: "";
    background: red;
}
.vv-table tbody tr td.is-even {
    background: #fd768a;
}

/* ── Value styles ── */
.vv-value--bool,
.vv-value--empty {
    display: flex;
    margin: 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--vv-teal-light);
    color: #000000;
    justify-content: center;
    font-size: 23px;
    line-height: normal;
    font-weight: 700;
}

.vv-table-wrap {
    position: relative;
}

.vv-table-scroll {
    position: relative;
    overflow-x: auto;
    overflow-y: visible;
    margin-bottom: 30px;
}

.vv-table-scroll thead th {
    background: white;
    font-weight: 600;
    text-align: center;
    z-index: 100;
    width: calc(100% / 6);
}

.vv-table-scroll thead th:not(:last-child) {
    border-right: 1px solid #ffffff;
}

.vv-table-clone thead th:not(:last-child) {
    border-right: 1px solid #ffffff;
}

.vv-table-scroll tbody td {
    padding: 10px;
    border-bottom: 1px solid #e8e8e8;
    text-align: center !important;
    vertical-align: middle;
    width: calc(100% / 6);
}

.vv-table-scroll tbody td:not(:last-child) {
    border-right: 1px solid #ffffff;
}

.vv-table-scroll::-webkit-scrollbar:horizontal {
    height: 3px;
}

.vv-table-scroll::-webkit-scrollbar-track:horizontal {
    background: #243580;
    border-radius: 25px;
}

.vv-table-scroll::-webkit-scrollbar-thumb:horizontal {
    background: #ff7691;
    border-radius: 25px;
}

.vv-table-scroll::-webkit-scrollbar {
    height: 3px;
}

.vv-table-scroll table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.vv-table-scroll thead {
    position: sticky;
    top: 0;
    z-index: 100;
}

.vv-value--bool.is-yes {
    align-items: center;
}

.vv-table-scroll tbody td {
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}

.vv-table-scroll tbody td.vv-table__fulltext-cell {
    background: #e9eaf2 !important;
    font-weight: 600;
    padding: 10px 10px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
    color: #000000;
    text-align: left !important;
}

.vv-value--text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* ═══════════════════════════════════
   STICKY CLONE HEADER
   ═══════════════════════════════════ */

.vv-table-clone {
    position: fixed;
    top: 80px;
    /* ← висота вашого сайт-хедера, підлаштуйте */
    left: 0;
    z-index: 200;
    overflow: hidden;
    pointer-events: none;
    display: none;
    transition: opacity .15s;
    box-shadow: 0 4px 20px rgba(44, 40, 32, .15);
}

.vv-table-clone.is-visible {
    display: block;
    pointer-events: all;
}

.vv-table-clone table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Коли клон видимий — ховаємо реальний thead */
.vv-table--hide-head thead {
    visibility: hidden;
}

/* ── CTA ── */
.vv-comparison-cta {
    text-align: center;
    padding: 44px 24px 56px;
    background: var(--vv-warm);
    border-top: 1px solid var(--vv-sand);
}

.vv-comparison-cta h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--vv-deep);
    margin-bottom: 8px;
}

.vv-comparison-cta p {
    font-size: 14px;
    color: var(--vv-muted);
    margin-bottom: 20px;
}

.vv-comparison-cta__button {
    display: inline-block;
    padding: 13px 34px;
    background: var(--vv-gold);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .25s;
}

.vv-comparison-cta__button:hover {
    background: #B8943E;
}

/* ── Responsive ── */
@media (min-width:500px) {

    .vv-country__header {
        flex-direction: row;
        align-items: center;
    }

    .vv-country__meta {
        margin-left: auto;
    }

    .vv-compare-bar {
        flex-direction: row;
    }
}

@media (max-width:900px) {
    .vv-program-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:520px) {
    .vv-program-list {
        grid-template-columns: 1fr 1fr;
    }

    .vv-program-card {
        padding: 12px;
    }

    .vv-program-card__price {
        font-size: 22px;
    }
}