:root {    
    --primary: #5B976E; /* Verde Olivo/Salvia */    
    --secondary: #509CB1;  /* Azul Grisáceo / Secundario */
    
    --gray: #F5F5F5;
    --black: #080000;
    --white: #ffffff; 
    --aux-green: #5CB85C;
}
@font-face {
    font-family: 'Bradley-Hand';
    src: url('/wp-content/themes/elro/fonts/Bradley-Hand-Regular.woff2') format('woff2'),
        url('/wp-content/themes/elro/fonts/Bradley-Hand-Regular.woff') format('woff');
}

/* GENERAL */
body {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 0;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
main section:not(:first-of-type) {
    padding-top: 100px;
}
main .page a,
main .page a:visited {
    color: var(--black);
}
main .page a:hover {
    color: var(--secondary);
}
p {
    text-align: justify;
}
.bg-primary {
    background-color: var(--primary);
}
.bg-secondary {
    background-color: var(--secondary);
}
.bg-black {
    background-color: var(--black);
}
.bg-gray {
    background-color: var(--gray);
}
.bg-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
}
.big {
    font-size: 1.2rem;
}
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn-primary-outline,
.btn-primary-outline:visited {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-primary-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}
.btn-secondary {
    background-color: var(--secondary);
    border-color: var(--secondary);
}
.btn-secondary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}
.btn-white-outline,
.btn-white-outline:visited {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-white-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}
.centered {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}
.content-area {
    margin-top: 96px;
}
.content-title {
    text-transform: uppercase;
}
.content-title span {
    display: block;
    letter-spacing: 0.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.display-5 {
    font-weight: 600;
}
.dropdown-item,
.dropdown-item.active, 
.dropdown-item:focus,
.dropdown-item:visited {
    background-color: transparent;
    color: var(--black);
}
.dropdown-item:hover {
    background-color: var(--primary);
    color: var(--white);
}
.form-control {
    padding: .375rem .75rem !important;
}
.fw-600 {
    font-weight: 600;
}
.fw-800 {
    font-weight: 800;
}
.img-full {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.offcanvas {
    z-index: 20000;
}
.modal-backdrop.show,
.offcanvas-backdrop.show {
    opacity: 1;
    backdrop-filter: blur(0.5rem);
    background-color: rgba(0, 0, 0, 0.6);
}
.smaller {
    font-size: 0.7rem;
}
.text-primary {
    color: var(--primary) !important;
}
.text-secondary {
    color: var(--secondary) !important;
}
.post, .page {
    margin-bottom: 0;
}
/* GENERAL */

/* HEADER */
header .custom-logo {
    height: auto;
    max-width: 90px;
    padding: 1rem 0;
}
header .logo-container,
#sideMenu .logo-container {
    position: relative;
    display: inline-block; 
    margin-left: 0.5rem;
    height: 90px;
    width: 90px;
}
header .logo-video-wrapper,
#sideMenu .logo-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

header .logo-dynamic,
#sideMenu .logo-dynamic {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}
header .nav-link:visited {
    color: var(--black);
}
header .nav-link {
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    padding: 2.25rem 1rem !important;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}
#webMenu .nav-item .nav-link::before {
    content: '';
    display: block;
    background-color: var(--secondary);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-100%); 
    transition: transform 0.3s ease-in-out;
    z-index: -1; 
}

#webMenu .nav-item .nav-link:hover {
    color: var(--white) !important; 
}
#webMenu .nav-item .nav-link:hover::before {
    background-color: var(--primary);
    transform: translateY(0); 
}
#webMenu .nav-item.current-menu-item .nav-link {
    color: var(--white) !important;
}
#webMenu .nav-item.current-menu-item .nav-link::before {
    transform: translateY(0); 
}

