.modal-cancelar-pedido{
  display: block;
  margin: 10px;
}

/* Contenedor */
.estado_pedido {
  margin-bottom: 32px;
  font-weight: 600;
  color: #21ABAD;
  font-size: 20px;
  line-height: 1.35;
}

.estado_pedido p { margin: 0 0 10px; }

/* Base para todos los estados (sin clases nuevas) */
.estado_pedido .estado-payment_required,
.estado_pedido .estado-paid,
.estado_pedido .estado-contraentrega,
.estado_pedido .estado-cancelado,
.estado_pedido .estado-expired {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-weight: 700;
  line-height: 1;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease, background-color .2s ease;
}

.estado_pedido .estado-payment_required:hover,
.estado_pedido .estado-paid:hover,
.estado_pedido .estado-contraentrega:hover,
.estado_pedido .estado-cancelado:hover,
.estado_pedido .estado-expired:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

/* Punto indicador */
.estado_pedido .estado-payment_required::before,
.estado_pedido .estado-paid::before,
.estado_pedido .estado-contraentrega::before,
.estado_pedido .estado-cancelado::before,
.estado_pedido .estado-expired::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 2px currentColor inset, 0 0 0 4px rgba(0,0,0,0.04);
}

/* Colores por estado (mejor contraste) */
.estado_pedido .estado-payment_required {
  color: #b45309;            /* ámbar oscuro */
  background-color: #fef3c7; /* ámbar suave */
  border-color: #f59e0b;
}

.estado_pedido .estado-paid {
  color: #166534;            /* verde oscuro */
  background-color: #dcfce7; /* verde suave */
  border-color: #16a34a;
}

.estado_pedido p .estado-contraentrega {
  color: #075985;            /* celeste oscuro */
  background-color: #e0f2fe; /* celeste suave */
  border-color: #0ea5e9;
}

.estado_pedido .estado-cancelado,
.estado_pedido .estado-expired {
  color: #991b1b;            /* rojo oscuro */
  background-color: #fee2e2; /* rojo suave */
  border-color: #ef4444;
}

/* Tacto cómodo en pantallas pequeñas (mismos selectores) */
@media (max-width: 480px) {
  .estado_pedido { font-size: 18px; }
  .estado_pedido .estado-payment_required,
  .estado_pedido .estado-paid,
  .estado_pedido .estado-contraentrega,
  .estado_pedido .estado-cancelado,
  .estado_pedido .estado-expired {
    padding: 8px 14px;
  }
}

#lista_direcciones {
  margin-bottom: 20px;
}

.css-treeview {
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  color: #091C5C;
}

.css-treeview2{
  display: block;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  color: #091C5C;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #e6e6e6;
}

.css-treeview {
  border: 1px solid #e6e6e6;
  margin-top: 20px;
  padding: 45px;
  width: 100%;
}

/*.css-treeview h4 {  
  padding: 10px 0;
  font-size: 18px;
  font-weight: 600;
}*/

.titulo_filtros {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
}

.titulo_filtros h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  flex: 1;
  display: flex;
  align-items: center;
}

/* Flecha del icono dentro de .titulo_filtros h4 */
.titulo_filtros h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.titulo_filtros h4 i.glyphicon-chevron-down,
.titulo_filtros h4 i.glyphicon-chevron-up {
  transition: transform 0.2s;
  font-size: 14px;
  color: #091C5C;
  margin-left: 8px;
  vertical-align: middle;
  order: 2;
  cursor: pointer;
  pointer-events: auto;
}

.titulo_filtros h4 i.glyphicon-chevron-down:hover,
.titulo_filtros h4 i.glyphicon-chevron-up:hover {
  transform: scale(1.2) rotate(-20deg);
  color: #23B8BA;
}

/* Si quieres girar la flecha cuando está "abierto", añade una clase .open al h4 */
.titulo_filtros h4.open i.glyphicon-chevron-down {
  transform: rotate(-180deg);
}
.titulo_filtros h4.open i.glyphicon-chevron-up {
  transform: rotate(180deg);
}




.filter-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap:4px;
}

.filter-card{
  position:relative;
  display:block;
  cursor:pointer;
  user-select:none;
}

.filter-card input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;           
  cursor:pointer;
}

.filter-card input:checked + .fc-inner .fc-box {
  border-color: #23B8BA;
  background: #23B8BA;
}

.filter-card input:checked + .fc-inner .fc-box::after {
  border-color: #fff;
  transform: rotate(45deg) scale(1);
}

.filter-card input:focus-visible + .fc-inner {
  outline: 2px solid #23B8BA;
  outline-offset: 2px;
}

.filter-card:hover .fc-inner {
  color: #23B8BA;
}

.fc-inner {
  display: flex;
  align-items: center; /* <-- Esto alinea verticalmente el check */
  gap: 8px;
}     

.fc-box{
  width:15px; 
  height:15px; 
  flex:0 0 auto;
  border:1px solid #cbd5e1; 
  border-radius:3px; 
  background:#fff;
  display: flex;
  align-items: center; /* <-- Esto centra el "chilo" verticalmente */
  justify-content: center;
}

.fc-box::after{
  content:"";
  position:absolute; 
  top:2px; 
  left:5px;
  width:6px; 
  height:12px;
  border:2px solid #fff; 
  border-top:0; 
  border-left:0;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform .15s ease;
}

.fc-text{
  font-size:14px; 
  color:#091C5C; 
  font-weight:400;
  overflow:hidden; 
  text-overflow:ellipsis; 
  white-space:nowrap;
}

.price-presets{
  list-style:none; 
  margin:8px 0 0; 
  padding:0;
}

.price-presets li{ 
  margin:6px 0; 
}

.price-presets a{
  color:#046b8a; 
  text-decoration:none; 
  font-weight:600; 
  font-size:14px;
}

.price-presets a:hover{ 
  text-decoration:underline; 
}

.facet-count { 
  color:#666; 
  font-size:12px; 
  margin-left:6px; 
}

