@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Fuente base */
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background-color: white;
    padding: 0;
}

/* Color personalizado para encabezado */
.bg-header {
    background-color: #35979c;
    color: #fff;
}
.bg-eficon{
    background-color: #35979c !important;
}

/* Ajustes de navbar fija */
.sticky-top {
    position: sticky;
    top: 0;
}

/* Cards de producto */
.card {
    border: none;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.03);
}


/* Newsletter */
.newsletter input {
    max-width: 400px;
}

/* Footer */
footer {
    font-size: 0.9rem;
}
.hero-slide {
  height: 540px; /* Desktop */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 600px;
  margin-left: auto;
}
.hero {
  background-image: url('../images/banners/beton_principal.jpg');
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
}
@media (max-width: 768px) {
  .hero-slide {
    height: 350px; /* Móvil */
    text-align: center;
    padding: 20px;
  }
  .hero-content {
    margin: 0 auto;
  }
}

.hero-box {
  border-radius: 10px;
  max-width: 600px;
}
.front-title{
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 26px;
    line-height: 100%;
    color:white;
    letter-spacing: 3px;
}
.titulo{
    font-family: 'Inter';
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: -2%;
    color:white;
}
.text{
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -2%;
    color:white;
}
nav{
    font-family: Inter;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;

}
   .footer {
            background-color: #ffffff;
            padding: 2rem 0;
            font-family: Arial, sans-serif;
        }
        .footer h1 {
            font-size: 1.5rem;
            font-weight: bold;
            margin-bottom: 0;
        }
        .footer h2 {
            font-size: 1.25rem;
            font-weight: bold;
            margin-bottom: 1rem;
        }
        .footer p, .footer a {
            color: #333333;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        .footer-section-title {
            font-weight: bold;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }
        .footer-divider {
            border-top: 1px solid #e0e0e0;
            margin: 1.5rem 0;
        }
        .copyright {
            font-size: 0.8rem;
            color: #666666;
        }
        .footer-links {
            list-style: none;
            padding-left: 0;
        }
        .footer-links li {
            margin-bottom: 0.3rem;
        }
        .footer-links a {
            text-decoration: none;
            color: #333333;
        }
        .footer-links a:hover {
            color: #000000;
        }
        .newsletter-form {
            display: flex;
            gap: 0.5rem;
        }
        .newsletter-input {
            flex-grow: 1;
            padding: 0.375rem 0.75rem;
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
        }
        .payment-icons {
            display: flex;
            gap: 0.5rem;
            justify-content: flex-end;
        }
        .payment-icons i {
            font-size: 1.5rem;
            color: #555;
        }
        .header-row {
            align-items: center;
        }
        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            border-top: 1px solid #e0e0e0;
            margin-top: 1.5rem;
        }
         /* Estilos generales para móvil primero */
        .login-modal {
            max-width: 100%;
            margin: 0 auto;
        }
        
        .login-modal .modal-content {
            border-radius: 12px;
            border: none;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .login-header {
            border-bottom: none;
            padding: 1.5rem 1rem 0;
        }
        
        .login-title {
            font-size: 1.5rem;
            font-weight: 700;
            text-align: center;
            color: #333;
        }
        
        .login-subtitle {
            font-size: 0.9rem;
            color: #6c757d;
            text-align: center;
            margin-bottom: 1.5rem;
        }
        
        .modal-body {
            padding: 1.5rem;
        }
        
        .form-label {
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 0.5rem;
            color: #495057;
        }
        
        .form-control {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #ced4da;
            font-size: 0.95rem;
        }
        
        .form-control:focus {
            border-color: #86b7fe;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.1);
        }
        
        .remember-forgot {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            margin: 1rem 0;
        }
        
        .form-check {
            margin-bottom: 0;
        }
        
        .form-check-input {
            width: 1.1em;
            height: 1.1em;
            margin-top: 0.15em;
        }
        
        .form-check-label {
            font-size: 0.9rem;
            color: #495057;
        }
        
        .forgot-password {
            font-size: 0.9rem;
            font-weight: 600;
            color: #0d6efd;
            text-decoration: none;
        }
        
        .btn-login {
            width: 100%;
            padding: 12px;
            border-radius: 8px;
            font-weight: 600;
            background-color: #0d6efd;
            border: none;
            font-size: 1rem;
        }
        
        .divider {
            position: relative;
            margin: 1.5rem 0;
            text-align: center;
        }
        
        .divider::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #e9ecef;
            z-index: 1;
        }
        
        .divider-text {
            display: inline-block;
            padding: 0 10px;
            background: white;
            position: relative;
            z-index: 2;
            color: #6c757d;
            font-size: 0.85rem;
        }
        
        .social-buttons {
            margin-bottom: 1.5rem;
        }
        
        .social-btn {
            width: 100%;
            padding: 10px;
            margin-bottom: 0.8rem;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 1px solid #e9ecef;
            background: white;
            color: #495057;
        }
        
        .social-btn:hover {
            background-color: #f8f9fa;
        }
        
        .social-btn i {
            font-size: 1.2rem;
        }
        
        .google-btn i {
            color: #DB4437;
        }
        
        .facebook-btn i {
            color: #1877F2;
        }
        
        .register-link {
            text-align: center;
            font-size: 0.95rem;
            color: #6c757d;
        }
        
        .register-link a {
            font-weight: 600;
            color: #0d6efd;
            text-decoration: none;
        }
        
        /* Adaptaciones para desktop */
        @media (min-width: 576px) {
            
            .login-modal {
                max-width: 420px;
            }
            
            .modal-body {
                padding: 2rem;
            }
        }
        
        /* Mejoras para pantallas muy pequeñas */
        @media (max-width: 375px) {
            .login-header {
                padding: 1rem 0.5rem 0;
            }
            
            .modal-body {
                padding: 1rem;
            }
            
            .remember-forgot {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .forgot-password {
                margin-left: 0;
            }
        }
          .hover-scale {
    transition: transform 0.3s ease;
  }

  .hover-scale:hover {
    transform: scale(1.05);
  }
  .card .btn-outline-primary {
  background-color: #fff;
  border: 1px solid #ddd;
  color: #007bff;
}

.card .btn-outline-primary:hover {
  background-color: #007bff;
  color: #fff;
}

.card .badge {
  font-size: 0.7rem;
  padding: 4px 6px;
}

.card-title {
  font-size: 0.9rem;
  margin-top: 10px;
  min-height: 2.5em;
}

.card .btn-sm {
  font-size: 0.8rem;
  padding: 6px 12px;
}

.card img {
  max-height: 160px;
  object-fit: contain;
}

 .bbb_viewed {
     padding-top: 51px;
     padding-bottom: 60px;
 }

 .bbb_main_container {
     padding: 11px
 }

 .bbb_viewed_title_container {
     border-bottom: solid 1px #dadada
 }

 .bbb_viewed_title {
     margin-bottom: 16px;
     margin-top: 8px
 }

 .bbb_viewed_nav_container {
     position: absolute;
     right: -5px;
     bottom: 14px
 }

 .bbb_viewed_nav {
     display: inline-block;
     cursor: pointer
 }

 .bbb_viewed_nav i {
     color: #dadada;
     font-size: 18px;
     padding: 5px;
     -webkit-transition: all 200ms ease;
     -moz-transition: all 200ms ease;
     -ms-transition: all 200ms ease;
     -o-transition: all 200ms ease;
     transition: all 200ms ease
 }

 .bbb_viewed_nav:hover i {
     color: #606264
 }

 .bbb_viewed_prev {
     margin-right: 15px
 }

 .bbb_viewed_slider_container {
     padding-top: 13px
 }

 .bbb_viewed_item {
     width: 100%;
     background: #FFFFFF;
     border-radius: 2px;
     padding-top: 25px;
     padding-bottom: 25px;
     padding-left: 30px;
     padding-right: 30px
 }

 .bbb_viewed_image {
     width: 150px;
 }

 .bbb_viewed_image img {
     display: block;
     max-width: 100%
 }

 .bbb_viewed_content {
     width: 100%;
     margin-top: 25px
 }

 .bbb_viewed_price {
     font-size: 16px;
     color:black;
     font-weight: 900
 }

 .bbb_viewed_item.discount .bbb_viewed_price {
     color: black;
 }

 .bbb_viewed_price span {
     position: relative;
     font-size: 12px;
     font-weight: 400;
     color: rgba(0, 0, 0, 0.6);
     margin-left: 8px
 }

 .bbb_viewed_price span::after {
     display: block;
     position: absolute;
     top: 6px;
     left: -2px;
     width: calc(100% + 4px);
     height: 1px;
     background: #8d8d8d;
 }

 .bbb_viewed_name {
     margin-top: 3px
 }
 .owl-item{
  width:100%;	
 }
 .bbb_viewed_name a {
     font-size: 14px;
     color: #000000;
     -webkit-transition: all 200ms ease;
     -moz-transition: all 200ms ease;
     -ms-transition: all 200ms ease;
     -o-transition: all 200ms ease;
     transition: all 200ms ease
 }

 .bbb_viewed_name a:hover {
     color: #0e8ce4
 }
 .btn-primary {
  background-color: #0052cc;
  border-color: #0052cc;
}

.btn-primary:hover {
  background-color: #003d99;
  border-color: #003d99;
}

.badge.bg-light.text-primary {
  font-size: 0.9rem;
  padding: 0.3rem 0.6rem;
  font-weight: 500;
}

.main-product-image {
    max-height: 400px;
    width: auto;
    transition: transform 0.3s;
  }
  .main-product-image:hover {
    transform: scale(1.02);
  }
  .product-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
  }
  .product-thumb:hover {
    transform: scale(1.1);
  }
  .product-thumb.active {
    border-color: #0d6efd;
    box-shadow: 0 0 8px rgba(13, 110, 253, 0.5);
  }
  .thumbnail-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .thumbnail-label {
    font-size: 12px;
    color: #666;
  }