header .extra-elements {
    display: flex;
    align-items: center;
}
header .extra-elements .flags-container,
header .extra-elements .gtranslate_wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.8rem;
    align-items: center;
    justify-self: center;
    margin-right: 1rem;
}
header .extra-elements .flags-container img,
header .extra-elements .gtranslate_wrapper img {
    width: 35px;
    height: auto;
}
.gtranslate_wrapper .gt-current-lang img {
    box-shadow: 0px 0px 10px 3px var(--secondary);
}
header .extra-elements .btn-contact {
    background-color: var(--secondary);
    color: var(--white);
    padding: 2.25rem 1.5rem;
}
header .extra-elements .btn-contact .circle {
    animation: pulse 2s infinite;
    backface-visibility: hidden;
    border-radius: 50%;
    box-shadow: 0px 0px 1px 1px #0000001a;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
}
header .extra-elements .btn-contact .circle i {
    font-size: 2em;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    }
    5% {
        transform: scale(1.01);
    }
    15% {
        transform: scale(1);
    }
    100% {
        box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
    }
}

header .navbar-toggler {
    margin-left: 1rem;
}

#sideMenu {
    background-color: var(--white);
    width: 75%;
}
#sideMenu a,
#sideMenu a:visited,
#sideMenu a:hover {
    color: var(--secondary);
    font-weight: 600;
}
#sideMenu .nav-link.active {
    color: var(--primary);
}
#sideMenu .flags-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 1rem;
    margin: 0.5rem 0;
}
#sideMenu .flags-container img {
    max-width: 50px;
    height: auto;
}
#sideMenu .gtranslate_wrapper {
    display: flex;
    gap: 1rem;
}
#sideMenu .gtranslate_wrapper img {
    width: 40px;
}
form a,
form a:visited,
form a:hover {
    color: var(--black);
}
#contactForm {
    width: 100%;
}
#contactForm .offcanvas-body {
    padding: 1rem 2rem;    
}
.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
#contact .contact-info {
    margin-bottom: 1.5rem;
}
.contact-info.baseline {
    align-items: baseline;
}
.contact-info i {
    font-size: 1.2rem;
    color: var(--secondary);
}
.contact-info a,
.contact-info a:visited,
.contact-info a:hover {
    color: var(--black);
}
/* HEADER */

/* FOOTER */
footer {
    color: var(--white);
    padding: 1.5rem 0;
    position: relative;
    z-index: 9999;
}
footer p {
    margin-bottom: 0;
}
footer a,
footer a:visited,
footer a:hover {
    color: var(--white);
}
footer a {
    display: block;
    text-align: center;
}
.floated-wa {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    height: 60px;
    width: 60px;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}
.floated-wa i {
    color: #fff;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    animation: pulse-icon 2s infinite;
}
@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }    
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
@keyframes pulse-icon {
    0% {
        transform: scale(1.05);
    }
    15% {
        transform: scale(1);
    }
}
/* FOOTER */

/* INDEX */
#homeSlider .carousel-overlay {
    background: linear-gradient(180deg,#5A976E 0%, #509CB0 50%);
    mix-blend-mode: multiply;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-100%); 
    transition: transform 0.3s ease-in-out;
    z-index: 2; 
}
#homeSlider:hover .carousel-overlay {
    transform: translateX(0); 
}
#homeSlider .carousel-inner {
    height: calc(100dvh - 307px);
}
#homeSlider .content-info {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    height: 100%;
    width: 100%;
}
#hero .content-info .content-title {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 1.8rem;
}
#hero p,
#hero a {
    text-shadow: 1px 1px var(--black);
}

#services .container {
    padding-top: 100px;
}
#services .service h3 {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}
#services .service p {
    line-height: 2;
    font-size: 0.9rem;
}
#services .service .content-img {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
#services .service .content-img::before {
    content: '';
    display: block;    
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(-101%); 
    transition: transform 0.3s ease-in-out;     
}
#services .service .content-img.hover-1::before {
    background: var(--secondary);
    z-index: 0;
}
#services .service .content-img.hover-2::before {
    background: linear-gradient(180deg,#5A976E 0%, #509CB0 50%);
    mix-blend-mode: multiply;
    z-index: 1;
}
#services .service .content-img:hover::before {
    transform: translateX(0);
}
#services .service .content-img:hover img {
    transform: scale(1.2);
}
#services .service .content-img img {
    object-fit: cover;
    height: 300px;
    width: 100%;
    transition: all 0.3s ease-in-out;
}
#automation,
#robotic,
#movement,
#numeric,
#board,
#uvie,
#other,
#marketing {
    scroll-margin-top: 100px;
    scroll-behavior: smooth;
}

