/**
 * Products (Audífonos y Accesorios) Styles
 * @package HelloBiz
 */

/* === Archive Pages === */
.audifonos-archive-container,
.accesorios-archive-container {
	padding: 0;
	margin: 0;
}

.archive-hero {
	width: 100%;
	margin: 0;
	padding: 0;
}

.hero-image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
	padding: 0;
}

.audifonos-content,
.accesorios-content {
	max-width: 1200px;
	margin: 60px auto 40px auto;
	padding: 0 20px;
}

.archive-header {
	text-align: center;
	margin-bottom: 50px;
}

.archive-title {
	font-size: 2.5rem;
	color: #565F71;
	margin-bottom: 15px;
}

.archive-description {
	font-size: 1.1rem;
	color: #666;
	max-width: 700px;
	margin: 0 auto;
}

/* Category Sections */
.categoria-section {
	margin-bottom: 80px;
}

.categoria-title {
	font-size: 2rem !important;
	color: #fff !important;
	margin: 0;
	padding: 20px 40px;
	background: #7D8A9C;
	font-weight: 600 !important;
}

.categoria-description {
	color: #1a1a1a;
	margin: 0;
	padding: 20px 40px;
	font-size: 1rem;
	line-height: 1.6;
	background: transparent;
}

/* Product Grid */
.audifonos-grid,
.accesorios-grid,
.productos-relacionados-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

/* Product List (Row Layout) */
.audifonos-list,
.accesorios-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin-bottom: 60px;
}

.audifono-row,
.accesorio-row {
	display: flex;
	flex-direction: row-reverse;
	gap: 80px;
	align-items: center;
	padding: 20px 40px;
	border-bottom: none;
	background: #fff url('/wp-content/uploads/2025/10/SignoMasaudio-trasparente-saber-sobre-su-audicion.webp') no-repeat;
	background-position: calc(100% + 50px) 30%;
	background-size: auto;
	position: relative;
}

.audifono-row:last-child,
.accesorio-row:last-child {
	border-bottom: none;
}

/* Reverse layout for alternating rows */
.audifono-row-reverse,
.accesorio-row-reverse {
	flex-direction: row !important;
	background-position: -50px 30%;
}

.audifono-row-images,
.accesorio-row-images {
	flex: 0 0 500px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.audifono-row-image,
.accesorio-row-image {
	width: 100%;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: center;
}

.audifono-row-image img,
.accesorio-row-image img {
	width: 100%;
	height: auto;
	object-fit: contain;
	padding: 0;
	max-height: 300px;
}

.audifono-row-content,
.accesorio-row-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.audifono-row-title,
.accesorio-row-title {
	font-size: 3rem;
	color: #1a1a1a;
	margin: 0;
	font-weight: 600;
	line-height: 1.2;
}

.audifono-row-bajada,
.accesorio-row-bajada {
	font-size: 1.25rem;
	color: #6366f1;
	margin: 0;
	font-weight: 400;
	line-height: 1.4;
}

.audifono-row-excerpt,
.accesorio-row-excerpt {
	font-size: 1rem;
	color: #666;
	line-height: 1.7;
	margin: 10px 0 0 0;
}

.audifono-row-excerpt p,
.accesorio-row-excerpt p {
	margin: 0;
}

.btn-saber-mas {
	display: inline-flex;
	align-items: center;
	background: #6366f1;
	color: #fff;
	padding: 14px 36px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 500;
	font-size: 1rem;
	transition: all 0.3s;
	align-self: flex-start;
	margin-top: 15px;
}

.btn-saber-mas:hover {
	background: #4f46e5;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Product Cards */
.audifono-card,
.accesorio-card,
.producto-relacionado {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s, box-shadow 0.3s;
}

.audifono-card:hover,
.accesorio-card:hover,
.producto-relacionado:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 16px rgba(77, 113, 217, 0.15);
}

.audifono-link,
.accesorio-link,
.producto-relacionado a {
	text-decoration: none;
	color: inherit;
	display: block;
}

.audifono-image,
.accesorio-image,
.producto-imagen {
	aspect-ratio: 1;
	overflow: hidden;
	background: #f9fafb;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.audifono-image img,
.accesorio-image img,
.producto-imagen img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s;
}

.audifono-card:hover .audifono-image img,
.accesorio-card:hover .accesorio-image img,
.producto-relacionado:hover .producto-imagen img {
	transform: scale(1.05);
}

.no-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #e0e0e0;
}

