
[v-cloak] {
    display: none;
}
.portal-motores-categories {
    font-size: 0.9rem;
    color: var(--theme-dark);
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}
.initial-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.initial-loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--theme-primary, #007bff);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.portal-motores-container {
    padding-left: 0.5rem;   /* px-2 = 0.5 * 16px = 8px */
    padding-right: 0.5rem;
}

@media (min-width: 768px) {
    .portal-motores-container {
        padding-left: 3rem;   /* px-md-5 = 3 * 16px = 48px */
        padding-right: 3rem;
    }
}

/* Eliminar estilos obsoletos para el banner de escritorio */
.banner-grid,
.banner-slider,
.banner-slider-group {
    display: none; /* Asegurarse de que estos no interfieran */
}

.main-hero-banner-image {
    width: 100%;
    height: 520px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}

.main-hero-banner-image-mobile {
    width: 100%;
    height: 220px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}

.second-hero-banner-image {
    width: 100%;
    height: 320px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}


.second-hero-banner-image-mobile {
    width: 100%;
    height: 520px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}

.banner-item {
    height: 200px;
    background-color: #1e1e2f;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.banner-item:hover {
    transform: translateY(-5px);
}

.banner-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    z-index: 2;
}

.banner-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.banner-content .btn {
    font-size: 0.8rem;
    padding: 5px 15px;
    border-radius: 50px;
    background-color: var(--theme-primary);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.banner-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.banner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    border: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.banner-nav:hover {
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.banner-nav.prev {
    left: 0;
}

.banner-nav.next {
    right: 0;
}

.banner-nav i {
    font-size: 24px;
    color: #1e1e2f;
}

@media (max-width: 1200px) {
    .banner-slider-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .banner-slider-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner-container {
        padding: 10px;
    }
    
    .banner-slider-group {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0;
    }
    
    .banner-item {
        height: 160px;
        margin: 0 auto;
        width: calc(100% - 20px);
    }
    
    .banner-content {
        padding: 15px;
    }
    
    .banner-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }
    
    .banner-content p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .banner-nav {
        width: 35px;
        height: 35px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.9);
        z-index: 10;
    }
    
    .banner-nav.prev {
        left: 5px;
    }
    
    .banner-nav.next {
        right: 5px;
    }
}

