/* ===== ESTILOS PARA PÁGINAS INDIVIDUALES DE PRODUCTOS ===== */

/* Breadcrumb */
.breadcrumb {
	background: linear-gradient(135deg, #f8fafc, #e2e8f0);
	padding: 1rem 0;
	border-bottom: 1px solid #e2e8f0;
}

.breadcrumb-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
}

/* ===== RESPONSIVE PARA BREADCRUMB ===== */
@media (max-width: 768px) {
	.breadcrumb-container {
		padding: 0 1rem;
		flex-wrap: wrap;
		gap: 0.25rem;
	}
	
	.breadcrumb-item {
		font-size: 0.8rem;
		padding: 0.4rem;
	}
}

@media (max-width: 480px) {
	.breadcrumb-container {
		padding: 0 0.75rem;
	}
	
	.breadcrumb-item {
		font-size: 0.75rem;
		padding: 0.3rem;
	}
}

.breadcrumb-item {
	color: #64748b;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	transition: all 0.3s ease;
	padding: 0.5rem;
	border-radius: 8px;
}

.breadcrumb-item:hover {
	color: var(--primary-green);
	background: rgba(34, 197, 94, 0.1);
	transform: translateY(-1px);
}

.breadcrumb-item.active {
	color: var(--primary-green);
	font-weight: 600;
}

.breadcrumb-separator {
	color: #cbd5e1;
	font-size: 0.8rem;
}

/* Producto Individual */
.product-individual {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
}

