/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    /*color: var(--bs-secondary) !important;*/
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    /*border-radius: 10px !important;*/
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}

/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    position: relative;
    overflow: hidden;
    background: none; /* Elimina el background de imagen */
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Ajusta los colores del texto para mejor contraste sobre el video */
.hero-header .text-dark {
    color: #ffffff !important;
}

.hero-header .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Para el carrusel en el hero */
.hero-visual {
    position: relative;
    z-index: 2;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Asegura que el contenido tenga buen contraste */
.hero-header h1,
.hero-header h2,
.hero-header h3,
.hero-header h4,
.hero-header h5,
.hero-header h6 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-background-video {
        object-position: 65% center; /* Ajusta la posición en móviles si es necesario */
    }
    
    .hero-header .display-4 {
        font-size: 2.5rem;
    }
}

/* Optimización para performance */
.hero-background-video {
    will-change: transform;
    transform: translateZ(0);
}

/* Para navegadores que no soportan video o tienen datos reducidos */
@media (prefers-reduced-motion: reduce) {
    .hero-background-video {
        display: none;
    }
    
    .hero-header {
        background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(244 246 248)), url(../assets/img/banners/hero_header.jpg);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../assets/img/banners/1240813_9608.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {

    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {

    .hero-header,
    .page-header {
        /*margin-top: 97px !important;*/
    }

    .header-info {
        margin-top: 97px !important;
    }
}

/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);

}

/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px;
    height: 130px;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}

.fruite .fruite-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
    padding: 10px;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}

/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}

/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}

/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    /*display: inline-block;*/
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-secondary);
    color: var(--bs-light);
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}

/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}

/*** Footer End ***/

/* Productos */
.fruite-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fruite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.fruite-img img {
    transition: transform 0.3s ease;
}

.fruite-item:hover .fruite-img img {
    transform: scale(1.05);
}

/* Spinner personalizado */
.spinner-border {
    width: 3rem;
    height: 3rem;
}


.fruite-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.fruite-item .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fruite-item .mt-auto {
    margin-top: auto;
}

/* Estilos para la búsqueda */
.hover-bg:hover {
    background-color: #f8f9fa !important;
}

.search-result-item {
    transition: all 0.2s ease-in-out;
    border-radius: 5px;
}

.search-result-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#search-results {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#search-results::-webkit-scrollbar {
    width: 6px;
}

#search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.text-bg-primary {
    color: white;
}

.descripcion-container iframe {
    width: 100%;
}

.descripcion-container [class*="col-"] {
    margin-bottom: 20px;
}

/* Estilos integrados con tu CSS existente */
.mega-menu .dropdown-menu {
    width: 1000px;
    max-width: 95vw;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border: none;
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    margin-top: 10px;
}

.category-section {
    background: var(--bs-light);
    border-radius: 10px;
    padding: 15px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.category-header {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--bs-primary);
}

.category-list {
    height: 380px;
    overflow-y: auto;
    padding-right: 10px;
}

.category-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.5s ease;
    border: 1px solid transparent;
    background: var(--bs-white);
}

