/**
 * OmniRota Rental - Enhancement Styles
 * Availability Calendar, Vehicle Detail, Locations Map, Feature Icons
 *
 * @package OmniRota
 * @since 1.2.0
 */

/* =========================================================================
   FEATURE ICONS (shared across all views)
   ========================================================================= */

.omnirota-vehicle-feature-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.omnirota-feature-icon {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: var(--or-bg-light, #f5f5f5);
    border-radius: 6px;
    font-size: 12px;
    color: var(--or-text-secondary, #666);
    white-space: nowrap;
}

.omnirota-feature-icon svg {
    flex-shrink: 0;
    color: var(--or-primary, #2563eb);
}

/* =========================================================================
   AVAILABILITY CALENDAR
   ========================================================================= */

.omnirota-availability-wrapper {
    max-width: 100%;
    overflow: hidden;
}

.omnirota-availability-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.omnirota-availability-header .omnirota-availability-title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--or-text, #1a1a1a);
}

.omnirota-availability-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.omnirota-availability-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.omnirota-cal-month-label {
    font-size: 16px;
    font-weight: 600;
    min-width: 160px;
    text-align: center;
    color: var(--or-text, #1a1a1a);
}

.omnirota-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.omnirota-btn-icon:hover {
    background: var(--or-bg-light, #f5f5f5);
    border-color: var(--or-primary, #2563eb);
}

/* Select dropdowns (branch + filters) */
.omnirota-select {
    min-width: 160px;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E") right 12px center/12px no-repeat;
    font-size: 14px;
    color: var(--or-text, #333);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.omnirota-select:hover {
    border-color: var(--or-primary, #2563eb);
}

.omnirota-select:focus {
    outline: none;
    border-color: var(--or-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(var(--or-primary-rgb, 37, 99, 235), 0.1);
}

/* Search & filter bar */
.omnirota-availability-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding: 16px 20px;
    background: var(--or-bg-light, #f8f9fa);
    border-radius: 10px;
    border: 1px solid var(--or-border, #e5e7eb);
}

.omnirota-availability-search {
    position: relative;
    flex: 1 1 260px;
    min-width: 220px;
}

.omnirota-availability-search .omnirota-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--or-text-secondary, #999);
    pointer-events: none;
}

.omnirota-cal-search-input {
    width: 100%;
    padding: 10px 14px 10px 42px;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: var(--or-text, #333);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.omnirota-cal-search-input:focus {
    outline: none;
    border-color: var(--or-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(var(--or-primary-rgb, 37, 99, 235), 0.1);
}

.omnirota-availability-filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.omnirota-cal-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: var(--or-text-secondary, #666);
    cursor: pointer;
    transition: all 0.2s;
}

.omnirota-cal-clear-btn:hover {
    border-color: var(--or-danger, #ef4444);
    color: var(--or-danger, #ef4444);
}

/* Empty (no-match) state */
.omnirota-cal-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    gap: 8px;
}

.omnirota-cal-empty-icon {
    color: var(--or-text-secondary, #bbb);
    margin-bottom: 4px;
}

.omnirota-cal-empty-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--or-text, #1a1a1a);
}

.omnirota-cal-empty-desc {
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--or-text-secondary, #666);
}

/* Legend */
.omnirota-availability-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: var(--or-bg-light, #f8f9fa);
    border-radius: 8px;
    font-size: 13px;
}

.omnirota-legend-compact {
    padding: 6px 12px;
    gap: 12px;
    font-size: 11px;
}

.omnirota-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--or-text-secondary, #666);
}

.omnirota-legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    flex-shrink: 0;
}

.omnirota-legend-available {
    background: #22c55e;
}

.omnirota-legend-partial {
    background: #f59e0b;
}

.omnirota-legend-unavailable {
    background: #ef4444;
}

/* Calendar - Vehicle Block (card + day strip per vehicle) */
.omnirota-cal-vehicle-block {
    background: #fff;
    border: 1px solid var(--or-border, #e5e7eb);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}

.omnirota-cal-vehicle-block:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Card row: image | info | book button */
.omnirota-cal-card {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 16px;
}

.omnirota-cal-card-image {
    flex-shrink: 0;
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--or-bg-light, #f5f5f5);
    margin-right: 20px;
}

.omnirota-cal-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.omnirota-cal-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--or-text-secondary, #ccc);
}

.omnirota-cal-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 6px;
}

.omnirota-cal-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--or-text, #1a1a1a);
    line-height: 1.3;
}

.omnirota-cal-card-year {
    font-weight: 400;
    color: var(--or-text-secondary, #888);
    font-size: 15px;
}

.omnirota-cal-card-category {
    display: inline-block;
    padding: 2px 10px;
    background: var(--or-primary, #2563eb);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: flex-start;
}

.omnirota-cal-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}

.omnirota-cal-feat-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--or-bg-light, #f0f4f8);
    border-radius: 4px;
    font-size: 11px;
    color: var(--or-text-secondary, #555);
}

.omnirota-cal-feat-more {
    display: inline-block;
    padding: 2px 8px;
    background: var(--or-bg-light, #e8ecf0);
    border-radius: 4px;
    font-size: 11px;
    color: var(--or-text-secondary, #888);
    font-weight: 600;
}

/* Card feature icons - smaller inside calendar cards */
.omnirota-cal-card-info .omnirota-vehicle-feature-icons {
    margin: 4px 0 0;
    gap: 6px;
}

.omnirota-cal-card-info .omnirota-feature-icon {
    padding: 3px 6px;
    font-size: 11px;
}

.omnirota-cal-card-info .omnirota-feature-icon svg {
    width: 14px;
    height: 14px;
}

/* Actions / Book button */
.omnirota-cal-card-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-left: 20px;
}

.omnirota-cal-book-btn {
    white-space: nowrap;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

/* Day strip - horizontal scroll */
.omnirota-cal-daystrip-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--or-border, #e5e7eb);
    background: var(--or-bg-light, #f8f9fa);
}

.omnirota-cal-daystrip {
    display: flex;
    min-width: max-content;
}

.omnirota-cal-daycell {
    flex: 0 0 auto;
    width: 40px;
    padding: 6px 2px;
    text-align: center;
    border-right: 1px solid rgba(0,0,0,0.06);
    transition: background 0.15s;
    cursor: default;
}

.omnirota-cal-daycell-num {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.omnirota-cal-daycell-dow {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    opacity: 0.7;
}

/* Day cell status colors */
.omnirota-cal-daycell.omnirota-cal-available {
    background: #dcfce7;
    color: #166534;
}

.omnirota-cal-daycell.omnirota-cal-partial {
    background: #fef3c7;
    color: #92400e;
}

.omnirota-cal-daycell.omnirota-cal-unavailable {
    background: #fee2e2;
    color: #991b1b;
}

.omnirota-cal-daycell.omnirota-cal-today {
    outline: 2px solid var(--or-primary, #2563eb);
    outline-offset: -2px;
    z-index: 1;
    position: relative;
}

/* Responsive - stack card on mobile */
@media (max-width: 768px) {
    .omnirota-cal-card {
        flex-direction: column;
        gap: 12px;
    }

    .omnirota-cal-card-image {
        width: 100%;
        height: 180px;
        margin-right: 0;
    }

    .omnirota-cal-card-actions {
        padding-left: 0;
        justify-content: stretch;
    }

    .omnirota-cal-book-btn {
        width: 100%;
        text-align: center;
    }

    .omnirota-cal-daycell {
        width: 34px;
        padding: 4px 1px;
    }

    .omnirota-cal-daycell-num {
        font-size: 11px;
    }

    .omnirota-cal-daycell-dow {
        font-size: 8px;
    }
}

/* Loading */
.omnirota-availability-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    color: var(--or-text-secondary, #999);
    gap: 12px;
}

/* =========================================================================
   VEHICLE DETAIL PAGE
   ========================================================================= */

/* Breadcrumb navigation */
.omnirota-vd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 16px 0;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--or-text-secondary, #666);
}

.omnirota-vd-breadcrumb a {
    color: var(--or-primary, #2563eb);
    text-decoration: none;
    transition: color 0.2s;
}

.omnirota-vd-breadcrumb a:hover {
    color: var(--or-primary-dark, #1d4ed8);
    text-decoration: underline;
}

.omnirota-vd-breadcrumb-sep {
    color: var(--or-text-secondary, #999);
    font-size: 16px;
    user-select: none;
}

.omnirota-vd-breadcrumb-current {
    color: var(--or-text-primary, #333);
    font-weight: 600;
}

.omnirota-vehicle-detail-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.omnirota-vehicle-detail-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    color: var(--or-text-secondary, #999);
    gap: 12px;
}

.omnirota-vd-body {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    margin-top: 24px;
}

/* Gallery */
.omnirota-vd-gallery-main {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--or-bg-light, #f5f5f5);
}

.omnirota-vd-gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Click-to-expand affordance on the hero image */
.omnirota-vd-zoomable {
    position: relative;
    cursor: zoom-in;
}

.omnirota-vd-zoom-hint {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.omnirota-vd-zoomable:hover .omnirota-vd-zoom-hint,
.omnirota-vd-zoomable:focus .omnirota-vd-zoom-hint {
    opacity: 1;
}

/* Touch devices have no hover — keep the hint visible */
@media (hover: none) {
    .omnirota-vd-zoom-hint { opacity: 0.9; }
}

/* ==========================================================================
   LIGHTBOX (full-screen photo viewer)
   ========================================================================== */
.omnirota-lightbox {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100000 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
}

.omnirota-lightbox.active {
    display: flex !important;
}

.omnirota-lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.92) !important;
    cursor: zoom-out !important;
}

.omnirota-lightbox-stage {
    position: relative !important;
    z-index: 1 !important;
    max-width: 92vw !important;
    max-height: 88vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.omnirota-lightbox-img {
    max-width: 92vw !important;
    max-height: 88vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    -webkit-user-select: none !important;
    user-select: none !important;
}

.omnirota-lightbox-close,
.omnirota-lightbox-nav {
    position: fixed !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    background: rgba(255, 255, 255, 0.12) !important;
    color: #fff !important;
    cursor: pointer !important;
    border-radius: 50% !important;
    transition: background 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

.omnirota-lightbox-close:hover,
.omnirota-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.omnirota-lightbox-close {
    top: 18px !important;
    right: 18px !important;
    width: 44px !important;
    height: 44px !important;
}

.omnirota-lightbox-nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 52px !important;
    height: 52px !important;
}

.omnirota-lightbox-prev { left: 18px !important; }
.omnirota-lightbox-next { right: 18px !important; }

.omnirota-lightbox-counter {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2 !important;
    padding: 6px 14px !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

body.omnirota-lightbox-open {
    overflow: hidden !important;
}

@media (max-width: 600px) {
    .omnirota-lightbox-nav {
        width: 44px !important;
        height: 44px !important;
    }
    .omnirota-lightbox-prev { left: 8px !important; }
    .omnirota-lightbox-next { right: 8px !important; }
    .omnirota-lightbox-stage,
    .omnirota-lightbox-img {
        max-width: 96vw !important;
        max-height: 82vh !important;
    }
}

.omnirota-vd-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.omnirota-vd-thumb {
    width: 72px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    background: none;
}

.omnirota-vd-thumb.active {
    border-color: var(--or-primary, #2563eb);
}

.omnirota-vd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.omnirota-vd-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: var(--or-bg-light, #f5f5f5);
    border-radius: 12px;
    color: var(--or-text-secondary, #ccc);
}

/* Vehicle Info */
.omnirota-vd-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    color: var(--or-text, #1a1a1a);
}

.omnirota-vd-year {
    font-weight: 400;
    color: var(--or-text-secondary, #888);
}

.omnirota-vd-features {
    margin: 12px 0 16px;
}

.omnirota-vd-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 16px 0;
    padding: 12px 16px;
    background: var(--or-bg-light, #f8f9fa);
    border-radius: 8px;
}

.omnirota-vd-price-label {
    font-size: 13px;
    color: var(--or-text-secondary, #888);
}

.omnirota-vd-price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--or-primary, #2563eb);
}

.omnirota-vd-price-period {
    font-size: 14px;
    color: var(--or-text-secondary, #888);
}

/* Specs grid */
.omnirota-vd-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.omnirota-vd-spec-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    background: var(--or-bg-light, #f8f9fa);
    border-radius: 8px;
}

.omnirota-vd-spec-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--or-text-secondary, #999);
    font-weight: 600;
}

.omnirota-vd-spec-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--or-text, #1a1a1a);
    text-transform: capitalize;
}

/* Equipment/Features */
.omnirota-vd-equipment h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 8px;
}

.omnirota-vd-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* Sidebar */
.omnirota-vd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.omnirota-vd-calendar {
    padding: 16px;
    background: #fff;
    border: 1px solid var(--or-border, #e5e7eb);
    border-radius: 12px;
}

.omnirota-vd-calendar h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}

.omnirota-vd-booking-form {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--or-border, #e5e7eb);
    border-radius: 12px;
}

.omnirota-vd-booking-form h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
}

.omnirota-form-group {
    margin-bottom: 12px;
}

.omnirota-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--or-text-secondary, #555);
    margin-bottom: 4px;
}

.omnirota-form-group select,
.omnirota-form-group input[type="date"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.omnirota-form-row {
    display: flex;
    gap: 12px;
}

.omnirota-form-row .omnirota-form-group {
    flex: 1 1 0;
    min-width: 0;
}

.omnirota-btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

/* Mini Calendar (Vehicle Detail) */
.omnirota-mini-month {
    margin-bottom: 16px;
}

.omnirota-mini-month h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    text-align: center;
    color: var(--or-text, #1a1a1a);
}

.omnirota-mini-cal {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.omnirota-mini-cal th {
    padding: 4px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    color: var(--or-text-secondary, #999);
    text-transform: uppercase;
}

.omnirota-mini-cal td {
    padding: 4px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
}

.omnirota-mini-day.omnirota-cal-available {
    background: #dcfce7;
    color: #166534;
}

.omnirota-mini-day.omnirota-cal-partial {
    background: #fef3c7;
    color: #92400e;
}

.omnirota-mini-day.omnirota-cal-unavailable {
    background: #fee2e2;
    color: #991b1b;
}

/* =========================================================================
   LOCATIONS MAP
   ========================================================================= */

.omnirota-locations-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.omnirota-locations-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--or-border, #e5e7eb);
    z-index: 0;
}

.omnirota-locations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.omnirota-location-card {
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--or-border, #e5e7eb);
    border-radius: 10px;
    transition: box-shadow 0.2s;
}

.omnirota-location-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.omnirota-location-name {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--or-text, #1a1a1a);
}

.omnirota-location-address,
.omnirota-location-phone,
.omnirota-location-email {
    margin: 4px 0;
    font-size: 13px;
    color: var(--or-text-secondary, #666);
    display: flex;
    align-items: center;
    gap: 6px;
}

.omnirota-location-phone a,
.omnirota-location-email a {
    color: var(--or-primary, #2563eb);
    text-decoration: none;
}

.omnirota-location-phone a:hover,
.omnirota-location-email a:hover {
    text-decoration: underline;
}

.omnirota-location-hours {
    margin-top: 8px;
    font-size: 12px;
    color: var(--or-text-secondary, #888);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =========================================================================
   LOCATIONS - Hours table & card fixes
   ========================================================================= */

.omnirota-locations-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.omnirota-location-card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--or-border, #e5e7eb);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.omnirota-location-name {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--or-text, #1a1a1a);
}

.omnirota-location-card p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 14px;
    color: var(--or-text-secondary, #555);
}

.omnirota-location-card a {
    color: var(--or-primary, #2563eb);
    text-decoration: none;
}

.omnirota-location-hours {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: var(--or-text-secondary, #555);
}

.omnirota-hours-table {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.omnirota-hour-row {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.omnirota-hour-row strong {
    min-width: 36px;
}

.omnirota-hour-closed {
    color: var(--or-text-secondary, #999);
}

/* =========================================================================
   FLEET BROWSE (Our Cars page)
   ========================================================================= */

.omnirota-fleet-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.omnirota-fleet-header {
    margin-bottom: 16px;
}

.omnirota-fleet-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--or-text, #1a1a1a);
}

.omnirota-fleet-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--or-bg-light, #f8f9fa);
    border-radius: 10px;
    border: 1px solid var(--or-border, #e5e7eb);
}

.omnirota-fleet-filters select {
    min-width: 160px;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8.5L1 3.5h10z'/%3E%3C/svg%3E") right 12px center/12px no-repeat;
    font-size: 14px;
    color: var(--or-text, #333);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.omnirota-fleet-filters select:hover {
    border-color: var(--or-primary, #2563eb);
}

.omnirota-fleet-filters select:focus {
    outline: none;
    border-color: var(--or-primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(var(--or-primary-rgb, 37, 99, 235), 0.1);
}

/* Vehicle grid */
.omnirota-fleet-grid {
    display: grid;
    grid-template-columns: repeat(var(--omnirota-fleet-cols, 3), 1fr);
    gap: 24px;
}

.omnirota-fleet-loading {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--or-text-secondary, #999);
    gap: 12px;
}

/* Fleet card */
.omnirota-fleet-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--or-border, #e5e7eb);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.omnirota-fleet-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.omnirota-fleet-card-clickable {
    cursor: pointer;
}

.omnirota-fleet-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--or-bg-light, #f5f5f5);
}

.omnirota-fleet-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.omnirota-fleet-card:hover .omnirota-fleet-card-image img {
    transform: scale(1.05);
}

.omnirota-fleet-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--or-text-secondary, #ccc);
}

.omnirota-fleet-card-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: var(--or-primary, #2563eb);
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.omnirota-fleet-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.omnirota-fleet-card-name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--or-text, #1a1a1a);
    line-height: 1.3;
}

.omnirota-fleet-card-year {
    font-weight: 400;
    color: var(--or-text-secondary, #888);
    font-size: 14px;
}

.omnirota-fleet-card-body .omnirota-vehicle-feature-icons {
    margin: 0;
    gap: 6px;
}

.omnirota-fleet-card-body .omnirota-feature-icon {
    padding: 3px 6px;
    font-size: 11px;
}

.omnirota-fleet-card-body .omnirota-feature-icon svg {
    width: 14px;
    height: 14px;
}

.omnirota-fleet-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.omnirota-fleet-feat-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--or-bg-light, #f0f4f8);
    border-radius: 4px;
    font-size: 11px;
    color: var(--or-text-secondary, #555);
}

.omnirota-fleet-feat-more {
    display: inline-block;
    padding: 2px 8px;
    background: var(--or-bg-light, #e8ecf0);
    border-radius: 4px;
    font-size: 11px;
    color: var(--or-text-secondary, #888);
    font-weight: 600;
}

.omnirota-fleet-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-top: auto;
}

.omnirota-fleet-price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--or-primary, #2563eb);
}

.omnirota-fleet-price-period {
    font-size: 13px;
    color: var(--or-text-secondary, #888);
}

/* Card actions */
.omnirota-fleet-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.omnirota-fleet-details-btn,
.omnirota-fleet-book-btn {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.omnirota-btn-outline {
    background: #fff;
    color: var(--or-primary, #2563eb);
    border: 1px solid var(--or-primary, #2563eb);
}

.omnirota-btn-outline:hover {
    background: var(--or-primary, #2563eb);
    color: #fff;
}

/* Pagination */
.omnirota-fleet-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 16px 0;
}

.omnirota-fleet-page-btn {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--or-border, #ddd);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--or-text, #333);
    cursor: pointer;
    transition: all 0.2s;
}

.omnirota-fleet-page-btn:hover {
    border-color: var(--or-primary, #2563eb);
    color: var(--or-primary, #2563eb);
}

.omnirota-fleet-page-active {
    background: var(--or-primary, #2563eb);
    border-color: var(--or-primary, #2563eb);
    color: #fff;
}

.omnirota-fleet-page-active:hover {
    color: #fff;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1024px) {
    .omnirota-vd-body {
        grid-template-columns: 1fr;
    }

    .omnirota-fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .omnirota-availability-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .omnirota-availability-controls {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .omnirota-availability-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .omnirota-availability-search {
        flex-basis: auto;
        min-width: 0;
    }

    .omnirota-availability-filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .omnirota-availability-filter-group .omnirota-select,
    .omnirota-cal-clear-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .omnirota-cal-vehicle-cell {
        position: static;
    }

    .omnirota-cal-vehicle-img {
        width: 60px;
        height: 40px;
    }

    .omnirota-vd-gallery-main img {
        height: 250px;
    }

    .omnirota-form-row {
        flex-direction: column;
    }

    .omnirota-vd-price-value {
        font-size: 22px;
    }

    .omnirota-fleet-grid {
        grid-template-columns: 1fr;
    }

    .omnirota-fleet-filters {
        flex-direction: column;
    }

    .omnirota-fleet-card-actions {
        flex-direction: column;
    }

    .omnirota-locations-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Location Map ([omnirota_map]) — static, clickable, brand-styled map
   ========================================================================== */

.omnirota-map-widget {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0;
    background: #eef1f5;
    box-shadow: 0 6px 24px rgba(var(--or-primary-rgb, 37, 99, 235), 0.12);
    line-height: 0;
}

.omnirota-map-widget.is-rounded {
    border-radius: 16px;
}

.omnirota-map-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.omnirota-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.omnirota-map-link:hover .omnirota-map-image,
.omnirota-map-link:focus-visible .omnirota-map-image {
    transform: scale(1.04);
}

.omnirota-map-link:focus-visible {
    outline: 3px solid var(--or-primary, #2563eb);
    outline-offset: -3px;
}

/* Info card overlay — company name + address, brand accent */
.omnirota-map-card {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    max-width: 340px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
    line-height: 1.35;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.omnirota-map-link:hover .omnirota-map-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.24);
}

.omnirota-map-card-pin {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--or-primary, #2563eb);
    color: #fff;
}

.omnirota-map-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}

.omnirota-map-card-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.omnirota-map-card-address {
    font-size: 13px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.omnirota-map-card-cta {
    flex: 0 0 auto;
    align-self: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--or-primary, #2563eb);
    white-space: nowrap;
}

.omnirota-map-card-cta::after {
    content: " \2192";
}

/* Default aspect ratio when no fixed height is given (matches the 640x360 image) */
.omnirota-map-widget:not([style*="height"]) .omnirota-map-image {
    aspect-ratio: 16 / 9;
}

@media (max-width: 480px) {
    .omnirota-map-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
        gap: 10px;
    }

    .omnirota-map-card-cta {
        display: none;
    }
}