#modalServices .btn-close,
#modalProduct .btn-close {
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 50%;
    border: 2px solid var(--black);
    padding: 7px;
    font-size: 10px;
    z-index: 1;
}
#modalServices .modal-content {
    height: 550px;
    border-radius: 1.5rem;
    overflow: hidden;
}
#modalServices .modal-body {
    padding: 0;    
}
#modalServices .modal-body .bullets {
    margin-left: 0;
}
#modalServices .modal-body .img-service {
    height: 100%;
    width: 100%;
}
#modalServices .modal-body .logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
}
#modalServices .modal-body .logos img {
    max-width: 150px;
    height: 65px;
    object-fit: contain;
}

#sectors .content {    
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 230px;
    overflow: hidden;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    isolation: isolate;
}
#sectors .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    z-index: 2;
    transition: all 0.6s ease;
}
#sectors .content:hover::before {
    background-color: rgba(255,255,255,0);
}
#sectors .content span {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    z-index: 3;
}
#sectors .content img {
    position: absolute;
    left: 0;
    top: -10%;
    object-fit: cover;
    height: calc(100% + 40px);;
    width: 100%;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}
#sectors .content:hover {
    background-color: rgba(255,255,255,0);
}
#sectors .content:hover span {
    opacity: 0;
}
#sectors .content:hover img {
    top: 0;
    z-index: 0;
}

#indexBanner {
    height: 450px;
}
/* INDEX */

/* NOSOTROS */
#aboutUsHeader .content-img {
    position: relative;
    height: calc(100dvh - 255px);    
}
#aboutUsHeader .content-img img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}
#aboutUsHeader .content-img .overlay {    
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    /* background: linear-gradient(180deg,#5A976E 0%, #509CB0 50%); */
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(245, 245, 245, 0.5) 50%); */
    background: #509CB1;
    mix-blend-mode: multiply;
    animation-name: slideInRight;
    animation-duration: 6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2; 
}
#aboutUsHeader .content-img .text {    
    position: absolute;
    left: 50%;
    right: 50%;    
    top: 0;
    height: 100%;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation-name: slideInCentered;
    animation-duration: 6s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}
@keyframes slideInRight {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    30% {
        transform: translateX(0);  
        opacity: 1;      
    }
    70% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}
@keyframes slideInCentered {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    30% {
        transform: translateX(-50%);
        opacity: 1;      
    }
    70% {
        transform: translateX(-50%);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}
#aboutUsHeader .content-img .text h2 {
    /* background-color: var(--white); */
    color: var(--primary);
    font-family: 'Bradley-Hand';
    text-shadow: 0px 0px 2px rgba(255,255,255,0.3);
    font-size: calc(3rem + 1vw);
    margin-bottom: 0;
    padding: 1rem;
    text-align: center;
}

#usMissionVision .logo-container {
    position: relative;
    display: flex;
    height: 100%;
    width: 100%;
}
#usMissionVision .logo-container img {
    margin: auto;
    width: 65%;
}

#usMissionVision h2 {
    font-size: 1.2rem;
}

#usMissionVision .content-img {
    border: 2px solid var(--white);
    border-radius: 50%;
    margin: auto;
    height: 230px;
    width: 230px;
    overflow: hidden;
}
/* NOSOTROS */

/* BLOG */
.blog a,
.blog a:visited {
    color: inherit;
}
#entrances .row .border,
#single .row .border {
    border: 1px solid var(--gray) !important;
}
#entrances article {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 2.5rem 1.5rem;
    height: 100%;
}
#entrances article .content-img {
    overflow: hidden;    
}
#entrances article .content-img:hover img {
    transform: scale(1.2);
}
#entrances article img {
    height: 200px;
    transition: all 0.3s ease-in-out;
}
#entrances article .category {
    font-size: 0.8rem;
    letter-spacing: 2px;
}
#entrances article .excerpt {
    flex: 1;
    line-height: 2;
}
#entrances article a,
#entrances article a:visited {
    color: var(--black);
}
#single .category {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
#single .padding {
    padding: 2rem 0;
}
/* BLOG */