/********  Owl Slider ****************************************************************/
/**************************************************************** Owl Slider *********/
.owl-carousel .animated{-webkit-animation-duration:1000ms;animation-duration:1000ms;-webkit-animation-fill-mode:both;animation-fill-mode:both;}
.owl-carousel .owl-animated-in{z-index:0;}
.owl-carousel .owl-animated-out{z-index:1;}
.owl-carousel .fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut;}
.owl-height{-webkit-transition:height 500ms ease-in-out;-moz-transition:height 500ms ease-in-out;-ms-transition:height 500ms ease-in-out;-o-transition:height 500ms ease-in-out;transition:height 500ms ease-in-out;}
.owl-carousel{display:none;width:100%;-webkit-tap-highlight-color:transparent;position:relative;z-index:1;margin:0;padding:0;}
.owl-carousel .owl-stage{position:relative;-ms-touch-action:pan-Y;}
.owl-carousel .owl-stage:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}
.owl-carousel .owl-stage-outer{ position:relative;overflow:hidden;-webkit-transform:translate3d(0px,0px,0px);}
.owl-carousel .owl-controls .owl-nav .owl-prev,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-dot{cursor:hand;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
.owl-carousel.owl-loading{opacity:0;display:block;}
.owl-carousel .owl-item{position:relative;min-height:1px;float:left;-webkit-backface-visibility:hidden;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
.owl-carousel.owl-text-select-on .owl-item{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;}
.owl-carousel .owl-grab{cursor:grab;}
.owl-carousel.owl-rtl{direction:rtl;}
.owl-carousel.owl-rtl .owl-item{float:right;}
.owl-carousel .owl-item .owl-lazy{opacity:0;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease;}
.owl-carousel .owl-video-wrapper{position:relative;height:100%;background:#000;}
.owl-carousel .owl-video-play-icon{position:absolute;height:80px;width:80px;left:50%;top:50%;margin-left:-40px;margin-top:-40px;background:url(owl.video.play.png) no-repeat;cursor:pointer;z-index:1;-webkit-backface-visibility:hidden;-webkit-transition:scale 100ms ease;-moz-transition:scale 100ms ease;-ms-transition:scale 100ms ease;-o-transition:scale 100ms ease;transition:scale 100ms ease;}
.owl-carousel .owl-video-play-icon:hover{-webkit-transition:scale(1.3,1.3);-moz-transition:scale(1.3,1.3);-ms-transition:scale(1.3,1.3);-o-transition:scale(1.3,1.3);transition:scale(1.3,1.3);}
.owl-carousel .owl-video-tn{opacity:0;height:100%;background-position:center center;background-repeat:no-repeat;-webkit-background-size:contain;-moz-background-size:contain;-o-background-size:contain;background-size:contain;-webkit-transition:opacity 400ms ease;-moz-transition:opacity 400ms ease;-ms-transition:opacity 400ms ease;-o-transition:opacity 400ms ease;transition:opacity 400ms ease;}
.owl-carousel .owl-video-frame{position:relative;z-index:1;}
100%,.owl-carousel.owl-hidden{opacity:0;}
.owl-carousel.owl-loaded,.no-js .owl-carousel{display:block;}
.owl-carousel .owl-refresh .owl-item,.owl-carousel .owl-video-playing .owl-video-tn,.owl-carousel .owl-video-playing .owl-video-play-icon{display:none;}

.owl-controls{ text-align: center;}
.owl-dots{ margin: 80px 0 0; display: inline-block;}
.owl-dots .owl-dot{ width: 70px; height: 5px; background: #c4c4c4; float: left; margin: 0 0 0 10px; cursor: pointer;}
.owl-dots .owl-dot:first-child{ margin: 0;}

.owl-nav .owl-prev,
.owl-nav .owl-next{ height: 65px; width: 65px; text-align: center; line-height: 65px; color: #030303; 
border-radius: 100%; float: left; cursor: pointer; background: rgba(255,255,255,0.5); font-size: 20px;
top: 50%; position: absolute; margin: -50px 0 0;
-webkit-box-shadow: 4px 4px 5px 0px rgba(50, 50, 50, 0.19);
-moz-box-shadow:    4px 4px 5px 0px rgba(50, 50, 50, 0.19);
box-shadow:         4px 4px 5px 0px rgba(50, 50, 50, 0.19);}
.owl-nav .owl-prev{ left: 150px;}
.owl-nav .owl-next{ right: 150px;}
.owl-nav .owl-prev::before,
.owl-nav .owl-next::before{ font-family: icomoon!important;}
.owl-nav .owl-prev::before{ content: "\e901";}
.owl-nav .owl-next::before{ content: "\e900";}
/********  Owl Slider ****************************************************************/
/**************************************************************** Owl Slider *********/

    /* CSS para centrar y agrandar el mensaje */
    .notifyjs-wrapper {
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      max-width: 350px;
      font-size: 1.3rem;
      z-index: 1050 !important;
    }

    .product-img {
        width: 50px;
        height: 50px;
        background-color: #ddd;
        border-radius: 5px;
    }
.checkout-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 2rem 0;
    padding: 0 1rem;
}

.step {
    position: relative;
    text-align: center;
    z-index: 1;
    flex: 1;
}

.step .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #dee2e6;
    color: #000;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active .circle {
    background-color: #000;
    color: #fff;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

/* Línea solo entre pasos */
.step::after {
    content: '';
    position: absolute;
    top: 15px; /* mitad del círculo base (30px) */
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: #dee2e6;
    z-index: 0;
}

.step:last-child::after {
    display: none; /* que la última no tenga línea */
}

.step .label {
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}
.bbb_viewed_marca {
    padding: 30px 0;
    background: white;
    margin: 30px 0;
}

.brand-item {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.brand-item img {
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
 #bannerSuperior {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  nav.navbar {
    transition: top 0.3s ease;
  }
  .front-title-services {
  font-family: 'Montserrat';
  font-weight: 600;
  font-size: 28px;
  line-height: 100%;
  color: #35979c;
  letter-spacing: 3px;
}
.bg-eficon{
    background-color: #35979C;
}
/* ====== Estilos del dropdown ====== */
.buscador-dropdown{
  position:absolute; top:100%; left:0; right:0;
  margin-top:.25rem; background:#fff; border:1px solid #e5e7eb;
  border-radius:.75rem; box-shadow:0 10px 25px rgba(0,0,0,.08);
  overflow:hidden; z-index:1000;
}
.buscador-header, .buscador-footer{
  padding:.5rem .75rem; font-size:.85rem; color:#6b7280; background:#fafafa;
  border-bottom:1px solid #f3f4f6;
}
.buscador-footer{ border-top:1px solid #f3f4f6; border-bottom:none; text-align:right; }
.buscador-list{
  max-height:320px; overflow:auto;
}
.buscador-item{
  display:flex; align-items:center; gap:.75rem;
  padding:.5rem .75rem; cursor:pointer; text-decoration:none;
  color:inherit; transition:background .15s ease;
}
.buscador-item:hover, .buscador-item[aria-selected="true"]{
  background:#f8fafc;
}
.buscador-thumb{
  width:40px; height:40px; border-radius:.5rem; object-fit:cover; flex:0 0 auto;
  background:#f1f5f9; border:1px solid #e5e7eb;
}
.buscador-content{
  display:flex; flex-direction:column; min-width:0; /* elipsis */
}
.buscador-title{
  font-size:.95rem; font-weight:600; color:#111827; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.buscador-meta{
  font-size:.8rem; color:#6b7280; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.buscador-price{
  margin-left:auto; font-weight:700; color:#111827; font-size:.9rem; white-space:nowrap;
}
.buscador-empty, .buscador-loading, .buscador-error{
  padding:1rem .75rem; color:#6b7280;
}
.buscador-loading::before{
  content:""; display:inline-block; width:1rem; height:1rem; margin-right:.5rem;
  border-radius:50%; border:2px solid #cbd5e1; border-top-color:#111827; animation:spin .7s linear infinite;
  vertical-align:-.2rem;
}
@keyframes spin { to { transform:rotate(360deg) } }
/* Overlay para el carrito móvil */
.offcanvas-cart-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1999; /* por debajo de .cart-mobile-menu (2000) */
}

/* Evitar que el dropdown se “posicione” fuera con Popper */
@media (max-width: 991.98px) {
  .cart-mobile-menu.dropdown-menu {
    position: fixed !important; /* ya lo tenías */
    left: 0; right: 0; bottom: 0;
    width: 100vw; max-width: 100vw;
    border-radius: 16px 16px 0 0;
    z-index: 2000;
    animation: slideUpCart .25s ease-out;
  }
  .cart-mobile-menu .cart-dropdown-content {
    max-height: calc(75vh - 16px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .offcanvas-cart-open { overflow: hidden; } /* bloquea scroll del fondo */
}
/* 🔧 Forzar el dropdown móvil a ser offcanvas pegado abajo.
   Anula cualquier top/left/transform que Popper inyecte inline. */
@media (max-width: 991.98px) {
  .cart-mobile-menu.dropdown-menu {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    border-radius: 16px 16px 0 0;
    z-index: 2000;
    /* Popper suele meter transform inline; lo anulamos: */
    transform: none !important;
  }

  /* Bootstrap controla visibility/display con .show; reforzamos por si acaso */
  .cart-mobile-menu.dropdown-menu.show {
    display: block !important;
    visibility: visible !important;
  }

  /* Quita cualquier “inset” que Popper ponga con data-bs-popper */
  /* .cart-mobile-menu.dropdown-menu[data-bs-popper] {
    inset: auto !important;
  } */
}