.price-inputs {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.price-inputs > div { display: flex; flex-direction: column; }

.price-inputs label {
  font-size: 14px; font-weight: 500; color: #666; margin-bottom: 6px;
}
.price-inputs input[type="number"] {
  width: 120px; padding: 8px 10px; font-size: 14px;
  border: 1px solid #ccc; border-radius: 6px; outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.price-inputs input[type="number"]:focus {
  border-color: #091C5C; box-shadow: 0 0 0 3px rgba(35,184,186,.12);
}

.price-actions {
  display: flex; 
  gap: 10px; 
  
}

/* Botón primario */
.btn-apply {
  display: inline-flex; align-items: center; gap: 4px;
  background: #23B8BA; color: #fff; border: none;
  padding: 8px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 6px 14px rgba(35,184,186,.25);
  transition: transform .05s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
}
.btn-apply:hover { background: #091C5C; box-shadow: 0 8px 18px rgba(35,184,186,.32); }
.btn-apply:active { transform: translateY(1px); }

/* Estado cargando */
.btn-apply.loading { pointer-events: none; opacity: .85; position: relative; }
.btn-apply.loading .btn-text { opacity: .0; } /* oculta texto para centrar spinner */
.btn-apply.loading::after {
  content: ""; position: absolute; inset: 0; display: grid; place-items: center;
}
.btn-apply.loading::before {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-icon { display: inline-flex; }

/* Botón fantasma */
.btn-clear {
  display: inline-flex; align-items: center;
  background: transparent; color: #006BB3; border: 1px solid #cfe6f5;
  padding: 10px 14px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.btn-clear:hover { background: #f4faff; border-color: #b8dcf2; }

/* Responsive: si se estrecha, botones debajo */
@media (max-width: 640px) {
  .price-actions { width: 100%; justify-content: flex-start; margin-left: 0; }
  .price-inputs input[type="number"] { width: 120px; }
}

.facet-actions { margin-top:8px; }
/*.facet-more { font-size:13px; color:#007185; background:none; border:none; cursor:pointer; }*/
.btn-clear-all { font-size:12px; color:#444; background:#f4f4f4; border:1px solid #ddd; border-radius:8px; padding:4px 8px; cursor:pointer; }
.facet-chipbar { display:flex; flex-wrap:wrap; gap:6px; margin:10px 0 4px; padding: 10px; }
.facet-chip { background:#eef6ff; color:#004c8a; border:1px solid #cfe7ff; border-radius:999px; padding:2px 8px; font-size:12px; }
.facet-chip .x { margin-left:6px; cursor:pointer; }

.facet-clear { font-size:12px; color:#007185; background:none; border:none; cursor:pointer; }
.facet-card:not(.is-open) .facet-item.is-hidden{ display:none; }
.range,
.range-two {
  padding: 15px 0 22px 0;
  border-bottom: 1px solid #e5e3db;
}

.item-departamento label, .item-departamento a{
  font-size:14px; 
  color:#091C5C; 
  font-weight:400; 
  transition: background .15s, color .15s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}

.item-departamento a{
  text-decoration:none; 
  line-height: 1.5;
}

.item-departamento label:hover, .item-departamento a:hover{
  color:#046b8a;
}

.item-categoria{
  margin-left:15px;
}



.item-subcategoria{
  margin-left:15px;
}

.item-subcategoria > label {
  font-size:14px; 
  color:#091C5C;
  transition: background .15s, color .15s;
}

.item-subcategoria:hover > label {
  color:#046b8a;
}

.item-departamento input[type="checkbox"] + label:before {
  
}

.item-departamento input[type="checkbox"]:checked + label:before {
  
}

.cate_activa{
  color:#23B8BA!important; 
}


/*detalle de producto*/
/* Contenedor */
.qty-select{ position:relative; display:inline-block; }

/* Botón (caja cerrada) */
.qty-trigger{
  padding:8px 44px 8px 14px;
  border:1px solid #ddd; border-radius:15px;
  background:#f9f9f9; color:#000; font-weight:700; font-size:16px;
  cursor:pointer; line-height:1; display:flex; gap:8px; align-items:center;
}

/* Circulito turquesa con flecha */
.qty-arrow{
  position:absolute; right:10px; width:20px; height:20px; border-radius:50%;
  background:#23B8BA; display:grid; place-items:center; pointer-events:none;
}
.qty-arrow::after{
  content:"\f078"; font-family:"FontAwesome"; font-size:12px; color:#fff;
}

/* Menú flotante */
.qty-menu{
  position:absolute; top:calc(100% + 6px); left:0; min-width:100%;
  background:#fff; border:1px solid #e6e6e6; border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  padding:6px 0; margin:0; list-style:none; display:none; z-index:40;
  max-height:240px; overflow:auto;
}
.qty-select[aria-expanded="true"] .qty-menu,
.qty-menu.show{ display:block; }

/* Opciones */
.qty-menu li{
  padding:8px 14px; font-size:15px; cursor:pointer; white-space:nowrap;
  text-align: center;
}
.qty-menu li[aria-selected="true"]{ font-weight:700; }
.qty-menu li:hover, .qty-menu li:focus{ background:#f1f6ff; outline:0; }

/* Estados del botón */
.qty-trigger:focus{ outline:2px solid #23B8BA33; outline-offset:2px; }


.atri-solo{
  background-color: white!important;
}

.bloque-info-detalle{
  display: none;
}

.container-menu_centris {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
  align-content: space-around;
  width: 100%;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}

.menu_categoria {
  margin-top: -2.1px;
}

.header-right {
  text-align: right;
  display: block;
}

.top_nav_right {
  width: 19%;
  margin-left: -10px;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: nowrap;
  align-items: center;
  margin-right: 123px;
}

.header-right ul li {
  display: inline-block;
  margin: 4px 10px;
}

.box_2 {
  background: #FFA932;
  color: white;
  padding: 7px 32px;
  border-radius: 50px 50px 50px 50px;
  -moz-border-radius: 50px 50px 50px 50px;
  -webkit-border-radius: 50px 50px 50px 50px;
  border: 0px solid #000000;
  line-height: 0;
  float: right;
  margin-right: 10px;  
  margin-bottom: 5px;
}

.box_1 {
  background: #23B8BA;
  color: white;
  padding: 7px 32px;
  border-radius: 50px 50px 50px 50px;
  -moz-border-radius: 50px 50px 50px 50px;
  -webkit-border-radius: 50px 50px 50px 50px;
  border: 0px solid #000000;
  line-height: 0;
  float: right;
  margin-right: -15px;
  margin-bottom: 5px;
}

.boton_login {
  background-color: #23B8BA;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 200px 200px 200px 200px;
  -moz-border-radius: 200px 200px 200px 200px;
  -webkit-border-radius: 200px 200px 200px 200px;
  border: 0px solid #23B8BA !important;
  margin-right: 15px;
  height: 40px !important;
  align-content: center;
}

.botonera_arriba {
  display: flex;
  align-items: center;
  position: relative;
  float: right;
  margin-top: 6px !important;
  margin-right: 65px;
}

.boton-ingresar {
  margin-top: 86px;
}

.botones_item_nuevo {
  padding: 10px;
}

.botones_item_nuevo a {
  font-size: 1rem;
}

.item-info-product h4 {
  width: 90%;
  margin-top: 20px;
}

.i_wa {
  padding: 11px 12px 6px 12px;
}

#productos_similares{
  margin-bottom: 25px;
}

.info-product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: auto;
  margin-left: 18px;
}

.cart-options-container {
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.mi_cuenta_user {
  width: 100% !important;
}

.products-left {
  padding-right: 0;
  margin-left: -70px;
  margin-right: 60px;
}

.product-new-top {
  font-size: 16px;
  margin-left: 10px;
  color: #54b861;
  font-weight: 500;
}

.despacho_inmediato {
  font-size: 16px;
  color: #54b861;
  margin-right: 0px;
  margin-left: 10px;
  font-weight: 500;
}

.product-container {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  margin-right: 10px;
}

.item_price {
  color: black;
  font-weight: bold;
  font-size: 22px;
}

.info-product-price .item_price {
  font-size: 20px;
  color: #000;
  font-weight: 600;
  margin-right: 10px;
}

.info-product-price .precio-anterior {
  font-size: 16px;
  color: #A7A7A7;
  text-decoration: line-through;
  font-weight: 400;
  margin-right: 10px;
}

.single-right-left del {
  color: #A7A7A7;
  margin-left: 10px;
  font-size: 20px;
  font-weight: 400;
}

.free_delivery {
  color: #23B8BA;
  margin-right: 17px;
  font-weight: bold;
  font-size: 14px;
}

.espace-bottom {
  margin-bottom: 10px;
}

#categorias_top {
  margin: 100px 0px 48px 0px;
  
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  padding: 0px;
  justify-content: center;
  justify-items: stretch;
}

.ver-mas-container {
  text-align: center;
  margin-bottom: 47px;
  position: relative;
  margin-top: -57px;
  display: flex;
  justify-content: flex-end;
}

.precio-anterior {
  font-size: 16px;
}

/*estilos para el select de ordenamiento*/

/* Botón estilo píldora como Amazon */

.sort-amz{
  position: relative;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.amz-btn{
  padding:6px 34px 6px 12px; 
  border:1px solid #d5d9d9; 
  background:#fff; 
  border-radius:10px;
  display:inline-flex; 
  align-items:center; 
  gap:6px; 
  position:relative;
  color: #091C5C;    
}

.amz-btn:hover{ 
  background:#f7fafa; 
  border-color:#aab7b8; 
}

.amz-label{ 
  color:#565959; 
}

.amz-value{ 
  font-weight:600; 
  white-space:nowrap;
}

.amz-caret{ 
  position:absolute; 
  right:12px; 
  width:0; 
  height:0; 
  border-left:5px solid transparent; 
  border-right:5px solid transparent; 
  border-top:6px solid #091C5C; 
}

/* Menú */
.amz-menu{
  position:absolute; 
  top:110%; 
  min-width:340px; 
  padding:6px 0;
  margin:6px 0 0;
  background:#fff; 
  border:1px solid #d5d9d9; 
  border-radius:8px; 
  list-style:none; 
  z-index:1000;
  box-shadow:0 8px 24px #091C5C;
  color: #091C5C;
}

.amz-item{ 
  padding:9px 14px; 
  cursor:pointer; 
}

.amz-item[aria-selected="true"]{ 
  font-weight:600; 
}

.amz-item:hover{ 
  background:#f2f4f6; 
}

.titulo-fecha{
  text-align: left!important;
}

.titulo-total{
  text-align: left!important;
}

.titulo-envio{
  text-align: right!important;
}

.titulo-pedido{
  text-align: right!important;
}

/*1920px*/
@media (max-width: 1920px) {



  .sidebar-compra {
    width: 80%;
  }

  .botonera_arriba {
    margin-right: 40px;
  }

  .header-right ul li a i {
		font-weight: 400;
		font-size: 25px;
		margin-right: 5px;
	}

	.logo_principal a {
		font-size: 25px;
	}

	.logo_principal img {
		width: 25px;
		height: 25px;
	}

	.boton_login {
		font-size: 14px;
		padding: 1px 15px;
	}

	.header-middle .search {
		margin-left: 0px;
	}

	.header-middle input[type="search"] {
		font-size: 14px;
		padding: 8px 15px;
	}

	.header-middle form input[type="submit"] {
		height: 36px;
	}

	.sear-sub {
		width: 36px;
    right: -5px;

	}

	.botom_buscarG {
		height: 36px;
		margin-left: -10px;
	}

	.sear-sub i {

		margin-top: 0px;
		margin-right: 7px;
		font-size: 14px;
	}

	.sear-sub:hover {
		color: #21ABAD;
	}

	.item-info-product h4 {
		width: 90%;
		margin-top: 20px;
	}

	.men-thumb-item img {
		
		margin-bottom: 10px;
	}

	.item-info-product h4 a {
		font-size: 16px;
	}

	.botones_item_nuevo {
		padding: 10px;
	}

	.botones_item_nuevo a {
		font-size: 15px;
	}

	/*.imgOferta10 {
		margin-right: 30px;
	}

	.imgOferta10 img {
		width: 80px;
	}

	.textoOferta10 {
		font-size: 25px;
		margin-right: 30px;
	}

	.textoOferta10 span {
		font-size: 16px;

	}

	.inputTextOferta10 {
		width: 400px;
		margin-right: 30px;
		margin-top: 15px;
	}
	.botonCirculo {
		width: 62px;
		height: 62px;
	}

  .botonOferta10 i {
      line-height: 66px;
      font-size: 35px;
  }*/

	.boton-ingresar {
		height: 50px;
		text-align: center;
		display: inline-block;
		border-radius: 50px;
		background: #23B8BA;
		color: #fff;
		font-size: 17px;
		border: none;
		width: 100%;
		outline: none;
		-webkit-appearance: none;
		padding: 8px 15px 9px 15px;
		transition: 0.5s all;
		-webkit-transition: 0.5s all;
		-moz-transition: 0.5s all;
		-o-transition: 0.5s all;
		border-radius: 30px;
		margin-top: 84px;
	}

	.i_wa {
		padding: 11px 12px 6px 12px;
	}

	.titulo_inventario {
		width: 153%;
	}

	.activoInventario::after {
		transform: translateX(-97%);
        width: 5%;
	}

	.activo-temporada::after {
		transform: translateX(-125%);
		width: 5%;
	}

	.activo-nuevos::after {
		transform: translateX(-125%);
		width: 5%;
	}

	.container-menu_centris {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: space-around;
    width: 100%;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }

	

	

	/*.swiper-button-next-custom, .swiper-rtl .swiper-button-prev-custom {
        right: var(--swiper-navigation-sides-offset, 7px);
        left: auto;
    }

	.swiper-button-prev-custom, .swiper-rtl .swiper-button-next-custom {
      left: var(--swiper-navigation-sides-offset, -45px);
      right: auto;
  }*/
}

/*1600px*/
@media (max-width: 1600px) {
  .sidebar-compra {
    width: 90%;
  }

  .botom_buscarG {
    height: 36px;
    margin-left: -8px;
  }

  .botonera_arriba {
    margin-right: 0;
  }

  .logo_principal{
    margin-left: 50px;
  }

  .ver_todos{
    bottom: 30px;
  }

  .sear-sub{
    right: 0px;
  }
}

/*1440px*/
@media (max-width: 1440px) {
  .sugg-cols {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr))!important;
  }

  .left-container-detail {
    padding: 25px 30px;
  }

  .slider-principal {
    height: 400px;
  }

  .rigth-container-detail {
    padding-left: 0px;
    margin-left: 30px;
  }

  .info-producto{
    padding: 0 30px;
    width: 59%;
  }

  .galeria{
    width: 40%;
  }

  .botonera_arriba {
    margin-right: 0;
  }

  .sidebar-compra {
    width: 100%;
  }

  
  .sear-sub i {
      top: 12px;
      right: 12px;
  }

  .logo_principal{
    margin-left: 50px;
  }
  
  .botom_buscarG {
      height: 36px;
      width: 36px;
      margin-left: -10px;
  }

	#myCarousel img {
		margin: auto;
		max-width: 100%;
	}
	.texto-horizontal-p2 {
		font-size: 20px;
		line-height: 1;
		font-weight: 300;
	}

  .boton_login {
    width: 120px;
  }

  .ver_todos{
    bottom: 20px;
  }

  .product-new-top {
    font-size: 14px;
  }

  .despacho_inmediato {
    font-size: 14px;
  }

  .producto_history2{
    min-height: 400px;
  }
}

/*1366px*/
@media (max-width: 1366px) {
  .sugg-cols {
    grid-template-columns: auto!important;    
  }

  .search-suggestions {
    overflow-y: auto;
  }

  .grid-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr))!important;
  }
}

/*1200px*/
@media (max-width: 1200px) {
  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr))!important;
  }
  .left-container-detail {
    padding: 10px 20px;
  }

  .info-producto{
    padding: 0 20px;
    width: 59%;
  }

  .galeria{
    width: 40%;
  }

  .slider-principal {
    height: 300px;
  }

  .logo_principal{
    margin-left: 0px;
  }

  .boton_login {
    width: 100px;
  }

  .botom_buscarG {
    height: 36px;
    width: 36px;
    margin-left: -9px;
  }
  
	.top_nav_right {
		width: 23%;
	}

	.header-right {
		text-align: right;
		display: block;
	}

	.menu_centris {
		display: block;
		align-items: center;
	}

	.box_1 {
		padding: 7px 10px;
	}

	.box_2 {
		padding: 8.1px 10px !important;
	}

	.logo_principal a {
		font-size: 20px;
	}

	.logo_principal img {
		width: 20px;
		height: 20px;
	}

	.boton_login {
		font-size: 12px;
		padding: 1px 10px;
	}

	.quitar {
		display: none !important;
	}

	.item_categoria_resaltada h2 {
		font-size: 20px;
		margin-left: 30px;
		margin-top: 30px;
	}

	.ver_todos {
		font-size: 14px;
		font-weight: 600;
    bottom: 20px;
		left: 45px;
	}

  .ver_todos a {
    padding: 6px 10px;
  }

	.men-thumb-item img {
		/*max-width: 100%;
		margin-bottom: 10px;*/
	}

	.item-info-product h4 a {
		font-size: 16px;
		font-weight: 600;
	}

	.botones_item_nuevo {
		padding: 10px;
	}

	.botones_item_nuevo a {
		font-size: 18px;
	}

	.ie1 {
		padding: 15px;
	}

	.ie2 {
		padding: 15px;
	}

	

	.itemVistosFrec img {
		height: 350px;
	}

	.boton-ingresar {
		height: 50px;
		text-align: center;
		display: inline-block;
		border-radius: 50px;
		background: #23B8BA;
		color: #fff;
		font-size: 17px;
		border: none;
		width: 100%;
		outline: none;
		-webkit-appearance: none;
		padding: 8px 15px 9px 15px;
		transition: 0.5s all;
		-webkit-transition: 0.5s all;
		-moz-transition: 0.5s all;
		-o-transition: 0.5s all;
		border-radius: 30px;
	}

	.i_wa {
		padding: 11px 12px 6px 12px;
	}

	.titulo_inventario {
		width: 100%;
	}

  .texto-horizontal{
    font-size: 27px;
    line-height: 1;
  } 

  .texto-horizontal span{
    font-size: 18px;
    
  }

  .texto-horizontal-p2{
    font-size: 18px;
    margin-top: 15px;
  }

  .texto-horizontal3{
    font-size: 30px;
    line-height: 1;
  }

  .texto-horizontal3 span{
    font-size: 20px;
  }

  .info_empresa {
    height: 470px;
  }

  .itemVentNosotros{
    padding: 10px;
    min-height: 500px;
  }

}