.product-container {
	display: grid;
	grid-template-columns: 1fr 1fr 300px;
	gap: 2rem;
	margin-bottom: 4rem;
	background: white;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE GRID MEJORADO ===== */
@media (max-width: 1200px) {
	.product-container {
		grid-template-columns: 1fr 1fr 280px;
		gap: 1.5rem;
		padding: 1.5rem;
	}
}

@media (max-width: 1024px) {
	.product-container {
		grid-template-columns: 1fr 1fr 250px;
		gap: 1.5rem;
		padding: 1.5rem;
	}
}

@media (max-width: 900px) {
	.product-container {
		grid-template-columns: 1fr 1fr 220px;
		gap: 1rem;
		padding: 1rem;
	}
}

@media (max-width: 768px) {
	.product-container {
		grid-template-columns: 1fr !important;
		grid-template-rows: auto auto auto !important;
		gap: 1.5rem !important;
		padding: 1rem !important;
	}
	
	.product-side-info {
		order: 3 !important;
		position: static !important;
		margin-top: 1rem !important;
		width: 100% !important;
		display: block !important;
		grid-column: 1 / -1 !important;
		grid-row: 3 !important;
	}
	
	.product-gallery {
		order: 1 !important;
		grid-column: 1 / -1 !important;
		grid-row: 1 !important;
	}
	
	.product-info {
		order: 2 !important;
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
	}
}

@media (max-width: 480px) {
	.product-container {
		padding: 0.75rem;
		gap: 1rem;
	}
}

/* ===== Contenedor Lateral de Información ===== */
.product-side-info {
	background: linear-gradient(135deg, #f0f9f0, #e8f5e8);
	border-radius: 15px;
	padding: 1.5rem;
	border: 2px solid #22c55e;
	height: fit-content;
	position: sticky;
	top: 2rem;
	width: 100%;
	box-sizing: border-box;
	display: block;
}

/* ===== FORZAR VISUALIZACIÓN EN MÓVILES ===== */
@media (max-width: 768px) {
	.product-side-info {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		height: auto !important;
		overflow: visible !important;
		position: relative !important;
		top: auto !important;
	}
}

/* ===== ESTILOS DE EMERGENCIA PARA MÓVILES ===== */
@media (max-width: 768px) {
	.product-side-info,
	.side-info-content,
	.side-info-content .info-item {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		position: static !important;
		float: none !important;
		clear: both !important;
	}
	
	.product-side-info {
		width: 100% !important;
		max-width: none !important;
		margin: 1rem 0 !important;
		padding: 1rem !important;
	}
}

/* ===== RESPONSIVE PARA INFORMACIÓN LATERAL ===== */
@media (max-width: 768px) {
	.product-side-info {
		position: static !important;
		margin-top: 1rem !important;
		padding: 1rem !important;
		order: 3 !important;
		display: block !important;
		width: 100% !important;
		grid-column: 1 / -1 !important;
		grid-row: 3 !important;
	}
	
	.side-info-header {
		margin-bottom: 1rem !important;
		padding-bottom: 0.75rem !important;
	}
	
	.side-info-header h3 {
		font-size: 1rem !important;
	}
	
	.side-info-content {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 0.75rem !important;
	}
	
	.side-info-content .info-item {
		flex: 1 !important;
		min-width: 180px !important;
		text-align: center !important;
		padding: 0.75rem !important;
		flex-direction: column !important;
		align-items: center !important;
	}
	
	.info-icon {
		margin: 0 auto 0.5rem !important;
		width: 35px !important;
		height: 35px !important;
	}
	
	.info-text {
		text-align: center !important;
	}
	
	.info-text h4 {
		font-size: 0.9rem !important;
		margin-bottom: 0.2rem !important;
	}
	
	.info-text p {
		font-size: 0.8rem !important;
	}
}

@media (max-width: 600px) {
	.product-side-info {
		padding: 0.75rem !important;
	}
	
	.side-info-content {
		flex-direction: row !important;
		flex-wrap: wrap !important;
		gap: 0.5rem !important;
	}
	
	.side-info-content .info-item {
		flex: 1 !important;
		min-width: 150px !important;
		padding: 0.5rem !important;
	}
	
	.info-icon {
		width: 30px !important;
		height: 30px !important;
	}
	
	.info-text h4 {
		font-size: 0.85rem !important;
	}
	
	.info-text p {
		font-size: 0.75rem !important;
	}
}

@media (max-width: 480px) {
	.product-side-info {
		padding: 0.5rem !important;
		margin-top: 0.75rem !important;
	}
	
	.side-info-header {
		margin-bottom: 0.75rem !important;
		padding-bottom: 0.5rem !important;
	}
	
	.side-info-header h3 {
		font-size: 0.95rem !important;
	}
	
	.side-info-content {
		flex-direction: column !important;
		gap: 0.5rem !important;
	}
	
	.side-info-content .info-item {
		min-width: auto !important;
		text-align: left !important;
		flex-direction: row !important;
		align-items: flex-start !important;
		padding: 0.5rem !important;
	}
	
	.info-icon {
		margin: 0 !important;
		width: 28px !important;
		height: 28px !important;
		flex-shrink: 0 !important;
	}
	
	.info-text {
		text-align: left !important;
	}
	
	.info-text h4 {
		font-size: 0.8rem !important;
	}
	
	.info-text p {
		font-size: 0.7rem !important;
	}
}

@media (max-width: 360px) {
	.product-side-info {
		padding: 0.4rem !important;
	}
	
	.side-info-content .info-item {
		padding: 0.4rem !important;
	}
	
	.info-icon {
		width: 25px !important;
		height: 25px !important;
	}
	
	.info-text h4 {
		font-size: 0.75rem !important;
	}
	
	.info-text p {
		font-size: 0.65rem !important;
	}
}

.side-info-header {
	margin-bottom: 1.5rem;
	text-align: center;
	border-bottom: 2px solid #16a34a;
	padding-bottom: 1rem;
	transition: all 0.3s ease;
}

/* ===== MEJORAS PARA HEADER EN MÓVILES ===== */
@media (max-width: 768px) {
	.side-info-header {
		border-bottom-width: 1px;
		border-color: #22c55e;
	}
}

.side-info-header h3 {
	color: #166534;
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.side-info-header i {
	color: white;
}

.side-info-content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* ===== FORZAR VISUALIZACIÓN DEL CONTENIDO EN MÓVILES ===== */
@media (max-width: 768px) {
	.side-info-content {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
	
	.side-info-content .info-item {
		display: flex !important;
		visibility: visible !important;
		opacity: 1 !important;
	}
}

.side-info-content .info-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	background: white;
	border-radius: 12px;
	border: 1px solid #bbf7d0;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
}

/* ===== MEJORAS PARA ELEMENTOS DE INFORMACIÓN EN MÓVILES ===== */
@media (max-width: 768px) {
	.side-info-content .info-item {
		border-color: #22c55e;
		box-shadow: 0 2px 6px rgba(34, 197, 94, 0.15);
	}
	
	.side-info-content .info-item:hover {
		transform: translateY(-1px);
		box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
	}
}

.side-info-content .info-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
	border-color: #ca8a04;
}

.info-icon {
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #f7f7f7, #fafafa);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

/* ===== MEJORAS PARA ICONOS EN MÓVILES ===== */
@media (max-width: 768px) {
	.info-icon {
		background: linear-gradient(135deg, #22c55e, #16a34a);
		color: white;
		box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
	}
}

.info-icon i {
	font-size: 1rem;
	color: rgb(255, 255, 255);
}

.info-text {
	flex: 1;
}

.info-text h4 {
	color: #166534;
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0 0 0.25rem 0;
}

.info-text p {
	color: #15803d;
	font-size: 0.85rem;
	margin: 0;
	line-height: 1.4;
}

/* Galería de Imágenes */
.product-gallery {
	position: relative;
	max-width: 350px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* ===== RESPONSIVE PARA GALERÍA ===== */
@media (max-width: 768px) {
	.product-gallery {
		margin: 0 auto 1.5rem;
		max-width: 320px;
	}
	
	.main-image-container {
		max-width: 320px;
		height: 320px;
		margin: 0 auto 1.5rem;
	}
	
	.thumbnail-gallery {
		justify-content: center;
		margin-top: 1rem;
	}
	
	.thumbnail {
		width: 65px;
		height: 65px;
	}
}

@media (max-width: 480px) {
	.product-gallery {
		max-width: 280px;
	}
	
	.main-image-container {
		max-width: 280px;
		height: 280px;
		margin: 0 auto 0.75rem;
	}
	
	.thumbnail {
		width: 55px;
		height: 55px;
	}
	
	.thumbnail-gallery {
		gap: 0.4rem;
		padding: 0.4rem 0;
	}
}

@media (max-width: 360px) {
	.product-gallery {
		max-width: 250px;
	}
	
	.main-image-container {
		max-width: 250px;
		height: 250px;
		margin: 0 auto 0.75rem;
	}
	
	.thumbnail {
		width: 50px;
		height: 50px;
	}
}

/* Animación para partículas (usada por productos.js; se mantiene para consistencia) */
@keyframes filterParticleExplosion {
    0% { transform: scale(0) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.4) rotate(180deg); opacity: 0.6; }
    100% { transform: scale(0) rotate(360deg) translate(140px, 140px); opacity: 0; }
}

/* ===== Mejoras para Imágenes ===== */
.main-image-container {
	position: relative;
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 1rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	/* TAMAÑO MEDIANO UNIFORME PARA TODOS LOS DISPOSITIVOS */
	aspect-ratio: 1 / 1;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Tamaño mediano responsivo */
	width: 100%;
	max-width: 350px;
	height: 350px;
	margin: 0 auto 1rem;
	transition: all 0.3s ease;
}

.main-image-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.main-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	transition: all 0.3s ease;
	max-width: 100%;
	max-height: 100%;
	border-radius: 10px;
	/* Asegurar que las imágenes mantengan proporción y no se deformen */
	object-fit: contain;
	background: #ffffff;
}

.main-image:hover {
	transform: scale(1.05);
}

/* ===== Mejoras para Adaptación de Imágenes ===== */
.main-image-container.portrait {
	aspect-ratio: 3 / 4;
}

.main-image-container.landscape {
	aspect-ratio: 16 / 9;
}

.main-image-container.square {
	aspect-ratio: 1 / 1;
}

.main-image-container.wide {
	aspect-ratio: 2 / 1;
}

.image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, 
		rgba(0, 0, 0, 0.1) 0%, 
		transparent 30%, 
		transparent 70%, 
		rgba(0, 0, 0, 0.1) 100%);
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 1rem;
	opacity: 0;
	transition: all 0.3s ease;
	border-radius: 12px;
}

.main-image-container:hover .image-overlay {
	opacity: 1;
	background: linear-gradient(135deg, 
		rgba(0, 0, 0, 0.2) 0%, 
		transparent 30%, 
		transparent 70%, 
		rgba(0, 0, 0, 0.2) 100%);
}

/* Botón de zoom mejorado para todos los dispositivos */
.zoom-btn {
	background: rgba(255, 255, 255, 0.95);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	font-size: 1.2rem;
	color: #333;
	backdrop-filter: blur(5px);
	position: relative;
	z-index: 10;
}

.zoom-btn:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
	color: var(--primary-green);
}

