:root {
    /* Colores principales */
    --primary: #3A6B8A;
    --primary-dark: #2c536d;
    --primary-light: #5a8aad;
    --primary-extra-light: #e1e8ed;

    /* Colores secundarios */
    --secondary: #6e8c66;
    --secondary-dark: #5a7353;
    --secondary-light: #8aa583;
    --secondary-extra-light: #e8ede7;

    /* Escala de grises */
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;

    /* Blanco y negro */
    --white: #ffffff;
    --black: #000000;

    /* Colores de texto */
    --text: var(--gray-900);
    --text-light: var(--gray-600);
    --text-lighter: var(--gray-500);

    /* Colores de fondo */
    --bg-light: var(--gray-100);
    --bg-dark: var(--gray-900);

    /* Colores de estado */
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;

    /* Colores adicionales (manteniendo algunos de tus originales) */
    --emphasis: #B12704;
    --rating: #FFA41C;
    --link: #0066c0;
}

/* Estilos generales */
body {
    font-family: 'Amazon Ember', Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text);
    padding-bottom: 0px;
}

/* Barra de navegación principal */
.navbar {
    background-color: var(--primary);
    padding: 5px 0;
}

.amazon-logo {
    font-family: 'Amazon Ember', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    padding: 5px 10px;
    border: 1px solid transparent;
}

.amazon-logo:hover {
    border: 1px solid var(--white);
    border-radius: 3px;
}

/* Menú de ubicación */
.nav-location {
    color: var(--white);
    padding: 5px 10px;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-location:hover {
    border: 1px solid var(--white);
    border-radius: 3px;
}

.nav-location i {
    margin-right: 5px;
    color: var(--secondary);
}

.location-text {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.deliver-to {
    font-size: 0.7rem;
    color: var(--white);
}

.current-location {
    font-weight: bold;
    color: var(--white);
}

/* Barra de búsqueda */
.search-bar {
    max-width: 800px;
}

.search-select {
    max-width: 120px;
    background-color: var(--bg-light);
    border-color: var(--gray-500);
    border-radius: 5px 0 0 5px;
    color: var(--text);
}

.search-bar .form-control {
    border-color: var(--gray-500);
    border-radius: 0;
    border-left: none;
    border-right: none;
    color: var(--text);
}

.search-btn {
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 0 5px 5px 0;
    width: 45px;
    border-color: var(--secondary);
}

.search-btn:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Menú de usuario */
.nav-user {
    color: var(--white);
    padding: 5px 10px;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-user:hover {
    border: 1px solid var(--white);
    border-radius: 3px;
}

.user-dropdown {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.user-greeting {
    font-size: 0.7rem;
    color: var(--white);
}

.user-account {
    font-weight: bold;
    line-height: 1.1;
    color: var(--white);
}

/* Pedidos */
.nav-orders {
    color: var(--white);
    padding: 5px 10px;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-orders:hover {
    border: 1px solid var(--white);
    border-radius: 3px;
}

.orders-dropdown {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
}

.orders-text {
    line-height: 1.1;
    color: var(--white);
}

/* Carrito */
.nav-cart {
    color: var(--white);
    padding: 5px 10px;
}

.nav-cart .btn {
    color: var(--white);
    position: relative;
    padding: 5px;
}

.cart-text {
    font-weight: bold;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Menú secundario */
.secondary-nav {
    background-color: var(--primary-light);
    padding: 5px 0;
}

.secondary-nav .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.secondary-nav .nav-link {
    color: var(--white);
    font-size: 0.85rem;
    padding: 5px 10px;
    border: 1px solid transparent;
}

.secondary-nav .nav-link:hover {
    color: var(--white);
    border: 1px solid var(--white);
    border-radius: 3px;
}

.secondary-nav .nav-link i {
    margin-right: 5px;
    color: var(--secondary);
}

/* Badge del carrito */
.badge.bg-danger {
    background-color: var(--secondary) !important;
}

/* Ajustes para móviles */
@media (max-width: 767px) {
    .search-bar {
        order: 1;
        width: 100%;
        margin: 10px 0;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .nav-location,
    .nav-user,
    .nav-orders {
        display: none !important;
    }

    .secondary-nav .nav-item:not(:first-child) {
        display: flex;
    }

    .secondary-nav .nav-link {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
}


/* Estilos para el carrusel */
#banner-carousel {
    margin-top: 10px;
}

.carousel-inner {
    border-radius: 4px;
    overflow: hidden;
    max-height: 300px;
}

.carousel-item img {
    width: 100%;
    object-fit: cover;
}

/* Ajustes para móvil */
@media (max-width: 767px) {
    .carousel-inner {
        max-height: 150px;
    }

    #banner-carousel {
        margin-left: -15px;
        margin-right: -15px;
        border-radius: 0;
    }
}

/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-inner {
        max-height: 200px;
    }
}

/* Ajustes para pantallas grandes */
@media (min-width: 1200px) {
    .carousel-inner {
        max-height: 400px;
    }
}

/* Títulos de sección */
.section-title {
    color: var(--primary-dark);
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary);
}

/* ==================== */
/* ESTILOS DE CATEGORÍAS */
/* ==================== */

/* Contenedor principal de la tarjeta */
.category-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-300);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* Imagen principal */
.category-img-container {
    height: 140px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-img-link:hover .category-img {
    transform: scale(1.05);
}

/* Título de la categoría */
.category-card-title {
    color: var(--primary-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-300);
    transition: border-color 0.3s ease;
}

/* Items de subcategoría */
.subcategory-item {
    background-color: var(--white);
    color: var(--text);
    border-radius: 6px;
    padding: 8px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-300);
}

.subcategory-link:hover .subcategory-item {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(110, 141, 103, 0.2);
    border-color: var(--primary);
}

/* Contenedor de imagen de subcategoría */
.subcategory-img-container {
    height: 70px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
}

.subcategory-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.subcategory-link:hover .subcategory-img {
    transform: scale(1.05);
}

/* Nombre de subcategoría */
.subcategory-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s ease;
}

.subcategory-link:hover .subcategory-name {
    color: var(--primary);
}

/* Enlace "Ver más" */
.category-more-link {
    color: var(--primary) !important;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: rgba(110, 141, 103, 0.1);
}

.category-more-link:hover {
    color: var(--white) !important;
    background-color: var(--primary);
    transform: translateX(5px);
}

.category-more-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
    font-size: 0.8em;
}

/* ============== */
/* RESPONSIVE */
/* ============== */

@media (max-width: 767.98px) {
    .category-img-container {
        height: 110px;
    }

    .subcategory-img-container {
        height: 60px;
    }

    .subcategory-name {
        font-size: 0.8rem;
    }

    .category-card-title {
        font-size: 1rem;
    }

    .category-more-link {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .category-img-container {
        height: 120px;
    }

    .subcategory-img-container {
        height: 65px;
    }
}

@media (min-width: 1200px) {
    .category-img-container {
        height: 150px;
    }

    .subcategory-img-container {
        height: 80px;
    }
}

/* Tarjetas de producto */
.product-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.car-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card .card-body {
    padding: 10px;
}

.product-card .card-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-rating {
    color: var(--rating);
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.product-rating span {
    color: var(--link);
    font-size: 0.7rem;
}

.price {
    color: var(--emphasis);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 8px;
}

.add-to-cart {
    background-color: var(--secondary);
    color: var(--white);
    width: 100%;
    font-size: 0.8rem;
    padding: 5px;
}

.add-to-cart:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

/* Carrito desplegable */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background-color: var(--white);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--primary);
    color: var(--white);
}

.cart-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

#close-cart {
    color: var(--white);
    background: none;
    border: none;
    font-size: 1.2rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.empty-cart-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-600);
    text-align: center;
}