/* BLOSA DE TRABAJO */
#jobBoard {
    display: flex;
    align-items: center;
}
/* BLOSA DE TRABAJO */

/* FORM */
.wpcf7-form label {
    font-weight: 600;
    margin-bottom: 1rem;
}
.wpcf7-form p {
    margin-bottom: 0;
}
.wpcf7-form .wpcf7-submit {
    background: transparent;
    border: none;
    color: var(--secondary);
    font-weight: 800;
    margin-bottom: 0.4rem;
    padding-left: 0.3rem;
    text-align: center;
    text-transform: uppercase;
}
#contactForm .wpcf7-form .wpcf7-submit,
#contact .wpcf7-form .wpcf7-submit {
    color: var(--black);
}
.cf7-submit-wrapper p {
    position: relative;
}
.cf7-submit-wrapper p i {
    position: absolute;
    left: 155px;
    top: 10px;
}
/* FORM */

/***** WOOCOMMERCE *****/
#shop-page-wrapper {
    height: 100%;
}
#shop-page-wrapper > .row {
    margin: 0;
    height: 100%;
    display: flex;
}
/* ------------------------------------------- */
/* Categorías */
/* ------------------------------------------- */
#categorySidebar {
    flex: 0 0 auto;
    padding: 0;
    transition: width 0.3s ease-in-out;
    width: 100%;
    min-width: 70px; /* Mínimo para íconos */
}

#categoryResponsive {
    background-color: var(--primary);
    width: 85%;
}
#categoryResponsive .btn-close {
    background: none;
    opacity: 1;
}
#categoryResponsive .btn-close i {
    color: var(--white);
    font-size: 1.2rem;
}

#categorySidebar .sidebar-content {
    background-color: var(--primary); 
    color: var(--white);
    height: 100%; 
    max-height: calc(100% - 96px);
    overflow-y: auto;
    padding: 1rem;
    position: fixed;
    transition: all 0.3s ease-in-out;
    width: inherit;
    z-index: 10;
}

/* Estado colapsado - solo íconos */
#categorySidebar.collapsed .sidebar-content {
    padding: 2rem 0.5rem;
    height: 50%;
    min-height: 330px;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

#categorySidebar.collapsed .sidebar-content .sidebar-toggle-btn {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
}

#categorySidebar.collapsed .sidebar-content .sidebar-toggle-btn .content-img,
#categorySidebar.collapsed .sidebar-content .btn-category .content-img {
    margin: 0 auto 0.5rem;
    width: 25px;
}

#categorySidebar.collapsed .sidebar-content .product-category-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#categorySidebar.collapsed .sidebar-content .parent-category-item {
    width: 100%;
    margin-bottom: 0.5rem;
}

#categorySidebar.collapsed .sidebar-content .btn-category {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    justify-content: center;
}

/* Estilo del botón de colapso */
.sidebar-toggle-btn {
    background: var(--primary);
    border: none;
    color: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    padding: 1rem;
    transition: all 0.3s ease;
}

.sidebar-toggle-btn .content-img {
    margin-right: 0.5rem;
    height: auto;
    width: 15px;
    transition: all 0.3s ease;
}

.sidebar-toggle-btn h5 {
    font-size: 1rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.sidebar-toggle-btn i {
    margin-left: auto;
    transition: transform 0.3s ease;
}

/* --- 1. Estilos del Listado General --- */
.product-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-category-list .parent-category-item {
    margin-bottom: 0.5rem;
}

.product-category-list .parent-category-item .content-img {
    margin-right: 0.5rem;
    height: auto;
    width: 15px;
    transition: all 0.3s ease;
}

.product-category-list .parent-category-item .content-img img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

/* --- 2. Botón Padre (Toggle) --- */
.btn-category {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}
.btn-category,
.btn-category:visited,
.btn-category:hover {
    color: var(--white);
}
.btn-category:hover,
.btn-category.active,
.link-category:hover,
.link-category.active {
    background-color: rgba(0, 0, 0, 0.1);
}
.btn-category.active,
.link-category.active {
    font-weight: 600;
}

.btn-category span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

/* --- 3. Listado de Hijos --- */
.category-children {
    padding-left: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}
.children-list {
    margin-left: 1.4rem;
}
.children-list a {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    padding: 0 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ------------------------------------------- */
/* Productos */
/* ------------------------------------------- */
#productsContent {
    background-color: var(--gray);
    flex: 0 0 auto;
    min-height: calc(100vh - 168px);
    transition: width 0.3s ease-in-out;
    width: 100%;
}
/* Asegura que los productos se alineen bien en la grilla */
.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
}
.products .card {
    background: transparent;
    border: none;
    cursor: pointer;
}
.products .card .content-img {
    background-color: var(--white);
    border-radius: 1rem;
    height: 200px;
    margin-bottom: 1rem;
    overflow: hidden;
    padding: 1.2rem;
}
.products .card .content-img img {
    object-fit: contain;
}
.products .card .title {
    font-weight: 800;
}

