/* ================================================================
   WooCommerce Car Rental — Public Styles
   ================================================================ */

:root {
    --wcr-pub-primary:   #1a73e8;
    --wcr-pub-primary-d: #1557b0;
    --wcr-pub-accent:    #ff6d00;
    --wcr-pub-success:   #34a853;
    --wcr-pub-surface:   #ffffff;
    --wcr-pub-bg:        #f6f8fb;
    --wcr-pub-border:    #e0e6ef;
    --wcr-pub-text:      #1a2035;
    --wcr-pub-muted:     #6b7897;
    --wcr-pub-radius:    12px;
    --wcr-pub-shadow:    0 4px 20px rgba(26,115,232,.10);
}

/* ── App wrapper ── */
.wcr-app {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--wcr-pub-text);
    max-width: 1180px;
    margin: 0 auto;
}

/* ── Search Box ── */
.wcr-search-box {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: var(--wcr-pub-radius);
    padding: 40px 32px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(26,115,232,.25);
}

.wcr-search-box__title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 20px;
    text-align: center;
}

.wcr-search-form {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.2fr auto;
    gap: 12px;
    align-items: end;
}

@media (max-width: 768px) {
    .wcr-search-form { grid-template-columns: 1fr; }
    .wcr-search-box  { padding: 24px 16px; }
}

.wcr-search-form__field label {
    display: block;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.wcr-search-form select,
.wcr-search-form input[type="text"] {
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255,255,255,.95);
    color: var(--wcr-pub-text);
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.wcr-search-form select:focus,
.wcr-search-form input:focus {
    outline: 2px solid rgba(255,255,255,.7);
    background: #fff;
}

.wcr-date-time-group {
    display: flex;
    gap: 6px;
}

.wcr-date-time-group input { flex: 1.4; }
.wcr-date-time-group select { flex: 1; }

/* ── Buttons ── */
.wcr-public-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all .18s;
    text-decoration: none;
    line-height: 1.4;
}

.wcr-public-btn--primary  { background: var(--wcr-pub-accent); color: #fff; box-shadow: 0 2px 8px rgba(255,109,0,.3); }
.wcr-public-btn--primary:hover { background: #e65100; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,109,0,.4); }

.wcr-public-btn--secondary { background: var(--wcr-pub-primary); color: #fff; }
.wcr-public-btn--secondary:hover { background: var(--wcr-pub-primary-d); }

.wcr-public-btn--ghost { background: transparent; color: var(--wcr-pub-muted); border: 1.5px solid var(--wcr-pub-border); }
.wcr-public-btn--ghost:hover { border-color: var(--wcr-pub-primary); color: var(--wcr-pub-primary); }

.wcr-public-btn--outline { background: transparent; color: var(--wcr-pub-primary); border: 2px solid var(--wcr-pub-primary); }
.wcr-public-btn--outline:hover { background: var(--wcr-pub-primary); color: #fff; }

.wcr-public-btn--full { width: 100%; }

/* ── Results layout ── */
.wcr-results-wrap { padding: 0 0 48px; }

.wcr-results-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .wcr-results-layout { grid-template-columns: 1fr; }
    .wcr-filters {
        position: static;
        z-index: auto;
    }
    .wcr-vehicle-card {
        z-index: 0;
        isolation: isolate;
    }
    /* Collapsible filters on mobile */
    .wcr-filters__toggle { display: flex; }
    .wcr-filters__body {
        display: none;
        overflow: hidden;
    }
    .wcr-filters__body.is-open { display: block; }
}

@media (min-width: 769px) {
    .wcr-filters__toggle { display: none; }
    .wcr-filters__body { display: block !important; }
}

/* ── Filters Sidebar ── */
.wcr-filters {
    background: var(--wcr-pub-surface);
    border-radius: var(--wcr-pub-radius);
    padding: 20px;
    box-shadow: var(--wcr-pub-shadow);
    position: sticky;
    top: 20px;
    z-index: 10;
}

.wcr-filters__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--wcr-pub-border);
}

.wcr-filters__title {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.wcr-filters__toggle {
    align-items: center;
    gap: 5px;
    background: none;
    border: 1.5px solid var(--wcr-pub-border);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: var(--wcr-pub-muted);
    line-height: 1.4;
}

.wcr-filters__toggle .wcr-filters__toggle-icon {
    display: inline-block;
    transition: transform .2s;
}

.wcr-filters__toggle[aria-expanded="true"] .wcr-filters__toggle-icon {
    transform: rotate(180deg);
}

.wcr-filter-group {
    margin-bottom: 14px;
}

.wcr-filter-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: var(--wcr-pub-muted);
    margin-bottom: 5px;
}

.wcr-filter-group select {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid var(--wcr-pub-border);
    border-radius: 7px;
    font-size: 13px;
    background: #fff;
}

/* ── Vehicle Grid — larger cards for 350px images ── */
.wcr-vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
}

