/* =============================================
   EXCENTRICA - Gastronomia Page Styles
   Professional Design
   ============================================= */

/* Page header */
.page-header {
    margin-bottom: 1.5rem;
}
.page-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.page-subtitle {
    color: #94a3b8;
    font-size: 1rem;
}

/* =============================================
   FILTERS - Professional Design
   ============================================= */

/* Category chips */
.gastro-category-chips {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}
.gastro-category-chip {
    padding: 0.5rem 1rem;
    background: rgba(30, 30, 40, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 20px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.gastro-category-chip:hover {
    border-color: rgba(249, 115, 22, 0.5);
    color: #fb923c;
    background: rgba(249, 115, 22, 0.1);
}
.gastro-category-chip.active {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
}
.gastro-category-chip .chip-icon {
    font-size: 1rem;
}

/* Filter bar */
.gastro-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}
.gastro-filter-bar .filter-input {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    padding-left: 2.5rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    min-width: 280px;
    transition: all 0.2s;
    position: relative;
}
.gastro-filter-bar .filter-input:focus {
    border-color: rgba(249, 115, 22, 0.5);
    outline: none;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.15);
}
.gastro-filter-bar .filter-input::placeholder {
    color: #64748b;
}
.filter-input-wrapper {
    position: relative;
}
.filter-input-wrapper .filter-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
}
.gastro-filter-bar select {
    background: rgba(30, 30, 40, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    color: #e2e8f0;
    font-size: 0.9rem;
    min-width: 160px;
    cursor: pointer;
    transition: all 0.2s;
}
.gastro-filter-bar select:hover,
.gastro-filter-bar select:focus {
    border-color: rgba(168, 85, 247, 0.5);
    outline: none;
}

/* Results bar */
.gastro-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 40, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.1);
}
.gastro-results-count {
    color: #94a3b8;
    font-size: 0.88rem;
}
.gastro-results-count strong {
    color: #fb923c;
    font-weight: 600;
}
.gastro-view-toggle {
    display: flex;
    gap: 0.5rem;
}
.gastro-view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.1rem;
}
.gastro-view-btn:hover {
    border-color: rgba(168, 85, 247, 0.4);
    color: #e2e8f0;
}
.gastro-view-btn.active {
    background: rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    color: #fb923c;
}

/* =============================================
   GASTRONOMY GRID & CARDS
   ============================================= */

.gastro-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.gastro-page-grid.list-view {
    grid-template-columns: 1fr;
}
.gastro-page-grid.list-view .gastro-card {
    display: grid;
    grid-template-columns: 280px 1fr;
}
.gastro-page-grid.list-view .gastro-card-image-container {
    height: 100%;
}

/* Card styles */
.gastro-card {
    background: linear-gradient(145deg, rgba(25, 20, 35, 0.98), rgba(15, 12, 25, 0.99));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}
.gastro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f97316, #ea580c, #f97316);
    opacity: 0;
    transition: opacity 0.3s;
}
.gastro-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 50px rgba(249, 115, 22, 0.15);
}
.gastro-card:hover::before {
    opacity: 1;
}

/* Card image */
.gastro-card-image-container {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.gastro-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gastro-card:hover .gastro-card-image {
    transform: scale(1.08);
}
.gastro-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(15, 12, 25, 0.98), transparent);
    pointer-events: none;
}

/* Badges */
.gastro-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.4);
}
.gastro-card-featured {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.4);
}

/* Card body */
.gastro-card-body {
    padding: 1.25rem;
}
.gastro-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.gastro-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.gastro-card-title a:hover {
    color: #fb923c;
}
.gastro-card-specialties {
    color: #9ca3af;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta info */
.gastro-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.gastro-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #94a3b8;
}
.gastro-card-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.8;
}

/* Services tags */
.gastro-card-services {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.gastro-card-service {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.72rem;
    font-weight: 500;
    border: 1px solid rgba(249, 115, 22, 0.25);
    transition: all 0.2s;
}
.gastro-card-service:hover {
    background: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.4);
}

/* Action buttons */
.gastro-card-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}
.gastro-card-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}
.gastro-card-btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}
.gastro-card-btn-primary:hover {
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.5);
    transform: translateY(-2px);
}
.gastro-card-btn-secondary {
    background: rgba(168, 85, 247, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(168, 85, 247, 0.3);
}
.gastro-card-btn-secondary:hover {
    background: rgba(168, 85, 247, 0.25);
    border-color: rgba(168, 85, 247, 0.5);
}
.gastro-card-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}
.gastro-card-btn-whatsapp:hover {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
}
.gastro-card-btn svg {
    width: 12px;
    height: 12px;
}

/* Price range */
.gastro-card-price-range {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.9rem;
}
.gastro-card-price-range .active {
    color: #22c55e;
}
.gastro-card-price-range .inactive {
    color: #3f3f46;
}

/* =============================================
   SIDEBAR WIDGETS
   ============================================= */

.widget {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(20, 20, 30, 0.95));
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.widget-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #a855f7;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}
.widget-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.widget-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    color: #94a3b8;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.widget-item:hover, .widget-item.active {
    background: rgba(249, 115, 22, 0.15);
    color: #fb923c;
}
.widget-item.active {
    font-weight: 500;
}

/* =============================================
   PAGINATION & STATES
   ============================================= */

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
.pagination {
    display: flex;
    gap: 0.5rem;
}
.pagination-btn {
    padding: 0.6rem 1rem;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 10px;
    color: #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}
.pagination-btn:hover:not(:disabled) {
    background: rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.5);
}
.pagination-btn.active {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-color: transparent;
    color: #fff;
}
.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}
.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.empty-state-title {
    font-size: 1.1rem;
    color: #94a3b8;
}

/* Loading */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

/* =============================================
   PARTNER CARDS - Golden Premium Style
   ============================================= */

/* Partner card - Golden premium look */
.gastro-card.partner-card {
    background: linear-gradient(145deg, rgba(45, 35, 15, 0.98), rgba(25, 20, 10, 0.99));
    border: 2px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.2), 0 0 40px rgba(255, 215, 0, 0.1);
}
.gastro-card.partner-card::before {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFD700);
    opacity: 1;
    height: 4px;
}
.gastro-card.partner-card:hover {
    border-color: rgba(255, 215, 0, 0.8);
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(255, 215, 0, 0.3), 0 0 60px rgba(255, 215, 0, 0.15);
}

/* Partner badge */
.gastro-card-partner-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 15px rgba(255, 215, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
}
.gastro-card-partner-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #1a1a1a;
    border-radius: 50%;
}

/* Simple non-partner card */
.gastro-card.simple-card {
    opacity: 0.85;
}
.gastro-card.simple-card .gastro-card-actions {
    display: none;
}
.gastro-card.simple-card .gastro-card-services {
    display: none;
}
.gastro-card.simple-card:hover {
    transform: translateY(-3px);
}

/* Partner card action buttons - only Website and WhatsApp */
.gastro-card.partner-card .gastro-card-btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(255, 215, 0, 0.4);
}
.gastro-card.partner-card .gastro-card-btn-primary:hover {
    box-shadow: 0 4px 25px rgba(255, 215, 0, 0.6);
}
.gastro-card.partner-card .gastro-card-actions {
    border-top-color: rgba(255, 215, 0, 0.2);
}