.zoom-btn:active {
	transform: scale(0.95);
}

/* Mejorar visibilidad del overlay de imagen */
.image-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, 
		rgba(0, 0, 0, 0.1) 0%, 
		transparent 30%, 
		transparent 70%, 
		rgba(0, 0, 0, 0.1) 100%);
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 1rem;
	opacity: 0;
	transition: all 0.3s ease;
	border-radius: 12px;
}

.main-image-container:hover .image-overlay,
.main-image-container:active .image-overlay {
	opacity: 1;
	background: linear-gradient(135deg, 
		rgba(0, 0, 0, 0.2) 0%, 
		transparent 30%, 
		transparent 70%, 
		rgba(0, 0, 0, 0.2) 100%);
}

/* Hacer el zoom más accesible en móviles */
@media (max-width: 768px) {
	.zoom-btn {
		width: 55px;
		height: 55px;
		font-size: 1.3rem;
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	}
	
	.image-overlay {
		padding: 0.75rem;
	}
	
	/* Mostrar el botón de zoom siempre en móviles para mejor accesibilidad */
	.main-image-container:hover .image-overlay,
	.main-image-container:active .image-overlay,
	.main-image-container:focus .image-overlay {
		opacity: 1;
	}
	
	/* Agregar indicador visual para zoom en móviles */
	.zoom-btn::after {
		content: '🔍';
		position: absolute;
		bottom: -30px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 0.9rem;
		opacity: 0;
		transition: opacity 0.3s ease;
		pointer-events: none;
		white-space: nowrap;
	}
	
	.zoom-btn:hover::after,
	.zoom-btn:active::after,
	.zoom-btn:focus::after {
		opacity: 1;
	}
	
	/* Mejorar el overlay en móviles */
	.image-overlay {
		background: linear-gradient(135deg, 
			rgba(0, 0, 0, 0.15) 0%, 
			transparent 25%, 
			transparent 75%, 
			rgba(0, 0, 0, 0.15) 100%);
	}
}

@media (max-width: 480px) {
	.zoom-btn {
		width: 60px;
		height: 60px;
		font-size: 1.4rem;
	}
	
	.image-overlay {
		padding: 0.5rem;
	}
	
	.zoom-btn::after {
		bottom: -35px;
		font-size: 1rem;
	}
}

/* Asegurar que el botón de zoom sea visible en dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
	.main-image-container:hover .image-overlay,
	.main-image-container:active .image-overlay {
		opacity: 1;
	}
	
	.zoom-btn {
		background: rgba(255, 255, 255, 0.98);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
	}
}

.thumbnail-gallery {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	padding: 0.5rem 0;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	justify-content: center;
	max-width: 100%;
	margin: 0 auto;
}

/* ===== Mejoras para Thumbnails ===== */
.thumbnail {
	width: 70px;
	height: 70px;
	object-fit: contain;
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 3px solid transparent;
	opacity: 0.7;
	background: #ffffff;
	/* Asegurar que las miniaturas mantengan proporción */
	object-position: center;
}