.no-image-placeholder .dashicons {
	font-size: 60px;
	color: #999;
}

.audifono-content,
.accesorio-content {
	padding: 20px;
}

.producto-relacionado a {
	padding: 0;
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 20px;
	height: 100%;
	align-items: stretch;
}

.producto-relacionado .producto-imagen {
	height: 100%;
	aspect-ratio: auto;
}

.producto-relacionado .producto-imagen.imagen-small img {
	width: 60%;
	height: 60%;
}

.producto-relacionado-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 20px 20px 20px 0;
}

.audifono-title,
.accesorio-title,
.producto-relacionado h3 {
	font-size: 1rem;
	color: #1a1a1a;
	margin: 0;
	font-weight: 600;
	line-height: 1.3;
}

.audifono-bajada,
.accesorio-bajada,
.producto-relacionado p {
	font-size: 0.875rem;
	color: #6b7280;
	margin: 0;
	line-height: 1.5;
}

.ver-mas {
	color: #4D71D9;
	font-weight: 600;
	font-size: 0.875rem;
}

/* === Single Product Pages === */
.audifono-single,
.accesorio-single {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.breadcrumbs {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 30px;
}

.breadcrumbs a {
	color: #4D71D9;
	text-decoration: none;
}

.breadcrumbs .separator {
	margin: 0 8px;
	color: #999;
}

.breadcrumbs .current {
	color: #565F71;
	font-weight: 600;
}

.audifono-main,
.accesorio-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	margin-bottom: 60px;
}

/* Color Selector - Below Image */
.color-selector-wrapper {
	margin-top: 20px;
	display: flex;
	align-items: center;
	gap: 30px;
	justify-content:center;
}

.color-selector-background {
	background: #E8E8E8;
	padding: 15px 20px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	gap: 15px;
	min-width: 150px;
}

.color-icon-plus {
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	position: relative;
}

.color-icon-plus::before,
.color-icon-plus::after {
	content: '';
	position: absolute;
	background: #ccc;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.color-icon-plus::before {
	width: 20px;
	height: 3px;
}

.color-icon-plus::after {
	width: 3px;
	height: 20px;
}

.color-label {
	font-size: 1rem;
	color: #565F71;
	margin: 0;
	font-weight: 600;
}

.color-options {
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
}

.color-option-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	position: relative;
}

.color-carcasa-label {
	font-size: 0.75rem;
	color: #999;
	margin: 0;
	text-align: center;
	line-height: 1.2;
}

.color-option {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 2px solid #E8E8E8;
	cursor: pointer;
	transition: all 0.3s;
	background: none;
	padding: 0;
	position: relative;
}

.color-option.active {
	border-color: #4D71D9;
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px #4D71D9;
}

.color-option:hover {
	transform: scale(1.1);
}

/* Custom tooltip */
.color-option:hover::after {
	content: attr(title);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translateX(-50%);
	padding: 6px 12px;
	background: rgba(0, 0, 0, 0.85);
	color: white;
	font-size: 0.75rem;
	white-space: nowrap;
	border-radius: 6px;
	z-index: 1000;
	pointer-events: none;
	opacity: 0;
	animation: tooltipFadeIn 0.2s forwards;
}

/* Tooltip arrow */
.color-option:hover::before {
	content: '';
	position: absolute;
	bottom: calc(100% + 2px);
	left: 50%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: rgba(0, 0, 0, 0.85);
	z-index: 1000;
	pointer-events: none;
	opacity: 0;
	animation: tooltipFadeIn 0.2s forwards;
}

@keyframes tooltipFadeIn {
	to {
		opacity: 1;
	}
}

.color-name {
	display: none;
}

/* Gallery */
.audifono-gallery-section,
.accesorio-gallery-section {
	background: url('/wp-content/uploads/2025/10/SignoMasaudio-trasparente-saber-sobre-su-audicion.webp') no-repeat;
	background-position: left center;
	background-size: contain;
}

.product-gallery {
	position: relative;
}

.gallery-wrapper {
	transition: opacity 0.3s;
	display: flex;
	gap: 15px;
	align-items: flex-start;
}

.gallery-wrapper::before {
	content: '';
	display: block;
	min-width: 95px;
	width: 95px;
	flex-shrink: 0;
}

.gallery-wrapper:has(.thumbnail-gallery-vertical)::before {
	display: none;
}

