

/* Estilos para la tienda*/
:root {
    --brand-yellow: #f2d421; /* El amarillo de la cabecera */
    --brand-brown: #955401;  /* El marrón que proporcionaste */
    --brand-red: #cc0000;    /* El rojo de los botones de la web */
    --brand-black: #1a1a1a;
    --bg-light: #f4f4f4;     /* Un gris más limpio que el #ddd */
}

/* Importar la fuente Poppins desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: Montserrat, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: rgb(198,180,70) !important;
    background: linear-gradient(180deg, #c6b446 0%, #f6e81a 100%) !important;
    overflow-x: hidden !important;
}


/* NAV */
.navbar {
	position: relative;
	padding: 10px 20px 0 20px;
	background: linear-gradient(180deg, #c6b446 100%, #f6e81a 0%) !important;
}

#filtro {
    position: sticky;
    top: 20px;
    align-self: start;
    z-index: 10;
}

@media screen and (max-width:769px){
	#filtro {
		position: static;
	}
}

.carrito-icono {
  color: #000;
  padding: 0.5rem;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.carrito-icono:hover {
  transform: scale(1.1);
}

#cart {
  width: 35%;
  position: absolute;
  z-index: 9998;
  right: 5%;
  top: 10%;
  height: auto;
  max-height:70%;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border:1px solid black;
}

#carrito-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}
.box{
	padding:0;
  margin:0;
}
.cart-header {
  flex: 1;
  background-color:#fff !IMPORTANT;
}
.carrito-lista {
  background-color:#fff !IMPORTANT;
}

.cart-footer {
  position: sticky;
  bottom: 0;
  background-color: white;
  padding: 0.5rem;
  border-top: 1px solid #000;
  z-index: 10;
}

.producto {
  background-color:#fff !IMPORTANT;
  border-radius: 8px;
  position: relative;
  display: flex;
  padding:0;
  margin:0;
  flex-direction: column;
  border-bottom:1px solid black;
}

.mi-alerta-zindex {
  z-index: 99999 !important;
}

.imgProdCart img {
  object-fit: contain;
  height: 60px;
  width: 60px;
  border-radius: 4px;
  padding:0;
  margin:0;
}

.descProdCart {
  font-size: 10px;
  font-weight: 500;
}

.precProdCart,
.subTotProdCart {
  font-size: 8px;
  color:#955401 !important;
}

.contenido-producto {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.input[type="number"] {
  max-width: 80px;
}

.delete-btn-container {
  position: absolute;
  margin:auto;
  top: 0.75rem;
  right: 0.75rem;
}

/*form*/
/* Naranja personalizado */

.filtrador{
	background-color: var(--bg-light) !important;
}
  .is-naranja {
    background-color: #ff6600 !important; /* tono naranja */
    color: #000 !important;
    border: none;
  }

  .is-naranja:hover {
    background-color: #ffb266 !important;
  }

  /* Ajustes para los select */
  select {
    background-color: #f9f9f9 !important;
    color: #000 !important;
    border: 1px solid #ffb266;
    border-radius: 6px;
  }

  /* Ajustes para inputs */
  input.input {
    background-color: #f9f9f9 !important;
    color: #000 !important;
  }

  /* Ajuste general para campos de formulario */
  .control select,
  .control input {
    box-shadow: none;
  }

/* PRODUCT CARD */
.card {
  background-color: #fff !IMPORTANT;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
	box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2) !important;
	-webkit-box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.card-image img {
  object-fit: contain;
  height: 160px;
  width: 100%;
  padding: 5px 0; /* opcional para que no se pegue al borde */
}

.card-contenido{
	padding:10px;
	align-content: center;
	text-align:center;
}

.card-contenido-header{
	height:60px;
}
.artRub{
	
    font-weight: 700;
    font-style: normal;
	font-size:14px;
	color: #ddd;
}
.artDescripcion{
    font-weight: 500;
    font-style: normal;
	font-size:12px;
	color: #000;
}

.artPrecio{
	font-weight: 600;
	font-style: normal;
	font-size:18px;
	color: #000;
}

.card-contenido-button{
	padding:10px;
}

@media screen and (max-width:769px){
	.card-contenido{
		padding:5px;
		align-content: center;
		text-align:center;
	}

	.card-contenido-header{
		height:80px;
	}
	.artRub{
		font-size:14px;
	}
	.artDescripcion{
		font-size:11px;
	}
}

.addCartBtn{
	font-weight: 600;
	font-style: normal;
	font-size:14px;
	padding:7px 12px;
	border-radius:10px;
	background-color:#4a4a4a !important;
	color:#fff !important;
}
.addCartBtn i{
	color:#fff !important;
	background-color:#4a4a4a !important;
	transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}

.addCartBtn:hover{
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	background-color:#000 !important;
}
.addCartBtn:hover i{
	background-color:#000 !important;
}



/*carrito avfp*/
.carritoavfp{
	background-color: #ddd  !important;
	
}

.cartprod{
	background-color: #fff !important;
	box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2) !important;
	-webkit-box-shadow: 0px 2px 3px 1px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.2);
}