.thumbnail:hover {
	transform: scale(1.1);
	border-color: var(--primary-green);
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.thumbnail.active {
	border-color: var(--primary-green);
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
	transform: scale(1.05);
}

/* Navegación de imágenes */
.main-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	opacity: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-image-container:hover .main-nav {
	opacity: 1;
}

.main-nav:hover {
	background: white;
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.main-nav.prev { left: 0.5rem; }
.main-nav.next { right: 0.5rem; }

/* Badges de producto */
.product-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
}

.product-badge > span {
	background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 25px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.badge-traditional { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.badge-premium { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.badge-natural { background: linear-gradient(135deg, #22c55e, #16a34a); }
.badge-special { background: linear-gradient(135deg, #ec4899, #db2777); }

/* Información del producto */
.product-info {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* ===== RESPONSIVE PARA INFORMACIÓN DEL PRODUCTO ===== */
@media (max-width: 768px) {
	.product-info {
		text-align: center;
		padding: 1rem 0;
	}
	
	.product-header {
		text-align: center;
		flex-direction: column;
		gap: 1rem;
	}
	
	.product-badge {
		align-self: center;
	}
	
	.product-price-section {
		text-align: center;
		margin-bottom: 1.5rem;
	}
	
	.product-description {
		text-align: center;
		line-height: 1.6;
		margin-bottom: 1.5rem;
	}
	
	.product-actions {
		flex-direction: column;
		gap: 1rem;
		margin-bottom: 2rem;
	}
	
	.primary-btn {
		width: 100%;
		padding: 1.2rem;
		font-size: 1.1rem;
	}
	
	.secondary-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
		width: 100%;
	}
	
	.action-btn {
		width: 100%;
		padding: 0.75rem;
		font-size: 0.9rem;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.product-info {
		padding: 0.5rem 0;
	}
	
	.product-title {
		font-size: 1.5rem;
		line-height: 1.4;
	}
	
	.price {
		font-size: 1.5rem;
	}
	
	.unit {
		font-size: 0.9rem;
	}
	
	.product-description {
		font-size: 0.9rem;
		line-height: 1.5;
	}
	
	.secondary-actions {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
}

.product-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
}

.product-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--text-primary);
	margin: 0;
	line-height: 1.2;
}

/* Asegurar que el badge dentro del header no rompa layout en desktop */
.product-header .product-badge { position: static; }

.product-price-section {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.price-container {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
}

.price {
	font-size: 2rem;
	font-weight: 700;
	color: var(--primary-green);
}

.unit {
	font-size: 1rem;
	color: var(--text-secondary);
}

.price-note {
	font-size: 0.9rem;
	color: var(--text-secondary);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.product-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: var(--text-secondary);
}

/* ===== Botones de Acción ===== */
.product-actions {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.primary-btn {
	width: 100%;
	padding: 1.2rem 2rem;
	background: linear-gradient(135deg, #25d366, #128c7e);
	color: white;
	border: none;
	border-radius: 12px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.primary-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s;
}

.primary-btn:hover::before {
	left: 100%;
}

.primary-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
	background: linear-gradient(135deg, #128c7e, #0d6b5a);
}

.primary-btn:active {
	transform: translateY(0);
}

.primary-btn i {
	font-size: 1.2rem;
}

.secondary-actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
}

.action-btn {
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, #f8fafc, #e2e8f0);
	color: #64748b;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	min-width: 120px;
	justify-content: center;
}

.action-btn:hover {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: white;
	border-color: #22c55e;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.action-btn:focus-visible,
.action-btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

/* Estilos específicos para botón de compartir */
.share-btn {
	background: linear-gradient(135deg, #f8fafc, #e2e8f0);
	color: #64748b;
	border-color: #e2e8f0;
}

.share-btn:hover {
	background: linear-gradient(135deg, #3b82f6, #2563eb);
	color: white;
	border-color: #3b82f6;
	box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Información rápida */
.quick-info {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem;
	background: var(--bg-white-soft);
	border-radius: 12px;
	border: 1px solid var(--bg-white-cool);
}

.info-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
}

.info-item i {
	color: var(--primary-green);
	font-size: 1rem;
	width: 20px;
	text-align: center;
}

/* Detalles del producto */
.product-details {
	background: white;
	border-radius: 20px;
	padding: 2rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== RESPONSIVE PARA DETALLES ===== */
@media (max-width: 768px) {
	.product-details {
		padding: 1rem;
	}
	
	.details-container {
		gap: 1.5rem;
	}
	
	.section-title {
		font-size: 1.3rem;
		text-align: center;
		margin-bottom: 1rem;
	}
	
	.specs-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	
	.spec-item {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
	
	.ingredient-item,
	.use-item,
	.feature-item,
	.storage-item,
	.allergen-item {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.product-details {
		padding: 0.75rem;
		border-radius: 12px;
	}
	
	.details-container {
		gap: 1.25rem;
	}
	
	.section-title {
		font-size: 1.2rem;
		margin-bottom: 0.75rem;
	}
	
	.spec-item,
	.ingredient-item,
	.use-item,
	.feature-item,
	.storage-item,
	.allergen-item {
		padding: 0.5rem;
		font-size: 0.8rem;
	}
}

.details-container {
	display: grid;
	gap: 2rem;
}

.detail-section {
	border-bottom: 1px solid var(--bg-white-cool);
	padding-bottom: 2rem;
}

.detail-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.section-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	position: relative;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -0.5rem;
	left: 0;
	width: 60px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-green), var(--secondary-gold));
	border-radius: 2px;
}

.section-title i {
	color: var(--primary-green);
	font-size: 1.2rem;
}

.specs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
}

.spec-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background: var(--bg-white-soft);
	border-radius: 8px;
	border: 1px solid var(--bg-white-cool);
}

.spec-label {
	font-weight: 600;
	color: var(--text-primary);
}

.spec-value {
	color: var(--text-secondary);
}

.ingredients-list,
.uses-list,
.features-list {
	display: grid;
	gap: 0.75rem;
}

.ingredient-item,
.use-item,
.feature-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem;
	background: var(--bg-white-soft);
	border-radius: 8px;
	border: 1px solid var(--bg-white-cool);
	transition: all 0.3s ease;
}

.ingredient-item:hover,
.use-item:hover,
.feature-item:hover {
	background: var(--bg-white);
	border-color: var(--primary-green);
	transform: translateX(5px);
}

.ingredient-item i,
.use-item i,
.feature-item i {
	color: var(--primary-green);
	font-size: 0.9rem;
	width: 16px;
	text-align: center;
}

.storage-info {
	display: grid;
	gap: 0.75rem;
}

.storage-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: var(--bg-white-soft);
	border-radius: 8px;
	border: 1px solid var(--bg-white-cool);
	border-left: 4px solid var(--primary-green);
}

.storage-item i {
	color: var(--primary-green);
	font-size: 1rem;
	width: 20px;
	text-align: center;
}

.allergens-info {
	display: grid;
	gap: 0.75rem;
}

.allergen-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem;
	background: #fef2f2;
	border-radius: 8px;
	border: 1px solid #fecaca;
	border-left: 4px solid #dc2626;
}

.allergen-item i {
	color: #dc2626;
	font-size: 1rem;
	width: 20px;
	text-align: center;
}

/* ===== DISEÑO RESPONSIVE COMPLETO PARA MÓVILES ===== */

/* Tablet y dispositivos medianos */
@media (max-width: 1024px) {
	.product-individual {
		padding: 1.5rem;
	}
	
	.product-container {
		gap: 2rem;
		padding: 1.5rem;
	}
	
	.product-title {
		font-size: 2.25rem;
	}
	
	.main-image-container {
		min-height: 350px;
	}
	
	.thumbnail {
		width: 100px;
		height: 100px;
	}
}



/* Móviles medianos */
@media (max-width: 600px) {
	.product-individual {
		padding: 0.75rem;
	}
	
	.product-container {
		grid-template-columns: 1fr 1fr 250px;
		gap: 1rem;
		padding: 1rem;
		border-radius: 15px;
	}
	
	.product-title {
		font-size: 1.75rem;
		line-height: 1.3;
	}
	
	.price {
		font-size: 1.75rem;
	}
	
	.main-image-container {
		min-height: 250px;
		border-radius: 12px;
	}
	
	.thumbnail {
		width: 70px;
		height: 70px;
	}
	
	.primary-btn {
		padding: 0.875rem 1.5rem;
		font-size: 1rem;
		border-radius: 10px;
	}
	
	.action-btn {
		padding: 0.625rem 0.875rem;
		font-size: 0.875rem;
		min-width: 100px;
	}
	
	.product-details {
		padding: 1rem;
		border-radius: 15px;
	}
	
	.section-title {
		font-size: 1.3rem;
		margin-bottom: 1rem;
	}
	
	.section-title::after {
		width: 50px;
		height: 2px;
	}
	
	.breadcrumb-container {
		padding: 0 0.75rem;
		gap: 0.25rem;
	}
	
	.breadcrumb-item {
		font-size: 0.75rem;
		padding: 0.3rem;
	}
}

/* Móviles pequeños */
@media (max-width: 480px) {
	.product-individual {
		padding: 0.5rem;
	}
	
	.product-container {
		padding: 0.75rem;
		border-radius: 12px;
		gap: 1.5rem;
	}
	
	.product-title {
		font-size: 1.5rem;
		line-height: 1.4;
	}
	
	.price {
		font-size: 1.5rem;
	}
	
	.unit {
		font-size: 0.9rem;
	}
	
	.main-image-container {
		min-height: 200px;
		border-radius: 10px;
		margin-bottom: 0.75rem;
	}
	
	.thumbnail {
		width: 60px;
		height: 60px;
		border-radius: 8px;
	}
	
	.thumbnail-gallery {
		gap: 0.4rem;
		padding: 0.4rem 0;
	}
	
	.primary-btn {
		padding: 0.75rem 1.25rem;
		font-size: 0.95rem;
		border-radius: 8px;
	}
	
	.action-btn {
		padding: 0.5rem 0.75rem;
		font-size: 0.8rem;
		min-width: 90px;
		border-radius: 6px;
	}
	
	.product-description {
		font-size: 1rem;
		line-height: 1.5;
	}
	
	.quick-info {
		padding: 0.75rem;
		border-radius: 10px;
	}
	
	.info-item {
		font-size: 0.85rem;
		gap: 0.5rem;
	}
	
	.product-details {
		padding: 0.75rem;
		border-radius: 12px;
	}
	
	.details-container {
		gap: 1.25rem;
	}
	
	.section-title {
		font-size: 1.2rem;
		margin-bottom: 0.75rem;
	}
	
	.section-title i {
		font-size: 1rem;
	}
	
	.spec-item,
	.ingredient-item,
	.use-item,
	.feature-item,
	.storage-item,
	.allergen-item {
		padding: 0.75rem;
		border-radius: 6px;
	}
	
	.breadcrumb-container {
		padding: 0 0.5rem;
	}
	
	.breadcrumb-item {
		font-size: 0.7rem;
		padding: 0.25rem;
	}
	
	/* Ocultar navegación de imágenes en móviles pequeños */
	.main-nav {
		display: none;
	}
	
	/* Ajustar badges para móviles */
	.product-badge > span {
		padding: 0.4rem 0.8rem;
		font-size: 0.7rem;
		border-radius: 20px;
	}
	
	/* Ajustar zoom button para móviles */
	.zoom-btn {
		width: 35px;
		height: 35px;
	}
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
	.product-individual {
		padding: 0.25rem;
	}
	
	.product-container {
		grid-template-columns: 1fr 1fr 200px;
		gap: 0.5rem;
		padding: 0.5rem;
		border-radius: 10px;
	}
	
	.product-title {
		font-size: 1.35rem;
	}
	
	.price {
		font-size: 1.35rem;
	}
	
	.main-image-container {
		height: 180px;
		border-radius: 8px;
	}
	
	.thumbnail {
		width: 55px;
		height: 55px;
	}
	
	.primary-btn {
		padding: 0.625rem 1rem;
		font-size: 0.9rem;
	}
	
	.action-btn {
		padding: 0.4rem 0.6rem;
		font-size: 0.75rem;
		min-width: 80px;
	}
	
	.product-details {
		padding: 0.5rem;
	}
	
	.section-title {
		font-size: 1.1rem;
	}
	
	.breadcrumb-container {
		padding: 0 0.25rem;
	}
	
	.breadcrumb-item {
		font-size: 0.65rem;
		padding: 0.2rem;
	}
}

/* Orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
	.product-container {
		grid-template-columns: 1fr 1fr 250px;
		gap: 1.5rem;
	}
	
	.main-image-container {
		height: 200px;
	}
	
	.product-title {
		font-size: 1.5rem;
	}
	
	.price {
		font-size: 1.5rem;
	}
}

/* Soporte para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.main-image,
	.thumbnail {
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
	}
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
	.main-image-container:hover {
		transform: none;
	}
	
	.thumbnail:hover {
		transform: none;
	}
	
	.primary-btn:hover {
		transform: none;
	}
	
	.action-btn:hover {
		transform: none;
	}
	
	/* Mostrar navegación siempre en dispositivos táctiles */
	.main-nav {
		opacity: 1;
		background: rgba(255, 255, 255, 0.95);
	}
	
	/* Aumentar área de toque */
	.zoom-btn,
	.main-nav {
		width: 44px;
		height: 44px;
	}
	
	.thumbnail {
		min-width: 44px;
		min-height: 44px;
	}
}

/* Animaciones */
@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(30px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.product-individual {
	animation: fadeInUp 0.8s ease-out;
}

.detail-section {
	animation: fadeInUp 0.8s ease-out;
}

/* Modal de zoom - Estilos consolidados en la sección final */

.zoom-controls {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
}

.zoom-nav {
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	pointer-events: auto;
	font-size: 1.2rem;
	color: #333;
}

.zoom-nav:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.zoom-nav.prev {
	left: -60px;
}

.zoom-nav.next {
	right: -60px;
}

/* Responsive para el modal de zoom */
@media (max-width: 768px) {
	.zoom-content {
		max-width: 95%;
		max-height: 95%;
		padding: 15px;
	}
	
	.zoom-close {
		top: -40px;
		width: 40px;
		height: 40px;
		font-size: 1.1rem;
	}
	
	.zoom-nav {
		width: 45px;
		height: 45px;
		font-size: 1.1rem;
	}
	
	.zoom-nav.prev {
		left: -50px;
	}
	
	.zoom-nav.next {
		right: -50px;
	}
	
	/* Hacer los controles más accesibles en móviles */
	.zoom-close,
	.zoom-nav {
		min-width: 44px;
		min-height: 44px;
	}
}

@media (max-width: 480px) {
	.zoom-content {
		max-width: 98%;
		padding: 10px;
	}
	
	.zoom-close {
		top: -35px;
		width: 35px;
		height: 35px;
		font-size: 1rem;
	}
	
	.zoom-nav {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}
	
	.zoom-nav.prev {
		left: -45px;
	}
	
	.zoom-nav.next {
		right: -45px;
	}
}

/* Mejoras específicas para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
	.zoom-modal {
		touch-action: pan-x pan-y pinch-zoom;
	}
	
	.zoom-image {
		touch-action: pan-x pan-y pinch-zoom;
	}
	
	/* Hacer los controles más grandes en dispositivos táctiles */
	.zoom-close,
	.zoom-nav {
		min-width: 48px;
		min-height: 48px;
	}
	
	/* Mejorar la visibilidad de los controles */
	.zoom-close {
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}
	
	.zoom-nav {
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}
}

/* Mejoras para WhatsApp */
.whatsapp-btn {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #4ade80, #22c55e) !important;
	box-shadow: 0 4px 15px rgba(74, 222, 128, 0.3) !important;
	color: white !important;
}

.whatsapp-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.whatsapp-btn:hover::before {
	left: 100%;
}

.whatsapp-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(74, 222, 128, 0.4) !important;
	background: linear-gradient(135deg, #22c55e, #4ade80) !important;
	color: white !important;
}

.whatsapp-btn:active {
	transform: translateY(0);
}

.whatsapp-btn i {
	font-size: 1.2rem;
	animation: whatsappPulse 2s infinite;
	color: white !important;
}

@keyframes whatsappPulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.1);
	}
}

/* Ripple para clicks (usado por JS) */
@keyframes ripple {
    0% { transform: scale(0); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Efectos de partículas para WhatsApp */
.whatsapp-particle {
	position: absolute;
	width: 8px;
	height: 8px;
	background: #4ade80;
	border-radius: 50%;
	pointer-events: none;
	animation: whatsappParticleExplosion 0.8s ease-out forwards;
}

@keyframes whatsappParticleExplosion {
	0% {
		transform: scale(0) rotate(0deg);
		opacity: 1;
	}
	25% {
		transform: scale(1.2) rotate(90deg);
		opacity: 0.9;
	}
	50% {
		transform: scale(1.5) rotate(180deg);
		opacity: 0.7;
	}
	75% {
		transform: scale(1.2) rotate(270deg);
		opacity: 0.5;
	}
	100% {
		transform: scale(0) rotate(360deg);
		opacity: 0;
	}
}

/* ===== RESPONSIVE Design Mejorado para Todos los Dispositivos ===== */

/* Tablets y Dispositivos Medianos */
@media (max-width: 1024px) {
	.product-individual {
		max-width: 100%;
		padding: 1.5rem;
	}
	
	.product-container {
		grid-template-columns: 1fr 1fr 280px;
		gap: 1.5rem;
		padding: 1.5rem;
	}
	
	.product-title {
		font-size: 1.8rem;
	}
	
	.main-image-container {
		height: 320px;
	}
	
	.thumbnail {
		width: 70px;
		height: 70px;
	}
	
	.product-info {
		padding: 1rem;
	}
	
	.product-actions {
		flex-direction: column;
		gap: 1rem;
	}
	
	.primary-btn {
		width: 100%;
		padding: 1rem 1.5rem;
		font-size: 1rem;
	}
	
	.secondary-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
	}
	
	.action-btn {
		width: 100%;
		justify-content: center;
	}
	
	.product-side-info {
		padding: 1.25rem;
	}
	
	.side-info-content .info-item {
		padding: 0.75rem;
	}
	
	.info-icon {
		width: 35px;
		height: 35px;
	}
	
	.info-text h4 {
		font-size: 0.9rem;
	}
	
	.info-text p {
		font-size: 0.8rem;
	}
}

/* Tablets Pequeñas y Móviles Grandes */
@media (max-width: 768px) {
	.product-container {
		grid-template-columns: 1fr 1fr 280px;
		gap: 1.5rem;
		padding: 1.5rem;
	}
	
	.product-individual {
		padding: 1rem;
	}
	
	.product-title {
		font-size: 1.6rem;
		text-align: center;
	}
	
	.product-header {
		text-align: center;
		flex-direction: column;
		gap: 1rem;
	}
	
	.product-badge {
		align-self: center;
	}
	
	.main-image-container {
		height: 280px;
		margin: 0 auto 1.5rem;
		max-width: 400px;
	}
	
	.thumbnail-gallery {
		justify-content: center;
		margin-top: 1rem;
	}
	
	.thumbnail {
		width: 65px;
		height: 65px;
	}
	
	.product-info {
		text-align: center;
		padding: 1rem 0;
	}
	
	.product-price-section {
		text-align: center;
		margin-bottom: 1.5rem;
	}
	
	.price {
		font-size: 1.8rem;
	}
	
	.unit {
		font-size: 1rem;
	}
	
	.product-description {
		text-align: center;
		font-size: 1rem;
		line-height: 1.6;
		margin-bottom: 1.5rem;
	}
	
	.product-actions {
		flex-direction: column;
		gap: 1rem;
		margin-bottom: 2rem;
	}
	
	.primary-btn {
		width: 100%;
		padding: 1.2rem;
		font-size: 1.1rem;
	}
	
	.secondary-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.75rem;
		width: 100%;
	}
	
	.action-btn {
		width: 100%;
		padding: 0.75rem;
		font-size: 0.9rem;
		justify-content: center;
	}
	
	.product-side-info {
		/* Mantener el contenedor en su posición lateral */
	}
	
	.side-info-content {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1rem;
	}
	
	.side-info-content .info-item {
		flex: 1;
		min-width: 200px;
		text-align: center;
	}
	
	.info-icon {
		margin: 0 auto 0.5rem;
	}
	
	.info-text {
		text-align: center;
	}
	
	.details-container {
		padding: 1rem;
	}
	
	.section-title {
		font-size: 1.3rem;
		text-align: center;
	}
	
	.specs-grid {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}
	
	.spec-item {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
	
	.breadcrumb-container {
		padding: 0 1rem;
		flex-wrap: wrap;
		gap: 0.25rem;
	}
	
	.breadcrumb-item {
		font-size: 0.8rem;
		padding: 0.4rem;
	}
}

/* Móviles Medianos */
@media (max-width: 600px) {
	.product-individual {
		padding: 0.75rem;
	}
	
	.product-container {
		grid-template-columns: 1fr 1fr 250px;
		gap: 1rem;
		padding: 1rem;
		border-radius: 15px;
	}
	
	.product-title {
		font-size: 1.4rem;
	}
	
	.main-image-container {
		min-height: 220px;
		max-height: 280px;
		border-radius: 12px;
	}
	
	.thumbnail {
		width: 60px;
		height: 60px;
	}
	
	.price {
		font-size: 1.6rem;
	}
	
	.unit {
		font-size: 0.9rem;
	}
	
	.product-description {
		font-size: 0.95rem;
	}
	
	.primary-btn {
		padding: 1rem;
		font-size: 1rem;
	}
	
	.secondary-actions {
		grid-template-columns: 1fr;
		gap: 0.5rem;
	}
	
	.action-btn {
		padding: 0.75rem;
		font-size: 0.85rem;
	}
	
	.quick-info {
		gap: 0.75rem;
	}
	
	.info-item {
		padding: 0.75rem;
		font-size: 0.9rem;
	}
	
	.section-title {
		font-size: 1.2rem;
	}
	
	.spec-item {
		padding: 0.6rem;
		font-size: 0.85rem;
	}
	
	.ingredient-item,
	.use-item,
	.feature-item,
	.storage-item,
	.allergen-item {
		padding: 0.6rem;
		font-size: 0.85rem;
	}
}

/* Móviles Pequeños */
@media (max-width: 480px) {
	.product-individual {
		padding: 0.5rem;
	}
	
	.product-container {
		grid-template-columns: 1fr 1fr 220px;
		gap: 0.75rem;
		padding: 0.75rem;
		border-radius: 12px;
	}
	
	.product-title {
		font-size: 1.3rem;
	}
	
	.main-image-container {
		height: 240px;
		border-radius: 10px;
	}
	
	.thumbnail-gallery {
		gap: 0.5rem;
	}
	
	.thumbnail {
		width: 55px;
		height: 55px;
	}
	
	.price {
		font-size: 1.5rem;
	}
	
	.unit {
		font-size: 0.85rem;
	}
	
	.product-description {
		font-size: 0.9rem;
		line-height: 1.5;
	}
	
	.primary-btn {
		padding: 0.9rem;
		font-size: 0.95rem;
	}
	
	.action-btn {
		padding: 0.6rem;
		font-size: 0.8rem;
	}
	
	.quick-info {
		gap: 0.6rem;
	}
	
	.info-item {
		padding: 0.6rem;
		font-size: 0.85rem;
	}
	
	.info-item i {
		font-size: 1.1rem;
	}
	
	.details-container {
		padding: 0.75rem;
	}
	
	.section-title {
		font-size: 1.1rem;
	}
	
	.spec-item {
		padding: 0.5rem;
		font-size: 0.8rem;
	}
	
	.ingredient-item,
	.use-item,
	.feature-item,
	.storage-item,
	.allergen-item {
		padding: 0.5rem;
		font-size: 0.8rem;
	}
	
	.breadcrumb-container {
		padding: 0 0.75rem;
	}
	
	.breadcrumb-item {
		font-size: 0.75rem;
		padding: 0.3rem;
	}
}

/* Móviles Muy Pequeños */
@media (max-width: 360px) {
	.product-individual {
		padding: 0.25rem;
	}
	
	.product-container {
		grid-template-columns: 1fr 1fr 200px;
		gap: 0.5rem;
		padding: 0.5rem;
		border-radius: 10px;
	}
	
	.product-title {
		font-size: 1.2rem;
	}
	
	.main-image-container {
		height: 200px;
		border-radius: 8px;
	}
	
	.thumbnail {
		width: 50px;
		height: 50px;
	}
	
	.price {
		font-size: 1.4rem;
	}
	
	.unit {
		font-size: 0.8rem;
	}
	
	.product-description {
		font-size: 0.85rem;
	}
	
	.primary-btn {
		padding: 0.8rem;
		font-size: 0.9rem;
	}
	
	.action-btn {
		padding: 0.5rem;
		font-size: 0.75rem;
	}
	
	.quick-info {
		gap: 0.5rem;
	}
	
	.info-item {
		padding: 0.5rem;
		font-size: 0.8rem;
	}
	
	.info-item i {
		font-size: 1rem;
	}
	
	.section-title {
		font-size: 1rem;
	}
	
	.spec-item {
		padding: 0.4rem;
		font-size: 0.75rem;
	}
	
	.ingredient-item,
	.use-item,
	.feature-item,
	.storage-item,
	.allergen-item {
		padding: 0.4rem;
		font-size: 0.75rem;
	}
	
	.breadcrumb-container {
		padding: 0 0.5rem;
	}
	
	.breadcrumb-item {
		font-size: 0.7rem;
		padding: 0.25rem;
	}
}

/* Orientación Landscape en Móviles */
@media (max-width: 768px) and (orientation: landscape) {
	.product-container {
		grid-template-columns: 1fr 1fr 250px;
		gap: 1.5rem;
	}
	
	.main-image-container {
		height: 240px;
	}
	
	.product-title {
		font-size: 1.4rem;
	}
	
	.price {
		font-size: 1.5rem;
	}
	
	.product-actions {
		flex-direction: row;
		gap: 0.75rem;
	}
	
	.primary-btn {
		width: auto;
		flex: 1;
	}
	
	.secondary-actions {
		grid-template-columns: 1fr 1fr;
		gap: 0.5rem;
	}
}

/* Dispositivos de Alta Densidad de Píxeles */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.main-image,
	.thumbnail {
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
	}
}

/* Dispositivos Táctiles */
@media (hover: none) and (pointer: coarse) {
	.main-image-container:hover {
		transform: none;
	}
	
	.thumbnail:hover {
		transform: none;
	}
	
	.primary-btn:hover {
		transform: none;
	}
	
	.action-btn:hover {
		transform: none;
	}
	
	.main-nav {
		display: none;
	}
	
	.zoom-btn,
	.thumbnail {
		touch-action: manipulation;
	}
}

/* Mejoras para dispositivos móviles */
@media (max-width: 768px) {
	.zoom-btn {
		width: 50px;
		height: 50px;
		font-size: 1.2rem;
	}
	
	.image-overlay {
		padding: 0.75rem;
	}
	
	/* Hacer el zoom más accesible en móviles */
	.main-image-container:hover .image-overlay,
	.main-image-container:active .image-overlay {
		opacity: 1;
	}
	
	/* Agregar indicador visual para zoom en móviles */
	.zoom-btn::after {
		content: '🔍';
		position: absolute;
		bottom: -25px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 0.8rem;
		opacity: 0;
		transition: opacity 0.3s ease;
		pointer-events: none;
	}
	
	.zoom-btn:hover::after,
	.zoom-btn:active::after {
		opacity: 1;
	}
}

/* Soporte para gestos táctiles en el modal de zoom - Consolidado */

/* Indicador de carga para el modal de zoom */
.zoom-modal.loading .zoom-image {
	opacity: 0.7;
}

.zoom-modal.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== ESTILOS ADICIONALES PARA IMÁGENES UNIFORMES ===== */

/* Asegurar que todas las imágenes mantengan proporción */
.main-image-container img {
	object-fit: contain !important;
	object-position: center !important;
}

/* ===== ESTILOS CONSOLIDADOS DEL ZOOM ===== */
.zoom-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.95);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	touch-action: pan-x pan-y pinch-zoom;
}

.zoom-modal.active {
	opacity: 1;
	visibility: visible;
}

.zoom-modal.zoom-in {
	animation: zoomIn 0.3s ease-out forwards;
}

.zoom-modal.zoom-out {
	animation: zoomOut 0.3s ease-in forwards;
}

.zoom-modal.loading .zoom-image {
	opacity: 0.7;
}

.zoom-modal.loading::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 4px solid rgba(255, 255, 255, 0.3);
	border-top: 4px solid white;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

.zoom-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	background: rgba(255, 255, 255, 0.05);
	padding: 20px;
}