/* ── Vehicle Card ── */
.wcr-vehicle-card {
    background: var(--wcr-pub-surface);
    border-radius: var(--wcr-pub-radius);
    border: 1.5px solid var(--wcr-pub-border);
    box-shadow: 0 2px 12px rgba(26,115,232,.06);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    display: flex;
    flex-direction: column;
}

.wcr-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(26,115,232,.15);
    border-color: var(--wcr-pub-primary);
}

/* 1:1 square image, always fully visible (contain) */
.wcr-vehicle-card__img-link {
    display: block;
    text-decoration: none;
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #f4f6f9;
    overflow: hidden;
    position: relative;
}

.wcr-vehicle-card__img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
    padding: 12px;
    box-sizing: border-box;
}

.wcr-vehicle-card:hover .wcr-vehicle-card__img-link img {
    transform: scale(1.04);
}

.wcr-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: #ccc;
    aspect-ratio: 1 / 1;
    background: #f4f6f9;
}

.wcr-vehicle-card__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wcr-vehicle-card__brand {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--wcr-pub-muted);
    margin-bottom: 4px;
}

.wcr-vehicle-card__name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 auto;
    line-height: 1.3;
}

.wcr-vehicle-card__name a {
    color: var(--wcr-pub-text);
    text-decoration: none;
    transition: color .15s;
}

.wcr-vehicle-card__name a:hover {
    color: var(--wcr-pub-primary);
}

.wcr-vehicle-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--wcr-pub-border);
}

.wcr-vehicle-card__price {
    font-size: 16px;
    color: var(--wcr-pub-text);
    line-height: 1.2;
}

.wcr-vehicle-card__price strong {
    font-size: 20px;
    font-weight: 800;
    color: var(--wcr-pub-primary);
}

.wcr-vehicle-card__price small {
    font-size: 12px;
    color: var(--wcr-pub-muted);
}

.wcr-vehicle-card__actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.wcr-vehicle-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.wcr-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: var(--wcr-pub-bg);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    color: var(--wcr-pub-muted);
    font-weight: 500;
}

.wcr-vehicle-card__pricing {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--wcr-pub-border);
}

.wcr-vehicle-card__price-main {
    font-size: 22px;
    font-weight: 800;
    color: var(--wcr-pub-primary);
}

.wcr-vehicle-card__price-sub {
    font-size: 12px;
    color: var(--wcr-pub-muted);
}

.wcr-vehicle-card__km {
    font-size: 12px;
    color: var(--wcr-pub-success);
    font-weight: 600;
    margin-top: 2px;
}

.wcr-vehicle-card__cta {
    margin-top: 14px;
}

/* ── Loading ── */
.wcr-loading {
    text-align: center;
    padding: 60px 24px;
    color: var(--wcr-pub-muted);
}

.wcr-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--wcr-pub-border);
    border-top-color: var(--wcr-pub-primary);
    border-radius: 50%;
    animation: wcr-spin .7s linear infinite;
    margin: 0 auto 16px;
}

@keyframes wcr-spin { to { transform: rotate(360deg); } }

.wcr-no-results {
    text-align: center;
    padding: 60px 24px;
    color: var(--wcr-pub-muted);
    font-size: 15px;
}

/* ── Modals ── */
.wcr-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.wcr-modal {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    animation: wcr-modal-in .2s ease;
}

.wcr-modal--wide {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.wcr-modal--wide #wcr-modal-2-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.wcr-modal--wide .wcr-m2-body {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.wcr-modal--wide .wcr-m2-footer {
    flex-shrink: 0;
}

@keyframes wcr-modal-in {
    from { opacity: 0; transform: scale(.95) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wcr-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--wcr-pub-bg);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wcr-pub-muted);
    transition: background .15s;
}