/*1199*/
@media (max-width: 1199px) {
  .filtros-escritorio { display:none !important; }
  .btn-filtros-toggle{
    display: flex !important; /* <-- muestra el botón */
    margin-right: 15px;
    left: 16px; 
    bottom: 16px;
    z-index: 1040;
    align-items:center; gap:8px;
    background:#23B8BA; 
    color:#fff; border:0; border-radius:999px;
    padding:10px 14px; 
    font-weight:500; 
  }
  .btn-filtros-toggle:active { transform: translateY(1px); }
  .filters-drawer.open .filtros-escritorio { 
    display: block !important;   /* <-- muestra los filtros cuando están en el drawer */
  }
  /* opcional: que ocupe el ancho del panel y quite floats/paddings de bootstrap */
  .filters-drawer .filtros-escritorio {
    width: 100%;
    float: none;
    padding: 0;
    margin: 0;
  }

  .css-treeview2{
    display: none;
  }
}


/*1024px*/
@media (max-width: 1024px) {

  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))!important;
  }

  .rigth-container-detail {
    width: 100%;
    margin-left: 0;
    padding: 0 20px;
  }

  .cuerpo_pedido {
    padding: 30px 0px 50px 50px;
  }

  /*.container{
    width: 80vw;
  }*/

  .page-body {
    flex-direction: column;
  }

  .left-container-detail,
  .rigth-container-detail {
    width: 100%;
    padding: 20px;
  }

  .detalle-container {
    flex-direction: column;
  }

  .galeria,
  .info-producto {
    width: 100%;
  }

  .info-producto {
    margin-top: 30px;
  }

  .galeria{
    position: relative;
  }

  .info-producto {
    max-height: none;
    overflow-y: visible;
  }

  .sidebar-compra {
    width: 100%;
    position: static;
    margin-top: 30px;
  }

  .botones-sidebar button {
    font-size: 15px;
  }

  .slider-principal {
    height: 500px;
  }

  .texto-vertical{
    font-size: 20px;
    line-height: 0.8;
  }

  .texto-vertical span{
    font-size: 14px;
  }

  .texto-vertical4{
    font-size: 20px;
    line-height: 0.8;
  }

  .texto-vertical4 span{
    font-size: 16px;
  }

  .info_empresa {
    height: 500px;
  }

  
}

/*992px*/
@media (max-width: 992px) {
	.logo_principal a {
		font-size: 20px;
	}

  .boton_login{
    width: auto;
    height: 30px!important;
    line-height: 1;
  }

	.logo_principal img {
		width: 20px;
		height: 20px;
	}

  .botonera_arriba {
    height: 30px;
    margin-top: 10px!important;
  }

	.header-middle input[type="search"] {
		font-size: 12px;
		padding: 6px 12px;
	}

	.header-middle form input[type="submit"] {
		height: 30px;
	}

	.sear-sub {
		width: 30px;
		margin-top: -1px;
	}

	.titulo_inventario {
		width: 100%;
	}

  .sear-sub i {
      top: 10px;
      right: 8px;
      font-size: 12px;
  }

	.botom_buscarG {
		height: 29px;
    width: 29px;
    margin-left: -8px;
    margin-top: 1px;
	}

	.header-right ul li a i {
		font-weight: 400;
		font-size: 25px;
		margin-right: 5px;
	}

	.header ul li {
		font-size: 10px;
	}

	.logo_principal {
		margin-bottom: 20px;
	}

	.botonera_arriba {
		margin-top: 20px;
	}

	.fg {
		display: none !important;
	}

	.fm {
		display: block !important;
	}

	.fp {
		display: none !important;
	}

	.r1 {
		border-radius: 5px 5px 5px 5px;
		-moz-border-radius: 5px 5px 5px 5px;
		-webkit-border-radius: 5px 5px 5px 5px;
	}

	.r2 {
		border-radius: 5px 5px 5px 5px;
		-moz-border-radius: 5px 5px 5px 5px;
		-webkit-border-radius: 5px 5px 5px 5px;

	}

	.cajaR1 {
		margin-bottom: 25px;
	}

	.cajaR2 {
	}

	.texto-item-resaltada {
		height: 300px;
	}

	/**/

	.ie1 {
		padding: 10px;
	}

	.ie2 {
		padding: 10px;
	}

	.ie1_texto p {
		font-size: 12px;
	}

	.ie1_titulo {
		font-size: 20px;
	}

	.ie1_titulo p {
		font-size: 14px;
	}

	.numero {
		width: 90px;
		height: 90px;
		font-size: 70px;
	}

	.numero p {
		line-height: 70px;
	}

	.info_empresa {
		height: 400px;
	}

	/*.formularioOferta10 {
		margin-top: 20px;
		display: inline-flex;
	}

	.contenidoOferta10 {
		display: block;
		text-align: center;
	}

	.inputTextOferta10 {
		float: none;
	}

	.botonOferta10 {
		float: none;
		margin-top: 25px;
	}

	.botonOferta10 {
		width: 90px;
	}

	.imgOferta10 {
		margin-right: 0px;
		margin-bottom: 25px;
	}*/

	/*vende con nostros*/
	.itemVentNosotros h2 {
		font-size: 20px;
		margin-bottom: 15px;

	}

	.itemVentNosotros p {
		font-size: 14px;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.header-right {
		display: inline;
	}

	.filtrosInventario {
		width: 70%;
	}

	.checkout-left-basket {
		width: 50%;
	}

	.checkout-right-basket {
		display: none;
	}


}

/*991px*/
@media (max-width: 991px) {
  .grid-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr))!important;
  }
  .itemVistosFrec4{
    padding-right: 15px;
    margin-top: 0px;
  }

  .itemVistosFrec2{
    padding-left: 0px;
    margin-top: 0px;
  }

  .buttom-agregar-frec5{
    margin-left: 15px;
  }

  .itemVentNosotros{
    width: 80%;
    padding: 25px;
    min-height: 0;
    margin: auto;
    margin-bottom: 25px;
  }

  .itemVentNosotros p{
    height: auto;
    margin-bottom: 25px;
  }

  .titulo-fecha{
    text-align: left!important;
  }

  .titulo-total{
   
    text-align: right!important;
  }

  .titulo-envio{
    margin-top: 15px;
    text-align: left!important;
  }

  .titulo-pedido{
    margin-top: 15px;
    text-align: right!important;
  }

  .cuerpo_pedido {
    padding: 10px 0px 50px 20px;
  }

  .estado_pedido {
    
    width: 90%;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
}