.zoom-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 8px;
	max-height: 80vh;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	touch-action: pan-x pan-y pinch-zoom;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}

.zoom-close {
	position: absolute;
	top: -50px;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	cursor: pointer;
	font-size: 1.3rem;
	color: #333;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.zoom-close:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Navegación del zoom */
.zoom-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 45px;
	height: 45px;
	cursor: pointer;
	font-size: 1.2rem;
	color: #333;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.zoom-nav:hover {
	background: white;
	transform: scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.zoom-nav.prev {
	left: -45px;
}

.zoom-nav.next {
	right: -45px;
}

/* Indicador de zoom para móviles */
.zoom-indicator {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.9);
	padding: 8px 16px;
	border-radius: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.zoom-counter {
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
	.zoom-modal {
		touch-action: pan-x pan-y pinch-zoom;
	}
	
	.zoom-image {
		touch-action: pan-x pan-y pinch-zoom;
	}
	
	/* Hacer los controles más grandes en dispositivos táctiles */
	.zoom-close,
	.zoom-nav {
		min-width: 48px;
		min-height: 48px;
	}
	
	/* Mejorar la visibilidad de los controles */
	.zoom-close {
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}
	
	.zoom-nav {
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}
	
	/* Mostrar indicador de zoom en móviles */
	.zoom-indicator {
		display: block;
	}
}

/* Ocultar indicador en desktop */
@media (hover: hover) and (pointer: fine) {
	.zoom-indicator {
		display: none;
	}
}

/* ===== ANIMACIONES DEL ZOOM ===== */
@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.8);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes zoomOut {
	from {
		opacity: 1;
		transform: scale(1);
	}
	to {
		opacity: 0;
		transform: scale(0.8);
	}
}

