/*============================================================================================*/
/* Tus estilos personalizados originales */
/*============================================================================================*/
.user_thumb {
  -webkit-border-radius: 50%;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  position: relative;
  height: 40px;
  width: 40px;
  z-index: 0;
  border: 1px solid #616161;
  padding: .2rem;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

video {
  position: initial;
}

.hero_in.shop_detail {
  height:320px !important;
}

.wishlist-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1;
  background-color: black;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 9px 10px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}

.featured-tag-grid {
  position: absolute;
  right: 15px;
  top: 165px;
  z-index: 1;
  color: #fff;
  background-color: #ffc108;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 12px;
  display: inline-block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

.featured-tag-grid:hover{
  color: #fff !important;
}

.featured-tag-list {
  margin-top: 128px;
  text-transform: uppercase;
}
.featured-tag-border{
  border: 1px solid #ffc108;
}
@media (max-width: 990px) {
  .featured-tag-list{
    margin-top: 108px;
    background-color: #ffc108!important;
    text-transform: uppercase;
  }
  
}

@media (min-width: 991px) {
  .featured-tag-list{
    margin-top: 134px;
    background-color: #ffc108!important;
    text-transform: uppercase;
  }
  
}

.featured-body{
  background-color: #feffed;
}

.featured-footer{
  background-color: #fffad5;
}

.wishlist-icon:hover {
  background-color: rgba(0, 0, 0, 1);
  color: #fff;
}
.wishlist-icon:focus {
  color: #fff;
}

.main-menu ul ul:before {
  left: 61%;
}

@media only screen and (min-width: 992px){
  .main-menu ul li:hover > ul {
    margin-left: -90px;
  }
}

.stiky-map .map-full{
  height: calc(100vh - 128px);
}
.stiky-map{
  position: sticky;
  top:118px;
}

.stiky-map-list .map-full{
  height: calc(100vh - 60px);
}

.stiky-map-list{
  position: sticky;
  top:60px;
}

@media only screen and (max-width: 991px){
  .stiky-map .map-full{
    height: 40vh;
  }
}

.map-layout {
  border:15px solid #fff;
  background-color:#fff;
}

.single-listing-map {
  height: 500px;
}

.social-links ul li a i {
  color: #555;
  opacity: 0.6;
}

.social-links ul li {
  display: inline-block;
  margin-right: 5px;
  font-size: 20px;
  font-size: 1.25rem;
}

.category-title {
  border-radius: 5px; background-color: rgb(63,66,119); padding: 20px; text-align: center; color: #fff; font-size: 20px; font-weight: bold;
}
.sub-category-link {
}
.sub-category-link:hover {
}
.sub-category-link .sub-category {
  border-radius: 2px; padding: 10px; margin: 4px 0px; text-align: left; color: #676767; background-color: #fff; width: 100%; transition: all .4s ease-in-out;
}
.sub-category-link .sub-category .sub-category-number{
  background-color: #fff;
  color: #676767;
  font-size: 14px;
  font-size: .875rem;
  line-height: 1;
  padding: 6px;
  display: inline-block;
  margin-right: 10px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  border-radius: 3px;
}
.sub-category-link .sub-category .sub-category-title{
  margin-right: 5px;
}
.sub-category-link .sub-category .sub-category-arrow{
  float: right;
}

.sub-category-link .sub-category:hover{
  background-color: #e74e84;
  color: #fff;
}

.leaflet-popup-content {
  margin-top: 0px;;
}

.leaflet-popup-content-wrapper {
  width: 280px;
}
.leaflet-popup-content p{
  margin: 4px 0;
}

.leaflet-container a.leaflet-popup-close-button {
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
    top: 15px;
    right: 15px;
    color: #fff;
    border-radius: 100%;
    z-index: 20;
    box-shadow: 0px 0px 0px 3px rgba(255,255,255,0.4);
    cursor: pointer;
    background-color: #ffffff;
    color: #333;
}

.leaflet-popup-content {
    margin: 0;
    width: 100% !important;
}
.leaflet-popup-content img{
    height: 160px;
    transition: all .4s ease-in-out;
}
.leaflet-popup-content img:hover{
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 7px;
    overflow: hidden;
}
.leaflet-popup-content p i {
    position: absolute;
    left: 0;
    top: 3px;
}

.leaflet-popup-content p {
    padding-left: 22px;
    position: relative;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    box-shadow: 0 1px 4px rgba(0,0,0 ,0.3);
}
.strip .img {
    background-size: cover;
    background-position: center center;
}

.strip figure:hover .img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.focus-a-listing{
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #3544f9;
    border-color: #727cf5;
    border-radius: 50%;
}
.pagination-rounded .page-link {
    border-radius: 30px!important;
    margin: 0 3px;
    border: none;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #313a46;
    background-color: #fff;
    border: 1px solid #dee2e6;;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}
[type="radio"]:checked + label,
[type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #666;
}
[type="radio"]:checked + label:before,
[type="radio"]:not(:checked) + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 100%;
    background: #fff;
}
[type="radio"]:checked + label:after,
[type="radio"]:not(:checked) + label:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #004dda;
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}
[type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}
[type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.hidden {
  display: none;
}

.box_detail .price > span {
  font-size: 20px;
  font-weight: 600;
}

@media (min-width: 1px) and (max-width: 990px) {
  #categorySideMap{
    height: 400px;
  }
  
}
@media (min-width: 1px) and (max-width: 990px) {
  #map{
    height: 230px;
  }
  
}
@media (min-width: 991px) {
  .custom-mt-7{
    margin-top: 58px;
  }
  
}