@media (max-width: 576px) {
    .banner-container {
        padding: 10px 0;
    }
    
    .banner-slider-group {
        padding: 0;
    }
    
    .banner-item {
        height: 140px;
        width: calc(100% - 10px);
        margin: 0 auto;
    }
    
    .banner-content {
        padding: 12px;
    }
    
    .banner-content h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .banner-content p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .banner-content .btn {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .banner-nav {
        width: 30px;
        height: 30px;
    }
    
    .banner-nav i {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .banner-container {
        padding: 0 !important;
        max-width: 100%;
    }
}

.banner-carousel {
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}
.banner-carousel .carousel-inner {
    max-height: 320px;
    background-color: #1e1e2f;
    height: 320px; /* Fixed height for consistent aspect ratio */
}
.banner-carousel .carousel-item {
    height: 100%;
    background-color: #1e1e2f;
    position: relative;
    overflow: hidden;
}
.banner-carousel .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.banner-carousel .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
    filter: brightness(0.9) contrast(1.05);
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
    transform: translateZ(0) scale(1.02); /* Slight scale to ensure full coverage */
    will-change: transform;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.banner-carousel .carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    padding: 15px;
    max-width: 60%;
    margin: 0;
    left: 10%;
    right: auto;
    bottom: 50%;
    transform: translateY(50%);
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}
.banner-carousel .carousel-caption h3 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.banner-carousel .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}
.banner-carousel .carousel-caption .btn {
    font-weight: 600;
    padding: 6px 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 50px;
}
.banner-carousel .carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.banner-carousel .carousel-indicators {
    bottom: 10px;
    margin-bottom: 5px;
}
.banner-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 4px;
}
.banner-carousel .carousel-control-prev,
.banner-carousel .carousel-control-next {
    width: 5%;
    opacity: 0.7;
    z-index: 3;
}
.banner-carousel .carousel-control-prev:hover,
.banner-carousel .carousel-control-next:hover {
    opacity: 1;
}
@media (max-width: 768px) {
    .banner-carousel {
        border-radius: 16px;
        margin: 15px;
        overflow: hidden;
    }
    .banner-carousel .carousel-inner {
        max-height: 250px;
        height: 250px; /* Fixed height for consistent aspect ratio */
        border-radius: 16px;
    }
    .banner-carousel .carousel-caption {
        max-width: 80%;
        bottom: 50%;
        transform: translateY(50%);
        padding: 10px 15px;
    }
    .banner-carousel .carousel-caption h3 {
        font-size: 1.3rem;
    }
    .banner-carousel .carousel-caption p {
        font-size: 0.9rem;
    }
    .banner-carousel .carousel-caption .btn {
        padding: 5px 15px;
        font-size: 0.9rem;
    }
}
@media (max-width: 576px) {
    .banner-carousel {
        border-radius: 20px;
        margin: 10px 15px 15px;
        overflow: hidden;
    }
    .banner-carousel .carousel-inner {
        max-height: 180px;
        height: 180px; /* Fixed height for consistent aspect ratio */
        border-radius: 20px;
        aspect-ratio: 1.3/1;
    }
    .banner-carousel .carousel-item::after {
        border-radius: 20px;
    }
    .banner-carousel .carousel-caption {
        max-width: 85%;
        padding: 8px 12px;
    }
    .banner-carousel .carousel-caption h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    .banner-carousel .carousel-caption p {
        font-size: 0.75rem;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .banner-carousel .carousel-caption .btn {
        padding: 3px 10px;
        font-size: 0.75rem;
    }
    .banner-carousel .carousel-indicators {
        bottom: 5px;
        margin-bottom: 0;
    }
    .banner-carousel .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
}

.app-section {
    margin-top: 60px;
}
.category-card:hover {
    text-decoration: none;
}
.category-card .card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.category-card:hover .card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Branch Card Styles */
.branch-card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    height: 100%;
    margin-bottom: 20px;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Image container */
.branch-image-container {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.branch-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content section */
.branch-details {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.branch-header {
    margin-bottom: 10px;
}

.workshop-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--theme-dark);
}

.branch-name {
    font-size: 14px;
    color: var(--theme-charcoal);
    margin-bottom: 0;
}

/* Info section with location and rating */
.branch-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.location {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 14px;
    color: var(--theme-charcoal);
}

.distance-badge {
    background-color: var(--theme-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--theme-charcoal);
    margin-left: 5px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #FFF9C4;
    padding: 4px 8px;
    border-radius: 4px;
}

.rating .star {
    color: var(--theme-yellow);
}

/* Category and service tags */
.branch-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
    min-height: 30px; /* Reserve space even if empty */
}

.branch-category-tag {
    background-color: rgba(253, 0, 0, 0.1);
    color: var(--theme-dark);
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    width: 80%; /* Nuevo: Ocupa el 80% del ancho */
    margin: 0 auto; /* Nuevo: Centra el elemento */
    justify-content: center; /* Nuevo: Centra el contenido dentro del span */
}

.service-list {
    max-height: 60px;
    overflow: hidden;
    margin-bottom: 12px;
}

/* Action buttons section */
.branch-actions {
    display: flex;
    padding: 10px 12px;
    gap: 8px;
    border-top: 1px solid var(--theme-light);
    background-color: var(--theme-light);
    border-radius: 0 0 12px 12px;
    align-items: stretch; /* Make buttons fill height */
}

.action-btn {
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 38px;
    padding: 5px 8px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    border-radius: 50px; /* Added for very rounded corners */
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.action-btn:active {
    transform: translateY(0);
}

.btn-success {
    background-color: #25D366; /* WhatsApp green */
    border-color: #25D366;
    color: white;
}

.btn-success:hover {
    background-color: #1fbd59;
    border-color: #1fbd59;
    color: white;
}

/* New style for "Cómo Llegar" button (blue) */
.btn-map {
    background-color: #007bff; /* Bootstrap primary blue */
    border-color: #007bff;
    color: white;
}
.btn-map:hover {
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #0056b3;
    color: white;
}

/* New style for "Más Info" button (grey) */
.btn-info-dark {
    background-color: #6c757d; /* Bootstrap secondary grey */
    border-color: #6c757d;
    color: white;
}
.btn-info-dark:hover {
    background-color: #545b62; /* Darker grey on hover */
    border-color: #545b62;
    color: white;
}

/* Badge styles */
.seller-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: bold;
    width: auto;
    max-width: fit-content;
}

