/* ============================================================
   VENUELY — style.css completo y limpio
   ============================================================ */

/* Variables globales */
:root {
    --purple: #6A4691;
    --purple-dark: #5a3b7a;
    --purple-light: #f3eefb;
    --text: #222;
    --text-muted: #717171;
    --border: #e0e0e0;
    --bg: #fafafa;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 6px 20px rgba(0,0,0,0.10);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Questrial", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   HEADER PRINCIPAL (index.html)
   ============================================================ */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
    padding: 1rem 2rem;
    gap: 2rem;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--purple);
    color: var(--white);
    padding: 8px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(106,70,145,0.3);
    white-space: nowrap;
}

.brand-logo-img {
    display: block;
    width: auto;
    height: 48px;
    object-fit: contain;
}

.brand-logo-light {
    filter: invert(1);
}

/* Barra de búsqueda */
.search-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border-radius: var(--radius-full);
    padding: 0.5rem 0.8rem;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 680px;
    border: 1px solid var(--border);
}

.search-field {
    padding: 0 1.2rem;
    flex: 1;
}

.search-field small {
    display: block;
    font-size: 0.72rem;
    color: #555;
    font-weight: 600;
    margin-bottom: 2px;
}

.search-field input {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    font-family: inherit;
    color: var(--text);
}

.divider {
    color: var(--border);
    font-size: 1.5rem;
    user-select: none;
}

.search-btn {
    background: var(--purple);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(106,70,145,0.3);
}

.search-btn:hover {
    background: var(--purple-dark);
    transform: scale(1.06);
}

.search-btn:active {
    transform: scale(0.96);
}

/* Header derecha */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    white-space: nowrap;
}

.publish-link {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.publish-link:hover {
    color: var(--purple);
}

.icon-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #444;
    transition: color 0.2s;
}

.icon-btn:hover {
    color: var(--purple);
}

/* Menú de usuario */
.user-menu-container {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    font-size: 1rem;
}

.user-menu-btn:hover {
    box-shadow: var(--shadow-sm);
    border-color: #ccc;
}

.menu-icon { font-size: 1.3rem; color: #333; }
.user-icon { font-size: 1.5rem; color: #333; }

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    z-index: 1001;
    overflow: hidden;
    display: none;
    animation: fadeDown 0.2s ease;
}

.user-dropdown.active {
    display: block;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-content { padding: 8px 0; }

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s;
}

.dropdown-item:hover { background: #f8f8f8; }

.dropdown-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 6px 0;
}

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ============================================================
   BARRA DE CATEGORÍAS
   ============================================================ */
.filters-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 0 10px;
    position: sticky;
    top: 74px;
    z-index: 900;
}

.filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 28px;
    overflow-x: auto;
    padding: 0 2rem;
    max-width: 1400px;
    margin: 0 auto;
    scrollbar-width: none;
}

.filters-wrapper::-webkit-scrollbar { display: none; }

.filter {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    background: none;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: color 0.18s ease;
}

.filter .icon {
    font-size: 26px;
    margin-bottom: 5px;
    transition: transform 0.2s ease;
}

.filter:hover .icon { transform: scale(1.12); }

.filter:hover, .filter.active { color: var(--text); }

.filter.active { font-weight: 600; }

.filter.active::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: #000;
    margin-top: 10px;
    border-radius: 2px;
}

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2rem;
    padding: 2rem;
    max-width: 1440px;
    margin: 0 auto;
}

/* ============================================================
   FILTROS LATERALES
   ============================================================ */
.filters {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 130px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filters-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000;
}

.clear-btn {
    background: none;
    border: none;
    color: var(--purple);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    transition: background 0.2s;
}

.clear-btn:hover { background: var(--purple-light); }

.section-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.filter-section { margin: 20px 0; }

.filter-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    display: block;
}

/* Sliders */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border);
    border-radius: 4px;
    outline: none;
    margin: 10px 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--purple);
    border: 3px solid var(--white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.15s;
}

.range-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

#priceValue, #capacityValue {
    font-weight: 700;
    color: var(--text);
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--purple);
    cursor: pointer;
}

/* ============================================================
   GRID DE TARJETAS
   ============================================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.6rem;
}

/* ============================================================
   TARJETAS (venue cards)
   ============================================================ */
.venue-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Imagen de la tarjeta */
.card-img {
    height: 210px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-img img {
    transform: scale(1.04);
}

/* Badge Superanfitrión */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--white);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

/* Corazón */
.heart {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    border: none;
    z-index: 1;
}

.heart:hover {
    transform: scale(1.12);
    background: var(--white);
    color: var(--purple);
}

.heart.liked {
    color: var(--purple);
    background: var(--white);
}

/* Cuerpo de la tarjeta */
.card-body {
    padding: 1rem 1.2rem 1.2rem;
}

.card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
}

.star-rating {
    color: var(--purple);
    display: flex;
    align-items: center;
    gap: 3px;
}

.star { font-size: 1rem; color: var(--purple); }

.review-count {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 13px;
}

.location, .capacity {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 3px 0;
}

.price {
    margin-top: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.price span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 56px 40px 40px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column { display: flex; flex-direction: column; }

.footer-column h4 {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 16px;
}

.footer-column a {
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-column a:hover { color: var(--purple); }

.footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: #888;
    font-size: 13px;
}

/* ============================================================
   PÁGINA DE DETALLE — HEADER
   ============================================================ */
.venue-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
}

.venue-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover { color: var(--purple); }