.category-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-item.active {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-color: var(--bs-secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.category-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-name {
    font-weight: 500;
    font-size: 0.95rem;
}

.category-arrow {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: transform 0.5s ease;
}

.category-item.active .category-arrow,
.category-item:hover .category-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.subcategory-section {
    height: 450px;
    position: relative;
}

.subcategory-initial {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    opacity: 0.7;
}

.subcategory-dynamic {
    height: 100%;
    overflow-y: auto;
    display: none;
    padding-right: 10px;
}

.subcategory-dynamic.active {
    display: block;
}

.subcategory-header {
    background: var(--bs-primary);
    color: var(--bs-white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.subcategory-card {
    background: var(--bs-white);
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.subcategory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--bs-primary);
}

.subcategory-card h6 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1rem;
    border-bottom: 2px solid var(--bs-secondary);
    padding-bottom: 8px;
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subcategory-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bs-light);
    transition: all 0.5s ease;
}

.subcategory-list li:last-child {
    border-bottom: none;
}

.subcategory-list li a {
    color: var(--bs-dark);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    transition: all 0.5s ease;
    padding: 5px 0;
}

.subcategory-list li:hover {
    background: var(--bs-light);
}

.subcategory-list li:hover a {
    color: var(--bs-primary);
    padding-left: 10px;
}

.sub-subcategory-list {
    margin-left: 15px;
    border-left: 2px solid var(--bs-secondary);
    padding-left: 15px;
    margin-top: 5px;
}

.sub-subcategory-list li {
    border-bottom: 1px solid #f8f9fa;
}

.sub-subcategory-list li:last-child {
    border-bottom: none;
}

/* Loading spinner integrado con tu estilo */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner.active {
    display: block;
}

.spinner-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 3px;
}

/* Estados vacíos y errores */
.empty-state,
.error-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i,
.error-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h5,
.error-state h5 {
    color: var(--bs-primary);
    margin-bottom: 15px;
}

/* Scrollbar personalizado - integrado con tu estilo */
.category-list::-webkit-scrollbar,
.subcategory-dynamic::-webkit-scrollbar {
    width: 6px;
}

.category-list::-webkit-scrollbar-track,
.subcategory-dynamic::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb,
.subcategory-dynamic::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb:hover,
.subcategory-dynamic::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}

/* Responsive - integrado con tus breakpoints */
@media (max-width: 1200px) {
    .mega-menu .dropdown-menu {
        width: 95vw;
        max-width: 95vw;
    }

    .navbar .nav-item .dropdown-menu {
        transform: rotateX(-75deg);
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
    }
}

