/* ========================================
   ESTILOS - PÁGINA DETALLE DE NEGOCIO
   ======================================== */

/* ========================================
   BREADCRUMB
   ======================================== */
.breadcrumb {
    background-color: var(--gray-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    color: var(--gray-400);
}

.breadcrumb-list a {
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--primary-500);
}

.breadcrumb-current {
    color: var(--gray-900);
    font-weight: 500;
}

/* ========================================
   GALERÍA DE IMÁGENES
   ======================================== */
.location-gallery {
    padding: 1.5rem 0;
    background-color: var(--gray-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 0.75rem;
    height: 280px;
    max-height: 280px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 280px;
    max-height: 280px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    max-height: 280px;
    object-fit: cover;
}

.gallery-btn {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}

.gallery-btn--all {
    bottom: 1rem;
    right: 1rem;
}

.gallery-thumbnails {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
    height: 280px;
    max-height: 280px;
    overflow: hidden;
}

.gallery-thumb {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    min-height: 0;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-thumb--more {
    position: relative;
}

.gallery-thumb--more::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.gallery-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    z-index: 1;
}

/* ========================================
   LAYOUT PRINCIPAL
   ======================================== */
.location-content {
    padding: 2rem 0 4rem;
}

.location-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.location-main {
    min-width: 0;
}

/* ========================================
   TABS DE NAVEGACIÓN
   ======================================== */
.location-tabs {
    margin-top: 1.5rem;
}

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-500);
}

.tab-btn.active {
    color: var(--primary-600);
    border-bottom: 3px solid var(--primary-600);
    margin-bottom: -2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: var(--gray-500);
}

.tab-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--gray-300);
}

.tab-empty p {
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   PRODUCTOS
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary-500);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.product-card-content {
    padding: 0.75rem;
}

.product-category {
    display: inline-block;
    font-size: 0.6875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.product-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0.125rem 0 0.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-description {
    font-size: 0.75rem;
    color: var(--gray-500);
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-600);
}