/* Vertical Thumbnail Gallery - Left Side */
.thumbnail-gallery-vertical {
	display: flex !important;
	flex-direction: column;
	gap: 10px;
	max-height: 500px;
	overflow-y: auto;
	visibility: visible !important;
	opacity: 1 !important;
	min-width: 80px;
	width: 80px;
	flex-shrink: 0;
	margin-right: 10px;
}

.thumbnail-gallery-vertical::-webkit-scrollbar {
	width: 4px;
}

.thumbnail-gallery-vertical::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 2px;
}

.thumbnail-gallery-vertical::-webkit-scrollbar-thumb {
	background: #ccc;
	border-radius: 2px;
}

.thumbnail-gallery-vertical::-webkit-scrollbar-thumb:hover {
	background: #999;
}

.thumbnail-vertical {
	flex-shrink: 0;
	width: 80px !important;
	height: 80px !important;
	min-width: 80px;
	min-height: 80px;
	border-radius: 4px;
	border: 1px solid #e5e7eb;
	overflow: hidden;
	cursor: pointer;
	background: transparent !important;
	padding: 0;
	transition: all 0.2s ease;
	display: block !important;
	visibility: visible !important;
}

.thumbnail-vertical.active {
	border-color: #4D71D9;
	box-shadow: 0 0 0 2px rgba(77, 113, 217, 0.1);
	background-color: transparent !important;
}

.thumbnail-vertical:hover {
	border-color: #9ca3af;
}

.thumbnail-vertical img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 4px;
}

/* Main Image */
.main-image {
	flex: 1;
	aspect-ratio: 4/3;
	background: transparent;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
}

.main-image::after {
	content: '\f002';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 2rem;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
	background: rgba(255, 255, 255, 0.9);
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
}

.main-image:hover::after {
	opacity: 1;
}

.main-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Gallery Modal */
.gallery-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	backdrop-filter: blur(0px);
	background: rgba(0, 0, 0, 0);
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease, backdrop-filter 0.3s ease, background 0.3s ease;
}

.gallery-modal.active {
	display: flex;
	opacity: 1;
	backdrop-filter: blur(10px);
	background: rgba(0, 0, 0, 0.8);
}

.gallery-modal-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0.9);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-modal.active .gallery-modal-content {
	transform: scale(1);
	opacity: 1;
}

.gallery-modal-image {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	transition: opacity 0.2s ease;
}

.gallery-modal-close {
	position: fixed;
	top: 30px;
	right: 30px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 2rem;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	line-height: 1;
	padding: 0;
}

.gallery-modal-close:hover {
	background: #fff;
	transform: rotate(90deg);
}

.gallery-modal-prev,
.gallery-modal-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	font-size: 2rem;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	z-index: 10000;
	line-height: 1;
	padding: 0;
}

.gallery-modal-prev {
	left: 30px;
}

.gallery-modal-next {
	right: 30px;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.1);
}

.gallery-modal-counter {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255, 255, 255, 0.9);
	padding: 10px 20px;
	border-radius: 20px;
	font-size: 0.9rem;
	color: #333;
}

/* Product Info */
.product-title {
	font-size: 2.5rem !important;
	color: #565F71 !important;
	margin: 0 0 15px 0 !important;
	display: block !important;
	visibility: visible !important;
	font-weight: 700 !important;
}

.product-bajada {
	font-size: 1.3rem !important;
	color: #4D71D9 !important;
	line-height: 1.6 !important;
	margin: 0 0 25px 0 !important;
	display: block !important;
	visibility: visible !important;
	font-weight: 600 !important;
}

.product-content {
	font-size: 1rem !important;
	line-height: 1.8 !important;
	color: #444 !important;
	margin-bottom: 30px !important;
	display: block !important;
	visibility: visible !important;
}

.product-content p {
	margin-bottom: 15px !important;
}

.btn-distribuidor-single {
	background: #4D71D9 !important;
	color: #fff !important;
	padding: 15px 40px !important;
	border-radius: 50px !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	display: inline-block !important;
	transition: all 0.3s !important;
	visibility: visible !important;
}

.btn-distribuidor-single:hover {
	background: #3d5cb3 !important;
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(77, 113, 217, 0.3);
}

.product-meta {
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	font-size: 0.95rem;
	color: #666;
}

.meta-label {
	font-weight: 600;
	color: #565F71;
}

.product-meta a {
	color: #4D71D9;
	text-decoration: none;
}