/*850px*/
@media (max-width: 850px) {
	.texto-item-resaltada {
		height: 270px;
	}

	.titulo_inventario {
		width: 100%;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

  .info_empresa {
    display: block;
    height: auto;
    border: none;
  }

  .ie1{
    width: 100%;
    padding: 35px;
    margin-bottom: 15px;
    border: 1px solid #e6e6e6;
  }

  .ie1_titulo {
    font-size: 24px;
    margin-bottom: 25px;
  }

  .ie2{
    width: 25%;
    min-height: 300px;
  }
}

/*768px*/
@media (max-width: 768px) {

  .mostrar-header {
		display: block;
	}

	.ban-top {
		padding: 0px 15px;
	}

	.sear-sub {
		width: 30px;
	}

	.sear-sub i {
    right: 10px;
    font-size: 12px;
    top: 10px;
	}

	.menu_centris {
		display: flex;
		align-items: stretch;
		flex-direction: row;
		flex-wrap: nowrap;
	}

	.sorting {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
		margin-left: -10px;
  }

	.sorting select {
		margin-bottom: 15px;
	}

	.box_1 {
		padding: 7px 10px;
	}

	.box_2 {
		padding: 7px 10px !important;
	}
  
	.bd1 {
		display: none;
	}

	.bd2 {
		display: block;
	}

	.ie1_texto {
		margin-top: 20px;
	}

	.ie1_titulo {
		display: block;
		margin-right: 0px;
	}

	.textoMARCA {
		margin-top: 25px;
		text-align: center;
	}

	/*.itemVistosFrec {
		width: 70%;
		margin: auto;
		margin-top: 25px;
		margin-bottom: 25px;
		height: 350px;
	}

	.itemVistosFrec2 {
		width: 70%;
		margin: auto;
		margin-top: 25px;
		margin-bottom: 25px;
		height: 750px;
	}

	.imgVistosFrec img {
		height: 350px;
	}

	.imgVistosFrec2 img {
		height: 665px;
	}

	.contenedor-horizontal3 {
		width: 100%;
		position: relative;
		display: block;
		background: #23B8BA;
		text-align: center;
		height: 407px;
		padding: 50px;
		border-radius: 0px 0px 14px 14px;
		-webkit-border-radius: 0px 0px 14px 14px;
	}*/

	.descripcion {
		width: 90%;
		margin: auto;
	}

	.filtrosInventario {
		width: 80%;
	}

	.modal-dialog {
		width: 95%;
		margin: auto;
	}

	.producto_history2 {
		width: 70%;
		margin-left: 77px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.texto-item-resaltada {
		height: 100%;
	}

	.no-pad-men {
		padding: 0 15px 0 15px !important;
	}

	/*.botonCirculo {
		width: 50px;
		height: 50px;
		margin-top: -5px;
		margin-right: 5px;
	}

	.botonOferta10 i {
		line-height: 49px;
		font-size: 23px;
	}*/

	.titulo_inventario {
		width: 100%;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.header-right {
		display: flex;
		flex-direction: row;
		justify-content: space-around;
	}

	/*.articuloVistosFrec {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: center;
	}

	.imgVistosFrec1 img {
		width: 157%;
		height: 350px;
		border-radius: 0px 14px 14px 0px;
		-webkit-border-radius: 0px 14px 14px 0px;
	}

	.contenedor-vertical {
		position: relative;
		width: 183px;
		height: auto;
		background-color: #7a6454;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-left: -147px;
	}

	.itemVistosFrec2 {
		position: relative;
		display: flex;
		justify-content: space-between;
		flex-direction: column;
		width: 93%;
        margin-top: 25px;
        margin-bottom: 25px;
        height: 448px;
        margin-left: -78px;
	}

	.imgVistosFrec2 img {
		width: 169%;
		height: 350px;
		margin-left: -15px;
		border-radius: 0px 14px 14px 0px;
		-webkit-border-radius: 0px 14px 0px 0px;
	}

	.contenedor-horizontal {
		position: relative;
		width: 169%;
		height: auto;
		margin-left: -15px;
		background-color: #7a645480;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 10px;
		border-radius: 0px 0px 14px 0px;
	}

	.imgVistosFrec3 img {
		width: 158%;
		height: 500px;
		border-radius: 14px 14px 0px 0px;
		-moz-border-radius: 14px 14px 0px 0px;
		-webkit-border-radius: 14px 14px 0px 0px;
		border: 0px solid #CFCFCF;
		margin-left: -91px;
	}

	.contenedor-horizontal3 {
        width: 158%;
        position: relative;
        display: block;
        background: #23B8BA;
        text-align: center;
        height: 407px;
        padding: 50px;
        border-radius: 0px 0px 14px 14px;
        -webkit-border-radius: 0px 0px 14px 14px;
        margin-left: -90px;
  }

	.texto-horizontal3 {
		font-size: 38px;
		font-weight: bold;
		text-align: center;
		color: white;
		line-height: 1;
	}

	.texto-horizontal-p2 {
		font-size: 27px;
		line-height: 1.2;
		text-align: center;
		padding: 0px 0px;
		color: white;
		font-weight: 100;
	}

	.imgVistosFrec4 img {
		width: 128%;
		height: 350px;
		border-radius: 0px 14px 14px 0px;
		-webkit-border-radius: 14px 0px 0px 14px;
		margin-left: -92px;
	}

	.contenedor-vertical4 {
		position: relative;
		width: 150px;
		height: auto;
		background-color: #7a6454;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-right: -115px;
	}

	.imgVistosFrec5 img {
		width: 170%;
		height: 350px;
		border-radius: 0px 14px 14px 0px;
		-webkit-border-radius: 14px 0px 4px 0px;
		margin-left: -14px;
	}

	.contenedor-horizontal5 {
		position: relative;
		width: auto;
		height: auto;
		margin-right: -217px;
		background-color: #7a645480;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 10px;
		border-radius: 0px 0px 0px 14px;
		margin-left: -14px;
	}

	.buttom-agregar-frec {
		float: left;
	}

	.buttom-agregar-frec2 {
		float: left;
	}

	.buttom-agregar-frec3 {
		float: left;
	}

	.buttom-agregar-frec4 {
		margin-left: -86px;
	}*/

	.activoInventario::after {
		content: '';
		position: absolute;
		bottom: -8px;
		left: 56%;
		transform: translateX(27%);
		height: 40px;
		background-color: #F3F4F4;
		border-radius: 100%;
		width: 5%;
	}

	.activo-temporada::after {
		content: '';
		position: absolute;
		bottom: -8px;
		left: 50%;
		transform: translateX(-126%);
		height: 40px;
		background-color: #F3F4F4;
		border-radius: 100%;
		width: 5%;
	}

	.activo-nuevos::after {
		content: '';
		position: absolute;
		bottom: -8px;
		left: 50%;
		transform: translateX(-100%);
		height: 40px;
		background-color: #F3F4F4;
		border-radius: 100%;
		width: 5%;
	}

	.botonera_inventario {
		text-align: center;
		margin-left: 145px;
	}

	.titulo-productos-temporada {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.titulo-productos-nuevos {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

  .top_nav_left {
    width: 50% ;
  }

  .navbar-nav > li {
    float: left;
    margin-top: 25px;
  }

  .top_nav_right {
		width: 100%;
    margin-right: 30px;
	}

  .container-menu_centris{
    margin-top: 0px;
  }

  /*DETALLE*/
  .page-header-detalle {
        padding: 10px;
  }

  .detalle-container {
      flex-direction: column;
      gap: 20px;
  }

  .galeria {
      padding: 10px;
  }

  .slider-principal {
      height: auto;
  }

  .img-detalle-principal {
      height: auto;
      max-height: 450px;
      object-fit: contain;
  }

  .slider-thumbs {
      display: flex;
      overflow-x: auto;
      gap: 8px;
  }

  .img-detalle-thumb {
      width: 70px;
      margin: 0;
  }

  .titulo-producto {
      font-size: 18px;
  }

  .precio-box,
  .precio-sidebar .precio-actual {
      font-size: 20px;
  }

  .calificacion-producto {
      font-size: 11px;
      padding: 3px 8px;
  }

  .tabla-atributos th,
  .tabla-atributos td {
      font-size: 13px;
      padding: 6px;
  }

  .bloque-info .titulo-info {
      font-size: 15px;
  }

  .botones-sidebar {
      flex-direction: column;
  }

  .btn-wsp-cotiza {
      flex-direction: row;
      flex-wrap: wrap;
      font-size: 13px;
  }

  .whatsapp-icon-cotiza {
      width: 32px;
      margin-bottom: 5px;
  }

  .stock-info-container {
      flex-direction: column;
      gap: 10px;
  }

  .select-custom {
      width: 100%;
  }

  .select-custom select {
      padding-left: 15px;
      font-size: 15px;
  }

	.slider-thumbs {
		display: flex;
		overflow-x: auto;
		gap: 8px;
		padding-bottom: 10px;
		scrollbar-width: thin;
	}

	.slider-thumbs::-webkit-scrollbar {
		height: 6px;
	}

	.slider-thumbs::-webkit-scrollbar-thumb {
		background-color: #ccc;
		border-radius: 10px;
	}

  .ver_todos{
    bottom: 70px;
  }

  .ie2{
    width: 50%;
    min-height: 250px;
  }

}

/*767px*/
@media (max-width: 767px) {
  .itemVistosFrec4 {
    padding-right: 0px;
  }

  .info_busqueda{
    text-align: center;
    margin-bottom: 15px;
  }

  .sort-amz{
    justify-content: center;
  }

  .detalle_pedido{
    flex: 1.5;
  }
}

/*610px*/
@media (max-width: 610px) {
  .detalle_pedido{
    flex: 1;
  }

  .item_pedido {
    display: grid;
  }

  .timeline-status {
    display: block;
  }
}

/*576px*/
@media (max-width: 576px) {

  .header_rastreo{
    display: block;
  }

  .direcciones_pro {
    width: 100%!important;
  }

  .grid-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr))!important;
  }

  #cerrarPopup{
    right: 10px;
    top: 10px;
  }
  .carousel-caption2 {
    padding: 5px 25px;
  }

  .carousel-caption2 a {
    font-size: 18px;
  }

  .fg {
		display: none !important;
	}

	.fm {
		display: none !important;
	}

	.fp {
		display: block !important;
	}

	.item_categoria_resaltada h2 {
		font-size: 18px;
		margin-left: 10px;
		margin-top: 10px;
	}

	.ver_todos {
		font-size: 12px;
		font-weight: 600;
		bottom: 30px;
		left: 20px;
	}

	.ver_todos a {
		font-size: 12px;
		padding: 5px 10px;
	}	

	

	.box_1 h3 {
		font-size: 12px;
	}

	.box_2 h3 {
		font-size: 12px;

	}

	.ie1 {
		width: 100%;
		padding: 25px;
	}

	.ie2 {
		width: 100%;
		padding: 35px;
		margin-bottom: 22px
	}

	.info_empresa {
		height: auto;
		display: flow-root;
	}
  
  .imgOferta10 img {
		width: 70px;
	}
	/*.imgOferta10 {
		margin-right: 20px;
	}

	

	*/.textoOferta10 {
		width: 100%;
		font-size: 22px;
    line-height: 1.2;
	}

	.textoOferta10 span {
		line-height: 1;
    font-size: 14px;
	}

	.inputTextOferta10 {
		width: 350px;
	}

	/*.botonCirculo {
		width: 50px;
		height: 50px;
	}

	.botonOferta10 i {
		line-height: 50px;
		font-size: 25px;
	}

	.botonOferta10_ {
		margin-top: 10px;
		margin-right: 10px;
	}*/

	.oferta10 {
		padding: 50px 0;
	}

	/*.itemVistosFrec {
		width: 85%;
	}

	.itemVistosFrec2 {
		width: 85%;
		height: auto;
	}*/

	.filtrosInventario {
		width: 90%;
	}

	.login-bottom {
		width: 99%;
		margin-bottom: 25px;
	}

	.login-right {
		width: 99%;
	}

	.checkout-left-basket {
		width: 80%;
	}

	.producto_history2 {
		width: 82%;
		margin-left: 30px;
		margin-right: 20px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.modal-body {
		display: flex;
		gap: 20px;
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px;
		justify-content: space-between;
		flex-direction: column;
	}

	.titulo_inventario {
		width: 100%;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.header-right {
		display: flex;
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}

	/*.imgVistosFrec2 img {
		height: 350px;
	}

	.contenedor-vertical {
		position: relative;
		width: 150px;
		height: auto;
		background-color: #7a6454;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		margin-left: -46px;
	}

	.imgVistosFrec5 img {
		width: 122%;
		margin-left: -33px;
		height: 350px;
		border-radius: 0px 14px 14px 0px;
		-webkit-border-radius: 14px 0px 4px 0px;
	}

	.contenedor-horizontal5 {
		position: relative;
		height: auto;
		margin-right: -13px;
		background-color: #7a645480;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 10px;
		border-radius: 0px 0px 0px 14px;
		width: 123%;
		margin-left: -32px;
		height: 350px;
	}

	.contenedor-horizontal {
		position: relative;
		width: 114%;
		height: auto;
		margin-left: -46px;
		background-color: #7a645480;
		overflow: hidden;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 10px;
		border-radius: 0px 0px 14px 0px;
	}*/

	.top_nav_right {
        width: 100%;
        margin-top: 0px;
  }

  .ban-top {
      padding: 1px 0px;
  }

	.botonera_inventario {
        text-align: center;
        margin-left: 0px;
		margin-bottom: 22px;
  }

  .activoInventario::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 44%;
      transform: translateX(-103%);
      height: 40px;
      background-color: #F3F4F4;
      border-radius: 100%;
      width: 5%;
  }

	/*.contenedor-vertical4 {
        position: relative;
        width: 150px;
        height: auto;
        background-color: #7a6454;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 0px;
  }

	.contenedor-horizontal3 {
        width: 158%;
        position: relative;
        display: block;
        background: #23B8BA;
        text-align: center;
        height: 407px;
        padding: 50px;
        border-radius: 0px 0px 14px 14px;
        -webkit-border-radius: 0px 0px 14px 14px;
        margin-left: -235px;
  }

	.imgVistosFrec2 img {
        width: 147%;
        height: 350px;
        margin-left: -15px;
        border-radius: 0px 14px 14px 0px;
        -webkit-border-radius: 0px 14px 0px 0px;
  }

	.imgVistosFrec1 img {
        width: 115%;
        height: 350px;
        border-radius: 0px 14px 14px 0px;
        -webkit-border-radius: 0px 14px 14px 0px;
  }

	.contenedor-horizontal3 {
        width: 100%;
        position: relative;
        display: block;
        background: #23B8BA;
        text-align: center;
        height: 407px;
        padding: 50px;
        border-radius: 0px 0px 14px 14px;
        -webkit-border-radius: 0px 0px 14px 14px;
        margin-left: 0px;
  }

	.imgVistosFrec3 img {
        width: 100%;
        height: 500px;
        border-radius: 14px 14px 0px 0px;
        -moz-border-radius: 14px 14px 0px 0px;
        -webkit-border-radius: 14px 14px 0px 0px;
        border: 0px solid #CFCFCF;
        margin-left: 0px;
  }

	.tituloVistosFrec {
		margin-left: 0;
	}*/

	.login-grids, .login-right {
		width: 100%;
	}

  .top_nav_right {
    width: 100%;
    margin-top: 6px;
    margin-right: 20px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
  }
}

/*500px*/
@media (max-width: 500px) {
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))!important;
  }
  .box_1{
    margin-top: 10px;
  }
  .img-detalle-principal {
        
        max-height: 400px;
    }
}