@media screen and (max-width:769px){
	body{
		width:100vw !important;
	}
	#cart {
	  width: 100%;
	  position: realtive;
	  z-index: 9998;
	  right: 0;
	  top: 8%;
	  height: auto;
	  max-height:50%;
	  background-color: white !important;
	  border-radius: 8px;
	  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	  display: flex;
	  flex-direction: column;
	  overflow-y: auto;
	  border:1px solid black;
	  font-weight: 10px;
	}
}



.zoom-container {
	width: 450px;
	height: 450px; 
	overflow: hidden;
	cursor: crosshair;
	border-radius: 8px;
}

#paginacion-container .pagination-previous,
#paginacion-container .pagination-next,
#paginacion-container .pagination-link {
    border: 1px solid #c7c7c7;
    border-radius: 5px;
    margin: 0 4px;
    color: #000 !IMPORTANT;
}

#paginacion-container .pagination-link.is-current {
    background-color: #3273dc;
    border-color: #3273dc;
    color: #fff;
}

#paginacion-container .pagination-previous:disabled,
#paginacion-container .pagination-next:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#paginacion-container .pagination-previous .icon,
#paginacion-container .pagination-next .icon {
    margin-right: 5px;
    margin-left: 5px;
}

/*FILTRO TIPO CHECKBOX */
.listado-filtros {
	max-height: 220px; 
	overflow-y: auto;
	padding-right: 10px;
}

.listado-filtros::-webkit-scrollbar {
	width: 6px;
}
.listado-filtros::-webkit-scrollbar-track {
	background: #f1f1f1; 
}
.listado-filtros::-webkit-scrollbar-thumb {
	background: #ccc; 
	border-radius: 4px;
}
.listado-filtros::-webkit-scrollbar-thumb:hover {
	background: #ffb266; 
}
			
.filter-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    transition: color 0.2s;
}
.child{
    display: flex;
    align-items: center;
    padding: 1px 10px 1px 20px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: #333;
    transition: color 0.2s;
}

.filter-item:hover {
    color: #000;
}

.filter-item input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4a4a4a; 
	padding:10px;
}

.filter-name {
    flex-grow: 1;
    text-transform: capitalize; 
}

.filter-count {
    color: #999;
    font-size: 13px;
    margin-left: 10px;
}

.filtrador .label {
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
}

.icon-cat {
    font-size: 12px;
    color: #888;
    margin-right: 8px;
    width: 12px;
    text-align: center;
}

.filter-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #333;
    transition: color 0.2s;
}

.filter-item.parent {
    padding: 4px 10px;
}

.filter-item.child {
    display: flex;
    align-items: center;
    padding: 4px 10px 4px 28px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #555;
    transition: color 0.2s;
}

.filter-item:hover {
    color: #000;
}

.filter-item input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #4a4a4a;
}

.filter-name {
    flex-grow: 1;
    text-transform: capitalize;
}

.filter-count {
    color: #999;
    font-size: 13px;
    margin-left: 10px;
}