@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== MEJORAS ADICIONALES PARA DISPOSITIVOS MÓVILES ===== */

/* Ocultar navegación de imágenes en móviles pequeños */
@media (max-width: 480px) {
	.main-nav {
		display: none;
	}
	
	.zoom-btn {
		width: 35px;
		height: 35px;
	}
	
	.product-badge > span {
		padding: 0.4rem 0.8rem;
		font-size: 0.7rem;
		border-radius: 20px;
	}
}

/* Mejorar experiencia táctil */
@media (hover: none) and (pointer: coarse) {
	.main-image-container:hover {
		transform: none;
	}
	
	.thumbnail:hover {
		transform: none;
	}
	
	.primary-btn:hover {
		transform: none;
	}
	
	.action-btn:hover {
		transform: none;
	}
	
	.main-nav {
		display: none;
	}
	
	.zoom-btn,
	.thumbnail {
		touch-action: manipulation;
	}
	
	/* Aumentar área de toque */
	.zoom-btn,
	.main-nav {
		width: 44px;
		height: 44px;
	}
	
	.thumbnail {
		min-width: 44px;
		min-height: 44px;
	}
}

/* Contenedor de imágenes con fondo blanco uniforme */
.main-image-container {
	background: #ffffff !important;
	border: 1px solid #e2e8f0;
}

/* Ajustes para diferentes tipos de imágenes */
.main-image-container.portrait img {
	object-fit: contain;
	max-height: 90%;
	max-width: 90%;
}

.main-image-container.landscape img {
	object-fit: contain;
	max-height: 90%;
	max-width: 90%;
}

.main-image-container.square img {
	object-fit: contain;
	max-height: 90%;
	max-width: 90%;
}

.main-image-container.wide img {
	object-fit: contain;
	max-height: 90%;
	max-width: 90%;
}

/* Asegurar que las miniaturas también mantengan proporción */
.thumbnail-gallery .thumbnail {
	object-fit: contain !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0;
}

/* Indicador de zoom para móviles */
.zoom-indicator {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.9);
	padding: 8px 16px;
	border-radius: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.zoom-counter {
	font-size: 0.9rem;
	font-weight: 600;
	color: #333;
}

/* Mejoras para dispositivos táctiles - Consolidado */

/* Ocultar indicador en desktop */
@media (hover: hover) and (pointer: fine) {
	.zoom-indicator {
		display: none;
	}
}