/*481px*/
@media (max-width: 481px){
  .mostrar-header {
		display: none;
	}

	.activoInventario::after {
        content: '';
        position: absolute;
        bottom: 14px;
        left: 50%;
        transform: translateX(-99%);
        height: 40px;
        background-color: #F3F4F4;
        border-radius: 100%;
        width: 7%;
  }

	.free_delivery {
        color: #23B8BA;
        font-weight: bold;
        font-size: 18px;
        margin-right: 3px;
  }

	.item_price {
        color: black;
        font-weight: bold;
        font-size: 19px;
  }

	.resaltar_categorias {
		padding: 0;
		margin-top: 10px;
		margin-bottom: 15px;
		margin-right: 10px;
		margin-left: 0px;
	}

	.btn-ver-mas {
        margin-left: 0px;
        margin-top: 97px;
  }

  .activoInventario::after {
        content: '';
        position: absolute;
        bottom: 14px;
        left: 50%;
        transform: translateX(-101%);
        height: 40px;
        background-color: #F3F4F4;
        border-radius: 100%;
        width: 7%;
  }

	.ie1_texto p {
        font-size: 17px;
        text-align: center;
  }

	.sear-sub {
    width: 20px;
    margin-top: -1px;
    height: 20px;
    right: 8px;
  }

	.info-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: auto;
    margin-left: 26px;
  }

	.cart-options-container {
    font-size: 12px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 13px;
    flex-wrap: nowrap;
  }

	.i_fav {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: white;
		background-color: #8B5AFA;
		cursor: pointer;
		padding: 12px 12px 6px 12px;
		border-radius: 100%;
		transition: transform 0.2s ease, box-shadow 0.2s ease;
	}

	.botones_item_nuevo {
    padding: 13px;
    margin-left: 0px;
  }

  .products-left {
    padding-right: 0;
    margin-right: 60px;
    margin-left: -29px;
    width: 95%;
  }

  .products-right {
    margin-left: 7px;
    margin-right: 0px;
  }

	.botonera_inventario a {
		background-color: #23B8BA;
		color: #ffffff;
		font-size: 16px;
		font-weight: 600;
		padding: 10px 53px;
		border-radius: 25px;
		cursor: pointer;
	}

	.imagen_categoria_resaltada img {
		width: 100%;
		margin-top: 25px;
	}

	#listado_ineventario {
		margin-left: 0px;
	}
	
	.history-listar {
		margin-top: -26px;
	}

	.sorting .row {
		margin-top: 20px;
		display: flex;
		margin-left: 0;
		justify-content: center;
	}

	.info_busqueda {
		margin-left: 0px;
	}

	.css-treeview {
    margin-right: -42px;
  }

	.dropdown-button {
    width: 104%;
  }

	.inputTextOferta10 {
    width: 300px;
  }

	.imagen_categoria_resaltada {
		width: 100%;
		text-align: right;
		margin-right: 0px;
	}

	.botom_buscarG {
		height: 29px;
    width: 29px;
    margin-left: -10px;
  }

	.sear-sub i {
    margin-top: 0px;
    margin-right: 0px;
    font-size: 12px;
  }

  .texto_arriba_footer h3 {
    font-size: 18px;
  }
	
	.navega-producto-temporada {
		text-align: right;
		margin-top: 17px;
	}

	.navega-productos-nuevos {
		text-align: right;
		margin-top: 17px;
	}

	.pedido_contenedor {
		display: grid;
    width: 95%;
		align-items: center;
		align-content: space-between;
	}

	.botones_pedido {
		width: 100%;
		padding: 32px;
		margin-left: 14px;
	}

  .cuerpo_pedido {
    padding: 10px 0px 50px 10px;
  }

	.item_pedido {
		display: flex;
		gap: 15px;
		margin-bottom: 15px;
		/*background-color: #ffffff;
		padding: 20px;
		margin-bottom: 20px;
		border: 1px solid #ddd;
		border-radius: 5px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		flex-direction: column;
		flex-wrap: nowrap;*/
	}

	.detalle_pedido {
		flex: auto;
    margin: 0;
	}

  .cabeza_pedido{
    padding: 10px;
  }

  .estado_pedido {
    width: 90%;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
  }
	.nav-tabs {
    display: grid;
		margin-bottom: 1em;
	}
	#modal_pedido .modal-content {
		border-radius: 10px;
		border: 1px solid #ddd;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		width: 100% !important;
		margin-left: -3px !important;
	}
	.status-card {
		flex: 1;
		padding: 10px;
		text-align: center;
		background: #daf1f3;
		color: #091C5C;
		font-size: 13px;
		margin: 0 5px;
		transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
	}
	.estado-pedido {
		font-size: 14px !important;
		padding: 4px 16px 4px 16px !important;
	}
	.detalle-pedido {
		font-size: 14px !important;
	}
	.id-pedido {
		font-size: 15px !important;
	}
	
	.fecha-entrega {
		font-size: 15px !important;
		margin-left: 47px !important;
	}
	
	.header-middle input[type="search"] {
		height: 29px;
  }
  
	.status-card {
		font-size: 14px !important;
	}
	.detalle-pedido {
		font-size: 15px;
		font-weight: 400;
		color: #23B8BA;
		margin-bottom: 25px;
		text-align: center;
		border: none;
	}
	.detalle-pedido .btn_accion {
		background-color: transparent;
	}
	.detalle-pedido .btn_accion:hover {
		color: #23B8BA;
	}
	.botones_item_nuevo a {
        font-size: 15px;
        margin-left: 1px;
    }
  .rigth-container-detail {
    
    padding: 5px;
  }

  .left-container-detail{
    padding: 15px;
  }

  
}

/*479px*/
@media (max-width: 479px) {
  #categorias_top {
    width: 70%;
    margin: auto;
    margin-top: 110px;
  }

  
}

/*441px*/
@media (max-width: 441px) {

  .botom_buscarG{
    height: 29px;
    width: 29px;
    margin-left: -1px;
    margin-top: 0px;
  }

  .sear-sub i{
    margin-top: -2px;
  }

  .sort-amz{
    flex-direction: column;
    gap: 10px;
  }

  .btn-filtros-toggle{
    margin-right: 0px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  
	.activoInventario::after {
        content: '';
        position: absolute;
        bottom: 14px;
        left: 50%;
        transform: translateX(-103%);
        height: 40px;
        background-color: #F3F4F4;
        border-radius: 100%;
        width: 7%;
    }

	.item-info-product h4 a {
        font-size: 13px;
    }

	/*.tituloVistosFrec {
		margin-left: 0;
	}*/
	
	.sear-sub {
        width: 30px;
        margin-top: 0px;
        margin-right: -1px;
    }
	.sorting {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
		margin-left: -13px;
    }

	.info_busqueda {
        text-align: center;        
        font-size: 14px;
    }
	.login-grids, .login-right {
		width: 100%;
	}
	
	.history-listar {
		width: 100%;
		margin-top: 70px;
		padding-bottom: 70px;
		margin-left: -24px;
		background-color: transparent;
	}
    
	.single {
		padding-top: 0px;
	}
	
	.imagen_categoria_resaltada {
        width: 100%;
        float: right;
        text-align: right;
        margin-right: 1px;
    }
	
	.nav-tabs {
		margin-bottom: 1em;
	}
	#modal_pedido .modal-content {
		border-radius: 10px;
		border: 1px solid #ddd;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		width: 100% !important;
		margin-left: -3px !important;
	}
	.status-card {
		flex: 1;
		padding: 10px;
		text-align: center;
		background: #daf1f3;
		color: #091C5C;
		font-size: 13px;
		margin: 0 5px;
		transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
	}
	.estado-pedido {
		font-size: 14px !important;
	}
	.detalle-pedido {
		font-size: 14px;
	}
	.id-pedido {
		font-size: 15px;
	}
	
	.fecha-entrega {
		font-size: 15px;
	}
	
	.botones_item_nuevo a {
        font-size: 15px;
        margin-left: 1px;
    }

  
}