/* Related Sections */
.accesorios-compatibles-section,
.audifonos-compatibles-section,
.productos-relacionados-section,
.otras-categorias-section {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 2px solid #e0e0e0;
}

.accesorios-compatibles-section h2,
.audifonos-compatibles-section h2,
.productos-relacionados-section h2,
.otras-categorias-section h2 {
	font-size: 1.5rem;
	color: #565F71;
	margin-bottom: 24px;
	font-weight: 700;
}

/* Botón "Ir" para categorías */
.btn-ir {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #6366f1;
	color: #fff;
	padding: 10px 28px;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.25s ease;
	align-self: flex-start;
	letter-spacing: 0.01em;
	box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.producto-relacionado:hover .btn-ir {
	background: #4f46e5;
	box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
	transform: translateY(-1px);
}

/* No Products Message */
.no-products {
	text-align: center;
	padding: 60px 20px;
	font-size: 1.1rem;
	color: #999;
}

/* === Listado Section === */
.listado-section {
	margin: 40px 0;
	padding: 0;
}

.listado-items {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px 40px;
}

.listado-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 0;
	background: none;
}

.listado-icon {
	flex-shrink: 0;
}

.listado-icon svg {
	width: 48px;
	height: 48px;
}

.listado-icon svg circle {
	display: none;
}

.listado-icon svg rect {
	fill: #4D71D9;
}

.listado-icon svg path {
	stroke: #fff;
}

.listado-content {
	width: 100%;
}

.listado-titulo {
	font-size: 1.5rem !important;
	color: #565F71 !important;
	margin: 0 0 8px 0;
	font-weight: 700 !important;
}

.listado-descripcion {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.5;
	margin: 0;
}

/* === Descripción Section === */
.descripcion-section {
	margin: 40px 0;
	padding: 0;
}

.descripcion-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.descripcion-container h2 {
	font-size: 1.8rem;
	color: #565F71;
	margin: 0 0 20px 0;
}

.descripcion-content {
	color: #444;
	line-height: 1.8;
}

.descripcion-content h1,
.descripcion-content h2,
.descripcion-content h3 {
	color: #565F71;
	margin-top: 25px;
	margin-bottom: 15px;
}

.descripcion-content ul,
.descripcion-content ol {
	margin: 15px 0;
	padding-left: 25px;
}

.descripcion-content li {
	margin-bottom: 8px;
}

/* === RemoteLink Section === */
.remotelink-section {
	background: url('/wp-content/uploads/2025/06/texto.webp') no-repeat center center;
	background-size: cover;
	padding: 80px 20px;
	margin: 60px 0;
	position: relative;
}

.remotelink-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.95);
}

.remotelink-content {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.remotelink-image {
	text-align: center;
}

.remotelink-app-image {
	max-width: 100%;
	height: auto;
}

.remotelink-title {
	font-size: 2.5rem !important;
	color: #565F71!important;
	margin: 0 0 10px 0!important;
}

.remotelink-subtitle {
	font-size: 1.3rem;
	color: #4D71D9;
	font-weight: 600;
	margin: 0 0 20px 0;
}

.remotelink-description {
	font-size: 1.05rem;
	line-height: 1.8;
	color: #666;
	margin: 0 0 30px 0;
}

.app-store-buttons {
	display: flex;
	gap: 15px;
	align-items: center;
	flex-wrap: wrap;
}

.app-store-badge,
.google-play-badge {
	display: inline-block;
	transition: transform 0.3s, opacity 0.3s;
}

.app-store-badge:hover,
.google-play-badge:hover {
	transform: translateY(-3px);
	opacity: 0.9;
}

.app-store-badge img,
.google-play-badge img {
	display: block;
}

/* === Audífonos Compatibles Carousel === */
.audifonos-carousel {
	position: relative;
	padding: 20px 60px;
	overflow: hidden;
}

.audifonos-carousel .swiper-wrapper {
	display: flex;
	align-items: stretch;
}

.audifonos-carousel .swiper-slide {
	height: auto;
	display: flex;
}

.audifono-compatible-card {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 20px;
	background: #F4F4F4;
	border-radius: 50px;
	padding: 15px;
	width: 100%;
	align-items: stretch;
	transition: transform 0.3s, box-shadow 0.3s;
}

.audifono-compatible-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.audifono-compatible-image {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	height: 100%;
}

.audifono-compatible-image img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: contain;
}

