.booki-vlist-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.booki-vlist-container * {
    box-sizing: border-box;
}

/* Loading */
.booki-vlist-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    color: #6b7280;
    gap: 16px;
}

/* Error */
.booki-vlist-error {
    text-align: center;
    padding: 40px;
    color: #ef4444;
}

/* Grid */
.booki-vlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Card */
.booki-vlist-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.booki-vlist-card:hover {
    border-color: var(--booki-primary-color, #1a56db);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Image */
.booki-vlist-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f3f4f6;
    background-repeat: no-repeat;
}

/* Body */
.booki-vlist-card-body {
    padding: 20px;
}

.booki-vlist-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Specs */
.booki-vlist-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.booki-vlist-card-specs span {
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Price */
.booki-vlist-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--booki-primary-color, #1a56db);
    margin-bottom: 16px;
}

/* Button */
.booki-vlist-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--booki-primary-color, #1a56db);
    color: #ffffff !important;
    text-align: center;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.booki-vlist-btn:hover {
    opacity: 0.88;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 640px) {
    .booki-vlist-container {
        padding: 12px;
    }

    .booki-vlist-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .booki-vlist-card-image {
        height: 180px;
    }
}

/* Filter bar */
.booki-vlist-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.booki-vlist-filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booki-vlist-filter-label {
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    text-transform: none;
    letter-spacing: 0.01em;
}

.booki-vlist-filter-sep {
    width: 1px;
    height: 36px;
    background: #e5e7eb;
    align-self: flex-end;
    margin-bottom: 2px;
}

.booki-vlist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.booki-vlist-chip {
    font-size: 13px;
    padding: 5px 13px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    user-select: none;
}

.booki-vlist-chip:hover {
    border-color: var(--booki-primary-color, #1a56db);
    color: var(--booki-primary-color, #1a56db);
}

.booki-vlist-chip--active {
    background: var(--booki-primary-color, #1a56db);
    border-color: var(--booki-primary-color, #1a56db);
    color: #ffffff;
}

.booki-vlist-chip--active:hover {
    color: #ffffff;
}

/* Sort */
.booki-vlist-sort-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: auto;
}

.booki-vlist-sort-select {
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    color: #374151;
    cursor: pointer;
}

/* Results count */
.booki-vlist-count {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    padding-left: 2px;
}

/* Empty state */
.booki-vlist-empty {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 640px) {
    .booki-vlist-filter-sep { display: none; }
    .booki-vlist-sort-wrap { margin-left: 0; width: 100%; }
    .booki-vlist-sort-select { width: 100%; }
}

/* ===== Topbar ===== */
.booki-vlist-topbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.booki-vlist-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #374151;
    transition: border-color 0.2s;
}

.booki-vlist-filter-btn:hover {
    border-color: var(--booki-primary-color, #1a56db);
    color: var(--booki-primary-color, #1a56db);
}

.booki-vlist-active-count {
    background: var(--booki-primary-color, #1a56db);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    min-width: 20px;
    text-align: center;
    line-height: 18px;
}

/* Desktop: show chips bar, hide mobile button text on large screens */
.booki-vlist-chips-desktop {
    display: block;
}

/* Mobile: hide desktop chips, show only topbar */
@media (max-width: 767px) {
    .booki-vlist-chips-desktop {
        display: none;
    }
}

/* ===== Overlay ===== */
.booki-vlist-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.booki-vlist-overlay.open {
    display: block;
    opacity: 1;
}

/* ===== Bottom Drawer ===== */
.booki-vlist-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.14);
}

.booki-vlist-drawer.open {
    transform: translateY(0);
}

.booki-vlist-drawer-handle {
    width: 40px;
    height: 4px;
    background: #d1d5db;
    border-radius: 999px;
    margin: 12px auto 6px;
    flex-shrink: 0;
}

.booki-vlist-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 20px 14px;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.booki-vlist-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.booki-vlist-drawer-reset {
    font-size: 13px;
    color: var(--booki-primary-color, #1a56db);
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
}

.booki-vlist-drawer-body {
    overflow-y: auto;
    padding: 18px 20px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.booki-vlist-drawer-group {
    margin-bottom: 22px;
}

.booki-vlist-drawer-group .booki-vlist-filter-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.booki-vlist-drawer-group .booki-vlist-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.booki-vlist-drawer-group .booki-vlist-chip {
    padding: 8px 18px;
    font-size: 14px;
    border-radius: 999px;
}

.booki-vlist-drawer-footer {
    padding: 14px 20px env(safe-area-inset-bottom, 14px);
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.booki-vlist-drawer-apply {
    width: 100%;
    padding: 14px;
    background: var(--booki-primary-color, #1a56db);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}

.booki-vlist-drawer-apply:hover {
    opacity: 0.88;
}

/* ===== Rating badge on cards ===== */
.booki-vlist-rating-badge,
.booki-widget-rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.62);
    color: #f59e0b;
    border-radius: 8px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: background 0.15s;
    z-index: 2;
}

.booki-vlist-rating-badge:hover,
.booki-widget-rating-badge:hover {
    background: rgba(0, 0, 0, 0.82);
}

.booki-vlist-rating-badge span,
.booki-widget-rating-badge span {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 500;
}

/* ===== Rating modal ===== */
.booki-rating-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.booki-rating-overlay.open { display: block; }

.booki-rating-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    border-radius: 14px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.booki-rating-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.booki-rating-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px 12px;
    border-bottom: 1px solid #f3f4f6;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.booki-rating-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.booki-rating-modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6b7280;
    padding: 0 4px;
    line-height: 1;
}

.booki-rating-modal-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #f3f4f6;
}

.booki-rating-big-score {
    font-size: 36px;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1;
}

.booki-rating-stars-row {
    font-size: 18px;
    color: #f59e0b;
    margin-bottom: 2px;
}

.booki-rating-count-label {
    font-size: 12px;
    color: #6b7280;
}

.booki-rating-modal-body { padding: 16px 20px; }

.booki-rating-item {
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.booki-rating-item:last-child { border-bottom: none; }

.booki-rating-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.booki-rating-item-stars { color: #f59e0b; font-size: 13px; }
.booki-rating-item-date { font-size: 11px; color: #9ca3af; }

.booki-rating-item-comment {
    font-size: 13px;
    color: #374151;
    line-height: 1.5;
}

.booki-rating-item-no-comment {
    font-size: 12px;
    color: #d1d5db;
    font-style: italic;
}

.booki-rating-loading {
    text-align: center;
    padding: 30px;
    color: #9ca3af;
    font-size: 13px;
}
