/* ─── Wrapper ─────────────────────────────────────────── */
.pricing_wrapper {
    padding: 70px 0 90px;
    background: #ffffff;
}

.pricing-unavailable {
    text-align: center;
    color: #888;
    font-size: 16px;
    padding: 40px 0;
}

/* ─── Cards grid ──────────────────────────────────────── */
.pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 70px;
}

/* ─── Single card ─────────────────────────────────────── */
.pricing .card {
    width: 260px;
    background: #ffffff;
    border: 2px solid #3f4079;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: 0 8px 32px rgba(63, 64, 121, 0.10);
    transition: transform 0.25s, box-shadow 0.25s;
}

.pricing .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(63, 64, 121, 0.18);
}

/* Pack name */
.pricing .card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #3f4079;
    margin: 0 0 18px;
    letter-spacing: 0.3px;
}

/* Price */
.pricing .price {
    font-size: 32px;
    font-weight: 800;
    color: #1ca3ae;
    margin: 0 0 12px;
    line-height: 1.1;
}

/* Badge */
.pricing .badge {
    background: #f5c518;
    color: #1a1a1a;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    white-space: nowrap;
}

/* Dropdown wrapper */
.pricing .users {
    width: 100%;
    margin-bottom: 16px;
}

/* Dropdown */
.select-user {
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-color: #3f4079;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 40px 11px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    background-image:
        linear-gradient(45deg, transparent 50%, #fff 50%),
        linear-gradient(135deg, #fff 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% + 2px),
        calc(100% - 13px) calc(50% + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    transition: background-color 0.2s;
}

.select-user:focus {
    outline: none;
    background-color: #2d2e5e;
}

html[dir="rtl"] .select-user {
    background-position:
        calc(0% + 13px) calc(50% + 2px),
        calc(0% + 18px) calc(50% + 2px);
}

/* CTA button */
.btn-commander {
    display: block;
    width: 50%;
    margin-top: auto;
    padding: 15px 0;
    background: #1ca3ae;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.2s;
}

.btn-commander:hover {
    background: #158a94;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Pack description */
.pack-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-top: 4px;
    margin-bottom: 16px;
    text-align: center;
    flex: 1;
}

/* ─── Comparison table ────────────────────────────────── */
.compare-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ddddf0;
    background: #fff;
    box-shadow: 0 4px 24px rgba(63, 64, 121, 0.07);
}

.compare-header {
    display: grid;
    background: #3f4079;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.compare-header div:first-child {
    text-align: start;
}

.compare-row {
    display: grid;
    padding: 13px 20px;
    text-align: center;
    border-top: 1px solid #ebebf5;
    background: #fff;
    transition: background 0.2s;
    font-size: 14px;
    color: #333;
}

.compare-row:nth-child(even) {
    background: #f8f8fc;
}

.compare-row:hover {
    background: #f0f0f9;
}

.compare-section {
    display: grid;
    background: #eeeef7;
    padding: 9px 20px;
    border-top: 2px solid #3f4079;
}

.compare-section div {
    text-align: start;
    font-weight: 700;
    font-size: 13px;
    color: #3f4079;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.compare-row div:first-child {
    text-align: start;
    font-weight: 500;
    color: #3f4079;
}

.yes {
    color: #22c55e;
    font-size: 17px;
    font-weight: 700;
}

.no {
    color: #ef4444;
    font-size: 17px;
    font-weight: 700;
}

/* ─── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .pricing .card {
        width: 100%;
        max-width: 340px;
    }

    .compare-wrapper {
        overflow-x: auto;
    }

    .compare-header,
    .compare-row {
        min-width: 480px;
        font-size: 12px;
    }
}