.exclusive-badge {
    background-color: var(--theme-yellow);
    color: var(--theme-dark);.initial-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
}


.verified-badge,
.home-service-badge {
    position: absolute;
    top: 10px;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
    color: white;
}

.verified-badge {
    left: 10px;
    background-color: rgba(25, 135, 84, 0.8);
}

.home-service-badge {
    right: 10px;
    background-color: rgba(13, 110, 253, 0.8);
}

.offers {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(30, 30, 47, 0.8);
    color: white;
    padding: 8px 12px;
    z-index: 1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.offers h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.offers .d-flex {
    position: relative;
}

.offers .d-flex:before {
    content: "";
    position: absolute;
    left: -5px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--theme-yellow);
    border-radius: 3px;
}

.distance-approx-badge {
    font-size: 9px;
    margin-left: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 1px 4px;
    background-color: var(--theme-yellow);
    color: var(--theme-dark);
    font-weight: 600;
}

@media (min-width: 992px) { /* Apply adjustments for lg screens and up */
    .branch-actions {
        gap: 6px; /* Reduce gap between buttons slightly */
        padding: 10px 10px; /* Slightly reduce container padding */
    }

    .action-btn {
        font-size: 13px; /* Slightly smaller font */
        padding: 5px 6px; /* Reduce horizontal padding further */
        /* Keep flex: 1 to maintain equal width distribution */
    }
     /* Target the icon margin specifically if needed */
    .action-btn i.me-1 {
        margin-right: 3px !important; /* Reduce space after icon */
    }
}

@media (min-width: 1200px) { /* Optional: Further adjustments for xl screens if needed */
     .branch-actions {
        gap: 5px; /* Even smaller gap for widest screens */
     }
     .action-btn {
         font-size: 13px;
         padding: 5px 8px; /* Can maybe afford slightly more padding here */
     }
      .action-btn i.me-1 {
        margin-right: 4px !important; /* Reset or adjust icon margin */
    }
}
/* Mobile responsive adjustments */
@media (max-width: 991px) {
    .branch-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .action-btn {
        font-size: 12px;
        padding: 8px 5px; 
    }
    
    .action-btn i {
        font-size: 14px;
    }

    .action-btn i.me-1 {
        margin-right: 0.25rem !important; 
    }
    
    .verified-badge, .home-service-badge {
        font-size: 10px;
        padding: 2px 5px;
    }
}

@media (max-width: 380px) {
    .branch-details {
        padding: 10px;
    }
    
    .workshop-name {
        font-size: 15px;
    }
    
    .branch-actions {
        padding: 6px 10px;
    }
    
    .action-btn {
        font-size: 11px;
        padding: 5px 3px;
    }
    
    .action-btn i.me-1 {
        margin-right: 2px !important; 
    }
    
    .branch-category-tag {
        padding: 1px 4px;
        font-size: 10px;
    }
}

/* Categories section styles */
.categories-section {
    padding: 30px 0;
    background-color: var(--theme-light);
}
.food-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    height: 100px;
    width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
}

.portal-motores-categories .categories-text {
    font-size: 0.7rem;
    color: var(--theme-dark);
    margin: 0;
    line-height: 1.2;
    width: 100%;
    overflow: visible;
    white-space: normal;
  }


.portal-motores-categories img.categories-img {
    width: 50%;
    height: 50%;
    object-fit: contain;
    margin-bottom: 10px;
}

.food-categories:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* Ensure no underline on hover */
}
.food-categories i {
    margin-bottom: 10px;
    color: var(--theme-primary);
    font-size: 2.5rem;
}
.food-categories h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--theme-dark);
    margin: 0;
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 34px; /* approx 2 lines */
}
.categories-style .swiper-slide {
    height: auto;
    padding: 5px;
}