@media (max-width: 992px) {
    .mega-menu .dropdown-menu {
        width: 100%;
        max-width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none !important;
        border-radius: 0;
        margin-top: 0;
    }

    .category-section {
        height: 200px;
        margin-bottom: 20px;
    }

    .subcategory-section {
        height: calc(100vh - 250px);
    }

    .category-list {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .subcategory-grid {
        grid-template-columns: 1fr;
    }

    .subcategory-card {
        padding: 15px;
    }

    .navbar {
        height: auto;
        padding: 10px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Animaciones suaves integradas con tus transiciones */
.category-item,
.subcategory-card,
.subcategory-list li a {
    transition: all 0.5s ease;
}

/* Efectos hover consistentes con tu tema */
.btn-link:hover {
    color: var(--bs-secondary) !important;
}

.subcategory-list li a:hover {
    color: var(--bs-primary) !important;
}

.titulo_categoria:hover {
    color: var(--bs-white) !important;
}

/*Carrito de Compras*/
/* Ajustes específicos para móviles en el carrito */
@media (max-width: 576px) {
    .shop-car-row {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .products-list {
        margin-bottom: 50px;
    }

    /* También podrías ajustar el contenedor principal */
    .container-fluid.py-5 {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* Estilos adicionales para los formularios */
.form-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.form-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.form-toggle-btn {
    padding: 10px 30px;
    border: 2px solid var(--bs-primary);
    background: transparent;
    color: var(--bs-primary);
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.form-toggle-btn:first-child {
    border-radius: 5px 0 0 5px;
}

.form-toggle-btn:last-child {
    border-radius: 0 5px 5px 0;
}

.form-toggle-btn.active {
    background: var(--bs-primary);
    color: white;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 181, 36, 0.25);
}

.btn-primary {
    color: white;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    color: white;
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.facebook {
    background: #3b5998;
}

.google {
    background: #dd4b39;
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dee2e6;
}

.divider-text {
    padding: 0 15px;
    color: #6c757d;
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.input-group-text {
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(255, 181, 36, 0.25);
}

.input-group:focus-within .input-group-text {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #dee2e6;
}

.divider-text {
    padding: 0 15px;
    color: #6c757d;
    font-size: 0.875rem;
}

.social-login .btn {
    border-radius: 8px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.social-login .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cursor-pointer {
    cursor: pointer;
}

.btn-close:focus {
    box-shadow: none;
}

/* Estilos para el contador del carrito */
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
    z-index: 1000;
}

/* Contenedor del carrito para posicionamiento relativo */
.d-flex .my-auto {
    position: relative;
    display: inline-block;
}

/* Icono del carrito */
.bx-cart {
    font-size: 1.5rem;
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

/* Efecto hover en el icono del carrito */
.d-flex .my-auto:hover .bx-cart {
    color: var(--bs-secondary);
    transform: scale(1.1);
}

.d-flex .option-nav:hover {
    color: var(--bs-secondary);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Efecto hover en el contador */
.d-flex .my-auto:hover .cart-count {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
}

/* Animación de pulso para llamar la atención */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(255, 107, 107, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
    }
}

/* Para números de dos dígitos */
.cart-count.double-digit {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
}

/* Para números de tres dígitos */
.cart-count.triple-digit {
    width: 28px;
    height: 28px;
    font-size: 0.65rem;
    top: -10px;
    right: -10px;
}

/* Efecto cuando se agrega un producto */
.cart-count.added {
    animation: bounce 0.6s ease;
}

@keyframes bounce {

    0%,
    20%,
    60%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(-5px);
    }
}

/* Versión minimalista alternativa */
.cart-count.minimal {
    background: var(--bs-primary);
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: none;
}

/* ========== RESPONSIVE ========== */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
    .cart-count {
        top: -10px;
        right: -10px;
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        border-width: 1.5px;
    }

    .bx-cart {
        font-size: 1.3rem;
    }

    .cart-count.double-digit {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    .cart-count.triple-digit {
        width: 22px;
        height: 22px;
        font-size: 0.6rem;
        top: -8px;
        right: -8px;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .cart-count {
        top: -7px;
        right: -7px;
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
        border-width: 1px;
    }

    .bx-cart {
        font-size: 1.2rem;
    }

    .cart-count.double-digit {
        width: 18px;
        height: 18px;
        font-size: 0.6rem;
    }

    .cart-count.triple-digit {
        width: 20px;
        height: 20px;
        font-size: 0.55rem;
        top: -6px;
        right: -6px;
    }
}

/* Móviles pequeños */
@media (max-width: 576px) {
    .cart-count {
        top: -7px;
        right: -7px;
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
        border-width: 1px;
    }

    .bx-cart {
        font-size: 1.1rem;
    }

    .cart-count.double-digit {
        width: 16px;
        height: 16px;
        font-size: 0.55rem;
    }

    .cart-count.triple-digit {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
        top: -5px;
        right: -5px;
    }

    /* Reducir animación en móviles para mejor rendimiento */
    .cart-count {
        animation: pulse-mobile 3s infinite;
    }

    @keyframes pulse-mobile {
        0% {
            transform: scale(1);
            box-shadow: 0 1px 4px rgba(255, 107, 107, 0.4);
        }

        50% {
            transform: scale(1.03);
            box-shadow: 0 2px 6px rgba(255, 107, 107, 0.5);
        }

        100% {
            transform: scale(1);
            box-shadow: 0 1px 4px rgba(255, 107, 107, 0.4);
        }
    }
}

/* Pantallas muy pequeñas (iPhone SE, etc) */
@media (max-width: 375px) {
    .cart-count {
        top: -7px;
        right: -7px;
        width: 13px;
        height: 13px;
        font-size: 0.55rem;
    }

    .bx-cart {
        font-size: 1rem;
    }

    .cart-count.double-digit {
        width: 15px;
        height: 15px;
        font-size: 0.5rem;
    }

    .cart-count.triple-digit {
        width: 17px;
        height: 17px;
        font-size: 0.45rem;
    }
}

/* Orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .cart-count {
        top: -8px;
        right: -7px;
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
    }
}

/* Para dispositivos con modo alto contraste */
@media (prefers-contrast: high) {
    .cart-count {
        border: 2px solid #000;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    }
}

/* Para dispositivos que prefieren movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .cart-count {
        animation: none;
    }

    .d-flex .my-auto:hover .cart-count {
        transform: none;
    }
}


/* ========== BUSQUEDA EN MENÚ - VERSIÓN MOBILE CORREGIDA ========== */
@media (max-width: 375px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 350px !important;
        z-index: 1070;
    }
    .search-result-item .row {
        margin: 0 -3px;
    }
    
    .search-result-item .col-3,
    .search-result-item .col-7,
    .search-result-item .col-2 {
        padding: 0 3px;
    }
    
    .search-result-item .col-3 {
        width: 28% !important;
    }
    
    .search-result-item .col-7 {
        width: 72% !important;
    }
    
    .search-result-item h6 {
        font-size: 0.8rem;
    }
    
    .search-result-item .special-price {
        font-size: 0.85rem;
    }
}

@media (max-height: 736px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 350px !important;
        z-index: 1070;
    }
    .search-result-item .row {
        margin: 0 -3px;
    }
    
    .search-result-item .col-3,
    .search-result-item .col-7,
    .search-result-item .col-2 {
        padding: 0 3px;
    }
    
    .search-result-item .col-3 {
        width: 28% !important;
    }
    
    .search-result-item .col-7 {
        width: 72% !important;
    }
    
    .search-result-item h6 {
        font-size: 0.8rem;
    }
    
    .search-result-item .special-price {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .search-results-dropdown {
        top: 60px !important;
        left: 5px !important;
        right: 5px !important;
        width: calc(100% - 10px) !important;
        max-width: calc(100% - 10px) !important;
    }
    
    .search-results-content {
        padding: 0.5rem;
    }
    
    .search-result-item {
        padding: 0.5rem;
    }
    
    .search-result-item .col-3 {
        width: 25% !important;
    }
    
    .search-result-item .col-7 {
        width: 75% !important;
    }
    
    .search-result-item h6 {
        font-size: 0.85rem;
    }
    
    .search-result-item .product-description {
        font-size: 0.7rem;
    }
    
    .search-result-item img {
        height: 50px;
    }
}

@media (max-width: 768px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px !important;
        left: 10px !important;
        right: 10px !important;
        width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 60vh;
        z-index: 1070;
    }
    
    .search-results-content {
        padding: 0.75rem;
    }
    
    .search-result-item {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .search-result-item .row {
        flex-wrap: wrap;
        margin: 0 -5px;
    }
    
    .search-result-item .col-3 {
        width: 30% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-7 {
        width: 70% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-2 {
        width: 100% !important;
        padding: 0 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .search-result-item h6 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-description {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-code {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        padding: 0.15rem 0.35rem;
    }
    
    .search-result-item .product-brand {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item img {
        height: 60px;
        width: 100%;
    }
    
    .search-result-item .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        margin-bottom: 0;
        order: 1;
    }
    
    .search-result-item .price-section {
        margin-top: 0;
        order: 2;
        text-align: right;
        flex-grow: 1;
    }
    
    .search-result-item .normal-price {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .search-result-item .special-price {
        font-size: 0.9rem;
    }
    
    .search-result-item .stock-info {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        width: 100%;
        order: 3;
        text-align: left;
    }
}

@media (max-width: 800px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px !important;
        left: -10px !important;
        right: 10px !important;
        /*width: calc(100% - 20px) !important;
        max-width: calc(100% - 20px) !important;*/
        transform: none !important;
        margin: 0 !important;
        max-height: 60vh;
        z-index: 1070;
    }
    
    .search-results-content {
        padding: 0.75rem;
    }
    
    .search-result-item {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .search-result-item .row {
        flex-wrap: wrap;
        margin: 0 -5px;
    }
    
    .search-result-item .col-3 {
        width: 30% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-7 {
        width: 70% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-2 {
        width: 100% !important;
        padding: 0 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .search-result-item h6 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-description {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-code {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        padding: 0.15rem 0.35rem;
    }
    
    .search-result-item .product-brand {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item img {
        height: 60px;
        width: 100%;
    }
    
    .search-result-item .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        margin-bottom: 0;
        order: 1;
    }
    
    .search-result-item .price-section {
        margin-top: 0;
        order: 2;
        text-align: right;
        flex-grow: 1;
    }
    
    .search-result-item .normal-price {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .search-result-item .special-price {
        font-size: 0.9rem;
    }
    
    .search-result-item .stock-info {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        width: 100%;
        order: 3;
        text-align: left;
    }
}

@media (max-width: 991px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px !important;
        left: 0px !important;
        right: 10px !important;
        max-width: calc(100% + 100px) !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 60vh;
        z-index: 1070;
    }
    
    .search-results-content {
        padding: 0.75rem;
    }
    
    .search-result-item {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .search-result-item .row {
        flex-wrap: wrap;
        margin: 0 -5px;
    }
    
    .search-result-item .col-3 {
        width: 30% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-7 {
        width: 70% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-2 {
        width: 100% !important;
        padding: 0 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .search-result-item h6 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-description {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-code {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        padding: 0.15rem 0.35rem;
    }
    
    .search-result-item .product-brand {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item img {
        height: 60px;
        width: 100%;
    }
    
    .search-result-item .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        margin-bottom: 0;
        order: 1;
    }
    
    .search-result-item .price-section {
        margin-top: 0;
        order: 2;
        text-align: right;
        flex-grow: 1;
    }
    
    .search-result-item .normal-price {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .search-result-item .special-price {
        font-size: 0.9rem;
    }
    
    .search-result-item .stock-info {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        width: 100%;
        order: 3;
        text-align: left;
    }
}

@media (max-width: 1199px) {
    .search-results-dropdown {
        position: fixed;
        top: 60px !important;
        left: 0px !important;
        right: 10px !important;
        transform: none !important;
        margin: 0 !important;
        max-height: 60vh;
        z-index: 1070;
    }
    
    .search-results-content {
        padding: 0.75rem;
    }
    
    .search-result-item {
        padding: 0.75rem;
        border-bottom: 1px solid #e9ecef;
    }
    
    .search-result-item .row {
        flex-wrap: wrap;
        margin: 0 -5px;
    }
    
    .search-result-item .col-3 {
        width: 30% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-7 {
        width: 70% !important;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item .col-2 {
        width: 100% !important;
        padding: 0 5px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .search-result-item h6 {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-description {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.25rem;
        -webkit-line-clamp: 1;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .search-result-item .product-code {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
        padding: 0.15rem 0.35rem;
    }
    
    .search-result-item .product-brand {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .search-result-item img {
        height: 60px;
        width: 100%;
    }
    
    .search-result-item .badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
        margin-bottom: 0;
        order: 1;
    }
    
    .search-result-item .price-section {
        margin-top: 0;
        order: 2;
        text-align: right;
        flex-grow: 1;
    }
    
    .search-result-item .normal-price {
        font-size: 0.75rem;
        margin-bottom: 0.1rem;
    }
    
    .search-result-item .special-price {
        font-size: 0.9rem;
    }
    
    .search-result-item .stock-info {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        width: 100%;
        order: 3;
        text-align: left;
    }
}


/* ========== VERSIÓN MEJORADA PARA TODOS LOS DISPOSITIVOS ========== */
.search-container {
    position: relative;
    width: 100%;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 20%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    z-index: 1060;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 0.5rem;
    width: 800px;
    max-width: 90vw;
}

.search-results-content {
    padding: 1.25rem;
    width: 100%;
}

.search-result-item {
    transition: all 0.2s ease-in-out;
    border-bottom: 1px solid #f1f3f4;
    padding: 1.25rem;
    margin: 0;
    width: 100%;
    cursor: pointer;
}

.search-result-item:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.search-result-item:last-child {
    border-bottom: none;
}

/* Layout para desktop */
.search-result-item .row {
    margin: 0;
    width: 100%;
    align-items: center;
}

.search-result-item .col-3 {
    width: 20%;
    padding: 0 0.75rem 0 0;
}

.search-result-item .col-7 {
    width: 60%;
    padding: 0 1rem;
}

.search-result-item .col-2 {
    width: 20%;
    padding: 0 0 0 0.75rem;
    text-align: right;
}

.search-result-item h6 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 600;
}

.search-result-item .product-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-item .product-code {
    font-size: 0.8rem;
    color: #868e96;
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    display: inline-block;
}

.search-result-item .product-brand {
    font-size: 0.8rem;
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.search-result-item .price-section {
    margin-top: 0.75rem;
}

.search-result-item .normal-price {
    font-size: 0.85rem;
    color: #6c757d;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
}

.search-result-item .special-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-primary);
    margin-bottom: 0;
}

.search-result-item .stock-info {
    font-size: 0.75rem;
    color: #28a745;
    font-weight: 600;
    margin-top: 0.5rem;
}

.search-result-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

.search-result-item .badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.75rem;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
}

/* Estados vacíos */
.search-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.search-empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.search-empty-state h5 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Scrollbar */
.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}


/*** Custom Accordion Styles Start ***/
.custom-accordion {
    width: 100%;
    margin-bottom: 20px;
}

.custom-accordion-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.custom-accordion-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.custom-accordion-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-accordion-header:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.custom-accordion-header.active {
    background: linear-gradient(135deg, var(--bs-primary), #ffa500);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-accordion-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-accordion-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.custom-accordion-header.active .custom-accordion-icon {
    transform: rotate(180deg);
}

.custom-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.custom-accordion-content.active {
    max-height: 5000px;
}

.custom-accordion-body {
    padding: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
}

.custom-accordion-content.active .custom-accordion-body {
    opacity: 1;
    padding: 25px;
}

/* Estilos específicos para la sección de órdenes */
.orders-filter-section {
    background: #fafafa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.orders-table-section {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Ajustes para DataTable en el acordeón */
#dataTable_compras_wrapper {
    margin-top: 20px;
}

#dataTable_compras {
    width: 100% !important;
}

/* Responsive para el acordeón personalizado */
@media (max-width: 768px) {
    .custom-accordion-header {
        padding: 15px 20px;
    }

    .custom-accordion-content.active .custom-accordion-body {
        padding: 15px;
    }

    .custom-accordion-title {
        font-size: 16px;
    }
}

/*** Custom Accordion Styles End ***/


/*** Badge Styles Start ***/
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.badge-pill {
    padding-right: 0.75em;
    padding-left: 0.75em;
    border-radius: 50rem;
}

/* Colores de badges */
.badge-primary {
    color: #fff;
    background-color: var(--bs-primary);
}

.badge-secondary {
    color: #fff;
    background-color: var(--bs-secondary);
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-warning {
    color: #212529;
    background-color: #ffc107;
}

.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

.badge-light {
    color: #212529;
    background-color: #f8f9fa;
}

.badge-dark {
    color: #fff;
    background-color: #343a40;
}

/* Badges outline */
.badge-outline-primary {
    color: var(--bs-primary);
    background-color: transparent;
    border: 1px solid var(--bs-primary);
}

.badge-outline-secondary {
    color: var(--bs-secondary);
    background-color: transparent;
    border: 1px solid var(--bs-secondary);
}

.badge-outline-success {
    color: #28a745;
    background-color: transparent;
    border: 1px solid #28a745;
}

.badge-outline-danger {
    color: #dc3545;
    background-color: transparent;
    border: 1px solid #dc3545;
}

.badge-outline-warning {
    color: #ffc107;
    background-color: transparent;
    border: 1px solid #ffc107;
}

.badge-outline-info {
    color: #17a2b8;
    background-color: transparent;
    border: 1px solid #17a2b8;
}

.badge-outline-light {
    color: #f8f9fa;
    background-color: transparent;
    border: 1px solid #f8f9fa;
}

.badge-outline-dark {
    color: #343a40;
    background-color: transparent;
    border: 1px solid #343a40;
}

/* Badges para estatus de órdenes */
.badge-estatus {
    font-size: 0.7em;
    font-weight: 600;
    padding: 0.4em 0.8em;
}

.badge-pendiente {
    background-color: #ffc107;
    color: #212529;
}

.badge-en-proceso {
    background-color: #17a2b8;
    color: #fff;
}

.badge-resuelto {
    background-color: #28a745;
    color: #fff;
}

.badge-asignado {
    background-color: #007bff;
    color: #fff;
}

.badge-cancelado {
    background-color: #dc3545;
    color: #fff;
}

/* Badges con sombras */
.badge-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge-shadow:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Badges con iconos */
.badge-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-with-icon i {
    font-size: 0.8em;
}

/* Tamaños de badges */
.badge-sm {
    font-size: 0.65em;
    padding: 0.25em 0.5em;
}

.badge-lg {
    font-size: 0.85em;
    padding: 0.5em 1em;
}

.badge-xl {
    font-size: 1em;
    padding: 0.6em 1.2em;
}

/* Badges en tablas */
.table .badge {
    vertical-align: middle;
}

/* Efectos hover */
.badge-hover:hover {
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

/* Badges para cantidades */
.badge-count {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

/* Badges para prioridades */
.badge-priority-high {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.badge-priority-medium {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.badge-priority-low {
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
}

/*** Badge Styles End ***/

/*** Tracking Modal Styles Start ***/
.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bs-primary);
    opacity: 0.3;
}

.tracking-step {
    position: relative;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--bs-primary);
}

.tracking-step.completed {
    background: #e8f5e8;
    border-left-color: #28a745;
}

.tracking-step.current {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.tracking-step .step-icon {
    position: absolute;
    left: -38px;
    top: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bs-white);
    border: 2px solid var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--bs-primary);
}

.tracking-step.completed .step-icon {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.tracking-step.current .step-icon {
    background: #ffc107;
    border-color: #ffc107;
    color: white;
}

.tracking-step .step-date {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 5px;
}

.tracking-step .step-description {
    font-weight: 500;
    margin-bottom: 5px;
}

.tracking-step .step-details {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Dropdown styles para acciones */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--bs-primary);
    color: white;
}

.dropdown-toggle::after {
    margin-left: 5px;
}

/*** Tracking Modal Styles End ***/

/*** Tracking Scroll Styles ***/
.tracking-timeline-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    background: #fafafa;
}

.tracking-timeline-container::-webkit-scrollbar {
    width: 8px;
}

.tracking-timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.tracking-timeline-container::-webkit-scrollbar-thumb {
    background: var(--bs-primary);
    border-radius: 4px;
}

.tracking-timeline-container::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary);
}

/* Para Firefox */
.tracking-timeline-container {
    scrollbar-width: thin;
    scrollbar-color: var(--bs-primary) #f1f1f1;
}

/* Ajustes responsivos para el modal de tracking */
@media (max-width: 768px) {
    .tracking-timeline-container {
        max-height: 250px;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .tracking-timeline-container {
        max-height: 200px;
    }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    flex-shrink: 0;
}

.footer-brand-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.footer-brand-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}


/*** Solución simple - igualar alturas ***/
.vesitable .vegetable-carousel .vesitable-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Toma la altura del contenedor padre */
}

.vesitable .vegetable-carousel .vesitable-img img {
    width: 100%;
    height: auto; /* Imagen en tamaño natural */
}

.vesitable .vegetable-carousel .p-4 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vesitable .vegetable-carousel .btn {
    margin-top: auto;
}

/* Asegurar que Owl Carousel muestre todos los items con la misma altura */
.vegetable-carousel .owl-stage {
    display: flex;
}

.vegetable-carousel .owl-item {
    display: flex;
    height: auto;
}

/* Estilos mejorados para la sección Hero */
/*.hero-header {
    position: relative;
    overflow: hidden;
}*/

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-highlight {
    color: var(--bs-secondary);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 181, 36, 0.3);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    color: #6c757d;
    font-size: 1.1rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-search-container {
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-search-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.hero-search-input {
    border: none;
    padding-left: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-search-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 181, 36, 0.2);
    border-color: var(--bs-primary) !important;
}

.hero-search-btn {
    background: linear-gradient(135deg, var(--bs-primary), #ffa500);
    border: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 181, 36, 0.4);
}

.hero-search-suggestions {
    animation: fadeIn 0.8s ease 0.8s both;
}

.hero-search-suggestions .badge {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-search-suggestions .badge:hover {
    background: var(--bs-primary) !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Estilos para el carousel mejorado */
.hero-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-carousel-inner {
    border-radius: 20px;
}

.hero-carousel-img {
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-carousel:hover .hero-carousel-img {
    transform: scale(1.05);
}

.hero-caption {
    bottom: 30%;
    text-align: left;
    left: 10%;
    right: auto;
}

.hero-caption-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-caption-text {
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-carousel-btn {
    position: absolute;
    bottom: 20%;
    left: 10%;
    z-index: 10;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-carousel-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-indicators {
    bottom: 20px;
}

.hero-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.hero-indicators button.active {
    background-color: var(--bs-primary);
}

.hero-control-prev, .hero-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-carousel:hover .hero-control-prev,
.hero-carousel:hover .hero-control-next {
    opacity: 1;
}

.hero-control-prev {
    left: 20px;
}

.hero-control-next {
    right: 20px;
}

.hero-control-icon {
    filter: invert(1);
    width: 20px;
    height: 20px;
}

/* Elementos decorativos */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-shape-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 181, 36, 0.1), rgba(255, 165, 0, 0.05));
    border-radius: 50%;
}

.hero-shape-2 {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 181, 36, 0.05), rgba(255, 165, 0, 0.1));
    border-radius: 50%;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-caption {
        bottom: 20%;
    }
    
    .hero-carousel-btn {
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-control-prev, .hero-control-next {
        opacity: 1;
        width: 40px;
        height: 40px;
    }
    
    .hero-control-prev {
        left: 10px;
    }
    
    .hero-control-next {
        right: 10px;
    }
}

/* Agrega esto al final de tu style.css */
.vegetable-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.vegetable-carousel .owl-prev,
.vegetable-carousel .owl-next {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: var(--bs-primary) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important;
    font-size: 1.5rem !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid white !important;
    margin: 0 15px !important;
}

.vegetable-carousel .owl-prev:hover,
.vegetable-carousel .owl-next:hover {
    background: var(--bs-secondary) !important;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.vegetable-carousel .owl-prev {
    left: -25px !important;
}

.vegetable-carousel .owl-next {
    right: -25px !important;
}

/* Para pantallas móviles */
@media (max-width: 768px) {
    .vegetable-carousel .owl-prev,
    .vegetable-carousel .owl-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem !important;
        margin: 0 10px !important;
    }
    
    .vegetable-carousel .owl-prev {
        left: -15px !important;
    }
    
    .vegetable-carousel .owl-next {
        right: -15px !important;
    }
}

.bg-footer
{
    background-color: #F4F6F8;
}

.bg-copyright
{
    background-color: #fd7e14;
}

.descripcion-container img
{
    max-width: 100%;
}