.empty-cart-message i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.empty-cart-message p {
    font-size: 1rem;
    margin: 0;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-300);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 10px;
    background-color: var(--gray-100);
    border-radius: 4px;
    padding: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: bold;
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--emphasis);
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 25px;
    height: 25px;
    border: 1px solid var(--gray-400);
    background-color: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.quantity-value {
    width: 30px;
    text-align: center;
    border-top: 1px solid var(--gray-400);
    border-bottom: 1px solid var(--gray-400);
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.remove-item {
    color: var(--link);
    font-size: 0.8rem;
    margin-top: 5px;
    cursor: pointer;
}

.cart-footer {
    padding: 15px;
    border-top: 1px solid var(--gray-300);
    background-color: var(--gray-100);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.btn-checkout {
    background-color: var(--secondary);
    color: var(--white);
    width: 100%;
    padding: 10px;
    font-weight: bold;
    border: none;
}

.btn-checkout:disabled {
    background-color: var(--gray-500);
    cursor: not-allowed;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.cart-overlay.show {
    display: block;
}

/* Media queries para pantallas más grandes */
@media (min-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem;
    }

    .category-card i {
        font-size: 2rem;
    }

    .category-card span {
        font-size: 1rem;
    }

    .product-card .card-title {
        font-size: 1rem;
    }

    .product-rating,
    .price {
        font-size: 1rem;
    }

    .add-to-cart {
        font-size: 0.9rem;
        padding: 8px;
    }
}

/* Estilos generales de la tarjeta */
.car-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* Badge de estado */
.car-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 2;
}

/* Contenedor de imagen */
.car-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-img img {
    transform: scale(1.05);
}

/* Acciones sobre la imagen */
.car-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 2;
}

.car-actions button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.car-actions button:hover {
    background: var(--primary);
    color: var(--white);
}

/* Información del vehículo */
.car-info {
    padding: 15px;
}

.car-vendor {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.car-title {
    font-size: 1.25rem;
    margin: 0 0 10px 0;
    color: var(--text);
    font-weight: 600;
}

/* Precio */
.car-price {
    margin-bottom: 15px;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--emphasis);
}

.price-old {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: var(--text-light);
    margin-left: 5px;
}

/* Metadatos */
.car-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.car-meta i {
    margin-right: 5px;
    color: var(--primary);
}

/* Selector de fechas */
.date-selector {
    background-color: var(--gray-100);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.date-group {
    margin-bottom: 10px;
}

.date-group:last-child {
    margin-bottom: 0;
}

.date-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.date-group label i {
    margin-right: 5px;
    color: var(--primary);
}

.date-input,
.text-date-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.9rem;
}

.text-date-input {
    display: none;
}

/* Botones de acción */
.car-actions-bottom {
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1;
    padding: 10px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.rent-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
}

.rent-btn:hover {
    background-color: var(--primary-dark);
}

.contact-btn {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
}

.contact-btn:hover {
    background-color: var(--gray-100);
}

/* Responsive */
@media (max-width: 767.98px) {
    .car-img {
        height: 150px;
    }

    .date-input {
        display: none;
    }

    .text-date-input {
        display: block;
    }

    .car-actions-bottom {
        flex-direction: column;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .car-img {
        height: 160px;
    }
}

/*--------------------------------------------------------------
# Cliens
--------------------------------------------------------------*/
.cliens {
    padding: 12px 0;
    text-align: center;
}

.cliens img {
    max-width: 45%;
    transition: all 0.4s ease-in-out;
    display: inline-block;
    padding: 15px 0;
    filter: grayscale(100);
}

.cliens img:hover {
    filter: none;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .cliens img {
        max-width: 40%;
    }
}

/* ================= */
/* ESTILOS DEL FOOTER */
/* ================= */

.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 50px 0 0;
    margin-top: 50px;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--white);
}

.footer-col p {
    color: var(--white);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--white);
    font-size: 0.9rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--white);
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Footer inferior */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary);
}

.payment-methods {
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
}

.payment-methods i {
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

.copyright {
    text-align: center;
    color: var(--white);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.legal-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .legal-links {
        flex-direction: column;
        gap: 5px;
    }
}

/*Pagina de Autos*/
/* Banner Promocional */
.promo-banner {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('car-banner.jpg');
    background-size: cover;
    background-position: center;
}

.banner-content {
    max-width: 600px;
}

.promo-banner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.banner-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn-promo {
    background-color: var(--emphasis);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background-color: #c0452b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Filtros */
.filters-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-title {
    color: var(--primary-dark);
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 1.2rem;
}

.filter-subtitle {
    color: var(--primary-dark);
    font-weight: 500;
    margin: 1.5rem 0 0.5rem 0;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.form-check {
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.price-range {
    padding: 0.5rem 0;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--emphasis);
}

/* Resultados */
.search-header {
    display: flex;
    justify-content: flex-end;
}

.sort-select {
    max-width: 250px;
    border-color: var(--gray-300);
}

/* Tarjetas de auto */
.btn-details {
    background-color: var(--primary);
    color: var(--white);
    width: 100%;
    margin-top: 15px;
    font-weight: 500;
}

.btn-details:hover {
    background-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 767.98px) {
    .promo-banner {
        padding: 2rem 0;
    }

    .promo-banner h2 {
        font-size: 1.8rem;
    }

    .filters-card {
        margin-bottom: 1.5rem;
    }

    .search-header {
        justify-content: flex-start;
    }
}

/* Estilos para la página de detalles del producto */

/* Breadcrumb */
.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--link);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--gray-600);
}