.wcr-modal-close:hover { background: #e0e0e0; color: var(--wcr-pub-text); }

/* Modal step 1 */
.wcr-booking-summary { }

.wcr-booking-summary__vehicle {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wcr-pub-border);
}

.wcr-booking-summary__vehicle img {
    width: 100px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--wcr-pub-bg);
}

.wcr-booking-summary__vehicle-name { font-size: 18px; font-weight: 700; margin: 0 0 6px; }

.wcr-price-breakdown {
    margin-bottom: 20px;
}

.wcr-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--wcr-pub-border);
    font-size: 14px;
}

.wcr-price-row:last-child { border-bottom: none; }
.wcr-price-row--total { font-weight: 700; font-size: 18px; color: var(--wcr-pub-primary); }
.wcr-price-row--discount { color: var(--wcr-pub-success); }

/* ═══════════════════════════════════════════════════
   Step 1 Modal — vehicle name + image + pills + button
   ═══════════════════════════════════════════════════ */
.wcr-m1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0 4px;
}

.wcr-m1__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 220px;
    overflow: hidden;
    border-radius: 12px;
    background: #f0f2f5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcr-m1__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
    box-sizing: border-box;
}

.wcr-m1__img-placeholder {
    font-size: 64px;
    color: #ccc;
}

.wcr-m1__name {
    font-size: 22px;
    font-weight: 800;
    color: var(--wcr-pub-text);
    margin: 0 0 20px;
    text-align: center;
    line-height: 1.2;
}

.wcr-m1__pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
    background: var(--wcr-pub-bg);
    border-radius: 14px;
    padding: 16px 8px;
    margin-bottom: 24px;
}

.wcr-m1__pill {
    flex: 1;
    text-align: center;
    padding: 4px 8px;
}

.wcr-m1__pill-val {
    font-size: 20px;
    font-weight: 800;
    color: var(--wcr-pub-text);
    line-height: 1;
    margin-bottom: 4px;
}

.wcr-m1__pill--price .wcr-m1__pill-val {
    color: var(--wcr-pub-primary);
}

.wcr-m1__pill-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--wcr-pub-muted);
}

.wcr-m1__pill-sep {
    width: 1px;
    height: 40px;
    background: var(--wcr-pub-border);
    flex-shrink: 0;
}

.wcr-m1__btn {
    width: 100%;
    font-size: 16px;
    padding: 14px 24px;
    border-radius: 12px;
}

/* ═══════════════════════════════════════════════════
   Step 2 Modal — Hertz-style service cards
   ═══════════════════════════════════════════════════ */
.wcr-m2-header {
    margin-bottom: 20px;
}

.wcr-m2-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 6px;
    color: var(--wcr-pub-text);
}

.wcr-m2-sub {
    font-size: 13px;
    color: var(--wcr-pub-muted);
    margin: 0;
}

.wcr-m2-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 16px;
}

.wcr-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 700px) {
    .wcr-svc-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 701px) and (max-width: 960px) {
    .wcr-svc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wcr-svc-card {
    border: 2px solid var(--wcr-pub-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    background: var(--wcr-pub-surface);
}

.wcr-svc-card:hover {
    border-color: var(--wcr-pub-primary);
    box-shadow: 0 4px 18px rgba(26,115,232,.10);
}

.wcr-svc-card.is-selected {
    border-color: var(--wcr-pub-primary);
    background: rgba(26,115,232,.04);
}

.wcr-svc-card__header {
    padding: 16px 18px 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.wcr-svc-excl-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--wcr-pub-primary);
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.wcr-svc-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--wcr-pub-text);
    line-height: 1.3;
}

.wcr-svc-card__sep {
    height: 1px;
    background: var(--wcr-pub-border);
    margin: 0 18px;
}