@media (max-width: 431px) {
	.single {
		padding-top: 0px;
	}

  .navbar-default{
    margin-left: 0;
  }

    
	.imagen_categoria_resaltada img {
    width: 100%;
    margin-top: 25px;
    margin-left: -2px;
  }

	.ver-mas-container {
    text-align: center;
    margin-bottom: 33px;
    position: relative;
    margin-left: -58%;
    margin-top: -78px;
    color: white;
  }

  #categorias_top {
   
    width: 80%;
    gap: 40px;
    padding: 12px;
    justify-items: stretch;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
    margin: auto;
    margin-top: 110px;
  }
   
	
	
	.products-right {
        margin-left: -13px;
        margin-right: -30px;
    }
	.cart-options-container {
        margin-right: 6px;
    }
	#listado_ineventario {
        margin-left: 12px;
    }
	.activo-temporada::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-130%);
        height: 40px;
        background-color: #F3F4F4;
        border-radius: 100%;
        width: 7%;
    }
	.activo-nuevos::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-127%);
        height: 40px;
        background-color: #F3F4F4;
        border-radius: 100%;
        width: 8%;
    }
	
	.status-card {
		font-size: 12px !important;
	}

  
}

/*425px*/
@media (max-width: 425px) {
  .textoOferta10 {
    margin-top: 100px;
  }

  .inputTextOferta10 {
    width: 280px;
  }
}

/*404px*/
@media (max-width: 404px) {
  
  .titulo-fecha{
    text-align: left!important;
  }

  .titulo-total{
    text-align: left!important;
  }

  .titulo-pedido{
    text-align: left!important;
  }

  .titulo-envio{
    text-align: left!important;
  }
}

@media (max-width: 399px) {

	.itemVentNosotros{
    width: 90%;
    padding: 15px;
  }

	.products-left {
		padding-right: 0;
        margin-right: 60px;
        margin-left: -13px;
        width: 100%;
	}

	.products-right {
		padding-right: 0;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		min-height: 700px;
		position: relative;
		margin-left: -20px;
		margin-right: -30px;
	}

	.occasion-cart {
		margin-left: 0px;
		margin-top: 25px;
	}

	.checkout-left-basket {
		width: 100%;
	}


	.modal-body {
		display: flex;
		gap: 20px;
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px;
		justify-content: space-between;
		flex-direction: column;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.header-right {
		display: flex;
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}

	.sorting {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
	
	#myCarousel img {
        margin: auto;
        max-width: 103%;
    }
	.navega-producto-temporada {
		text-align: right;
		margin-top: 14px;
	}
	.navega-productos-nuevos {
		text-align: right;
		margin-top: 14px;
	}
	.activo-nuevos::after {
        transform: translateX(-131%);
        width: 8%;
    }
	.botones_item_nuevo a {
        font-size: 15px;
        margin-left: 1px;
    }
}

@media (max-width: 393px) {
  .carousel-caption2 {
    padding: 3px 15px;
  }

  .carousel-caption2 a {
    font-size: 16px;
  }

	.products-right {
		padding-right: 0;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		min-height: 700px;
		position: relative;
		margin-left: -30px;
		margin-right: -1px;
	}

	.titulo_inventario {
		width: 100%;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.header-right {
		display: flex;
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}

	#categorias_top {
      width: 90%;
  }

	.products-left {
		padding-right: 0;
    margin-right: 60px;
    margin-left: -13px;
    width: 100%;
  }

  .detalle_pedido a{
    font-size: 13px;
  }

	.products-right {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 700px;
    position: relative;
    margin-left: -8px;
    margin-right: -1px;
  }
    
	.item_price {
        color: black;
        font-weight: bold;
        font-size: 19px;
  }
	.precio-anterior {
    font-size: 15px;
  }

	.free_delivery {
    color: #23B8BA;
    font-weight: bold;
    font-size: 16px;
    margin-right: 3px;
  }
    
	.dropdown-button {
    width: 108%;
    background-color: #f7f7f7;
    color: #091C5C;
    font-weight: 600;
    border: none;
    padding: 17px;
    text-align: center;
    cursor: pointer;
    margin-left: 35px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    border: 1px solid #d2d2d2;
    margin-top: -11px;
  }

  

}

@media (max-width: 375px) {

  .header-right ul li {
      display: inline-block;
      margin: 4px 8px !important;
  }
  
	.occasion-cart {
		margin-left: 0px;
		margin-top: 25px;
	}

	.producto_history2 {
		width: 70%;
		margin-left: 50px;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.modal-body {
		display: flex;
		gap: 20px;
		max-width: 1200px;
		margin: 0 auto;
		padding: 20px;
		justify-content: space-between;
		flex-direction: column;
	}

	.titulo_inventario {
		width: 100%;
	}

	.ventNosotrosTitulo {
		color: #091C5C;
		margin-bottom: 50px;
		width: 100%;
	}

	.header-right {
		display: flex;
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}

	.botonera_inventario a {
		background-color: #23B8BA;
		color: #ffffff;
		font-size: 13px;
		font-weight: 600;
		padding: 10px 55px;
		border-radius: 25px;
		cursor: pointer;
	}

  .activoInventario::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-103%);
    height: 36px;
    background-color: #F3F4F4;
    border-radius: 100%;
    width: 9%;
  }

	.activo-temporada::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-129%);
    height: 40px;
    background-color: #F3F4F4;
    border-radius: 100%;
    width: 9%;
  }

	.activo-nuevos::after {
    content: '';
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-103%);
    height: 36px;
    background-color: #F3F4F4;
    border-radius: 100%;
    width: 9%;
  }

	.navega-productos-nuevos {
		text-align: right;
		margin-top: 17px;
	}

	.navega-producto-temporada {
		text-align: right;
		margin-top: 17px;
	}
	
  
	
	.inputTextOferta10 {
    width: 233px;
  }
   
	.resaltar_categorias {
    padding: 0;
    margin-top: 10px;
    margin-bottom: 15px;
    margin-right: 18px;
    margin-left: 0px;
  }

	.ie1_texto p {
    font-size: 14px;
  }
	
	.dropdown-button {
    width: 106%;
  }

	#listado_ineventario {
    margin-left: 0px;
  }

	.imagen_categoria_resaltada {
    width: 100%;
    float: right;
    text-align: right;
    margin-right: -2px;
  }

	.products-left {
		padding-right: 0;
    margin-right: 60px;
    margin-left: -13px;
    width: 100%;
  }

	.products-right {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 700px;
    position: relative;
    margin-left: -10px;
    margin-right: -1px;
  }

	.activo-temporada::after {
		content: '';
		position: absolute;
		bottom: -8px;
		left: 50%;
		transform: translateX(-142%);
		height: 40px;
		background-color: #F3F4F4;
		border-radius: 100%;
		width: 6%;
	}
	.botonera-productos-temporada a {
		background-color: #23B8BA;
		color: #ffffff;
		font-size: 16px;
		font-weight: 600;
		padding: 10px 48px;
		border-radius: 25px;
		cursor: pointer;
	}

	
}


/* 1) Grid: márgenes correctos en filas */
.row {
  margin-right: -15px !important;
  margin-left: -15px !important;
}

/* 2) Containers: vuelve a los anchos estándar de BS3 */
.container { width: auto !important; }
@media (min-width: 768px)  { .container { width: 750px !important; } }
@media (min-width: 992px)  { .container { width: 970px !important; } }
@media (min-width: 1200px) { .container { width: 1170px !important; } }

/* 3) Form controls: quita el hack negativo */
.form-control { margin-top: 0 !important; }

/* 4) Glyphicons: no los muevas con top/right por breakpoint */
.glyphicon { top: 0 !important; right: auto !important; }
@media (max-width: 500px), (max-width: 768px), (max-width: 2400px) {
  .glyphicon { top: 0 !important; right: auto !important; }
}

/* ===== Fix Swiper overflow en el bloque history-detalle ===== */
.history-detalle .swiper-container-todo-detalle,
.history-detalle .swiper-container2{
  position: relative;
  width: 100%;
  overflow: hidden;         /* clave: corta el wrapper */
}

/* Asegura layout de Swiper */
.history-detalle .swiper-container2 .swiper-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;            /* Swiper usa flex; evita herencias raras */
  box-sizing: border-box;
  will-change: transform;
}

.history-detalle .swiper-container2 .swiper-slide {
  flex: 0 0 auto;           /* no grow/shrink que estiren el carrusel */
  box-sizing: border-box;
  max-width: 100%;          /* evita que un slide empuje el viewport */
}

/* Botones dentro del contenedor (que no sumen ancho) */
.swiper-button-prev-custom-detalle,
.swiper-button-next-custom-detalle{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 36px; height: 36px;
  line-height: 36px; text-align: center;
  cursor: pointer;
  /* opcional: fondo para mejorar accesibilidad
  background: rgba(255,255,255,.85);
  border-radius: 50%;
  */
}
.swiper-button-prev-custom-detalle{ left: 0; }
.swiper-button-next-custom-detalle{ right: 0; }

/* La paginación fuera del contenedor no debe provocar overflow */
.history-detalle .swiper-pagination .history{
  position: relative;
  margin-top: 10px;
  overflow: hidden;
}

/* BONUS: si tus slides llevan .row por dentro, evita los -15px negativos */
.history-detalle .swiper-slide .row .history{
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Si alguna vez aparece una línea de scroll te aviso con este seguro:
.history-detalle{ overflow-x: hidden; }
*/

#myCarousel .carousel-control{
  position: absolute;
  top: 0; bottom: 0;
  width: 50px;
  background: transparent;

  display: flex;              /* centrado vertical sin cálculos */
  align-items: center;
  justify-content: center;    /* centra también horizontal dentro del botón */
}

/* Anula overrides globales que pongan top/right a los glyphicons */
#myCarousel .carousel-control .glyphicon{
  position: static !important;
  top: auto !important;
  right: auto !important;
  margin: 0;
}

#myCarousel2 .carousel-control{
  position: absolute;
  top: 0; bottom: 0;
  width: 50px;
  background: transparent;

  display: flex;              /* centrado vertical sin cálculos */
  align-items: center;
  justify-content: center;    /* centra también horizontal dentro del botón */
}

/* Anula overrides globales que pongan top/right a los glyphicons */
#myCarousel2 .carousel-control .glyphicon{
  position: static !important;
  top: auto !important;
  right: auto !important;
  margin: 0;
}



/* ===== SIDEBAR FILTROS RESPONSIVE ===== */


/* Sidebar normal en desktop */
.filtros-escritorio { display:block; }