.social-button{
  width: 160px !important;
  float: left !important;
  margin-right: 10px;
  text-align: left !important;
}

.blog_text img {
  width: 100% !important;
}
.text-10{
  font-size: 10px;
}
.text-11{
  font-size: 11px;
}
.text-12{
  font-size: 12px;
}
.text-13{
  font-size: 13px;
}
.text-14{
  font-size: 14px;
}
.text-15{
  font-size: 15px;
}

/* --- INICIO DE ESTILOS CONSOLIDADOS PARA BOTONES DE LA TIENDA (AJUSTADOS PARA SER MÁS PEQUEÑOS Y MENOS REDONDOS) --- */

/* 1. Botones "Add to cart" en la página de la tienda (shop.php) */
.add-to-cart-btn {
    background-color: #212529; /* Negro oscuro */
    color: white;
    border: 1px solid #212529; 
    border-radius: 6px;    /* Menos redondeado */
    padding: 0.35rem 0.7rem; /* Más pequeño - ajusta estos valores según veas */
    font-size: 0.8rem;      /* Letra más pequeña - ajusta */
    line-height: 1.4;       /* Ajustar altura de línea para el nuevo padding/font-size */
    display: block; 
    width: 100%;
    text-transform: none; 
    transition: background-color 0.2s ease, border-color 0.2s ease;
    text-align: center; 
}
.add-to-cart-btn:hover {
    background-color: #495057; 
    border-color: #495057;
    color: white;
}

/* 2. Botón "Confirm order" principal en la página de la tienda (shop.php) */
#order-btn.btn_1 { 
    background-color: #212529; 
    color: white;
    border: 1px solid #212529;
    padding: 10px 18px;    /* Un poco más pequeño */
    font-size: 0.95rem;      /* Letra un poco más pequeña */
    border-radius: 8px;    /* Menos redondeado */
    max-width: 320px;      
    margin-left: auto;     
    margin-right: auto;    
    display: block;        
    text-align: center;
    text-transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    line-height: 1.5; 
}
#order-btn.btn_1:hover {
    background-color: #495057; 
    border-color: #495057;
    color: white;
}