.wcr-svc-card__features {
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.wcr-svc-feature {
    font-size: 13px;
    color: var(--wcr-pub-text);
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.wcr-svc-check {
    color: #22c55e;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.wcr-svc-cross {
    color: #ef4444;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.wcr-svc-card__footer {
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.wcr-svc-card__pricing {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wcr-svc-card__pday {
    font-size: 14px;
    font-weight: 700;
    color: var(--wcr-pub-text);
}

.wcr-svc-card__ptotal {
    font-size: 12px;
    color: var(--wcr-pub-muted);
}

.wcr-svc-card__btn {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--wcr-pub-primary);
    border-radius: 10px;
    background: transparent;
    color: var(--wcr-pub-primary);
    cursor: pointer;
    transition: all .18s;
    white-space: nowrap;
    flex-shrink: 0;
}

.wcr-svc-card__btn:hover {
    background: var(--wcr-pub-primary);
    color: #fff;
}

.wcr-svc-card.is-selected .wcr-svc-card__btn {
    background: var(--wcr-pub-primary);
    color: #fff;
}

/* ── Modal 2 sticky footer ── */
.wcr-m2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0 0;
    border-top: 1.5px solid var(--wcr-pub-border);
    margin-top: 8px;
}

.wcr-m2-footer__total {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wcr-m2-footer__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--wcr-pub-muted);
}

.wcr-m2-footer__value {
    font-size: 22px;
    font-weight: 800;
    color: var(--wcr-pub-primary);
    line-height: 1;
}

.wcr-m2-footer__btn {
    flex-shrink: 0;
    padding: 13px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
}

.wcr-no-services-wrap {
    text-align: center;
    padding: 32px 16px;
    color: var(--wcr-pub-muted);
    font-size: 14px;
}

/* ── Total bar ── */
.wcr-total-bar {
    background: var(--wcr-pub-bg);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wcr-total-bar__label { font-size: 13px; color: var(--wcr-pub-muted); }
.wcr-total-bar__value { font-size: 24px; font-weight: 800; color: var(--wcr-pub-primary); }

/* ── Responsive ── */
@media (max-width: 480px) {
    .wcr-modal { padding: 20px 16px; }
    .wcr-booking-summary__vehicle { flex-direction: column; }
    .wcr-booking-summary__vehicle img { width: 100%; height: 140px; }
}

/* ── Vehicle card details/book buttons ── */
.wcr-btn-sm { padding: 8px 16px; font-size: 13px; }
.wcr-vehicle-card__actions { display: flex; gap: 8px; align-items: center; }
.wcr-vehicle-card__meta { display: flex; gap: 8px; margin-bottom: 4px; }
.wcr-vc-type, .wcr-vc-brand {
    font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px;
    color: var(--wcr-pub-muted); background: var(--wcr-pub-bg);
    padding: 2px 8px; border-radius: 20px;
}

/* ── Login required modal ── */
.wcr-modal--sm .wcr-modal { max-width: 420px; }
.wcr-login-gate { text-align: center; padding: 16px 0; }
.wcr-login-gate__icon { font-size: 48px; margin-bottom: 12px; }
.wcr-login-gate h3 { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.wcr-login-gate p  { color: var(--wcr-pub-muted); margin: 0 0 24px; }
.wcr-login-gate__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── Not found ── */
.wcr-vp-notfound { text-align: center; padding: 80px 20px; }
.wcr-vp-notfound__icon { font-size: 56px; margin-bottom: 16px; }
.wcr-vp-notfound h3 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.wcr-vp-notfound p { color: var(--wcr-pub-muted); margin-bottom: 24px; }

/* ================================================================
   Single Vehicle Page  —  Modern redesign
   ================================================================ */
.wcr-vp {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--wcr-pub-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4px;
}

/* ── Breadcrumb ── */
.wcr-vp__breadcrumb { margin-bottom: 20px; }
.wcr-vp__back-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: var(--wcr-pub-primary);
    text-decoration: none; padding: 6px 0;
    transition: opacity .15s;
}
.wcr-vp__back-link:hover { opacity: .75; }

/* ── Two-column layout ── */
.wcr-vp__layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 36px;
    align-items: start;
}

/* ── Title block ── */
.wcr-vp__title-block { margin-bottom: 18px; }
.wcr-vp__badges { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.wcr-badge-pill {
    display: inline-block; padding: 3px 12px;
    background: rgba(26,115,232,.09); color: var(--wcr-pub-primary);
    border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .3px;
}
.wcr-badge-pill--outline {
    background: transparent; border: 1.5px solid var(--wcr-pub-border);
    color: var(--wcr-pub-muted);
}
.wcr-vp__heading {
    font-size: 28px; font-weight: 800; margin: 0 0 8px; line-height: 1.25;
    color: #1a1a2e;
}
.wcr-vp__location-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 13px; color: var(--wcr-pub-muted);
}

/* ── Gallery ── */
.wcr-vp__gallery { margin-bottom: 24px; }

.wcr-gallery__hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f2f5;
    aspect-ratio: 16/9;
    max-height: 440px;
    cursor: zoom-in;
}
.wcr-gallery__hero-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
}
.wcr-gallery__hero:hover .wcr-gallery__hero-img { transform: scale(1.02); }