.productoDinf{
	padding:10px;
}

/* Estilo para el modal */
.modal {
    display: none; /* El modal está oculto por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo oscuro */
}

/* Contenido del modal */
.modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888;
    width: auto;
    max-width: 500px;
    text-align: left;
}

/* El botón de cerrar (X) */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.closemp {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.closeenv {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.closemp:hover,
.closemp:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.closeenv:hover,
.closeenv:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Estilo para el formulario */
.form-modal {
  display: flex;
  flex-direction: column;
}

.form-modal label {
  font-size: 12px;
  margin-bottom: 2px;
}

.form-modal input {
  padding: 8px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 12px;
}

.form-modal input:focus {
  border-color: #4CAF50;
  outline: none;
}

/* Estilo para el botón del formulario */
.button-modal {
  padding: 10px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.button-modal:hover {
  background-color: #45a049;
}


/* product detail  (productoDimg esta en el head del html)*/

.productoDinf{
	padding:50px 0;
}

.productoDimg figure {
	position: relative; 
	overflow: hidden;
	margin: 0 auto;
}

#mainImage {
	width: 450px;
	height: 450px;
	object-fit: fill;
	border-radius: 8px;
	transition: transform 0.3s ease-out;
}

.zoom-container {
	width: 450px; 
	height: 450px;
	overflow: hidden; 
	cursor: crosshair;
	border-radius: 8px;
}

.thumbnail-gallery {
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

.thumbnail-gallery .thumbnail {
	cursor: pointer;
	border: 2px solid transparent;
	transition: border-color 0.2s ease-in-out;
}

.thumbnail-gallery .thumbnail:hover {
	border-color: #3273dc;
}

.thumbnail-gallery .thumbnail.active {
	border-color: #3273dc;
}

.productoDhead{
	font-size: 26px;
}
.productoDbody{
	font-size: 22px;
}
.productoDfoot{
	font-size: 16px;
}

.precio-original {
	text-decoration: line-through;
	color: #7a7a7a;
	font-size: 1.1rem;
	margin-right: 10px;
}
.precio-actual {
	color: #d32f2f; /* Rojo para resaltar oferta */
	font-weight: 800;
	font-size: 2rem;
}
.precio-normal {
	color: #955401;
	font-weight: 800;
	font-size: 2rem;
}
.badge-descuento {
	vertical-align: middle;
	font-weight: bold;
}


@media screen and (max-width:769px){
	#mainImage {
		width: 300px;
		height: 300px;
		object-fit: fill;
		border-radius: 8px;
		transition: transform 0.3s ease-out;
	}
	.productoDinf{
		padding:0;
	}
	.zoom-container {
		width: 300px; 
		height: 300px;
		overflow: hidden; 
		cursor: crosshair;
		border-radius: 8px;
	}
	.productoDhead{
	font-size: 26px;
	}
	.productoDbody{
		font-size: 22px;
	}
	.productoDfoot{
		font-size: 16px;
	}

}


@media screen and (max-width: 768px) {
    .table {
        min-width: 600px; /* Fuerza a la tabla a mantener un tamaño mínimo */
    }
    .table-container {
        -webkit-overflow-scrolling: touch; /* Scroll suave en iPhone */
        overflow-x: auto;
    }
}

/* modal mp */
.modal-mp {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(3px); 
    overflow-y: auto;
}

.modal-mp .modal-content {
    background-color: #fff;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media screen and (max-width: 768px) {
	.modal-mp .modal-content {
		background-color: #fff;
		margin: 0 auto;
		padding: 20px;
		border-radius: 12px;
		width: 90%;
		position: relative;
		box-shadow: 0 10px 30px rgba(0,0,0,0.2);
	}
}

.form-modal-mp label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.form-modal-mp input {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: .7rem;
    transition: border-color 0.3s;
}

.form-modal-mp input:focus {
    border-color: #1B8686;
    outline: none;
    box-shadow: 0 0 0 2px rgba(27, 134, 134, 0.1);
}

.closemp {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}