/* Fonts loaded via <link> in head.php for better performance */
* {
		    margin: 0;
		    padding: 0;
		}
		html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
		html {
		    color: 000;
			-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;
		}
		body {
			margin:0;
			background-color: #FFF;
			background-repeat: no-repeat;
			background-attachment: fixed ;
		}
		
		
		header {
		width: 100%;
		position: fixed;
		z-index: 100;
		} 
		
		
		
/* fonts */
	
.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.righteous-regular {
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.shadows-into-light-regular {
  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;
}

.permanent-marker-regular {
  font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
}

.raleway-unica {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.mansalva-regular {
  font-family: "Mansalva", sans-serif;
  font-weight: 400;
  font-style: normal;
}

// <uniquifier>: Use a unique and descriptive class name

.josefin-sans-unica {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.dangrek-regular {
  font-family: "Dangrek", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat-unica {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


/* otros */

.menu {
		bottom: 0;
		width: 100%;
		position: fixed;
		z-index: 5000;
		color: #fff;
		background-color: #607d8b;
		} 
		
.mySlides {display:none;}

.no-scroll {overflow: hidden;}

.input:focus {
	border: 1px solid;
	border-color: #1cada6;
}

input[type=number] {
	position: relative;
	width: 240px;
	font-size: 14px;
	padding: 5px;
	border-radius: 8px;
	border: 1px solid;
	text-align: right;
	
}

.input-number {
	position: relative;
	width: 50px;
	font-size: 14px;
	padding: 5px;
	border-radius: 16px;
	border: 1px solid;
	border-color: #1cada6;
	text-align: right;
	
}

.input{
	width: 300px;
	font-size: 14px;
	padding: 5px;
	border-radius: 16px;
	border: 1px solid;
	border-color: #1cada6;
	text-align:center;
	
}

.input-suscribe{
		
	width: 250px;
	font-size: 14px;
	padding: 8px;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	text-align:left;
	outline:none;
	
}

.input-simple{
	width: 300px;
	font-size: 14px;
	padding: 5px;
	border-radius: 16px;
	border: 0;
	text-align:center;
	
}

.textarea{
	width: 100%;
	height: 100px;
	font-size: 12px;
	padding: 5px;
	border-radius: 16px;
	border: 1px solid;
	border-color: #1cada6;
	resize:none; 
	
	
}

.input-buscador {		
	width: 100%;
	font-size: 17px;
	color: #1cada6;
	border-top-left-radius: 20px;
	border-top-right-radius: 40px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 20px;
	border: 2px solid;
	border-color: #1cada6;
	padding-left: 10px;
	padding-right:15px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.select{
	width: 300px;
	font-size: 14px;
	background: #fff;
	padding: 5px;
	border-radius: 16px;
	border: 1px solid;
	border-color: #1cada6;
	text-align:center;
	
}

.button-suscribe{
	padding:8px;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	font-size: 14px;	
}

.esmerilado {
 background-color: rgba(255, 255, 255, .2);  
 backdrop-filter: blur(5px);
}


.zoom-out{
  background-color: #C0392B;
  -webkit-transition: 1.5s linear;
  transition: 1.5s linear;
}
.zoom-out:hover{
  -webkit-transform: scale(.0);
  transform: scale(.0);
}
.div-buscador {	
	border-top-left-radius: 20px;
	border-top-right-radius: 30px;
	border-bottom-right-radius: 0px;
	border-bottom-left-radius: 20px;
	border: 1px solid;
	border-color: #ccc;
	padding-left: 10px;
	padding-right:15px;
	padding-top: 3px;
	padding-bottom: 3px;
}
		


.padding-8 {
	padding: 8px;
}

#divPrincipal {
	padding-top: 80px;
}

.scrollbar-div::-webkit-scrollbar {	
	width:8px;
}

.scrollbar-div::-webkit-scrollbarthumb {
	border-radius:16px;
}

.top-container {
  background-color: #f1f1f1;
  padding: 30px;
  text-align: center;
}


.header{ border-top:1px solid white;background:white; color:#333; height:150px; width:100%; text-align:center}
.menu2{ height:80px; width:100%; background:#fff; color:white; text-align:center}
.wrapper{ height:2000px; width:100%; padding-top:20px}
 
.fixed{position:fixed; top:0}

.div-steps {
	margin-left: 25%; 
	margin-right: 25%;
	
}

.menuUser {
	
	display: flex; 
	flex-direction:row; 
	align-items: center;
	justify-content: center;
}

.row {
	
	display: flex; 
	flex-direction:row; 
	align-items: center;
}

.div-etiquetas {
	
	display: flex; 
	flex-direction:row; 
	align-items: center;
	justify-content: center;
}

 .thumb {
	height: 128px;
	border: 0px solid #ccc;
	margin: 10px 5px 0 0;
}

.animate-zoom-out {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(1)} to{transform:scale(0)}}
/*Animaciones*/

.slidingFormWrap {
  height: 75px;
	opacity: 0;
  padding-top: 20px;
  margin-top: 10px;
  text-align: center;
	transition: height ease-out  .3s .2s,
              opacity ease-in.2s;
 background:red;
}

/* Make element after checked checkboxed visible */
input[type=checkbox]:checked ~ div {
   opacity: 1;
   height: 58px;
   transition: height ease-out .2s,
               opacity ease-out 0.5s .2s;
;
}

.ui-datepicker-calendar {
        display: none;
    }

/* modal wait */

.loader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    height: 200px;
}

.loader div {
    width: 20px;
    height: 150px;
    animation: loader 1.8s linear infinite;
}

.loader div:nth-child(2) {
            animation-delay: -0.25s;
        }
		
.loader div:nth-child(3) {
            animation-delay: -0.40s;
		}

@keyframes loader {
    0% {
        height: 3px;
    }
    25% {
        height: 150px;
    }
    50% {
        height: 30px;
    }
    75% {
        height: 110px;
    }
    100% {
        height: 3px;
    }
}

.loader2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100px;
    height: 50px;
}

.loader2 div {
    width: 20px;
    height: 30px;
    background: #009688;
    animation: loader 1.8s linear infinite;
}

.loader2 div:nth-child(2) {
            animation-delay: -0.25s;
        }
		
.loader2 div:nth-child(3) {
            animation-delay: -0.40s;
		}

@keyframes loader2 {
    0% {
        height: 3px;
    }
    25% {
        height: 150px;
    }
    50% {
        height: 30px;
    }
    75% {
        height: 110px;
    }
    100% {
        height: 3px;
    }
}


/* =====================================================
   PRODUCT CARDS - Rediseño 2024
   ===================================================== */

/* Header de productos */
.products-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 8px;
	margin-bottom: 16px;
	border-bottom: 1px solid #eee;
}

.products-count {
	font-size: 14px;
	color: #666;
	margin: 0;
}

.sort-select {
	padding: 8px 32px 8px 12px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: white;
	font-size: 14px;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
}

.sort-select:focus {
	outline: none;
	border-color: #009688;
}

/* Grid de productos */
.products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	padding: 8px;
}

/* Tarjeta de producto */
.product-card {
	position: relative;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.product-link {
	text-decoration: none;
	color: inherit;
	display: block;
}

/* Contenedor de imagen */
.product-image-container {
	position: relative;
	width: 100%;
	padding-top: 100%; /* Aspecto 1:1 */
	overflow: hidden;
	background: #f8f8f8;
}

.product-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.product-card:hover .product-image {
	transform: scale(1.08);
}

/* Badge de descuento */
.discount-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
	color: white;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
	box-shadow: 0 2px 8px rgba(238,90,90,0.4);
}

/* Overlay hover */
.product-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 150, 136, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
	opacity: 1;
}

.quick-view-text {
	color: white;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 20px;
	border: 2px solid white;
	border-radius: 25px;
	transition: all 0.2s ease;
}

.product-card:hover .quick-view-text:hover {
	background: white;
	color: #009688;
}

/* Información del producto */
.product-info {
	padding: 16px;
}

.product-name {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin: 0 0 6px 0;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 40px;
}

.product-store {
	font-size: 12px;
	color: #888;
	margin: 0 0 10px 0;
}

.product-price-container {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.product-price-current {
	font-size: 18px;
	font-weight: 700;
	color: #009688;
}

.product-price-original {
	font-size: 14px;
	color: #999;
	text-decoration: line-through;
}

/* Botón favorito */
.favorite-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: white;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	transition: all 0.2s ease;
	z-index: 3;
}

.favorite-btn:hover {
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.favorite-btn i {
	font-size: 16px;
	color: #666;
	transition: color 0.2s ease;
}

.favorite-btn:hover i {
	color: #e74c3c;
}

/* Estado vacío */
.empty-state {
	text-align: center;
	padding: 60px 20px;
	color: #999;
}

.empty-icon {
	font-size: 64px;
	color: #ddd;
	margin-bottom: 20px;
}

.empty-state h3 {
	color: #666;
	margin-bottom: 10px;
}

.empty-state p {
	font-size: 14px;
}

/* =====================================================
   RESPONSIVE - Tarjetas de producto
   ===================================================== */

/* Tablets */
@media (max-width: 992px) {
	.products-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: 16px;
	}

	.product-name {
		font-size: 13px;
		height: 36px;
	}

	.product-price-current {
		font-size: 16px;
	}
}

/* Móviles */
@media (max-width: 600px) {
	.products-header {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}

	.sort-select {
		width: 100%;
	}

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		padding: 4px;
	}

	.product-card {
		border-radius: 8px;
	}

	.product-info {
		padding: 12px;
	}

	.product-name {
		font-size: 12px;
		height: 34px;
		-webkit-line-clamp: 2;
	}

	.product-store {
		font-size: 11px;
		margin-bottom: 6px;
	}

	.product-price-current {
		font-size: 15px;
	}

	.product-price-original {
		font-size: 12px;
	}

	.discount-badge {
		top: 8px;
		left: 8px;
		padding: 3px 8px;
		font-size: 10px;
	}

	.favorite-btn {
		top: 8px;
		right: 8px;
		width: 32px;
		height: 32px;
	}

	.favorite-btn i {
		font-size: 14px;
	}

	/* Ocultar overlay en móvil (táctil) */
	.product-overlay {
		display: none;
	}
}

/* Móviles pequeños */
@media (max-width: 380px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

	.product-info {
		padding: 10px;
	}

	.product-name {
		font-size: 11px;
	}

	.product-price-current {
		font-size: 14px;
	}
}