.audifono-compatible-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 10px;
}

.audifono-compatible-content h3 {
	font-size: 1rem;
	color: #565F71;
	margin: 0;
	font-weight: 600;
	line-height: 1.3;
	flex: 1;
}

.btn-ir-carousel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #6366f1;
	color: #fff;
	padding: 8px 22px;
	border-radius: 40px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.3s;
	align-self: flex-start;
}

.btn-ir-carousel:hover {
	background: #4f46e5;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Swiper Navigation Buttons - Hidden */
.audifonos-carousel .swiper-button-prev,
.audifonos-carousel .swiper-button-next {
	display: none;
}

/* Swiper Pagination */
.audifonos-carousel .swiper-pagination {
	position: relative;
	bottom: auto;
	margin-top: 25px;
}

.audifonos-carousel .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	background: #ccc;
	opacity: 1;
	transition: all 0.3s;
}

.audifonos-carousel .swiper-pagination-bullet-active {
	background: #4D71D9;
	width: 30px;
	border-radius: 6px;
}

/* === Responsive === */
@media (max-width: 968px) {
	.audifono-main,
	.accesorio-main {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.archive-title {
		font-size: 2rem;
	}

	.entry-title {
		font-size: 2rem;
	}

	.audifonos-grid,
	.accesorios-grid,
	.productos-relacionados-grid {
		grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
		gap: 20px;
	}

	.remotelink-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.remotelink-title {
		font-size: 2rem;
	}

	.listado-items {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.audifono-row,
	.accesorio-row {
		flex-direction: column !important;
		gap: 30px;
		padding: 40px 20px;
		background-position: 175% 23% !important;
		background-size: 300px !important;
	}

	.audifono-row-reverse,
	.accesorio-row-reverse {
		flex-direction: column !important;
		background-position: 175% 23% !important;
	}

	.audifono-row-images,
	.accesorio-row-images {
		flex: none;
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
	}

	.audifono-row-content,
	.accesorio-row-content {
		width: 100%;
		text-align: left;
		padding: 0 10px;
	}

	.audifono-row-title,
	.accesorio-row-title {
		font-size: 1.5rem;
	}

	.categoria-header-wrapper {
		padding: 0 20px;
	}

	.categoria-title {
		padding: 15px 20px;
	}

	.audifono-compatible-card {
		grid-template-columns: 1fr;
		border-radius: 30px;
		padding: 20px;
	}

	.producto-relacionado a {
		grid-template-columns: 1fr;
	}

	.producto-relacionado .producto-imagen {
		height: 250px;
	}

	.producto-relacionado-content {
		padding: 0 20px 20px 20px;
	}

	.audifonos-carousel {
		padding: 10px 50px;
	}
}

@media (max-width: 640px) {
	.audifonos-grid,
	.accesorios-grid,
	.productos-relacionados-grid {
		grid-template-columns: 1fr;
	}

	.archive-title {
		font-size: 1.75rem;
	}

	.categoria-title {
		font-size: 1.5rem;
	}

	.entry-title {
		font-size: 1.75rem;
	}

	.remotelink-title {
		font-size: 1.75rem;
	}

	.site-logo {
		height: 48px;
	}

	.listado-items {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.audifono-compatible-content h3 {
		font-size: 0.9rem;
	}

	.audifonos-carousel {
		padding: 10px 40px;
	}

	.audifonos-carousel .swiper-button-prev,
	.audifonos-carousel .swiper-button-next {
		width: 40px;
		height: 40px;
	}

	.color-option {
		width: 24px;
		height: 24px;
	}

	.color-options {
		gap: 20px;
	}
}

/* === Scroll Animations === */
/* Initial state for GSAP animations - will be animated by JS */
.audifono-row,
.accesorio-row,
.producto-relacionado,
.audifono-card,
.accesorio-card,
.categoria-section,
.listado-item,
.accesorio-main,
.audifono-main,
.listado-section,
.descripcion-section,
.remotelink-section,
.accesorios-compatibles-section,
.audifonos-compatibles-section,
.productos-relacionados-section,
.otras-categorias-section {
	/* Elements will start visible for users without JS */
	opacity: 1;
}

/* Smooth transitions for hover effects */
.producto-relacionado,
.audifono-card,
.accesorio-card {
	will-change: transform, box-shadow;
}

.audifono-image img,
.accesorio-image img,
.producto-imagen img {
	will-change: transform;
}