/* Botón flotante oculto en desktop */
.btn-filtros-toggle { display:none; }
/* Drawer base (oculto) */
.filters-drawer{ position: fixed; inset: 0; z-index: 1050; pointer-events:none; }
.filters-drawer .drawer-backdrop{
  position:absolute; inset:0; background:rgba(0,0,0,.35); opacity:0; transition:opacity .2s ease;
}
.filters-drawer .drawer-panel{
  position: fixed; top: 0; left: 0; height: 100%;
  width: 86%; max-width: 420px; background: #fff;
  transform: translateX(-100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
  z-index: 2;                 /* <--- importante */
  pointer-events: auto;       /* permite interactuar dentro */
}
.filters-drawer.open{ pointer-events:auto; }
.filters-drawer.open .drawer-backdrop{ opacity: 1; }
.filters-drawer.open .drawer-panel{ transform: translateX(0); }

.drawer-header{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-bottom:1px solid #eee;
}
.drawer-header h3{ margin:0; font-size:18px; }
.drawer-close{
  background:transparent; border:0; font-size:28px; line-height:1; cursor:pointer;
}
.drawer-body{
  padding:14px; overflow:auto; /* todo el contenido scrollea dentro */
  flex:1 1 auto;
}
.drawer-footer{
  padding:12px 14px; border-top:1px solid #eee; display:flex; gap:10px;
}

/* Evita scroll del body cuando el drawer está abierto */
.body-no-scroll{ overflow:hidden; }

#categorias1{
  grid-template-columns: auto;
}

/*preloader*/
/* Fondo oscuro transparente */
.preloader_centris-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.5);
    z-index: 9998;
  }
  
  /* Contenedor del spinner */
  .preloader_centris-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 9999;
  }
  
  /* Loader circular */
  .loader_centris {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #042F75;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin_centris 1s linear infinite;
    margin: 0 auto 10px;
  }
  
  @keyframes spin_centris {
    to { transform: rotate(360deg); }
  }
  
  /* Overlay local dentro del div */
.preloader_centris-local {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.4);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Spinner */
  .preloader_centris-local .loader_centris {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #042F75;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    animation: spin_centris 1s linear infinite;
    margin-bottom: 10px;
  }
  
  @keyframes spin_centris {
    to { transform: rotate(360deg); }
  }
  
  /* Texto cargando */
  .preloader_centris-local .texto-cargando {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  .texto-cargando span::after {
    content: '';
    animation: puntos_cargando 1.5s infinite steps(4);
  }
  
  @keyframes puntos_cargando {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
  }


  /*estilos carrito de compras*/

  /* ===== Carrito (scope estricto) ===== */
.simpleCart_items{
  --col-img: 84px;
  --col-stock: 100px;
  --col-price: 110px;
  --col-btn: 40px;
  --col-qty: 80px;
  --col-total: 120px;
  --col-remove: 76px;

  --border:#e5e7eb;
  --muted:#6b7280;
  --text:#091C5C;
  --bg:#ffffff;
  --bg-head:#f8fafc;
  --shadow:0 6px 18px rgba(0,0,0,.06);
}

/* el wrapper interior que simpleCart genera dentro de .simpleCart_items */
.simpleCart_items > div{
  display: grid;
  gap: 12px;
}

/* CABECERA */
.simpleCart_items .headerRow{
  display: grid;
  grid-template-columns: var(--col-img) 1fr var(--col-stock) var(--col-price) var(--col-btn) var(--col-qty) var(--col-btn) var(--col-total) var(--col-remove);
  gap: 12px;
  align-items: center;
  background: var(--bg-head);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--muted);
}

/* FILA (ITEM) */
.simpleCart_items .itemRow{
  display: grid;
  grid-template-columns: var(--col-img) 1fr var(--col-stock) var(--col-price) var(--col-btn) var(--col-qty) var(--col-btn) var(--col-total) var(--col-remove);
  gap: 12px;
  align-items: center;
  background: var(--bg);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  box-shadow: var(--shadow);
}

/* imagen */
.simpleCart_items .item-image img{
  width:84px; height:84px;
  object-fit:cover;
  border-radius:10px;
  border:1px solid var(--border);
}

/* nombre */
.simpleCart_items .item-name{
  font-weight:600;
  color:var(--text);
  line-height:1.25;
}

/* stock como “badge” */
.simpleCart_items .headerRow .item-stock, .simpleCart_items .headerRow .item-quantity{
  justify-self:center;
  font-size:12px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#f3f4f6;
  color:var(--muted);
}

