/* ── Zero Max – Variation Modal CSS ─────────────────────── */

/* Modal shell */
.zm-modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.zm-modal-header {
    padding: 20px 24px 8px;
}

.zm-modal-title {
    font-family: 'Oxanium', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.zm-modal-close {
    font-size: 24px;
    color: #999;
    opacity: 1;
    transition: color 0.15s;
}
.zm-modal-close:hover { color: #e87722; }

.zm-modal-body {
    padding: 12px 20px 28px;
}

/* ── Variation card ──────────────────────────────────────── */
.zm-var-card {
    border: 1.5px solid #e8e8e8;
    border-radius: 14px;
    padding: 18px 16px 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}
.zm-var-card:hover {
    border-color: #e87722;
    box-shadow: 0 4px 20px rgba(232, 119, 34, 0.10);
}

.zm-var-name {
    font-family: 'Oxanium', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* ── Car image ───────────────────────────────────────────── */
.zm-var-image {
    background: #f8f8f8;
    border-radius: 10px;
    overflow: hidden;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zm-var-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ── Cash price ──────────────────────────────────────────── */
.zm-cash-label {
    font-size: 11px;
    color: #aaa;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2px;
}
.zm-cash-price {
    font-family: 'Oxanium', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.4px;
}

/* ── Month options ───────────────────────────────────────── */
.zm-month-options {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.zm-month-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
    margin: 0;
    font-weight: normal;
}
.zm-month-opt:hover {
    background: #fff6ee;
}
.zm-month-opt.zm-opt-active {
    background: #fff3e8;
    border-color: #f5c490;
}

/* Custom radio */
.zm-month-opt input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 2px solid #ccc;
    border-radius: 50%;
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    position: relative;
    margin: 0;
}
.zm-month-opt input[type="radio"]:checked {
    border-color: #e87722;
    background: #e87722;
    box-shadow: inset 0 0 0 3px #fff;
}

.zm-dur-label {
    font-family: 'Outfit', sans-serif;
    font-size: 12px;
    color: #666;
    flex: 1;
}
.zm-dur-price {
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #e87722;
    white-space: nowrap;
}

/* ── Active price ────────────────────────────────────────── */
.zm-active-price {
    font-family: 'Oxanium', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #e87722;
    background: #fff6ee;
    border: 1px solid #f5c490;
    border-radius: 8px;
    text-align: center;
    padding: 9px 12px;
}

/* ── View Specs button ───────────────────────────────────── */
.zm-btn-specs {
    background: #e87722;
    color: #fff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    padding: 11px 16px;
    text-decoration: none !important;
    transition: background 0.18s, transform 0.1s;
    margin-top: auto;
}
.zm-btn-specs:hover {
    background: #cf6610;
    color: #fff !important;
}
.zm-btn-specs:active { transform: scale(0.98); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 767px) {
    .zm-modal-content { border-radius: 16px 16px 0 0; }
    .modal-dialog      { margin: 0; align-items: flex-end; }
    .zm-cash-price     { font-size: 18px; }
}