.venue-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #f8f9fa;
    border-color: var(--purple);
    color: var(--purple);
}

.save-btn.saved {
    color: var(--purple);
    border-color: var(--purple);
}

/* ============================================================
   PÁGINA DE DETALLE — CONTENIDO
   ============================================================ */
.venue-detail { padding: 0 0 80px; }

.venue-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.venue-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 28px 0 10px;
}

.venue-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.venue-facts-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.venue-fact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: #3f3952;
    box-shadow: 0 8px 20px rgba(29, 18, 50, 0.06);
}

.rating-summary {
    font-weight: 600;
    color: var(--purple);
    font-size: 1rem;
}

.superhost {
    background: var(--purple);
    color: var(--white);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
}

.venue-meta .location {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ============================================================
   GALERÍA DE FOTOS
   ============================================================ */
.venue-gallery {
    margin: 0 0 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    gap: 6px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
    transition: transform 0.3s ease, brightness 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: brightness(0.92);
}

.gallery-grid img:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* Botón mostrar todas */
.show-all-photos {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: var(--white);
    color: var(--text);
    border: 1.5px solid var(--text);
    border-radius: var(--radius-sm);
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    display: none;
}

.show-all-photos:hover {
    background: var(--text);
    color: var(--white);
}

/* Modal / lightbox */
.photo-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s;
    z-index: 10;
}

.modal-close:hover { opacity: 0.7; }

.modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-image {
    max-width: 88vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.modal-prev, .modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.modal-prev { left: 24px; }
.modal-next { right: 24px; }
.modal-prev:hover, .modal-next:hover { background: rgba(255,255,255,0.3); }

/* ============================================================
   CONTENIDO DETALLE + SIDEBAR
   ============================================================ */
.venue-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}

/* Info izquierda */
.venue-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 36px 0 16px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.venue-info h2:first-of-type { border-top: none; margin-top: 0; }

.venue-info p {
    line-height: 1.8;
    font-size: 1rem;
    color: #333;
}

/* Host */
.host-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.host-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.host-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.host-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.host-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text);
}

.badge-item i { color: var(--purple); }

/* Amenidades */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text);
}

.amenity i { color: var(--purple); font-size: 1.1rem; }

/* Reglas */
.rules-list {
    list-style: disc;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rules-list li { font-size: 1rem; color: #333; }

/* Reseñas */
.reviews { margin-top: 8px; }

.review {
    border-top: 1px solid var(--border);
    padding: 24px 0;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.review-header img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.review-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: var(--purple);
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.review p { font-size: 0.97rem; color: #333; line-height: 1.7; }

.review-compose {
    margin-top: 28px;
    padding: 24px;
    background: linear-gradient(180deg, #fbf9ff 0%, #f4eefc 100%);
    border: 1px solid #e7ddf7;
    border-radius: 18px;
}

.review-compose-eyebrow {
    color: var(--purple);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.review-compose-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.review-compose-copy {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.review-compose-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.review-compose-stars button {
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #d1c7e3;
    cursor: pointer;
}

.review-compose-stars button.active {
    color: #ffb938;
}

.review-compose-textarea {
    width: 100%;
    min-height: 132px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    resize: vertical;
    font: inherit;
    margin-bottom: 14px;
    background: #fff;
}

.review-compose .btn-save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    border-radius: 999px;
    background: var(--purple);
    color: #fff;
    font: inherit;
    font-weight: 600;
    padding: 12px 18px;
    cursor: pointer;
}

/* ============================================================
   SIDEBAR DE RESERVA
   ============================================================ */
.reservation-sidebar {
    position: sticky;
    top: 100px;
}

.price-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.price-box h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.price-box > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.reservation-note {
    display: grid;
    gap: 10px;
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f5fc;
    color: #453c58;
}

.reservation-note div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
}

.price-type {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 16px 0;
}

.price-type button {
    flex: 1;
    padding: 12px;
    background: var(--white);
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.price-type button.active {
    background: var(--purple);
    color: var(--white);
}

.date-picker, .hour-selector { margin: 16px 0; }

.hour-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hour-selector label { font-weight: 600; }

.counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.counter button:hover { border-color: var(--purple); color: var(--purple); }

.counter span { font-weight: 700; font-size: 1.1rem; min-width: 20px; text-align: center; }

.reserve-btn {
    width: 100%;
    background: var(--purple);
    color: var(--white);
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    margin: 16px 0 8px;
    font-family: inherit;
    transition: background 0.2s, transform 0.15s;
}

.reserve-btn:hover { background: var(--purple-dark); }
.reserve-btn:active { transform: scale(0.98); }

.no-charge {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.price-breakdown { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 16px; }

.price-breakdown div {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 0.97rem;
    color: #333;
}

.total {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .venue-content {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .layout {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
        margin-bottom: 1.5rem;
    }

    .venue-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .reservation-sidebar {
        position: static;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-grid img:first-child {
        grid-column: span 2;
        grid-row: span 1;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .header-container { padding: 0.8rem 1rem; gap: 1rem; }
    .venue-container { padding: 0 16px; }
    .venue-title { font-size: 1.8rem; }
    .venue-header-container { padding: 0 16px; }
    .footer { padding: 40px 20px 30px; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-grid img { height: 220px; }
    .gallery-grid img:first-child { grid-column: span 1; height: 280px; }
}
.search-field input {
    text-align: center;
}

.search-field small {
    text-align: center;
    display: block;
}