/* precio y subtotal (números alineados) */
.simpleCart_items .item-price,
.simpleCart_items .item-total{
  font-weight:600;
  color:var(--text);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* cantidad */
.simpleCart_items .itemRow .item-quantity, .simpleCart_items .itemRow .item-stock {
  text-align:center;
  min-width: var(--col-qty);
  padding: 8px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  background:#f9fafb;
}


/* botones +/- y eliminar */
.simpleCart_items .item-decrement,
.simpleCart_items .item-increment,
.simpleCart_items .item-remove{
  display:flex; align-items:center; justify-content:center;
}
.simpleCart_items .item-decrement a,
.simpleCart_items .item-increment a,
.simpleCart_items .item-remove a{
  display:inline-flex; align-items:center; justify-content:center;
  width: var(--col-btn); height: var(--col-btn);
  border-radius:10px;
  border:1px solid var(--border);
  background:#fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
  transition: background .15s ease;
}
.simpleCart_items .item-remove a{
  width: var(--col-remove);
  color:#ef4444;       /* rojo suave */
  border-color:#fecaca;
}
.simpleCart_items .item-decrement a:hover,
.simpleCart_items .item-increment a:hover{ background:#f3f4f6; }
.simpleCart_items .item-remove a:hover{ background:#fef2f2; }


@media (max-width: 991px){
  /* 1) Ajusta anchos base con tus variables */
  .simpleCart_items{
    --col-img: 40px;
    --col-stock: 80px;
    --col-price: 80px;
    --col-btn: 32px;
    --col-qty: 56px;
    --col-total: 90px;
    --col-remove: 64px;
  }

  /* 2) Rejilla más compacta para cabecera y filas */
  .simpleCart_items .headerRow,
  .simpleCart_items .itemRow{
    grid-template-columns:
      var(--col-img) 1fr var(--col-stock) var(--col-price)
      var(--col-btn) var(--col-qty) var(--col-btn)
      var(--col-total) var(--col-remove);
    gap: 8px;
    padding: 10px;
  }

  /* 3) Imagen y controles */
  .simpleCart_items .item-image img{
    width: 40px; height: 40px; border-radius: 8px;
  }
  .simpleCart_items .item-decrement a,
  .simpleCart_items .item-increment a,
  .simpleCart_items .item-remove a{
    width: var(--col-btn); height: var(--col-btn);
  }
  .simpleCart_items .item-remove a{ width: var(--col-remove); }

  /* 4) Campos numéricos y badges */
  .simpleCart_items .item-quantity{
    min-width: var(--col-qty);
    padding: 6px 8px;
  }
  .simpleCart_items .item-price,
  .simpleCart_items .item-total{
    white-space: nowrap;            /* evita saltos */
    font-variant-numeric: tabular-nums;
  }
  .simpleCart_items .item-stock{
    font-size: 11px; padding: 3px 6px;
  }

  /* 5) Texto: cabecera y nombre truncado a 2 líneas */
  .simpleCart_items .headerRow{ font-size: 11px; }
  .simpleCart_items .item-name{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* (Opcional) Oculta el texto "Quitar" en el header a este ancho */
  .simpleCart_items .headerRow .item-remove{ color: transparent; }
}


@media (max-width: 768px){

  /* misma tarjeta: 5 columnas -> [img | contenido | col3 | col4 | col5] */
  .simpleCart_items .itemRow{
    grid-template-columns: 100px 1fr auto auto auto;
    grid-template-rows: auto auto auto auto; /* añadimos una fila más para el total */
    gap: 8px;
    padding: 14px;
  }

  .headerRow{
    display: none!important;  /* opcional: oculta la cabecera */
  }
  

  /* FOTO y título como ya los tienes */
  .simpleCart_items .item-image{ grid-column:1; grid-row:1 / span 4; }
  .simpleCart_items .item-image img{ width:100px; height:100px; object-fit:cover; border-radius:20px; }
  .simpleCart_items .item-name{ grid-column:2 / 5; grid-row:1; }
  .simpleCart_items .item-remove{ grid-column:5; grid-row:1; justify-self:end; align-self:start; }

  /* (opcional) stock debajo del título */
  .simpleCart_items .item-stock{ display: none; }

  /* 1) PRECIO UNITARIO — fila 2, derecha */
  .simpleCart_items .item-price{
    grid-column: 3 / 6;  /* ocupa cols 3-5 */
    grid-row: 2;
    justify-self: end; text-align: right; white-space: nowrap;
    font-weight: 600; font-variant-numeric: tabular-nums;
    display: block !important;
  }
  .simpleCart_items .item-price::before{
    content: "Precio: "; color:#6b7280; font-weight:600; margin-right:6px;
  }

  /* 2) CONTROLES — fila 3: – (col3) | qty (col4) | + (col5) */
  .simpleCart_items .item-decrement{ grid-column:3; grid-row:3; justify-self:end; }
  .simpleCart_items .item-quantity { grid-column:4; grid-row:3; justify-self:center;
    min-width:56px; padding:6px 10px; text-align:center;
    border:1px solid #e5e7eb; border-radius:10px; background:#f9fafb;
  }
  .simpleCart_items .item-increment{ grid-column:5; grid-row:3; justify-self:start; }
  .simpleCart_items .item-decrement a,
  .simpleCart_items .item-increment a{
    width:34px; height:34px; border-radius:8px; display:inline-flex;
    align-items:center; justify-content:center;
  }

  /* 3) TOTAL — fila 4, derecha */
  .simpleCart_items .item-total{
    grid-column: 3 / 6;  /* cols 3-5 */
    grid-row: 4;
    justify-self: end; text-align: right; white-space: nowrap;
    font-weight: 700; font-variant-numeric: tabular-nums;
    display: block !important;
  }
  .simpleCart_items .item-total::before{
    content: "Total: "; color:#6b7280; font-weight:600; margin-right:6px;
  }

  /* seguridad */
  .simpleCart_items .itemRow > div{ min-width:0; }
}

/* ===== Mobile pequeño (≤ 479px) ===== */

/* ====== Móvil/Tablet: nombre+eliminar arriba; abajo img | (precio, qty, total) ====== */
@media (max-width: 768px){
  /* ocultar cabecera tipo tabla */
  .simpleCart_items .headerRow{ display:none; }

  /* tarjeta en grid: 2 columnas (img | contenido) y 4 filas */
  .simpleCart_items .itemRow{
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;   /* izq: imagen / der: contenido */
    grid-template-rows: auto auto auto auto; /* name | price | qty | total */
    gap: 10px 12px;
    padding: 14px;
    align-items: center;
  }

  /* FILA 1: nombre + eliminar (derecha) */
  .simpleCart_items .item-name{
    grid-column: 1 / span 2; 
    grid-row: 1;
    font-weight: 600; line-height: 1.25; min-width: 0;
    padding-right: 44px; /* espacio para el botón eliminar */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .simpleCart_items .item-remove{
    position: absolute; right: 12px; top: 12px;
  }
  .simpleCart_items .item-remove a{
    width: 36px; height: 36px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: -10px;
  }

  /* IMAGEN (columna izquierda, ocupa filas 2-4) */
  .simpleCart_items .item-image{ grid-column: 1; grid-row: 2 / span 3; }
  .simpleCart_items .item-image img{
    width: 100px; height: 100px; object-fit: cover; border-radius: 20px;
  }

  /* FILA 2: PRECIO (derecha) */
  .simpleCart_items .item-price{
    grid-column: 2; grid-row: 2; justify-self: end; text-align: right;
    white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums;
    display: block !important;
  }
  .simpleCart_items .item-price::before{
    content: "Precio: "; color: #6b7280; font-weight: 600; margin-right: 6px;
  }

  /* FILA 3: – cantidad + (pegados) */
  .simpleCart_items .item-decrement{ grid-column: 2; grid-row: 3; justify-self: start; }
  .simpleCart_items .item-quantity { grid-column: 2; grid-row: 3; justify-self: center;
    min-width: 58px; padding: 6px 10px; text-align: center;
    border: 1px solid #e5e7eb; border-radius: 10px; background: #f9fafb;
  }
  .simpleCart_items .item-increment{ grid-column: 2; grid-row: 3; justify-self: end; }
  .simpleCart_items .item-decrement a,
  .simpleCart_items .item-increment a{
    width: 34px; height: 34px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* FILA 4: TOTAL (derecha) */
  .simpleCart_items .item-total{
    grid-column: 2; grid-row: 4; justify-self: end; text-align: right;
    white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums;
    display: block !important;
  }
  .simpleCart_items .item-total::before{
    content: "Subtotal: "; color: #6b7280; font-weight: 600; margin-right: 6px;
  }

  /* opcional: ocultar stock en este layout */
  /* .simpleCart_items .item-stock{ display:none !important; } */

  /* seguridad: sin desbordes */
  .simpleCart_items .itemRow > div{ min-width: 0; }
}




/* ====== Mobile ≤ 479px: juntar – [qty] + y mantener Precio arriba / Total abajo ====== */
@media (max-width: 768px){

  /* Grid: [img | col2 | col3 | col4]  -> col2 fluida, col3/col4 auto */
  .simpleCart_items .itemRow{
    grid-template-columns: 90px 1fr auto auto;
    grid-template-rows: auto auto auto auto; /* name | price | controls | total */
    column-gap: 6px; row-gap: 8px; /* más juntito */
    padding: 12px;
  }

  /* imagen */
  .simpleCart_items .item-image{ 
    grid-column:1; 
    grid-row:2 / span 4; 
  }
  .simpleCart_items .item-image img{ width:90px; height:90px; border-radius:10px; object-fit:cover; }

  /* fila 1: nombre (ocupa col2–col4) + eliminar arriba-dcha */
  .simpleCart_items .item-name{ 
    grid-column: 1 / span 5; 
    grid-row: 1; 
    padding-right:44px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .simpleCart_items .item-remove{ position:absolute; right:10px; top:10px; }
  .simpleCart_items .item-remove a{ width:32px; height:32px; border-radius:8px; }

  /* fila 2: precio unitario (alineado a la derecha, col2–col4) */
  .simpleCart_items .item-price{
    grid-column:2 / 5; grid-row:2; justify-self:end; text-align:right;
    white-space:nowrap; font-weight:600; font-variant-numeric:tabular-nums; display:block!important;
  }
  .simpleCart_items .item-price::before{ content:"Precio: "; color:#6b7280; font-weight:600; margin-right:6px; }

  /* fila 3: controles PEGADOS:  –  qty  +   (col2, col3, col4) */
  .simpleCart_items .item-decrement{ grid-column:2; grid-row:3; justify-self:end; }
  .simpleCart_items .item-quantity { grid-column:3; grid-row:3; justify-self:center;
    min-width:52px; padding:6px 10px; text-align:center;
    border:1px solid #e5e7eb; border-radius:10px; background:#f9fafb; }
  .simpleCart_items .item-increment{ grid-column:4; grid-row:3; justify-self:start; }

  .simpleCart_items .item-decrement a,
  .simpleCart_items .item-increment a{
    width:30px; height:30px; border-radius:8px;
    display:inline-flex; align-items:center; justify-content:center;
  }

  /* fila 4: total (derecha, col2–col4) */
  .simpleCart_items .item-total{
    grid-column:2 / 5; grid-row:4; justify-self:end; text-align:right;
    white-space:nowrap; font-weight:700; font-variant-numeric:tabular-nums; display:block!important;
  }
  .simpleCart_items .item-total::before{ content:"Total: "; color:#6b7280; font-weight:600; margin-right:6px; }

  /* opcional: esconder stock en móvil chico */
  /* .simpleCart_items .item-stock{ display:none!important; } */

  /* seguridad: evita desbordes */
  .simpleCart_items .itemRow > div{ min-width:0; }
}

/* ====== Tablet ≤ 768px (mismo concepto, un poco más grande) ======*/ 
@media (min-width: 480px) and (max-width: 768px){
  .simpleCart_items .itemRow{
    grid-template-columns: 100px 1fr auto auto;
    column-gap: 8px; row-gap: 10px;
    padding: 14px;
  }
  .simpleCart_items .item-image img{ width:100px; height:100px; }
  .simpleCart_items .item-remove a{ width:36px; height:36px; }
  .simpleCart_items .item-decrement a,
  .simpleCart_items .item-increment a{ width:34px; height:34px; }
  .simpleCart_items .item-quantity{ min-width:56px; }
  .simpleCart_items .item-name{ grid-column:1 / 5; }
  .simpleCart_items .item-price{ grid-column:2 / 5; grid-row: 3; }
  .simpleCart_items .item-total{ grid-column:2 / 5; grid-row: 5; }
  .simpleCart_items .item-decrement{ grid-column:2; grid-row:4; justify-self:end; }
  .simpleCart_items .item-quantity { grid-column:3; grid-row:4; justify-self:center; }
  .simpleCart_items .item-increment{ grid-column:4; grid-row:4; justify-self:start;}
}


/* ========================================
   SECCIÓN DE REELS / VIDEOS CORTOS - YOUTUBE VERSION
   ======================================== */

.contenedor-reels {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.reels-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.titulo-reels h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.titulo-reels h2 span {
    color: #23B8BA;
    background: linear-gradient(45deg, #23B8BA, #1A8A8C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.titulo-reels p {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

/* Navegación de reels */
.navega-reels {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.navega-reels a {
    background: white;
    border: 2px solid #23B8BA;
    color: #23B8BA;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 0;

}

.navega-reels a:hover {
    background: #23B8BA;
    color: white;
    transform: scale(1.1);
}

.btn-ver-todos-reels {
    width: auto !important;
    padding: 0 20px !important;
    border-radius: 25px !important;
    font-size: 14px !important;
    font-weight: 600;
    gap: 5px;
    line-height: 0;
}

/* Carrusel de reels horizontal */
.reels-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reels-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #23B8BA #f1f1f1;
}

.reels-carousel::-webkit-scrollbar {
    height: 8px;
}

.reels-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.reels-carousel::-webkit-scrollbar-thumb {
    background: #23B8BA;
    border-radius: 10px;
}

/* Item individual de reel en carrusel */
.reel-item {
    position: relative;
    min-width: 280px;
    width: 280px;
    height: 480px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reel-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.reel-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.reel-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay de play en thumbnail */
.reel-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(35, 184, 186, 0.9);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
    line-height: 0;
}

.reel-item:hover .reel-play-overlay {
    opacity: 1;
}

/* Overlay con información del reel */
.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reel-overlay h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.reel-overlay p {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.reel-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(35, 184, 186, 0.9);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 0;
}

/* ========================================
   MODAL DE REELS EN PANTALLA COMPLETA
   ======================================== */

.modal-reels-full {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    overflow: hidden;
}

.modal-reels-full.active {
    display: block;
}

.modal-reels-close {
    line-height: 0;
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 184, 186, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-reels-close:hover {
    background: #23B8BA;
    transform: rotate(90deg);
}

.reels-viewer-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reels-viewer {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.reels-viewer::-webkit-scrollbar {
    display: none;
}

/* Item de reel en modal (pantalla completa) */
.reel-full-item {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
}

/* Contenedor del player de YouTube */
.youtube-player-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-player {
    width: 100%;
    height: 100%;
}

/* Para mantener aspect ratio 16:9 en desktop */
@media (min-width: 768px) {
    .youtube-player-container {
        width: 80%;
        max-width: 1280px;
        aspect-ratio: 16/9;
    }
}

/* Controles del video */
.reel-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    z-index: 10;
}

.reel-info {
    margin-bottom: 15px;
}

.reel-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.reel-info p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Botones de control */
.reel-control-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.reel-btn-play,
.reel-btn-mute,
.reel-btn-youtube {
    background: rgba(35, 184, 186, 0.8);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;    
    line-height: 0;
}

.reel-btn-play:hover,
.reel-btn-mute:hover,
.reel-btn-youtube:hover {
    background: #23B8BA;
    transform: scale(1.1);
}

.reel-link-btn {
    background: rgba(35, 184, 186, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reel-link-btn:hover {
    background: #23B8BA;
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

/* Botones de navegación en modal */
.reel-nav-btn {
    position: fixed;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(35, 184, 186, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    line-height: 0;
}

.reel-nav-btn:hover {
    background: rgba(35, 184, 186, 0.9);
    transform: scale(1.1);
}

.reel-nav-prev {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.reel-nav-next {
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
}

/* Indicador de carga */
.reel-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    text-align: center;
    z-index: 5;
    line-height: 25px;
}

.reel-loading i {
    font-size: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .contenedor-reels {
        padding: 40px 0;
    }
    
    .titulo-reels h2 {
        font-size: 24px;
    }
    
    .reels-header {
        margin-bottom: 20px;
    }
    
    .navega-reels {
        justify-content: center;
        margin-top: 15px;
    }
    
    .reel-item {
        min-width: 240px;
        width: 240px;
        height: 400px;
    }
    
    .reel-overlay h3 {
        font-size: 16px;
    }
    
    .reel-overlay p {
        font-size: 12px;
    }
    
    .youtube-player-container {
        width: 100%;
        height: 100%;
    }
    
    .reel-controls {
        padding: 20px;
    }
    
    .reel-info h3 {
        font-size: 18px;
    }
    
    .reel-info p {
        font-size: 14px;
    }
    
    .modal-reels-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 25px;
    }
    
    .reel-nav-prev {
        left: 10px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .reel-nav-next {
        bottom: 15%;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }
    
    .reel-btn-play,
    .reel-btn-mute,
    .reel-btn-youtube {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .reel-item {
        min-width: 200px;
        width: 200px;
        height: 350px;
    }
    
    .btn-ver-todos-reels {
        padding: 0 15px !important;
        font-size: 12px !important;
    }
    
    .navega-reels a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .reel-control-buttons {
        gap: 10px;
    }
}

/* Ajustes para iframes de YouTube */
iframe {
    border: none;
}