@media (max-width: 639px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card-content {
        padding: 0.5rem;
    }
    
    .product-name {
        font-size: 0.875rem;
    }
    
    .product-description {
        display: none;
    }
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ========================================
   CERTIFICACIONES
   ======================================== */
.section-intro {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ========================================
   CREDENCIALES DE CONFIANZA UBIKA
   ======================================== */

/* Trust Header */
.trust-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.trust-badge-label {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.trust-badge-label i {
    font-size: 0.875rem;
}

.trust-header .location-section-title {
    margin-bottom: 0.5rem;
}

.trust-header .section-intro {
    margin-bottom: 0;
}

.trust-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    border-radius: var(--radius-lg);
    text-align: center;
    align-self: flex-start;
}

.trust-score-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    font-family: 'Inter', system-ui, sans-serif;
}

.trust-score-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* Trust Badges Container */
.trust-badges-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Individual Trust Badge */
.trust-badge {
    position: relative;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Ribbon */
.trust-badge-ribbon {
    position: absolute;
    top: 1rem;
    right: -2rem;
    padding: 0.25rem 2.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(45deg);
    z-index: 10;
}

/* Color Variants */
.trust-badge--verified {
    border-color: var(--primary-200);
}

.trust-badge--verified .trust-badge-ribbon {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    color: white;
}

.trust-badge--verified .trust-badge-emblem-inner {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    color: white;
}

.trust-badge--verified .trust-badge-ring circle {
    stroke: var(--primary-200);
}

.trust-badge--verified:hover {
    border-color: var(--primary-300);
}

.trust-badge--excellence {
    border-color: var(--secondary-200);
}

.trust-badge--excellence .trust-badge-ribbon {
    background: linear-gradient(135deg, var(--secondary-500) 0%, #f59e0b 100%);
    color: var(--secondary-900);
}

.trust-badge--excellence .trust-badge-emblem-inner {
    background: linear-gradient(135deg, var(--secondary-500) 0%, #f59e0b 100%);
    color: var(--secondary-900);
}

.trust-badge--excellence .trust-badge-ring circle {
    stroke: var(--secondary-300);
}

.trust-badge--excellence:hover {
    border-color: var(--secondary-300);
}

.trust-badge--response {
    border-color: #bbf7d0;
}

.trust-badge--response .trust-badge-ribbon {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
}

.trust-badge--response .trust-badge-emblem-inner {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: white;
}

.trust-badge--response .trust-badge-ring circle {
    stroke: #86efac;
}

.trust-badge--response:hover {
    border-color: #86efac;
}

.trust-badge--community {
    border-color: #fecaca;
}

.trust-badge--community .trust-badge-ribbon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.trust-badge--community .trust-badge-emblem-inner {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
}

.trust-badge--community .trust-badge-ring circle {
    stroke: #fca5a5;
}

.trust-badge--community:hover {
    border-color: #fca5a5;
}

/* Badge Main Section */
.trust-badge-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    padding-right: 2rem;
}

/* Emblem */
.trust-badge-emblem {
    position: relative;
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
}

.trust-badge-emblem-inner {
    position: absolute;
    inset: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

.trust-badge-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Badge Info */
.trust-badge-info {
    flex: 1;
    min-width: 0;
}

.trust-badge-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.trust-badge-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.trust-badge-id {
    font-size: 0.625rem;
    font-weight: 600;
    font-family: 'SF Mono', 'Fira Code', monospace;
    color: var(--gray-400);
    background: var(--gray-100);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.025em;
}

.trust-badge-tagline {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 0.5rem;
}

.trust-badge-description {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
}

/* Badge Metric */
.trust-badge-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 5.5rem;
}

.trust-badge-metric-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.trust-badge-metric-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-top: 0.25rem;
}

/* Criteria Section */
.trust-badge-criteria {
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.trust-badge-criteria-title {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.625rem;
}

.trust-badge-criteria-title i {
    font-size: 0.875rem;
    color: var(--green-500);
}

.trust-badge-criteria-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trust-badge-criteria-list li {
    font-size: 0.75rem;
    color: var(--gray-600);
    background: white;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
}

/* Footer */
.trust-badge-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    background: var(--gray-900);
    color: white;
}

.trust-badge-dates {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-badge-awarded,
.trust-badge-valid {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    color: var(--gray-400);
}

.trust-badge-awarded i,
.trust-badge-valid i {
    font-size: 0.75rem;
}

.trust-badge-valid--permanent {
    color: var(--secondary-400);
}

.trust-badge-issuer {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.trust-badge-logo {
    fill: none;
    stroke: var(--secondary-400);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Trust Program Info */
.trust-program-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    color: white;
}

.trust-program-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.trust-program-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    color: var(--secondary-400);
}

.trust-program-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.trust-program-subtitle {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin: 0.125rem 0 0;
}

.trust-program-description {
    font-size: 0.8125rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

.trust-program-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-program-stat {
    text-align: center;
}

.trust-program-stat-value {
    display: block;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--secondary-400);
    line-height: 1;
}

.trust-program-stat-label {
    display: block;
    font-size: 0.6875rem;
    color: var(--gray-400);
    margin-top: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Responsive */
@media (min-width: 640px) {
    .trust-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .trust-score {
        flex-direction: row;
        gap: 0.75rem;
        padding: 0.875rem 1.25rem;
    }

    .trust-score-value {
        font-size: 1.75rem;
    }

    .trust-score-label {
        text-align: left;
        max-width: 4rem;
    }

    .trust-badge-main {
        flex-direction: row;
        align-items: flex-start;
    }

    .trust-badges-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .trust-badges-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trust-badge-main {
        padding: 1.75rem 2rem;
    }

    .trust-badge-emblem {
        width: 5rem;
        height: 5rem;
    }

    .trust-badge-emblem-inner {
        font-size: 1.75rem;
    }

    .trust-badge-name {
        font-size: 1.125rem;
    }

    .trust-program-stats {
        gap: 2rem;
    }

    .trust-program-stat-value {
        font-size: 1.5rem;
    }
}

/* ========================================
   HEADER DEL NEGOCIO
   ======================================== */
.location-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.location-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.location-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.location-category {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.location-subcategory {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

.location-badge--featured {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    color: var(--gray-900);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.location-actions-header {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    background: white;
    color: var(--gray-600);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
    background: var(--primary-50);
}

.location-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.3;
    margin-bottom: 1rem;
}

.location-verified {
    color: var(--primary-500);
    font-size: 1.5rem;
}

.location-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.location-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.location-rating-stars {
    display: flex;
    gap: 0.125rem;
    color: var(--amber-400);
    font-size: 1rem;
}

.location-rating-value {
    font-weight: 700;
    color: var(--gray-900);
}

.location-rating-count {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.location-price {
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.location-status {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.location-status--open {
    color: var(--green-600);
}

.location-status--closed {
    color: var(--red-600);
}

.location-status--closing_soon {
    color: var(--amber-600);
}

/* ========================================
   SECCIONES DE CONTENIDO
   ======================================== */
.location-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.location-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.location-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.location-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.location-section-header .location-section-title {
    margin-bottom: 0;
}

.location-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

.location-founded {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ========================================
   OFERTAS
   ======================================== */
.location-offers {
    display: grid;
    gap: 1rem;
}

.offer-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.offer-item-image {
    position: relative;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.offer-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-item-discount {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--red-500);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.offer-item-content {
    flex: 1;
    min-width: 0;
}

.offer-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.375rem;
}

.offer-item-description {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.offer-item-validity {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ========================================
   AMENIDADES
   ======================================== */
.location-amenities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    color: var(--gray-700);
}

.amenity-item i {
    font-size: 1.25rem;
    color: var(--primary-500);
}

/* ========================================
   MÉTODOS DE PAGO
   ======================================== */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-method-item {
    flex: 1 1 calc(25% - 0.75rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
    transition: all 0.2s ease;
    height: 90px;
}

@media (max-width: 639px) {
    .payment-method-item {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

.payment-method-item span {
    word-break: break-word;
    max-width: 100%;
}

.payment-method-item:hover {
    border-color: var(--primary-200);
    background: var(--primary-50);
    transform: translateY(-2px);
}

.payment-method-item i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

/* ========================================
   RESEÑAS - RESUMEN
   ======================================== */
.reviews-summary {
    display: grid;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    margin-bottom: 2rem;
}

.reviews-summary-score {
    text-align: center;
}

.reviews-score-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
}

.reviews-score-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    color: var(--amber-400);
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

.reviews-score-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.reviews-summary-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reviews-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-bar-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: 2.5rem;
    font-size: 0.75rem;
    color: var(--gray-600);
}

.reviews-bar-label i {
    color: var(--amber-400);
    font-size: 0.75rem;
}

.reviews-bar {
    flex: 1;
    height: 0.5rem;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.reviews-bar-fill {
    height: 100%;
    background: var(--amber-400);
    border-radius: var(--radius-full);
}

.reviews-bar-percent {
    width: 2.5rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: right;
}

/* ========================================
   RESEÑAS - LISTA
   ======================================== */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-600);
    font-weight: 600;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user-info {
    display: flex;
    flex-direction: column;
}

.review-user-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9375rem;
}

.review-user-reviews {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.review-rating {
    display: flex;
    gap: 0.125rem;
    color: var(--amber-400);
    font-size: 0.875rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.review-comment {
    color: var(--gray-700);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-images {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.review-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.review-images img:hover {
    opacity: 0.85;
}

.review-actions {
    display: flex;
    gap: 1rem;
}

.review-helpful {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 0.8125rem;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
}

.review-helpful:hover {
    background: var(--gray-50);
    border-color: var(--gray-300);
}

.review-response {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--primary-500);
}

.review-response-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.review-response-header span:first-of-type {
    font-weight: 600;
    color: var(--gray-900);
}

.review-response-date {
    color: var(--gray-500);
}

.review-response p {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
}

.reviews-load-more {
    text-align: center;
    margin-top: 1.5rem;
}

/* ========================================
   SIDEBAR
   ======================================== */
.location-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 6.5rem;
    align-self: start;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
}

.sidebar-card--sticky {
    /* El sticky ahora está en .location-sidebar */
}

.sidebar-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    transition: background 0.2s ease;
}

.btn-whatsapp:hover {
    background: #1da851;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.contact-item {
    display: flex;
    gap: 0.75rem;
}

.contact-item > i {
    flex-shrink: 0;
    width: 1.5rem;
    font-size: 1.25rem;
    color: var(--gray-400);
}

.contact-item-content {
    flex: 1;
    min-width: 0;
}

.contact-item-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.contact-item-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-900);
    word-break: break-word;
}

a.contact-item-value:hover {
    color: var(--primary-500);
}

.contact-item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.375rem;
    font-size: 0.8125rem;
    color: var(--primary-500);
    font-weight: 500;
}

.contact-item-link:hover {
    color: var(--primary-600);
}

/* Horarios */
.contact-schedule {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--gray-900);
}

.schedule-header i {
    color: var(--gray-400);
}

.schedule-header .location-status {
    margin-left: auto;
    font-size: 0.75rem;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-card {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    border: 1px solid var(--gray-100);
}

.schedule-list--info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.375rem;
}

@media (max-width: 639px) {
    .schedule-list--info {
        grid-template-columns: 1fr;
    }
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    background: transparent;
    transition: all 0.2s ease;
}

.schedule-item:hover {
    background: var(--gray-50);
}

.schedule-item--today {
    background: var(--primary-500);
    box-shadow: 0 4px 12px rgba(41, 108, 255, 0.25);
}

.schedule-item--today:hover {
    background: var(--primary-500);
}

.schedule-item--closed {
    opacity: 0.6;
}

.schedule-day {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.schedule-day i {
    color: var(--primary-500);
    font-size: 0.875rem;
}

.schedule-item--today .schedule-day {
    color: white;
    font-weight: 600;
}

.schedule-item--today .schedule-day i {
    color: white;
}

.schedule-time {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.875rem;
}

.schedule-item--today .schedule-time {
    color: rgba(255, 255, 255, 0.9);
}

.schedule-closed {
    color: var(--red-500);
    font-weight: 500;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.contact-social {
    margin-top: 1.5rem;
}

.contact-social-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.social-links {
    display: flex;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--primary-500);
    color: white;
}

/* ========================================
   SERVICIOS DE DELIVERY
   ======================================== */
.delivery-services {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
}

.delivery-services-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.delivery-services-grid {
    display: flex;
    gap: 0.5rem;
}

.delivery-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
}

.delivery-service-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Uber Eats */
.delivery-service--uber-eats {
    background: #142328;
    color: white;
}

.delivery-service--uber-eats:hover {
    background: #06C167;
    transform: translateY(-2px);
}

/* Rappi */
.delivery-service--rappi {
    background: #FF441F;
    color: white;
}

.delivery-service--rappi:hover {
    background: #e63a1a;
    transform: translateY(-2px);
}

/* Didi Food */
.delivery-service--didi-food {
    background: #FF6B00;
    color: white;
}

.delivery-service--didi-food:hover {
    background: #e66000;
    transform: translateY(-2px);
}

/* Cornershop */
.delivery-service--cornershop {
    background: #FF2D55;
    color: white;
}

.delivery-service--cornershop:hover {
    background: #e6284c;
    transform: translateY(-2px);
}

/* Métodos de pago */
.contact-payment-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-method {
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.75rem;
    border-radius: var(--radius-md);
}

/* Mapa */
.location-map {
    margin-bottom: 1rem;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 200px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    color: var(--gray-500);
}

.map-placeholder i {
    font-size: 2.5rem;
}

/* Reportar */
.sidebar-report {
    text-align: center;
}

.btn-report {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--gray-500);
    font-size: 0.8125rem;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-report:hover {
    color: var(--red-500);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
    .gallery-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        max-height: none;
    }
    
    .gallery-main {
        height: 200px;
        max-height: 200px;
    }
    
    .gallery-main img {
        max-height: 200px;
    }
    
    .gallery-thumbnails {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        height: 60px;
        max-height: 60px;
    }
}

@media (min-width: 640px) {
    .location-amenities {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews-summary {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
    
    .reviews-summary-score {
        padding-right: 2rem;
        border-right: 1px solid var(--gray-200);
    }
}

@media (min-width: 768px) {
    .location-name {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        height: 320px;
        max-height: 320px;
    }
    
    .gallery-main {
        height: 320px;
        max-height: 320px;
    }
    
    .gallery-main img {
        max-height: 320px;
    }
    
    .gallery-thumbnails {
        height: 320px;
        max-height: 320px;
    }
    
    .location-layout {
        grid-template-columns: 1fr 380px;
    }
    
    .location-name {
        font-size: 2.25rem;
    }
    
    .location-amenities {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1280px) {
    .gallery-grid {
        height: 360px;
        max-height: 360px;
    }
    
    .gallery-main {
        height: 360px;
        max-height: 360px;
    }
    
    .gallery-main img {
        max-height: 360px;
    }
    
    .gallery-thumbnails {
        height: 360px;
        max-height: 360px;
    }
}

/* ========================================
   ESPACIOS DESTACADOS
   ======================================== */
.promo-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--gray-100);
}

.promo-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.promo-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(var(--primary-500-rgb), 0.85), rgba(var(--primary-700-rgb), 0.9));
    color: white;
    text-align: center;
    padding: 1rem;
}

.promo-cover span {
    font-size: 0.875rem;
    font-weight: 500;
}

.promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    background-color: white;
    color: var(--primary-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}

.promo-btn:hover {
    background-color: var(--gray-100);
    transform: translateY(-1px);
}

/* Vertical */
.promo-block--vertical {
    height: 250px;
}

/* Horizontal */
.promo-section {
    padding: 2rem 0;
    background-color: var(--gray-50);
}

.promo-block--horizontal {
    height: 120px;
}

.promo-block--horizontal .promo-inner img {
    filter: brightness(0.3);
}

.promo-cover--row {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    background: transparent;
}

.promo-cover--row .promo-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.promo-cover--row .promo-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.promo-cover--row .promo-desc {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
}

.promo-cover--row .promo-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .promo-block--vertical {
        height: 200px;
    }
    
    .promo-block--horizontal {
        height: auto;
        min-height: 180px;
    }
    
    .promo-cover--row {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .promo-cover--row .promo-info {
        align-items: center;
        text-align: center;
    }
    
    .promo-cover--row .promo-title {
        font-size: 1.125rem;
    }
}

/* ========================================
   MOBILE: LOCATION DETAILS OVERRIDES
   ======================================== */

/* Ocultar breadcrumb en móvil */
@media (max-width: 768px) {
    .page-location-details .breadcrumb {
        display: none;
    }
}

/* Ocultar bottom-nav normal en location-details */
.page-location-details .bottom-nav {
    display: none !important;
}

/* Bottom Nav de Contacto */
.location-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .location-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: white;
        border-top: 1px solid var(--gray-200);
        padding: 0.5rem 1rem;
        padding-bottom: calc(0.5rem + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    }
    
    .location-bottom-nav-inner {
        display: flex;
        gap: 0.5rem;
    }
    
    .location-bottom-btn {
        flex: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.875rem 1rem;
        border: none;
        border-radius: var(--radius-lg);
        font-size: 0.875rem;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .location-bottom-btn i {
        font-size: 1.125rem;
    }
    
    /* Llamar */
    .location-bottom-btn--call {
        background: var(--secondary-500);
        color: var(--gray-900);
    }
    
    .location-bottom-btn--call:active {
        transform: scale(0.96);
    }
    
    /* WhatsApp */
    .location-bottom-btn--whatsapp {
        background: #25D366;
        color: white;
    }
    
    .location-bottom-btn--whatsapp:active {
        transform: scale(0.96);
        background: #1da851;
    }
    
    /* Compartir */
    .location-bottom-btn--share {
        background: var(--gray-100);
        color: var(--gray-700);
    }
    
    .location-bottom-btn--share:active {
        background: var(--gray-200);
    }
    
    /* Guardar */
    .location-bottom-btn--save {
        background: var(--gray-100);
        color: var(--gray-700);
    }
    
    .location-bottom-btn--save:active {
        background: var(--gray-200);
    }
    
    .location-bottom-btn--save.saved {
        background: var(--primary-50);
        color: var(--primary-600);
    }
    
    .location-bottom-btn--save.saved i {
        font-weight: bold;
    }
    
    /* Ajustar padding del contenido para el bottom-nav */
    .page-location-details main {
        padding-bottom: 5rem;
    }
    
    /* Ocultar botones de contacto del sidebar en móvil ya que están en bottom-nav */
    .page-location-details .contact-actions {
        display: none;
    }
}

