/* Reset pentru elementele noastre */
.restaurant-filter-wrapper *,
.restaurant-filter-wrapper *::before,
.restaurant-filter-wrapper *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container principal */
body .restaurant-filter-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Loader */
body .restaurant-filter-wrapper .restaurant-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #a33821;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Filtre */
body .restaurant-filter-wrapper .fusion-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 0;
    list-style: none;
    justify-content: center;
}

body .restaurant-filter-wrapper .fusion-filter a {
    display: inline-block;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

body .restaurant-filter-wrapper .fusion-filter a:hover,
body .restaurant-filter-wrapper .fusion-filter.fusion-active a {
    color: #fff;
    background: #a33821;
    border-color: #a33821;
}

/* Grid container */
body .restaurant-filter-wrapper .restaurant-list-container {
    position: relative;
    min-height: 200px;
    scroll-margin-top: 100px;
    width: 100%;
}

body .restaurant-filter-wrapper .restaurant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Card styling */
body .restaurant-filter-wrapper .restaurant-grid .restaurant-item {
    opacity: 1;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    width: 100%;
}

body .restaurant-filter-wrapper .restaurant-grid .restaurant-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

/* Imagine */
body .restaurant-filter-wrapper .restaurant-item .fusion-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    aspect-ratio: 5/4;
}

body .restaurant-filter-wrapper .restaurant-item .restaurant-image {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .restaurant-filter-wrapper .restaurant-item .restaurant-image.loading {
    opacity: 0;
}

body .restaurant-filter-wrapper .restaurant-item .restaurant-image.error {
    opacity: 0.5;
}

/* Container conținut */
body .restaurant-filter-wrapper .restaurant-item .restaurant-content {
    padding: 1.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), #fff);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Titlu restaurant */
body .restaurant-filter-wrapper .restaurant-item .restaurant-title {
    margin-bottom: 1rem;
    position: relative;
    padding: 0;
}

body .restaurant-filter-wrapper .restaurant-item .restaurant-title h3 {
    font-family: "Bebas Neue", Arial, Helvetica, sans-serif !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    color: #333;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.5px;
}

body .restaurant-filter-wrapper .restaurant-item .restaurant-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #a33821;
    margin-top: 8px;
}

/* Lista detalii */
body .restaurant-filter-wrapper .restaurant-item .restaurant-details {
    margin-top: 1rem;
}

body .restaurant-filter-wrapper .restaurant-item .detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-family: Lora, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    transition: color 0.3s ease;
}

body .restaurant-filter-wrapper .restaurant-item .detail-item:last-child {
    margin-bottom: 0;
}

body .restaurant-filter-wrapper .restaurant-item .detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 4px;
}

body .restaurant-filter-wrapper .restaurant-item .detail-icon svg {
    width: 18px;
    height: 18px;
    stroke: #a33821;
    stroke-width: 1.75;
}

/* Adăugăm stilurile pentru butonul PDF după stilurile pentru detail-icon */

body .restaurant-filter-wrapper .restaurant-item .pdf-button-container {
    margin-top: 1.5rem;
    text-align: center;
}

body .restaurant-filter-wrapper .restaurant-item .pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: #a33821;
    color: #fff;
    text-decoration: none;
    font-family: Lora, Arial, Helvetica, sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 1px solid #a33821;
}

body .restaurant-filter-wrapper .restaurant-item .pdf-button:hover {
    background-color: #fff;
    color: #a33821;
}

body .restaurant-filter-wrapper .restaurant-item .pdf-button:hover svg {
    stroke: #a33821;
}

body .restaurant-filter-wrapper .restaurant-item .pdf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    position: relative;
    top: -1px;
}

body .restaurant-filter-wrapper .restaurant-item .pdf-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1.75;
}

/* Hover effects */
body .restaurant-filter-wrapper .restaurant-item:hover .restaurant-image {
    transform: scale(1.05);
}

body .restaurant-filter-wrapper .restaurant-item:hover .detail-item {
    color: #333;
}

/* Loading states */
body .restaurant-filter-wrapper.loading .restaurant-loader {
    display: block;
}

body .restaurant-filter-wrapper.loading .restaurant-item {
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1024px) {
    body .restaurant-filter-wrapper .restaurant-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body .restaurant-filter-wrapper .restaurant-grid {
        grid-template-columns: 1fr;
    }

    body .restaurant-filter-wrapper .restaurant-item .restaurant-title h3 {
        font-size: 24px !important;
    }

    body .restaurant-filter-wrapper .restaurant-item .restaurant-content {
        padding: 1rem;
    }

    body .restaurant-filter-wrapper .restaurant-item .detail-item {
        font-size: 14px;
    }
}

body .restaurant-filter-wrapper .restaurant-item .capacity-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-header .detail-icon {
    margin-top: 2px;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-content {
    flex: 1;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-content p {
    margin: 0;
    font-family: Lora, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-content p:not(:last-child) {
    margin-bottom: 0.5rem;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-content table {
    margin: 0;
    width: 100%;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-content td {
    padding: 4px 0;
    vertical-align: top;
}

body .restaurant-filter-wrapper .restaurant-item .capacity-content td:last-child {
    text-align: right;
    white-space: nowrap;
    color: #a33821;
    font-weight: 600;
}

/* Hover effect pentru text */
body .restaurant-filter-wrapper .restaurant-item:hover .capacity-content p,
body .restaurant-filter-wrapper .restaurant-item:hover .capacity-content li {
    color: #333;
} 