/* Tab Styles */
.tab-style2 {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--theme-gray);
    margin-bottom: 25px;
    padding: 0;
    list-style: none;
}

.tab-style2 .nav-item {
    margin: 0 2px;
}

.tab-style2 .nav-link {
    background: none;
    border: 1px solid transparent;
    border-bottom: none;
    color: var(--theme-charcoal);
    font-weight: 600;
    padding: 10px 20px;
    position: relative;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    border-radius: 6px 6px 0 0;
    margin-bottom: -1px;
    text-align: center;
    white-space: nowrap;
}

.tab-style2 .nav-link:not(.active):hover {
    color: var(--theme-primary);
    background-color: var(--theme-light);
    border-color: var(--theme-gray);
    border-bottom-color: transparent;
}

.tab-style2 .nav-link.active {
    color: var(--theme-primary);
    background-color: #fff;
    border-color: var(--theme-gray);
    border-bottom-color: #fff;
    font-weight: 700;
}

.tab-style2 .nav-link.active::after {
    content: none;
}

/* Skeleton loader */
.skeleton-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.skeleton-loader.active {
    display: flex;
}
.loader-gif {
    margin-bottom: 30px;
}
.loader-gif img {
    width: 80px;
    height: 80px;
}

/* Home wrapper styles */
.home-wrapper {
    padding: 80px 0 40px;
    background-color: var(--theme-light);
    overflow: hidden;
}
.home-wrapper h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--theme-dark);
}
.search-section {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.search-section .form-group {
    flex: 1;
}
.search-section .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    box-shadow: none;
    height: auto;
}
.search-section .btn {
    border-radius: 0;
    padding: 0 25px;
}
.right-vector {
    max-width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .food-categories {
        height: 80px;
        padding: 10px;
    }
    .food-categories i {
        font-size: 2rem;
    }
    .food-categories h4 {
        font-size: 12px;
        min-height: 30px;
    }
}

/* Mobile banner styles */
.mobile-banner-container {
    padding: 10px 0;
    overflow: hidden;
    width: 100%;
}

.mobile-banner-slider {
    width: 100%;
    height: auto;
    position: relative;
}

.mobile-banner-item {
    height: 180px;
    background-color: #1e1e2f;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.mobile-banner-slider .swiper-slide {
    padding: 0 10px;
}

.mobile-banner-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.mobile-banner-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--theme-primary);
}

@media (max-width: 576px) {
    .mobile-banner-item {
        height: 160px;
    }
    
    .mobile-banner-slider .swiper-slide {
        padding: 0 5px;
    }
}

/* Desktop banner styles */
.banner-container {
    padding: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/* Eliminar estilos obsoletos para el banner de escritorio */
.banner-grid,
.banner-slider,
.banner-slider-group {
    display: none; /* Asegurarse de que estos no interfieran */
}

.main-hero-banner-image {
    width: 100%;
    height: 520px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}


.second-hero-banner-image {
    width: 100%;
    height: 320px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}


.second-hero-banner-image-mobile {
    width: 100%;
    height: 520px; /* Alto fijo deseado */
    object-fit: cover; /* Para que la imagen cubra el área sin distorsionarse */
    border-radius: 35px; /* Esquinas redondeadas */
    display: block;
}

.banner-item {
    height: 200px;
    background-color: #1e1e2f;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
}

@media (max-width: 1200px) {
    .banner-slider-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .banner-slider-group {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pm-filter-bar-container {
    position: sticky;
    top: 60px; /* o ajusta según altura de tu buscador */  
    margin-top: 6px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    padding: 6px 0px;
  }
  
  .pm-filter-bar {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
  }
  
  .pm-filter-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  
  .pm-filter-item {
    flex: 0 0 auto;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  
  .pm-filter-item.active {
    background-color: #d72638; /* Color portal motores */
    color: white;
    border-color: #d72638;
  }
  
  .pm-filter-item i {
    font-size: 14px;
  }