/* MODAL PRODUCT */
#modalProduct .modal-content {
    border-radius: 1rem;
    overflow: hidden;
}
#modalProduct .content-title {
    padding: 0 2rem;
}
#modalProduct .content-title span {
    display: inline-block;
    margin-bottom: 0.5rem;
}
#modalProduct .info {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#modalProduct .swiper-modal-product .swiper-slide {
    cursor: zoom-in;
    margin: auto;
    overflow: hidden;
    touch-action: none;
}
#modalProduct .swiper-modal-product .swiper-slide img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform, transform-origin;
}
#modalProduct .swiper-modal-product .swiper-slide:hover img {
    transform: scale(2);
    transition: transform 0.1s ease;
}
.swiper-button-next, 
.swiper-button-prev {
    color: var(--secondary);
    height: 30px;
    width: auto;
}
#modalProduct .tech-specs {
    border-top: 1px solid var(--bs-border-color);
    border-bottom: 1px solid var(--bs-border-color);
    margin-bottom: 1rem;
    padding: 1rem;
}
#modalProduct .tech-specs a,
#modalProduct .tech-specs a:visited,
#modalProduct .tech-specs a:hover {
    color: var(--black);
}
.fancybox-stage {
    backdrop-filter: blur(0.5rem);
}
.modal-loader {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.modal-loader .spinner-border {
    width: 3rem;
    height: 3rem;
    color: #5B976E !important; 
}
/* MODAL PRODUCT */

/* BREADCRUMB */
.woocommerce-breadcrumb {
    list-style: none;
    margin-left: 0;
    padding-left: 0.25rem;
    color: var(--secondary);
    display: flex;
    font-weight: 600;
}
/* Separador (el símbolo ">") */
.woocommerce-breadcrumb li::after {
    content: '>';
    padding: 0 5px;
    color: var(--secondary);
}
.woocommerce-breadcrumb li:last-child::after {
    content: none;
}
.woocommerce-breadcrumb a,
.woocommerce-breadcrumb a:visited,
.woocommerce-breadcrumb a:hover {
    color: inherit;
}
/* BREADCRUMB */

/* PAGINATION */
.woocommerce-pagination {
    clear: both; /* Asegura que la paginación esté debajo de todos los productos */
    text-align: center;
    padding: 30px 0;
    margin: 0;
}
.woocommerce-pagination ul.page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.woocommerce-pagination a.page-numbers,
.woocommerce-pagination span.page-numbers {
    padding: 8px 15px;
    min-width: 45px;
    height: 45px;
    line-height: 29px;
    display: block;
    border: 1px solid #ddd;
    font-weight: 500;
    color: var(--black);
    background-color: var(--white);
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}
.woocommerce-pagination a.page-numbers:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--white);
}
.woocommerce-pagination span.page-numbers.current {
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
    cursor: default;
}
.woocommerce-pagination a.prev,
.woocommerce-pagination a.next {
    font-size: 0;
}
.woocommerce-pagination a.prev:before,
.woocommerce-pagination a.next:before {
    font-family: 'Font Awesome 6 Free';
    font-size: 1.2rem;
    font-weight: 900;
}
.woocommerce-pagination a.prev:before {
    content: '\f104';    
}
.woocommerce-pagination a.next:before {
    content: '\f105';
}
/* PAGINATION */
.woocommerce-info {
    background-color: transparent !important;
}
/***** WOOCOMMERCE *****/