/* Contenedor principal del producto */
.main-product-container {
    background-color: var(--white);
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Miniaturas de imágenes */
.thumbnail-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.thumbnail {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail.active {
    border-color: var(--rating);
    box-shadow: 0 0 3px 2px rgba(228, 121, 17, .5);
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Imagen principal del producto */
.main-product-image {
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.main-product-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

/* Información del producto */
.product-info {
    padding: 0 15px;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.product-rating {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.product-rating .stars {
    color: var(--rating);
}

.rating-count,
.questions-count {
    color: var(--link);
    font-size: 0.9rem;
    text-decoration: none;
}

.rating-count:hover,
.questions-count:hover {
    text-decoration: underline;
    color: #c45500;
}

.separator {
    color: var(--gray-300);
    margin: 0 5px;
}

.divider {
    margin: 15px 0;
    border-top: 1px solid var(--gray-300);
}

/* Sección de precio */
.price-section {
    margin-bottom: 15px;
}

.price {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--emphasis);
}

.discount {
    font-size: 1rem;
    color: var(--gray-600);
    text-decoration: line-through;
    margin-left: 10px;
}

.savings {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Promociones */
.promotions {
    background-color: var(--gray-100);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.promo-badge {
    display: inline-block;
    background-color: var(--danger);
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 3px;
    margin-right: 5px;
}

.promo-text {
    display: inline;
    font-size: 0.9rem;
    color: var(--gray-900);
}

/* Acerca del artículo */
.about-item {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.features-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.features-list li {
    margin-bottom: 5px;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Tarjeta de compra */
.purchase-card {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.price-container .price {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.shipping-info {
    color: var(--link);
    font-size: 0.9rem;
    cursor: pointer;
    display: block;
    margin-bottom: 5px;
}

.delivery-info {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stock-info {
    color: var(--success);
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.location-info {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--link);
    margin-bottom: 15px;
    cursor: pointer;
}

.location-info i {
    margin-right: 5px;
}

.quantity-selector {
    margin-bottom: 15px;
}

.quantity-selector label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.quantity-selector select {
    width: 70px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.btn-add-to-cart {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    font-weight: 500;
    padding: 8px;
    border-radius: 8px;
}

.btn-add-to-cart:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.btn-buy-now {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    font-weight: 500;
    padding: 8px;
    border-radius: 8px;
}

.btn-buy-now:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.secure-transaction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.warranty-info {
    border-top: 1px solid var(--gray-300);
    padding-top: 15px;
    margin-bottom: 15px;
}

.warranty-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.add-to-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.add-to-list a {
    color: var(--link);
    text-decoration: none;
}

.add-to-list a:hover {
    text-decoration: underline;
    color: #c45500;
}

/* Pestañas de detalles del producto */
.product-tabs {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.nav-tabs {
    border-bottom: 1px solid var(--gray-300);
    padding: 0 20px;
}

.nav-tabs .nav-link {
    border: none;
    color: var(--link);
    font-size: 0.95rem;
    padding: 15px 20px;
    margin-right: 15px;
}

.nav-tabs .nav-link.active {
    color: var(--gray-900);
    font-weight: 700;
    border-bottom: 3px solid var(--rating);
    background-color: transparent;
}

.tab-content {
    padding: 20px;
}

.tab-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.tab-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 20px 0 10px;
    color: var(--gray-900);
}

.tab-content p {
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--gray-900);
}

.tab-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.tab-content li {
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Tabla de especificaciones */
.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 10px;
    border: 1px solid var(--gray-300);
    text-align: left;
    vertical-align: top;
}

.specs-table th {
    background-color: var(--gray-100);
    width: 30%;
    font-weight: 500;
}

/* Reseñas */
.rating-summary {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--gray-100);
    border-radius: 4px;
}

.overall-rating {
    text-align: center;
}

.average {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.out-of {
    font-size: 1rem;
    color: var(--gray-600);
    display: block;
}

.rating-bars {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.stars {
    width: 80px;
    color: var(--rating);
}

.bar-container {
    flex: 1;
    height: 10px;
    background-color: var(--gray-300);
    border-radius: 5px;
    margin: 0 10px;
}

.bar {
    height: 100%;
    background-color: var(--secondary);
    border-radius: 5px;
}

.percentage {
    width: 40px;
    text-align: right;
    color: var(--link);
    font-size: 0.9rem;
}

/* Reseñas de clientes */
.customer-reviews {
    margin-bottom: 30px;
}

.review {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-300);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.reviewer {
    font-weight: 700;
    color: var(--gray-900);
}

.review-rating {
    color: var(--rating);
}

.review-date {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.review-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.review-text {
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--gray-900);
}

.review-helpful {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.btn-helpful,
.btn-not-helpful {
    background: none;
    border: none;
    color: var(--link);
    cursor: pointer;
    padding: 0 5px;
}

.btn-helpful:hover,
.btn-not-helpful:hover {
    text-decoration: underline;
}

.report-link {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-left: 15px;
    text-decoration: none;
}

.report-link:hover {
    text-decoration: underline;
}

.btn-see-all-reviews {
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-900);
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-bottom: 30px;
}

.btn-see-all-reviews:hover {
    background-color: var(--gray-100);
}

/* Preguntas y respuestas */
.search-questions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-questions input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.btn-search-qna {
    background-color: var(--gray-100);
    border: 1px solid var(--gray-300);
    color: var(--gray-900);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-search-qna:hover {
    background-color: var(--gray-300);
}

.asked-questions {
    margin-bottom: 30px;
}

.question {
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-300);
}

.question-text,
.answer {
    margin-bottom: 10px;
    line-height: 1.5;
}

.q,
.a {
    font-weight: 700;
    margin-right: 5px;
}

.qna-meta {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.answered-by,
.helpful-count {
    margin-right: 15px;
}

.ask-question {
    margin-top: 30px;
}

.ask-question textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    margin-bottom: 10px;
    resize: vertical;
}

.btn-submit-question {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--gray-900);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit-question:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

/* Productos relacionados */
.related-products {
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.related-products h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.related-product {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-300);
}

.related-product:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-product img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
}

.related-info {
    flex: 1;
}

.related-title {
    color: var(--link);
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.related-title:hover {
    text-decoration: underline;
    color: #c45500;
}

.related-price {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 5px;
}

.related-rating {
    color: var(--rating);
    font-size: 0.8rem;
}

.related-rating span {
    color: var(--link);
    margin-left: 5px;
}

/* Productos recomendados */
.recommended {
    background-color: var(--white);
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 991.98px) {
    .thumbnail-container {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .thumbnail {
        min-width: 60px;
    }

    .main-product-image {
        margin-top: 15px;
    }

    .purchase-card {
        margin-top: 30px;
    }
}

@media (max-width: 767.98px) {
    .product-title {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .rating-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        margin-right: 5px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575.98px) {
    .product-title {
        font-size: 1.2rem;
    }

    .price {
        font-size: 1.3rem;
    }

    .nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
        display: block;
    }

    .nav-tabs .nav-item {
        display: inline-block;
    }
}

/*checkout-page*/

.checkout-page {
    padding: 2rem 0;
}

.checkout-progress {
    margin-bottom: 2.5rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step:not(:last-child) {
    margin-right: 1rem;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--gray-500);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.step.active .step-number {
    background-color: var(--primary);
}

.step.completed .step-number {
    background-color: var(--secondary);
}

.step-info {
    text-align: center;
}

.step-title {
    font-weight: 600;
    color: var(--gray-600);
}

.step-subtitle {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.step.active .step-title {
    color: var(--primary);
}

.step.completed .step-title {
    color: var(--secondary);
}

.checkout-section {
    display: none;
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.checkout-section.active {
    display: block;
}

.section-title {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.section-title i {
    margin-right: 0.5rem;
}

.form-subtitle {
    color: var(--gray-800);
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.shipping-option,
.payment-option {
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.shipping-option.selected,
.payment-option.selected {
    border-color: var(--primary);
    background-color: rgba(58, 107, 138, 0.05);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-title {
    font-weight: 600;
    color: var(--gray-800);
}

.option-price {
    font-weight: bold;
    color: var(--primary);
}

.option-details {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icons img {
    height: 20px;
}

.payment-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-300);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.btn-back {
    background-color: var(--gray-100);
    color: var(--gray-800);
    border: 1px solid var(--gray-400);
}

.btn-back:hover {
    background-color: var(--gray-300);
    color: var(--gray-800);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-confirm {
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-confirm:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.review-block {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative;
}

.review-block-title {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.review-content p {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.btn-edit {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
}

.review-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 0.25rem;
    overflow: hidden;
}

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

.item-details {
    flex: 1;
}

.item-details h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.item-price {
    font-weight: bold;
    color: var(--primary);
}

.item-qty {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.review-totals {
    margin-top: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.total-row:last-child {
    border-bottom: none;
}

.grand-total {
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.discount {
    color: var(--danger);
}

.checkout-sidebar {
    background: var(--white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    height: fit-content;
}

.summary-title {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.order-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-totals {
    margin: 1.5rem 0;
}

.promo-code {
    margin: 1.5rem 0;
}

.promo-title {
    font-size: 1rem;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.promo-input {
    display: flex;
    gap: 0.5rem;
}

.btn-apply {
    background-color: var(--emphasis);
    color: var(--white);
    border: none;
}

.btn-apply:hover {
    background-color: #5a5b4a;
}

.secure-checkout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .checkout-layout {
        flex-direction: column;
    }

    .checkout-sidebar {
        margin-top: 2rem;
    }
}

/* Estilos para la página de FAQs */
.faqs-page {
    background-color: var(--gray-100);
    min-height: calc(100vh - 120px);
}

.faqs-header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-300);
}

.faqs-header h1 {
    color: var(--primary);
    font-weight: 700;
}

.category-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary);
    border-radius: 20px;
    background-color: transparent;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.category-title {
    color: var(--primary);
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.faq-question {
    font-weight: 500;
    color: var(--gray-800);
    text-align: left;
}

.faq-question:not(.collapsed) {
    color: var(--primary);
    background-color: rgba(58, 107, 138, 0.05);
}

.faq-answer {
    color: var(--gray-700);
    line-height: 1.6;
}

.faq-answer ul,
.faq-answer ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.support-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 15rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
}

/* Estilos para el acordeón */
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

/* Responsive */
@media (max-width: 767.98px) {
    .faqs-categories {
        flex-direction: column;
        align-items: stretch;
    }

    .category-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .faqs-header h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .faqs-header {
        padding: 1.5rem 0;
    }
}

/* Estilos para los modales de autenticación */
.modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid var(--gray-300);
    padding: 1.5rem;
}

.modal-title {
    color: var(--primary);
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: 1px solid var(--gray-300);
}

.btn-close {
    filter: brightness(0) saturate(100%) invert(31%) sepia(24%) saturate(900%) hue-rotate(161deg) brightness(93%) contrast(85%);
}

/* Formularios */
.form-control {
    padding: 0.75rem;
    border: 1px solid var(--gray-400);
    border-radius: 5px;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(58, 107, 138, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.form-check-input {
    border: 1px solid var(--gray-400);
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-label {
    color: var(--gray-800);
}

/* Botones y enlaces */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem;
    font-weight: 500;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.modal-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.modal-body a:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 575.98px) {
    .modal-dialog {
        margin: 0.5rem;
    }

    .modal-header,
    .modal-body {
        padding: 1rem;
    }
}


/*Aibnb*/
/* Sección Airbnb-like */
.airbnb-section {
    background-color: var(--white);
    position: relative;
}

/* Filtros móvil */
.mobile-filters .btn-filter,
.mobile-filters .btn-sort {
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 0.9rem;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mobile-filters .btn-filter {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Filtros desktop */
.desktop-filters {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.desktop-filters::-webkit-scrollbar {
    display: none;
}

.filter-option {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.filter-option.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.filter-option:hover:not(.active) {
    background-color: var(--gray-100);
    color: var(--text);
}

/* Filtros avanzados */
.advanced-filters {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 280px;
    position: sticky;
    top: 20px;
}

.filter-group {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 15px;
}

.filter-group h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}

.btn-apply-filters {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 500;
}

.btn-apply-filters:hover {
    background-color: var(--primary-dark);
}

/* Tarjetas de propiedades */
.property-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-200);
    background-color: var(--white);
}

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

.property-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--white);
    color: var(--text);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.property-actions {
    position: absolute;
    top: 10px;
    right: 10px;
}

.property-like {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.property-like.active {
    color: var(--danger);
}

.property-like:hover {
    color: var(--danger);
    transform: scale(1.1);
}

.property-details {
    padding: 12px;
}

.property-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.property-features {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.property-features span {
    margin-right: 10px;
}

.property-rating {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text);
}

.property-rating i {
    color: var(--rating);
    margin-right: 3px;
}

.property-price {
    margin-top: 8px;
    font-weight: 600;
    color: var(--text);
}

.property-price span {
    font-weight: 400;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Botón flotante móvil */
.btn-show-map {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: auto;
    display: inline-flex;
    align-items: center;
}

/* Modales */
.modal-content {
    border-radius: 12px;
}

.modal-header {
    border-bottom: 1px solid var(--gray-200);
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
}

.btn-clear-filters {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--gray-300);
}

.btn-apply-sort,
.btn-apply-filters {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 767.98px) {
    .property-card {
        margin-bottom: 20px;
    }

    .property-image {
        height: 180px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .property-image {
        height: 160px;
    }
}


/* Estilos del buscador */
.search-container {
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 24px;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.search-option {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    margin: 4px;
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.search-option:hover {
    background-color: var(--gray-100);
}

.search-option.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.search-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-600);
}

.search-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.search-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 4px;
    display: flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

.search-button i {
    margin-right: 8px;
}

/* Estilos para los dropdowns */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 16px;
    display: none;
}

.search-option.active .search-dropdown {
    display: block;
}

/* Estilos para el selector de fechas */
.date-range-picker {
    display: flex;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    overflow: hidden;
}

.date-input {
    padding: 12px;
    border: none;
    text-align: center;
    flex: 1;
}

.date-input:first-child {
    border-right: 1px solid var(--gray-300);
}

/* Estilos para el selector de huéspedes */
.guest-selector {
    display: flex;
    flex-direction: column;
}

.guest-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.guest-option:last-child {
    border-bottom: none;
}

.guest-controls {
    display: flex;
    align-items: center;
}

.guest-count {
    margin: 0 12px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.guest-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--gray-400);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.guest-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }

    .search-option {
        width: 100%;
        margin: 4px 0;
    }

    .search-button {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   ESTILOS AJUSTADOS PARA SLIDER DE PROMOCIONES
   ============================================= */

/* Contenedor principal del slider - Ajustes para evitar superposición */
.promotions-section {
    background-color: var(--white);
    padding: 2rem 0 3rem;
    /* Más padding abajo para la paginación */
    margin: 0;
    position: relative;
    z-index: 1;
    /* Asegura que esté sobre el contenido anterior */
}

/* Línea divisoria superior */
.promotions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--gray-300);
    /* Color más claro que el texto */
    opacity: 0.5;
}

/* Contenedor del swiper - Ajuste de posición */
.promotions-swiper {
    padding: 1rem 0.5rem 3rem;
    /* Más espacio para la paginación */
    overflow: hidden;
    position: relative;
}

/* Paginación - Ajuste de posición y estilo */
.swiper-pagination {
    bottom: 15px !important;
    /* Más espacio desde el borde */
    position: absolute;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    opacity: 1;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    transform: scale(1.2);
}

/* Tarjeta de promoción - Ajustes para coherencia con Airbnb */
.promotion-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-200);
}

.promotion-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

/* Contenedor de imagen - Ajuste de altura proporcional */
.promotion-image {
    position: relative;
    height: 0;
    padding-bottom: 60%;
    /* Relación de aspecto 3:2 */
    overflow: hidden;
    background-color: var(--gray-100);
}

.promotion-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Botón de promoción - Ajuste para coincidir con Airbnb */
.btn-promotion {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    align-self: flex-start;
    transition: all 0.3s ease;
    margin-top: auto;
    width: auto;
}

.btn-promotion:hover {
    background-color: var(--primary-dark);
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navegación del slider - Ajustes de visibilidad */
.swiper-button-next,
.swiper-button-prev {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promotions-swiper:hover .swiper-button-next,
.promotions-swiper:hover .swiper-button-prev {
    opacity: 1;
}

/* =============================================
   RESPONSIVE: AJUSTES ESPECÍFICOS
   ============================================= */

@media (max-width: 767.98px) {
    .promotions-section {
        padding: 1.5rem 0 2.5rem;
    }

    .promotion-image {
        padding-bottom: 70%;
        /* Más alto en móviles */
    }

    .swiper-pagination {
        bottom: 10px !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .promotion-image {
        padding-bottom: 65%;
    }
}


/* Tarjeta de reserva */
.reservation-card {
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    padding: 20px;
    background-color: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reservation-card .price {
    font-size: 1.5rem;
    margin-bottom: 5px;
    display: block;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 5px;
}

.rating-info i {
    color: var(--warning);
}

.availability-info {
    color: var(--warning);
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

.date-selector {
    margin-bottom: 15px;
}

.date-input {
    margin-bottom: 10px;
}

.date-input label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.date-input input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
}

.guests-selector {
    margin-bottom: 15px;
}

.guests-selector label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.guests-selector select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
}

.btn-check-availability {
    background-color: var(--white);
    border: 1px solid var(--secondary);
    color: var(--secondary);
    font-weight: 500;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.btn-check-availability:hover {
    background-color: var(--gray-100);
}

.btn-reserve-now {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
    font-weight: 500;
    padding: 8px;
    border-radius: 8px;
}

.btn-reserve-now:hover {
    background-color: var(--secondary-dark);
    border-color: var(--secondary-dark);
}

.policy-info {
    border-top: 1px solid var(--gray-300);
    padding-top: 15px;
    margin-bottom: 15px;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.contact-host {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.85rem;
}

.contact-host a {
    color: var(--link);
    text-decoration: none;
}

.contact-host a:hover {
    text-decoration: underline;
    color: #c45500;
}


/* Sección CTA - Foto primero en móvil */
.cta-reservation-section {
    background-color: #f8f9fa;
    margin: 2rem 0;
}

.cta-banner-container {
    position: relative;
    height: 100%;
    min-height: 280px;
    /* Altura aumentada para móviles */
    overflow: hidden;
    border-radius: 0;
}

/* Bordes redondeados solo en desktop */
@media (min-width: 768px) {
    .cta-banner-container {
        border-radius: 8px 0 0 8px;
        min-height: 500px;
    }

    .quick-reservation-card {
        border-radius: 0 8px 8px 0;
    }
}

.cta-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.banner-overlay-text h3 {
    font-size: 1.4rem;
    /* Tamaño aumentado para móviles */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.banner-overlay-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Texto especial para móvil */
.banner-overlay-text p.d-md-none {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .banner-overlay-text h3 {
        font-size: 1.8rem;
    }

    .banner-overlay-text p:not(.d-md-none) {
        display: block;
        font-size: 1.1rem;
    }
}

.quick-reservation-card {
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08) !important;
    /* Sombra superior en móvil */
    height: 100%;
}

@media (min-width: 768px) {
    .quick-reservation-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    }
}

/* Resto del CSS permanece igual que en la versión anterior */
.cta-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.reservation-form .form-control,
.reservation-form .form-select {
    padding: 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    font-size: 0.9rem;
}

@media (min-width: 768px) {

    .reservation-form .form-control,
    .reservation-form .form-select {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

.reservation-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .reservation-form label {
        font-size: 0.9rem;
    }
}

.price-summary {
    border-top: 1px solid var(--gray-300);
    padding-top: 1rem;
    margin-top: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.price-row.discount {
    color: var(--success);
}

.price-row.total {
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-300);
}

.btn-reserve-now {
    background-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    border: none;
}

.btn-reserve-now:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secure-booking {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* Ajuste especial para móviles pequeños */
@media (max-width: 400px) {
    .cta-banner-container {
        min-height: 250px;
    }

    .banner-overlay-text h3 {
        font-size: 1.2rem;
    }
}


/* Contenedor principal de filtros para las propiedades*/
.filters-container {
    background-color: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Wrapper de opciones de filtro */
.filter-options-wrapper {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

/* Opciones de filtro */
.filter-option {
    padding: 8px 15px;
    border-radius: 20px;
    background-color: #f7f7f7;
    color: #333;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.filter-option:hover {
    background-color: #eee;
}

.filter-option.active {
    background-color: var(--primary);
    color: white;
}

/* Botones de filtro y ordenar */
.btn-filter,
.btn-sort {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    background-color: white;
    color: #333;
}

.btn-filter {
    text-align: left;
}

.btn-sort {
    text-align: center;
}

/* Panel de filtros móviles */
.mobile-filters-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
}

.mobile-filters-panel .filter-option {
    margin-bottom: 10px;
    width: 100%;
    border-radius: 8px;
    padding: 10px 15px;
}

/* Mostrar panel cuando está activo */
.mobile-filters-panel.show {
    display: block;
}

/* Ajustes para desktop */
@media (min-width: 992px) {
    .filters-container {
        padding: 15px 0;
    }

    .filter-option {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .btn-filter,
    .btn-sort {
        padding: 10px 15px;
    }
}

/* Estilos para el listado de propiedades */
.property-listings {
    padding: 20px 0;
}

/* Tarjeta de propiedad */
.property-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    background: white;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Imagen de la propiedad */
.property-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* Relación 4:3 */
    overflow: hidden;
}

.property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* Badge de Superhost */
.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff385c;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Botón de favoritos */
.property-like {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.property-like:hover {
    background: white;
}

.property-like i {
    color: #484848;
    font-size: 0.9rem;
}

.property-like.active i {
    color: #ff385c;
}

/* Detalles de la propiedad */
.property-details {
    padding: 16px;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    font-size: 0.9rem;
    color: #717171;
    margin-bottom: 10px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #484848;
}

.property-features span {
    display: inline-block;
}

.property-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}

.property-price span {
    font-weight: normal;
    font-size: 0.9rem;
    color: #717171;
}

/* Responsive para diferentes tamaños de pantalla */
@media (max-width: 575.98px) {
    .property-title {
        font-size: 1rem;
    }

    .property-details {
        padding: 12px;
    }
}

@media (min-width: 768px) {
    .property-image {
        padding-top: 66.66%;
        /* Relación 3:2 para tablet */
    }
}

@media (min-width: 992px) {
    .property-image {
        padding-top: 75%;
        /* Relación 4:3 para desktop */
    }

    .property-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .property-image {
        padding-top: 66.66%;
        /* Relación 3:2 para pantallas grandes */
    }
}


/* Estilos corregidos para la tarjeta */
.promotion-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

/* Contenedor de imagen - Versión corregida */
.promotion-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    /* Proporción 70% de altura respecto al ancho */
    overflow: hidden;
}

.promotion-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promotion-card:hover .promotion-img {
    transform: scale(1.05);
}

/* Badge de descuento */
.promotion-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #FF5A5F;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 2;
}

/* Botón de favoritos */
.promotion-like-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}

.promotion-like-btn:hover {
    background: white;
}

.promotion-like-btn i {
    color: #484848;
    font-size: 1rem;
}

.promotion-like-btn.active i {
    color: #FF5A5F;
}

/* Contenido de la promoción */
.promotion-info {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.promotion-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.promotion-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.3;
}

.promotion-rating {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #222;
}

.promotion-rating i {
    color: #FF5A5F;
    margin-right: 4px;
    font-size: 0.8rem;
}

.promotion-meta {
    margin-bottom: 12px;
}

.promotion-location,
.promotion-validity {
    font-size: 0.9rem;
    color: #717171;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.promotion-location i,
.promotion-validity i {
    margin-right: 6px;
    font-size: 0.8rem;
}

/* Precios */
.promotion-pricing {
    margin: 12px 0;
    line-height: 1.4;
}

.original-price {
    text-decoration: line-through;
    color: #717171;
    font-size: 0.9rem;
    margin-right: 8px;
}

.current-price {
    font-weight: 600;
    color: #222;
    font-size: 1.1rem;
}

.price-per-night {
    font-size: 0.9rem;
    color: #717171;
}

/* Botón CTA */
.btn-promo-cta {
    background-color: #6E8D67;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 500;
    width: 100%;
    margin-top: auto;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-promo-cta:hover {
    background-color: #5a7a53;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .promotion-info {
        padding: 12px;
    }

    .promotion-name {
        font-size: 1rem;
    }

    .btn-promo-cta {
        padding: 8px;
        font-size: 0.9rem;
    }

    .promotion-image-wrapper {
        padding-bottom: 75%;
    }
}


/* Estilos específicos para vista de detalle de auto */

.section-title {
    color: var(--primary-dark);
    font-weight: bold;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary);
}

img.img-fluid.rounded {
    border: 1px solid var(--gray-300);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

label.form-label {
    font-weight: 500;
    color: var(--text-light);
}

input.form-control,
select.form-select {
    border-color: var(--gray-400);
}

input.form-control:focus,
select.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(58, 107, 138, 0.25);
}

.alert-success {
    background-color: var(--secondary-extra-light);
    color: var(--secondary-dark);
    border-color: var(--secondary-light);
}

#availabilityResult {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
}

@media (max-width: 767px) {
    .section-title {
        font-size: 1.3rem;
        text-align: center;
    }

    .btn {
        font-size: 0.9rem;
    }

    label.form-label {
        font-size: 0.85rem;
    }
}


.price-breakdown div {
    margin-bottom: 5px;
}

.total-price {
    font-size: 1.1em;
    font-weight: bold;
    color: #2a6496;
}

#priceEstimate {
    min-height: 120px;
}

.text-success {
    color: #28a745;
}

.text-danger {
    color: #dc3545;
}

.alert {
    transition: all 0.3s ease;
}

.alert-dismissible .btn-close {
    padding: 0.5rem 0.5rem;
    background: transparent;
}

/* Animación para alertas */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert {
    animation: fadeIn 0.3s ease forwards;
}

.price-breakdown {
    font-size: 0.95rem;
}

.price-breakdown div {
    margin-bottom: 0.5rem;
}

.total-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2a6496;
}

#priceEstimate .alert {
    margin-bottom: 0;
    padding: 0.75rem 1.25rem;
}

/* Estilos para la administración de rentas */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-weight: bold;
}

.avatar-initials {
    line-height: 1;
}

.avatar-xl {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);
}

/* Estilos para las tablas */
.table-responsive {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background-color: #f8f9fa;
    border-bottom-width: 1px;
}

/* Estilos para los badges */
.badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.35em 0.65em;
    letter-spacing: 0.5px;
}

/* Estilos para las tarjetas */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 1.25rem;
}

/* Estilos para los botones */
.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

.btn-outline-info:hover {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
}

/* Paginación */
.pagination {
    margin-top: 30px;
}

.page-item.active .page-link {
    background-color: #6E8D67;
    border-color: #6E8D67;
}

.page-link {
    color: #6E8D67;
    margin: 0 5px;
    border-radius: 4px !important;
}

.page-link:hover {
    color: #4a5e45;
}

.page-item.disabled .page-link {
    color: #6c757d;
}


/* Estilos para el CTA Banner - Versión Mejorada */
.cta-seccion {
    background: linear-gradient(135deg, #bfcdda 0%, #e1e8ed 100%);
    padding: 80px 0;
    margin: 60px 0;
    border-top: 1px solid #d6e0e8;
    border-bottom: 1px solid #d6e0e8;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.cta-content {
    flex: 1;
    padding-right: 50px;
    animation: fadeInLeft 0.8s ease;
}

.cta-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.cta-text {
    font-size: 1.2rem;
    color: #5a6a7a;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 90%;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 30px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 1.05rem;
}

.cta-btn-primary {
    background-color: #6E8D67;
    color: white;
    border: 2px solid #6E8D67;
    box-shadow: 0 4px 6px rgba(110, 141, 103, 0.2);
}

.cta-btn-primary:hover {
    background-color: #5a7a53;
    border-color: #5a7a53;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(110, 141, 103, 0.3);
}

.cta-btn-secondary {
    background-color: transparent;
    color: #6E8D67;
    border: 2px solid #6E8D67;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-btn-secondary:hover {
    background-color: rgba(110, 141, 103, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-image {
    flex: 1;
    text-align: right;
    animation: fadeInRight 0.8s ease;
}

.cta-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.cta-img:hover {
    transform: scale(1.03);
}

/* Efectos y animaciones */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-content {
        padding-right: 30px;
    }

    .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .cta-seccion {
        padding: 60px 0;
    }

    .cta-container {
        flex-direction: column;
    }

    .cta-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .cta-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-image {
        text-align: center;
        margin-top: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        width: 100%;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }
}


/* Estilos para SuperExpress - Clases Únicas */
.se-container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.se-section-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Sistema de grid */
.se-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.se-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

/* Carrusel */
.se-carousel {
    position: relative;
    overflow: hidden;
}

.se-carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 15px;
}

.se-carousel-item {
    position: relative;
    display: none;
    align-items: center;
    width: 100%;
    transition: transform 0.6s ease;
}

.se-carousel-item.active {
    display: block;
}

/* Controles */
.se-carousel-control {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    background-color: #6E8D67;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.se-carousel-control-prev {
    left: -20px;
}

.se-carousel-control-next {
    right: -20px;
}

.se-carousel-control-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* Tarjetas */
.se-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    max-width: 300px;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.se-img-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.se-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.se-card:hover .se-img {
    transform: scale(1.05);
}

.se-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #6E8D67;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.se-info {
    padding: 15px;
}

.se-vendor {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.se-title {
    font-size: 1.25rem;
    margin: 10px 0;
    color: #2c3e50;
    font-weight: 700;
}

.se-price-current {
    font-weight: bold;
    color: #6E8D67;
    font-size: 1.2rem;
    display: block;
    margin: 10px 0;
}

.se-actions {
    margin-top: 15px;
}

.se-contact-btn {
    background-color: #6E8D67;
    color: white;
    width: 100%;
    border: none;
    padding: 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.se-contact-btn:hover {
    background-color: #5a7a53;
}

/* Sistema de columnas responsive */
@media (max-width: 575.98px) {
    .se-col-10 {
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
    }

    .se-carousel-control-prev {
        left: 0;
    }

    .se-carousel-control-next {
        right: 0;
    }
}

@media (min-width: 576px) {
    .se-col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .se-col-md-4 {
        flex: 0 0 33.33333%;
        max-width: 33.33333%;
    }
}

@media (min-width: 992px) {
    .se-col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .se-d-none.se-d-md-block {
        display: block !important;
    }
}

/* Espaciado */
.se-py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.se-g-3 {
    margin-right: -12px;
    margin-left: -12px;
}

.se-g-3 > [class*="se-col-"] {
    padding-right: 12px;
    padding-left: 12px;
}

.se-justify-content-center {
    justify-content: center !important;
}

.superExpressSwiper .swiper-wrapper {
    display: flex !important;
}

.superExpressSwiper .swiper-slide {
    flex-shrink: 0 !important;
}


/* Estilos base del banner */
.lr-banner-container {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Ocupa toda la altura de la ventana */
    max-height: 700px;
    /* límite opcional en pantallas grandes */
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: #000;
}

.lr-banner-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.lr-banner-item {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.lr-banner-item.lr-active {
    display: block;
}

/* Imagen del banner */
.lr-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mantiene proporciones y llena el espacio */
    object-position: center;
    display: block;
}

/* Controles del banner */
.lr-banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lr-prev {
    left: 15px;
}

.lr-next {
    right: 15px;
}

@media (min-width: 1025px) {
    .lr-banner-container {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 5; /* Ratio panorámico */
        max-height: 500px; /* Altura máxima opcional */
        overflow: hidden;
        background-color: #000;
    }

    .lr-banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cubre todo manteniendo proporción */
        object-position: center;
        display: block;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .lr-banner-container {
        height: 50vh;
        /* ocupa medio alto de la pantalla */
        max-height: 500px;
    }

    .lr-banner-control {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .lr-banner-container {
        height: 40vh;
        max-height: 300px;
    }

    .lr-banner-img {
        object-position: top center;
        /* opción: mostrar más parte superior */
    }

    .lr-banner-control {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .lr-prev {
        left: 5px;
    }

    .lr-next {
        right: 5px;
    }
}

/* Móvil */
@media (max-width: 767px) {
    .lr-banner-container {
        width: 100%;
        height: auto;
        /* se ajusta a la imagen */
        max-height: none;
    }

    .lr-banner-img {
        width: 100%;
        height: auto;
        /* mantiene proporciones */
        object-fit: contain;
        /* muestra la imagen completa */
        object-position: center;
        background-color: #000;
        /* fondo para las franjas si quedan */
    }

    .lr-banner-control {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .lr-prev {
        left: 5px;
    }

    .lr-next {
        right: 5px;
    }
}


/*boton hamburguesa*/

.secondary-nav .navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: none !important;
    padding: 0.25rem 0.5rem;
/
}

/* Asegura que no cambie cuando está abierto */
.secondary-nav .navbar-toggler:not(.collapsed) {
    background: none !important;
}


.car-actions-bottom {
    display: flex;
    /* asegúrate que use flex */
    flex-direction: row;
    /* siempre en fila */
    justify-content: center;
    /* opcional: centrados */
    gap: 5px;
    /* opcional: espacio entre botones */
}

@media (max-width: 767.98px) {
    .car-img {
        height: 150px;
    }

    .date-input {
        display: none;
    }

    .text-date-input {
        display: block;
    }

    /* ❌ eliminamos flex-direction: column */
}


/* Estilos del botón flotante */
.floating-customer-service {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 2147483647; /* el máximo posible */
    pointer-events: auto;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.floating-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.floating-btn i {
    font-size: 1.5rem;
}

.service-options {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 200px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-options.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.service-option {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    background-color: var(--primary-extra-light);
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-option:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateX(-5px);
}

.service-option i {
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.service-option.whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.service-option.phone:hover {
    background-color: var(--primary);
    color: white;
}

.service-option.email:hover {
    background-color: var(--secondary);
    color: white;
}

/* Animación de pulso para el botón principal */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 107, 138, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(58, 107, 138, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(58, 107, 138, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 767.98px) {
    .floating-customer-service {
        bottom: 15px;
        right: 15px;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
    }

    .service-options {
        width: 180px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .floating-btn {
        width: 50px;
        height: 50px;

    }

    .floating-btn i {
        font-size: 1.3rem;
    }

    .service-options {
        width: 160px;
        padding: 12px;
    }

    .service-option {
        padding: 8px;
        font-size: 0.9rem;
    }


}


/* Asegurar que el botón flotante esté por encima del footer */
.floating-customer-service {
    z-index: 9999 !important; /* Valor muy alto para asegurar visibilidad */
}

/* Ajustar posición en móviles para evitar superposición con footer */
@media (max-width: 767.98px) {
    .floating-customer-service {
        bottom: 80px !important; /* Ajusta este valor según la altura de tu footer */
        right: 15px;
    }

    /* Asegurar que el footer no tape el botón */
    .footer {
        position: relative;
        z-index: 1; /* Menor que el botón flotante */
    }
}

/* Prevenir que elementos con alta especificidad afecten al botón */
body .floating-customer-service {
    position: fixed !important;
}

/* Asegurar que el contenedor del botón tenga la stacking context correcta */
.floating-customer-service {
    transform: translateZ(0); /* Crea un nuevo contexto de apilamiento */
}

.select2-container--default .select2-selection--single {
    height: 37px !important;
    padding: 5px 8px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
}

.station-with-cost {
    font-weight: bold;
    color: #dc3545;
}

/* === Banner principal === */
.main-banner {
  width: 100%;
  overflow: hidden;
}

/* El Swiper ocupa todo el ancho */
.bannerSwiper {
  width: 100%;
  height: auto;
}

/* Cada slide se centra correctamente */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor del banner */
.banner-slide {
  position: relative;
  width: 100%;
  height: auto;
}

/* 🔥 La imagen se adapta sin recortes ni fondos extras */
.banner-image {
  width: 100%;
  height: auto;              /* Mantiene proporción original */
  object-fit: contain;       /* Muestra toda la imagen */
  display: block;
}

/* Overlay opcional, transparente */
.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;      /* No bloquea clics sobre la imagen */
}

/* Si en el futuro quieres que tenga un fondo oscuro o degradado: */
/* .banner-overlay {
     background: rgba(0, 0, 0, 0.3);
   } */

/* === Responsividad === */
@media (max-width: 768px) {
  .banner-image {
    width: 100%;
    height: auto;
  }
}