/* 3. Botones en la página de Checkout (checkout.php) */
/* Estilo general para .btn_1 dentro de .order-details (principalmente para "Confirm this order") */
.order-details .btn_1 { 
    background-color: #212529; 
    color: white;
    border: 1px solid #212529; 
    padding: 8px 18px;     /* Más pequeño */
    border-radius: 8px;    /* Menos redondeado */
    font-size: 0.9rem;     /* Letra más pequeña */
    text-transform: none; 
    margin-top: 8px; 
    margin-bottom: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.order-details .btn_1:hover {
    background-color: #495057; 
    border-color: #495057;
    color: white;
}

/* Estilo específico para el botón "Show products" en Checkout (si tiene el ID) */
#checkout-show-products-btn { 
    background-color: #6c757d; 
    border-color: #6c757d;
}
#checkout-show-products-btn:hover {
    background-color: #5a6268;
    border-color: #545b62;
}
/* --- FIN DE ESTILOS CONSOLIDADOS PARA BOTONES DE LA TIENDA --- */
/* =================================================================== */
/* Estilos para el Carrusel de Categorías                  */
/* =================================================================== */

.category-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.category-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    scroll-behavior: smooth;
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

.category-wrapper::-webkit-scrollbar {
    display: none; 
}

.category-pill {
    flex: 0 0 auto;
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 25px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-pill:hover {
    background-color: #e0e0e0;
    border-color: #d0d0d0;
}

.category-pill.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.slider-btn {
    display: none; 
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    line-height: 38px;
    text-align: center;
}

@media (min-width: 768px) {
    .slider-btn {
        display: block;
    }
}

.slider-btn.prev-btn {
    left: -15px;
}

.slider-btn.next-btn {
    right: -15px;
}

/* =================================================================== */
/* ESTILOS PARA LA BARRA DE CARRITO FIJA (STICKY CART BAR)             */
/* =================================================================== */

.sticky-cart-bar {
    position: fixed;
    bottom: -150px; 
    left: 0;
    width: 100%;
    background-color: #ffffff;
    padding: 15px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    display: flex; 
    justify-content: center;
    align-items: center;
}

.sticky-cart-bar.visible {
    bottom: 0; 
}

.sticky-cart-bar .btn_1 {
    width: 90%;
    max-width: 400px; 
    margin: 0;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    color: #fff !important; 
    text-decoration: none !important;
}

/* =================================================================== */
/* INICIO: AJUSTE PARA BOTONES FLOTANTES DE CONTACTO                   */
/* =================================================================== */
.redes-flotantes {
    /* Aseguramos que la transición sea la misma que la de la barra */
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.redes-flotantes.move-up {
    /* Mueve los botones hacia arriba la altura de la barra (aprox 85px) + su margen original (25px) */
    bottom: 110px; 
}
/* =================================================================== */
/* FIN: AJUSTE PARA BOTONES FLOTANTES DE CONTACTO                      */
/* =================================================================== */
/* =================================================================== */
/* INICIO: ESTILOS MODERNOS PARA EL FORMULARIO DE CHECKOUT             */
/* =================================================================== */

/* Contenedor principal del checkout para aplicar estilos de forma segura */
.checkout {
    padding: 15px;
    background-color: #f8f9fa; /* Un fondo ligeramente gris para el área */
    border-radius: 8px;
    margin-top: 20px;
}

/* Título "Detalles de la entrega" */
.checkout h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #343a40;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

/* Estilo para todos los campos de texto (input) y áreas de texto (textarea) dentro del checkout */
.checkout .form-group .form-control {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 8px; /* Bordes más suaves */
    padding: 12px 15px; /* Más espaciado interno */
    font-size: 1rem;
    color: #495057;
    height: auto; /* Altura automática para que se ajuste al padding */
    box-shadow: none; /* Sin sombras por defecto */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Efecto al hacer clic (focus) en un campo */
.checkout .form-group .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Sombra azul suave */
}

/* Estilo para los selectores (como el método de entrega) */
.checkout .form-group select.form-control {
    -webkit-appearance: none; /* Quita la apariencia por defecto en webkit */
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 8px 10px;
}

/* Espaciado entre cada campo del formulario */
.checkout .form-group {
    margin-bottom: 1.25rem;
}