.wcr-gallery__placeholder {
    width: 100%; aspect-ratio: 16/9; max-height: 360px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px; color: #bbb;
    background: #f6f8fb; border-radius: 16px;
    border: 2px dashed #e2e6ea;
}
.wcr-gallery__placeholder p { font-size: 14px; margin: 0; }

.wcr-gallery__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(10,10,30,.55); color: #fff; border: none;
    width: 44px; height: 44px; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background .15s, transform .15s;
    z-index: 2; backdrop-filter: blur(4px);
}
.wcr-gallery__arrow:hover { background: rgba(10,10,30,.75); transform: translateY(-50%) scale(1.08); }
.wcr-gallery__arrow--prev { left: 14px; }
.wcr-gallery__arrow--next { right: 14px; }

.wcr-gallery__counter {
    position: absolute; bottom: 12px; right: 14px;
    background: rgba(0,0,0,.55); color: #fff;
    font-size: 12px; font-weight: 600; padding: 4px 10px;
    border-radius: 20px; backdrop-filter: blur(4px);
}

.wcr-gallery__thumbs {
    display: flex; gap: 8px; margin-top: 10px; flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.wcr-gallery__thumbs::-webkit-scrollbar { display: none; }
.wcr-gallery__thumb-btn {
    flex: 0 0 80px; height: 56px;
    border: 2.5px solid transparent; border-radius: 10px;
    overflow: hidden; cursor: pointer; padding: 0;
    background: #f0f2f5;
    opacity: .6; transition: opacity .15s, border-color .15s;
}
.wcr-gallery__thumb-btn img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.wcr-gallery__thumb-btn:hover { opacity: .85; }
.wcr-gallery__thumb-btn.is-active { opacity: 1; border-color: var(--wcr-pub-primary); }

/* ── Specs grid (card style) ── */
.wcr-vp__specs-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px; margin-bottom: 28px;
}
.wcr-spec-card {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    background: var(--wcr-pub-surface);
    border: 1px solid var(--wcr-pub-border);
    border-radius: 12px;
    transition: box-shadow .15s, border-color .15s;
}
.wcr-spec-card:hover { border-color: var(--wcr-pub-primary); box-shadow: 0 2px 12px rgba(26,115,232,.1); }
.wcr-spec-card__icon { font-size: 22px; flex-shrink: 0; }
.wcr-spec-card__label { font-size: 11px; color: var(--wcr-pub-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
.wcr-spec-card__value { font-size: 14px; font-weight: 700; color: var(--wcr-pub-text); }

/* ── Section ── */
.wcr-vp__section { margin-bottom: 36px; }
.wcr-vp__section-title {
    font-size: 18px; font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--wcr-pub-border);
    color: #1a1a2e;
}
.wcr-vp__description { line-height: 1.75; color: #444; font-size: 15px; }

/* ── Accordion toggle (pricing) ── */
.wcr-accordion-toggle {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px;
    background: var(--wcr-pub-surface);
    border: 1.5px solid var(--wcr-pub-border);
    border-radius: 12px;
    cursor: pointer; font-family: inherit;
    transition: border-color .15s, background .15s;
    margin-bottom: 0;
}
.wcr-accordion-toggle:hover { border-color: var(--wcr-pub-primary); background: rgba(26,115,232,.03); }
.wcr-accordion-toggle.is-open { border-radius: 12px 12px 0 0; border-color: var(--wcr-pub-primary); }
.wcr-accordion-toggle__label {
    display: flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 700; color: #1a1a2e;
}
.wcr-accordion-toggle__sub {
    font-size: 13px; font-weight: 500; color: var(--wcr-pub-primary);
    margin-left: 4px;
}
.wcr-accordion-toggle__icon {
    display: flex; align-items: center;
    transition: transform .25s;
    color: var(--wcr-pub-muted);
}
.wcr-accordion-toggle.is-open .wcr-accordion-toggle__icon { transform: rotate(180deg); }

.wcr-accordion-body {
    border: 1.5px solid var(--wcr-pub-primary);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

/* ── Price table ── */
.wcr-vp__price-table {
    width: 100%; border-collapse: collapse; font-size: 14px;
    background: var(--wcr-pub-surface);
}
.wcr-vp__price-table th {
    text-align: left; padding: 11px 16px;
    background: var(--wcr-pub-bg);
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
    color: var(--wcr-pub-muted); border-bottom: 1px solid var(--wcr-pub-border);
}
.wcr-vp__price-table td {
    padding: 12px 16px; border-bottom: 1px solid var(--wcr-pub-border);
}
.wcr-vp__price-table tbody tr:last-child td { border-bottom: none; }
.wcr-vp__price-table tbody tr:hover { background: rgba(26,115,232,.03); }
.wcr-price-col { font-weight: 700; color: var(--wcr-pub-primary); }
.wcr-price-col--approx { color: var(--wcr-pub-muted); font-weight: 500; font-size: 13px; }

/* ── Multi-item accordion list (FAQ & Terms) ── */
.wcr-accordion-list { display: flex; flex-direction: column; gap: 10px; }
.wcr-accordion-item { display: flex; flex-direction: column; }
.wcr-accordion-body--text {
    padding: 14px 18px 18px;
    font-size: 14px; line-height: 1.8; color: #555;
    background: var(--wcr-pub-surface);
}
.wcr-accordion-body--text p { margin: 0 0 10px; }
.wcr-accordion-body--text p:last-child { margin-bottom: 0; }
.wcr-accordion-body--text ul,
.wcr-accordion-body--text ol { padding-left: 22px; margin: 0 0 10px; }
.wcr-accordion-body--text li { margin-bottom: 4px; }

/* ══════════════════════════════════════════════
   Booking Card (right sticky column)
══════════════════════════════════════════════ */
.wcr-vp__booking-card {
    position: sticky; top: 24px;
}
.wcr-bc {
    background: var(--wcr-pub-surface);
    border: 1.5px solid var(--wcr-pub-border);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(26,115,232,.12);
    padding: 24px;
}

.wcr-bc__price-hero {
    display: flex; align-items: baseline; gap: 6px;
    margin-bottom: 6px;
}
.wcr-bc__from { font-size: 13px; color: var(--wcr-pub-muted); }
.wcr-bc__amount { font-size: 30px; font-weight: 900; color: #1a1a2e; }
.wcr-bc__unit { font-size: 13px; color: var(--wcr-pub-muted); }

.wcr-bc__divider { height: 1px; background: var(--wcr-pub-border); margin: 16px 0; }

.wcr-bc__field { margin-bottom: 14px; }
.wcr-bc__field-label {
    display: flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .5px; color: var(--wcr-pub-muted); margin-bottom: 6px;
}

.wcr-bc__select,
.wcr-bc__input {
    width: 100%; padding: 10px 12px;
    border: 1.5px solid var(--wcr-pub-border);
    border-radius: 10px; font-size: 14px;
    background: #fff; box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
    font-family: inherit;
    cursor: pointer;
}
.wcr-bc__select:focus, .wcr-bc__input:focus {
    outline: none; border-color: var(--wcr-pub-primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}

.wcr-bc__date-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 14px;
}
.wcr-bc__field--half { margin-bottom: 0; }

.wcr-bc__return-note {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--wcr-pub-muted);
    background: var(--wcr-pub-bg);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 14px;
}

.wcr-bc__return-note svg {
    flex-shrink: 0;
    color: var(--wcr-pub-primary);
}

.wcr-bc__toggle-label {
    display: flex; align-items: center; gap: 7px;
    font-size: 13px; cursor: pointer; color: var(--wcr-pub-muted);
}
.wcr-bc__toggle-label input[type=checkbox] { margin: 0; width: auto; cursor: pointer; }

.wcr-bc__price-preview {
    background: linear-gradient(135deg, rgba(26,115,232,.07), rgba(26,115,232,.03));
    border: 1px solid rgba(26,115,232,.18);
    border-radius: 12px; padding: 14px 16px;
    margin: 16px 0;
}
.wcr-bc__price-row {
    display: flex; justify-content: space-between;
    font-size: 14px; padding: 4px 0;
    color: var(--wcr-pub-text);
}
.wcr-bc__price-row--total {
    font-weight: 800; font-size: 17px;
    border-top: 1px solid rgba(26,115,232,.2);
    margin-top: 10px; padding-top: 12px;
    color: var(--wcr-pub-primary);
}

.wcr-bc__book-btn {
    width: 100%; padding: 15px;
    font-size: 16px; font-weight: 700;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 4px;
    letter-spacing: .3px;
}
.wcr-bc__book-btn:disabled { opacity: .5; cursor: not-allowed; }

.wcr-bc__login-note {
    font-size: 12px; color: var(--wcr-pub-muted);
    text-align: center; margin: 12px 0 0;
}
.wcr-bc__login-note a { color: var(--wcr-pub-primary); text-decoration: none; font-weight: 600; }

.wcr-bc__trust {
    display: flex; gap: 10px; margin-top: 16px; padding-top: 14px;
    border-top: 1px solid var(--wcr-pub-border);
    flex-wrap: wrap;
}
.wcr-trust-badge {
    display: flex; align-items: center; gap: 5px;
    font-size: 11.5px; color: var(--wcr-pub-muted); font-weight: 600;
}

/* ══════════════════════════════════════════════
   Single Vehicle Page Wrapper (CPT single template)
══════════════════════════════════════════════ */
.wcr-single-page-wrap {
    background: var(--wcr-pub-bg, #f5f6fa);
    padding: 32px 0 72px;
    min-height: 60vh;
}
.wcr-single-page-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .wcr-vp__layout {
        grid-template-columns: 1fr;
    }
    .wcr-vp__booking-card {
        position: static;
        order: -1;
    }
    .wcr-vp__heading { font-size: 22px; }
}
@media (max-width: 600px) {
    .wcr-vp__specs-grid { grid-template-columns: repeat(2, 1fr); }
    .wcr-gallery__hero { max-height: 240px; }
    .wcr-bc { padding: 18px; }
    .wcr-bc__amount { font-size: 24px; }
}

/* ══════════════════════════════════════════════
   Equipment modal (Step 3)
══════════════════════════════════════════════ */

.wcr-equip-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0 8px;
}

.wcr-equip-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 2px solid var(--wcr-pub-border, #e5e7eb);
    border-radius: 12px;
    padding: 16px 18px;
    transition: border-color .18s, box-shadow .18s;
}
.wcr-equip-card:hover {
    border-color: var(--wcr-pub-primary, #2563eb);
    box-shadow: 0 2px 10px rgba(37,99,235,.08);
}
.wcr-equip-card.is-selected {
    border-color: var(--wcr-pub-primary, #2563eb);
    background: rgba(37,99,235,.04);
}

.wcr-equip-card__info {
    flex: 1 1 0;
    min-width: 0;
}
.wcr-equip-card__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--wcr-pub-text, #111827);
    margin-bottom: 3px;
}
.wcr-equip-card__desc {
    font-size: 13px;
    color: var(--wcr-pub-muted, #6b7280);
    line-height: 1.45;
}

.wcr-equip-card__actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: nowrap;
}

.wcr-equip-card__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--wcr-pub-primary, #2563eb);
    white-space: nowrap;
}

.wcr-equip-card__btn {
    background: var(--wcr-pub-primary, #2563eb);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s;
}
.wcr-equip-card__btn:hover { background: #1d4ed8; }
.wcr-equip-card.is-selected .wcr-equip-card__btn {
    background: #16a34a;
}
.wcr-equip-card.is-selected .wcr-equip-card__btn:hover { background: #15803d; }

/* Quantity spinner */
.wcr-equip-qty {
    display: flex;
    align-items: center;
    gap: 4px;
}
.wcr-equip-qty__btn {
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    border-radius: 6px !important;
    background: var(--wcr-pub-primary, #2563eb) !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    transition: background .15s;
    flex-shrink: 0;
    line-height: 1 !important;
    box-shadow: none !important;
    outline: none;
}
.wcr-equip-qty__btn:hover { background: #1d4ed8 !important; }
.wcr-equip-qty__input {
    width: 36px;
    text-align: center;
    border: 1px solid var(--wcr-pub-border, #e5e7eb);
    border-radius: 6px;
    padding: 4px;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}
.wcr-equip-qty__input::-webkit-outer-spin-button,
.wcr-equip-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }

@media (max-width: 600px) {
    .wcr-equip-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .wcr-equip-card__actions {
        flex-direction: row;
        justify-content: space-between;
        min-width: unset;
    }
}
