/*
Theme Name:   Storefront Child Ropa
Theme URI:    https://example.com/storefront-child-ropa/
Description:  Child theme de Storefront para catálogo de ropa WooCommerce.
Author:       Mirage
Author URI:   https://example.com
Template:     storefront
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  storefront-child-ropa
Tags:         woocommerce, child-theme, clothing
*/

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&display=swap');

/* =============================================================
   VARIABLES
============================================================= */
:root {
	--color-primary:   #1a1a1a;
	--color-accent:    #c0392b;
	--color-light:     #f8f8f8;
	--color-white:     #ffffff;
	--color-cream:     rgba(251, 246, 238, 0.94);
	--color-text:      #333333;
	--color-muted:     #777777;
	--font-main:       'Helvetica Neue', Arial, sans-serif;
	--transition:      .3s ease;
	--radius:          4px;
}

/* =============================================================
   HEADER - TOPBAR Y NAVBAR
============================================================= */
.topbar {
	background: var(--color-white);
	color: var(--color-primary);
	text-align: center;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	border-bottom: 1px solid #e8e8e8;
}

.topbar-container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	max-width: 100%;
}

.topbar-left,
.topbar-center,
.topbar-right {
	text-align: center;
}

.topbar-item {
	font-weight: 400;
	letter-spacing: 0.1em;
	color: var(--color-primary);
	white-space: nowrap;
}

#masthead.site-header {
	background: rgba(251, 246, 238, 0.94) !important;
	border-bottom: none;
	padding: 8px 0 !important;
	margin: 0 !important;
	position: sticky;
	top: 0;
	z-index: 999;
}

.header-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 90px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 40px;
	align-items: center;
}

.logo {
	grid-column: 1;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
	padding: 5px 0;
	margin: 0;
}

.logo-image {
	height: 67px;
	width: 67px;
	display: block;
	transition: transform var(--transition);
	border-radius: 50%;
	object-fit: cover;
}

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

.main-navigation {
	grid-column: 2;
	display: flex;
	justify-content: center;
	flex: 1;
	padding: 0;
	margin: 0 30px;
}

.header-actions {
	grid-column: 3;
	justify-self: end;
	display: flex;
	gap: 12px;
	align-items: center;
}

#primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 16px;
	align-items: center;
}

#primary-menu a {
	text-decoration: none;
	color: var(--color-primary);
	font-weight: 600;
	font-size: .7rem;
	text-transform: uppercase;
	letter-spacing: .05em;
	transition: color var(--transition);
	white-space: nowrap;
}

#primary-menu a:hover {
	color: var(--color-accent);
}

#primary-menu a:focus,
#primary-menu a:active {
	outline: none;
	box-shadow: none;
	color: var(--color-accent);
}

.social-icon {
	color: #8B002A;
	width: 28px;
	height: 28px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	transition: color .3s ease, transform .3s ease, background .3s ease;
	text-decoration: none;
	border-radius: 50%;
	background: transparent;
	flex-shrink: 0;
	min-width: 28px;
}

.social-icon:hover {
	transform: scale(1.15);
}

.social-icon svg {
	width: 20px !important;
	height: 20px !important;
	display: block;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	padding: 8px;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-primary);
	transition: all var(--transition);
	border-radius: 2px;
}

/* =============================================================
   UTILIDADES GLOBALES
============================================================= */
body,
.site {
	background: rgba(251, 246, 238, 0.94) !important;
}

.front-page {
	padding: 0;
	background: rgba(251, 246, 238, 0.94) !important;
}

.fp-container {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}

.section-title-wrapper {
	margin-bottom: 40px;
}

.section-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #888;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.15em;
}

.section-title {
	font-family: 'Bodoni Moda', serif;
	font-size: 2.2rem;
	font-weight: 400;
	color: #000;
	margin: 0 0 24px;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.1;
}

.section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 24px;
}

.section-header .section-title {
	margin: 0;
}

.section-header .section-label {
	margin: 0;
}

.btn-ver-todo {
	font-size: .85rem;
	font-weight: 600;
	color: var(--color-accent);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .05em;
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition);
}

.btn-ver-todo:hover {
	border-color: var(--color-accent);
}

/* =============================================================
   1. SLIDESHOW PRINCIPAL
============================================================= */
.hero-slideshow {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-top: 0 !important;
	overflow: hidden;
}

#hero-swiper {
	width: 100%;
	height: 85vh;
	min-height: 420px;
}

#hero-swiper .swiper-slide {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	padding: 60px 0 60px 60px;
}

.slide-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(108deg, rgba(53, 8, 16, 0.74) 0%, rgba(53, 8, 16, 0.4) 52%, rgba(53, 8, 16, 0.08) 100%);
	z-index: 1;
	pointer-events: none;
}

.slide-content {
	position: relative;
	z-index: 2;
	text-align: left;
	color: var(--color-white);
	max-width: 500px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 25px;
}

.slide-content h2 {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(46px, 6vw, 84px);
	font-weight: 500;
	line-height: 1.02;
	margin: 0;
	text-shadow: 0 2px 8px rgba(0,0,0,.3);
	color: var(--color-white);
}

.slide-content p {
	font-size: clamp(.75rem, 1.2vw, .95rem);
	margin: 0;
	opacity: .9;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 500;
}


#hero-swiper .swiper-pagination {
	bottom: 30px;
}

#hero-swiper .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.5);
	width: 12px;
	height: 12px;
}

#hero-swiper .swiper-pagination-bullet-active {
	background: var(--color-white);
}

/* =============================================================
   2. CARRUSEL DE CATEGORÍAS
============================================================= */
.section-categories {
	padding: 64px 60px 48px;
	background: rgba(251, 246, 238, 0.94) !important;
}

.section-categories .section-header {
	margin-bottom: 40px;
}

#categories-swiper {
	overflow: visible;
	position: relative;
	padding-top: 50px;
}

.category-card {
	position: relative;
	height: 500px;
	overflow: hidden;
	border-radius: 12px;
}

.category-card a {
	display: block;
	text-decoration: none;
	color: var(--color-white);
	text-align: center;
	position: relative;
	width: 100%;
	height: 100%;
}

.category-img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform var(--transition);
}

.category-card a:hover .category-img {
	transform: scale(1.05);
}

.category-card h3 {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(22px, 2.8vw, 32px);
	font-weight: 500;
	font-style: italic;
	margin: 0;
	padding: 20px;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.05;
	color: var(--color-white);
	text-align: left;
}

#categories-swiper .swiper-button-next,
#categories-swiper .swiper-button-prev {
	color: var(--color-primary);
	background: var(--color-white);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
	top: -50px;
	bottom: auto;
}

#categories-swiper .swiper-button-prev {
	right: 50px;
	left: auto;
}

#categories-swiper .swiper-button-next {
	right: 0;
}

#categories-swiper .swiper-button-next::after,
#categories-swiper .swiper-button-prev::after {
	font-size: .9rem;
	font-weight: 900;
}

/* =============================================================
   COMPLEMENTOS CATEGORÍA (Temporada)
============================================================= */
.section-complementos {
	padding: 64px 60px;
	background: rgba(251, 246, 238, 0.94) !important;
}

.complementos-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	grid-template-rows: auto auto;
	gap: 24px;
}

.complemento-card {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	height: 350px;
}

.complemento-card--large {
	grid-row: 1 / 3;
	height: auto;
	min-height: 100%;
}

.complemento-card a {
	display: block;
	text-decoration: none;
	width: 100%;
	height: 100%;
}

.complemento-img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
	transition: transform var(--transition);
}

.complemento-card a:hover .complemento-img {
	transform: scale(1.05);
}

.complemento-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
	z-index: 1;
	pointer-events: none;
}

.complemento-content {
	position: relative;
	z-index: 2;
	padding: 24px;
	width: 100%;
}

.complemento-label {
	font-size: 0.7rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.complemento-card h3 {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(18px, 2.5vw, 28px);
	font-weight: 500;
	font-style: italic;
	margin: 0;
	color: var(--color-white);
	line-height: 1.05;
}

/* RESPONSIVE - COMPLEMENTOS */
@media (max-width: 1024px) {
	.section-complementos {
		padding: 64px 40px;
	}

	.complementos-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.complemento-card {
		height: 300px;
	}

	.complemento-card--large {
		grid-row: auto;
		height: 300px;
	}
}

@media (max-width: 600px) {
	.section-complementos {
		padding: 48px 20px;
	}

	.complemento-card {
		height: 250px;
	}

	.complemento-card h3 {
		font-size: clamp(16px, 3vw, 22px);
	}

	.complemento-label {
		font-size: 0.6rem;
	}
}

/* =============================================================
   3. SECCIÓN PARALLAX
============================================================= */
.parallax-section {
	position: relative;
	min-height: 600px;
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.parallax-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .50);
}

.parallax-content {
	position: relative;
	z-index: 2;
	text-align: center;
	color: var(--color-white);
	padding: 60px 24px;
	max-width: 700px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.parallax-label {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(0.9rem, 2vw, 1.2rem);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin: 0 0 16px;
	opacity: 0.9;
	font-weight: 400;
}

.parallax-content h2 {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 400;
	margin: 0;
	color: var(--color-white);
	line-height: 1.1;
	font-style: italic;
	white-space: nowrap;
	max-width: 90vw;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* iOS no soporta background-attachment: fixed */
@media (max-width: 768px) {
	.parallax-section {
		background-attachment: scroll;
	}
}

/* =============================================================
   4 & 5. CARRUSELES DE PRODUCTOS (Lo más nuevo + Ofertas)
============================================================= */
.section-products {
	padding: 64px 0;
}

.section-new-arrivals {
	background: rgba(251, 246, 238, 0.94) !important;
	padding: 64px 60px 48px;
}

.section-collection {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.section-collection .section-season {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 400;
	color: var(--color-primary);
	margin: 0 0 12px;
}

.section-collection .section-title {
	font-family: 'Bodoni Moda', serif;
	font-size: 56px;
	font-weight: 400;
	margin: 0;
	line-height: 1.1;
}

.section-on-sale {
	background: rgb(245, 237, 224) !important;
	padding: 64px 60px 48px;
}

.section-sales {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.section-sales .section-season {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 400;
	color: var(--color-primary);
	margin: 0 0 12px;
}

.section-sales .section-title {
	font-family: 'Bodoni Moda', serif;
	font-size: 56px;
	font-weight: 400;
	margin: 0 0 40px;
	line-height: 1.1;
}

#new-arrivals-swiper,
#on-sale-swiper {
	overflow: hidden;
	position: relative;
}

#new-arrivals-swiper {
	overflow: visible;
}

.product-card {
	display: flex;
	flex-direction: column;
}

.product-card-inner {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--color-text);
	flex: 1;
}

.product-img {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius);
	background: #eee;
	aspect-ratio: 3 / 4;
	display: flex;
	align-items: flex-end;
}

#new-arrivals-swiper .product-img,
#on-sale-swiper .product-img {
	width: 100%;
	height: 500px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
}

.section-new-arrivals {
	padding: 64px 60px 48px;
}

#new-arrivals-swiper {
	padding-top: 0;
}

.product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s ease;
	position: absolute;
	top: 0;
	left: 0;
}

.product-overlay {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 24px;
	background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
	display: flex;
	align-items: flex-end;
	min-height: 80px;
	text-align: center;
}

.product-overlay-title {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(24px, 4vw, 34px);
	line-height: 1.05;
	margin: 0;
	font-weight: 500;
	color: var(--color-white);
	width: 100%;
}

.product-card-inner:hover .product-img img {
	transform: scale(1.06);
}

.badge-sale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--color-accent);
	color: var(--color-white);
	font-size: .7rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: var(--radius);
	text-transform: uppercase;
	letter-spacing: .05em;
}

.product-info {
	padding: 12px 0 8px;
}

.product-category {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--color-accent);
	margin: 0 0 6px;
}

.product-info h3 {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 500;
	color: var(--color-text);
	margin: 0 0 10px;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.product-sizes {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 12px;
	align-items: center;
}

.size-option {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(28, 20, 24, 0.18);
	background: transparent;
	color: var(--color-text);
	font-size: 11px;
	font-weight: 500;
	cursor: pointer;
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.15s;
}

.size-option:hover {
	border-color: var(--color-primary);
	background: rgba(139, 0, 42, 0.05);
}

.size-option.unavailable {
	opacity: 0.35;
	cursor: not-allowed;
	border-color: rgba(28, 20, 24, 0.1);
}

.size-option.unavailable:hover {
	border-color: rgba(28, 20, 24, 0.1);
	background: transparent;
}

.product-info .price {
	font-size: .95rem;
	font-weight: 700;
	color: var(--color-primary);
}

.product-info .price del {
	color: var(--color-muted);
	font-weight: 400;
	margin-right: 6px;
}

.product-info .price ins {
	text-decoration: none;
	color: var(--color-accent);
}

/* =============================================================
   SECCIÓN CONTACTO
============================================================= */
.section-contact {
	background: rgba(251, 246, 238, 0.94);
	padding: 80px 60px 60px;
	text-align: center;
}

.contact-label {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 400;
	color: var(--color-primary);
	margin: 0 0 12px;
}

.contact-title {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 700;
	color: var(--color-text);
	margin: 0 0 44px;
	letter-spacing: -0.02em;
}

.contact-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.btn-contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--color-primary);
	color: var(--color-white);
	padding: 14px 32px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	transition: all 0.3s ease;
	border: 2px solid var(--color-primary);
}

.btn-contact:hover {
	background: transparent;
	color: var(--color-primary);
	transform: scale(1.05);
}

.social-links {
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
}

.social-link {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--color-primary);
	transition: all 0.3s ease;
	text-decoration: none;
}

.social-link:hover {
	transform: scale(1.15);
	color: var(--color-accent);
}

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
	background: #AE012E !important;
	color: white !important;
	padding: 48px 60px 32px !important;
	border-top: none !important;
}

.site-footer * {
	color: white !important;
}

.footer-content {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.footer-main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
}

.footer-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: white;
}

.footer-section h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: white;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.footer-section li {
	font-size: 0.9rem;
	line-height: 1.5;
	color: white;
}

.footer-section a {
	color: white;
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.footer-section a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

.footer-categories ul {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
}

.footer-contact li {
	font-size: 0.85rem;
	color: white;
}

.footer-contact strong {
	display: inline-block;
	min-width: 80px;
	color: white;
}

.footer-social {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.social-links {
	display: flex;
	gap: 16px;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	transition: background 0.3s ease;
}

.social-links a:hover {
	background: rgba(255, 255, 255, 0.3);
	text-decoration: none;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	padding-top: 24px;
	text-align: center;
}

.footer-copyright {
	font-size: 0.85rem;
	margin: 0;
	opacity: 0.9;
}

/* =============================================================
   PÁGINA DE CATEGORÍA
============================================================= */
.category-page {
	background: rgba(251, 246, 238, 0.94);
	padding: 60px 90px;
	min-height: 60vh;
}

.category-container {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 40px;
	max-width: 1400px;
	margin: 0 auto;
}

.category-title {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(40px, 5vw, 56px);
	font-weight: 400;
	margin: 0 0 40px;
	line-height: 1.1;
	color: var(--color-text);
}

.products-section {
	display: grid;
	gap: 30px;
}

/* Select de ordenamiento */
select[name="orderby"] {
	padding: 12px 16px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: var(--color-white);
	color: var(--color-text);
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238B002A' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px;
}

select[name="orderby"]:hover {
	border-color: var(--color-primary);
	box-shadow: 0 2px 8px rgba(139, 0, 42, 0.1);
}

select[name="orderby"]:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(139, 0, 42, 0.1);
}

.category-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.category-product-card {
	display: flex;
	flex-direction: column;
}

.product-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
}

.category-product-img {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	background: #eee;
	aspect-ratio: 3 / 4.5;
	min-height: 500px;
	width: 100%;
	display: flex;
	align-items: flex-end;
	margin-bottom: 16px;
}

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

.product-card-link:hover .category-product-img img {
	transform: scale(1.06);
}

.badge-discount {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--color-primary);
	color: var(--color-white);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	z-index: 2;
}

.category-product-info {
	padding: 0;
	margin-bottom: 16px;
}

.category-product-info .product-category {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: 600;
	color: var(--color-primary);
	margin: 0 0 8px;
}

.category-product-info .product-name {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(20px, 2.2vw, 32px);
	font-weight: 500;
	color: var(--color-text);
	margin: 0;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.category-product-sizes {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
	align-items: center;
}

/* Sidebar */
.category-sidebar {
	position: sticky;
	top: 100px;
	height: fit-content;
}

.sidebar-widget {
	background: rgb(245, 237, 224);
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--color-text);
	border-bottom: 2px solid var(--color-primary);
	padding-bottom: 12px;
}

.category-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.category-item {
	padding: 0;
	margin: 0;
}

.category-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	color: var(--color-text);
	text-decoration: none;
	border-left: 3px solid transparent;
	border-radius: 4px;
	transition: all 0.2s ease;
	font-size: 0.95rem;
	font-style: italic;
	background: transparent;
}

.category-item a:hover {
	background: rgba(139, 0, 42, 0.05);
	border-left-color: var(--color-primary);
	color: var(--color-primary);
}

.category-item.active a {
	background: rgb(174, 1, 46);
	border-left-color: rgb(174, 1, 46);
	color: var(--color-white);
	font-weight: 600;
}

.category-item .count {
	font-size: 0.85rem;
	color: var(--color-muted);
	font-weight: 400;
}

.category-item.active .count {
	color: var(--color-white);
}

/* =============================================================
   PÁGINA DE INICIO - COLORES DE TEXTO
============================================================= */
/* Color para "Lo Esencial", "COMPLEMENTA TU LOOK" y "TEMPORADA..." */
.section-label,
.section-season {
	color: rgb(154, 122, 46) !important;
}

/* Color específico para módulos */
.section-complementos .section-label,
.section-new-arrivals .section-season,
.section-on-sale .section-season,
.section-sales .section-season,
.section-contact .section-label {
	color: rgb(154, 122, 46) !important;
}

/* Aumentar tamaño de "LA MIRAGE BOUTIQUE" */
.section-contact .section-label {
	font-size: calc(0.75rem + 3px) !important;
}

/* =============================================================
   COL-FULL
============================================================= */
.col-full {
	padding-left: 0 !important;
	margin-left: 0 !important;
}

/* =============================================================
   BREADCRUMB
============================================================= */
.storefront-breadcrumb {
	margin-bottom: 0 !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
}

/* Mover breadcrumb al cuadro de detalles */
.product-page {
	display: grid;
	grid-template-columns: 1fr;
}

/* Eliminar breadcrumb original (el que no está en la caja) */
.storefront-breadcrumb:not(.summary .storefront-breadcrumb) {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Breadcrumb dentro del cuadro de detalles */
.summary.entry-summary .storefront-breadcrumb {
	margin: 0 !important;
	padding: 0 !important;
	color: rgb(154, 122, 46) !important;
	font-size: 16px !important;
	margin-bottom: 16px !important;
}

.summary.entry-summary .storefront-breadcrumb,
.summary.entry-summary .storefront-breadcrumb * {
	color: rgb(154, 122, 46) !important;
}

.summary.entry-summary .storefront-breadcrumb a {
	color: rgb(154, 122, 46) !important;
	text-decoration: none !important;
}

.summary.entry-summary .storefront-breadcrumb a:hover {
	text-decoration: underline !important;
}

/* Ocultar icono de home */
.summary.entry-summary .storefront-breadcrumb svg,
.summary.entry-summary .storefront-breadcrumb img,
.summary.entry-summary .storefront-breadcrumb .breadcrumb svg {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
}

/* Ocultar pseudo-elementos */
.summary.entry-summary .storefront-breadcrumb a:first-child::before,
.summary.entry-summary .storefront-breadcrumb nav::before,
.summary.entry-summary .storefront-breadcrumb .breadcrumb::before {
	display: none !important;
	content: none !important;
}

/* Ocultar botón edit */
.post-edit-link {
	display: none !important;
}

/* =============================================================
   PRODUCTOS RELACIONADOS
============================================================= */
.related.products {
	margin-top: 80px;
	padding-top: 80px;
	border-top: 1px solid #eee;
}

.related.products h2 {
	font-family: 'Bodoni Moda', serif;
	font-size: 1.5rem;
	font-weight: 400;
	margin: 0 0 32px;
	color: var(--color-text);
}

.related-products-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.related-product-card {
	display: flex;
	flex-direction: column;
}

.related-product-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
}

.related-product-img {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #eee;
	aspect-ratio: 3 / 4.5;
	width: 100%;
	display: flex;
	margin-bottom: 16px;
}

.related-product-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.related-product-link:hover .related-product-img img {
	transform: scale(1.06);
}

.related-product-info {
	padding: 0;
}

.related-product-info h3 {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(16px, 1.8vw, 24px);
	font-weight: 500;
	color: var(--color-text);
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

/* =============================================================
   ACCIONES PERSONALIZADAS DE PRODUCTO
============================================================= */
.product-custom-actions {
	margin: 32px 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.product-sizes-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sizes-label {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--color-text);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.product-sizes {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.size-option {
	min-width: 60px;
	padding: 12px 16px;
	border: 2px solid rgb(154, 122, 46);
	background: rgb(154, 122, 46);
	color: white;
	font-size: 0.9rem;
	font-weight: 500;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.size-option:hover {
	border-color: rgb(154, 122, 46);
	color: white;
	background: rgb(154, 122, 46);
	box-shadow: none;
}

.size-option.active {
	background: rgb(154, 122, 46);
	color: white;
	border-color: rgb(154, 122, 46);
}

.btn-whatsapp {
	background: #25D366 !important;
	color: white !important;
	border: none !important;
	padding: 16px 32px !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	display: inline-block !important;
	text-align: center !important;
	max-width: 100%;
}

.btn-whatsapp:hover {
	background: #1ebd57 !important;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
	text-decoration: none !important;
}

.btn-whatsapp:active {
	transform: scale(0.98);
}

.product-description-section {
	margin: 0;
}

.product-description {
	font-size: 0.925rem;
	line-height: 1.5;
	color: var(--color-text);
}

.product-description p {
	margin: 0 0 16px;
}

.product-description p:last-child {
	margin-bottom: 0;
}

/* =============================================================
   PÁGINA DE PRODUCTO INDIVIDUAL
============================================================= */
.product-page {
	background: rgba(251, 246, 238, 0.94);
	padding: 20px 90px 60px;
	min-height: 60vh;
}

.product-container {
	max-width: 1000px;
	margin: 0 auto;
}

.product-container #product-* {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: flex-start;
}

#product-* .images {
	aspect-ratio: 2 / 3 !important;
	width: 100% !important;
	overflow: hidden !important;
	border-radius: 8px !important;
	background: #eee !important;
	margin: 0 !important;
	display: block !important;
	height: auto !important;
	max-width: none !important;
	align-self: start !important;
}

#product-* .images img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#product-* .images figure {
	margin: 0 !important;
	height: 100%;
	width: 100%;
}

#product-* .images figure img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.product-container .summary.entry-summary {
	background: rgb(245, 237, 224);
	padding: 48px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	align-self: start;
	position: relative;
	margin: 0 !important;
	margin-top: 0 !important;
	padding-top: 48px !important;
	top: auto;
}


.product-container .product-title {
	font-family: 'Bodoni Moda', serif;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 400;
	color: #8B002A;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.product-sidebar {
	position: sticky;
	top: 100px;
	height: fit-content;
}

/* Reusar estilos del sidebar de categoría */
.product-sidebar .sidebar-widget {
	background: rgb(245, 237, 224);
	padding: 24px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-sidebar .sidebar-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin: 0 0 20px;
	color: var(--color-text);
	border-bottom: 2px solid var(--color-primary);
	padding-bottom: 12px;
}

.product-sidebar .category-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.product-sidebar .category-item {
	padding: 0;
	margin: 0;
}

.product-sidebar .category-item a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	color: var(--color-text);
	text-decoration: none;
	border-left: 3px solid transparent;
	border-radius: 4px;
	transition: all 0.2s ease;
	font-size: 0.95rem;
	font-style: italic;
	background: transparent;
}

.product-sidebar .category-item a:hover {
	background: rgba(139, 0, 42, 0.05);
	border-left-color: var(--color-primary);
	color: var(--color-primary);
}

.product-sidebar .category-item.active a {
	background: rgb(174, 1, 46);
	border-left-color: rgb(174, 1, 46);
	color: var(--color-white);
	font-weight: 600;
}

.product-sidebar .category-item .count {
	font-size: 0.85rem;
	color: var(--color-muted);
	font-weight: 400;
}

.product-sidebar .category-item.active .count {
	color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
	.category-page {
		padding: 40px 60px;
	}

	.category-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.category-sidebar {
		position: static;
	}

	.category-products-grid {
		grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
		gap: 20px;
	}

	.category-product-img {
		min-height: 420px;
	}

	.product-page {
		padding: 40px 60px;
	}

	.product-container {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.product-container .summary.entry-summary {
		position: static;
		top: auto;
	}

	.product-sidebar {
		position: static;
	}
}

@media (max-width: 600px) {
	.category-page {
		padding: 24px;
	}

	.category-title {
		font-size: clamp(28px, 5vw, 40px);
		margin: 0 0 30px;
	}

	.category-products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.category-product-img {
		min-height: 350px;
	}

	.category-product-info .product-name {
		font-size: clamp(18px, 2.2vw, 24px);
	}

	.category-container {
		gap: 20px;
	}

	.product-page {
		padding: 24px;
	}

	.product-container {
		gap: 20px;
	}
}

.btn-add-cart {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 10px;
	background: var(--color-primary);
	color: var(--color-white);
	text-align: center;
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .05em;
	border-radius: var(--radius);
	transition: background var(--transition);
}

.btn-add-cart:hover {
	background: var(--color-accent);
	color: var(--color-white);
}

/* =============================================================
   BOTÓN WHATSAPP ELEGANTE
============================================================= */
.whatsapp-button-section {
	display: flex !important;
	justify-content: flex-start !important;
	margin: 24px 0 32px 0 !important;
}

.summary.entry-summary .whatsapp-button-section {
	margin: 24px 0 32px 0 !important;
}

.btn-whatsapp-elegant {
	display: inline-flex !important;
	align-items: center !important;
	gap: 12px !important;
	background: linear-gradient(135deg, #25D366 0%, #1fb556 100%) !important;
	color: white !important;
	padding: 14px 28px !important;
	border-radius: 50px !important;
	text-decoration: none !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	border: 2px solid #25D366 !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
	letter-spacing: 0.02em !important;
	text-transform: capitalize !important;
	line-height: 1.2 !important;
	height: auto !important;
}

.btn-whatsapp-elegant:hover {
	background: linear-gradient(135deg, #1fb556 0%, #18a449 100%) !important;
	border-color: #1fb556 !important;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35) !important;
	transform: translateY(-2px) !important;
	text-decoration: none !important;
	color: white !important;
}

.btn-whatsapp-elegant:active,
.btn-whatsapp-elegant:focus {
	transform: translateY(0) !important;
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2) !important;
	color: white !important;
	text-decoration: none !important;
}

.btn-whatsapp-elegant .whatsapp-icon {
	width: 20px !important;
	height: 20px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

@media (max-width: 600px) {
	.btn-whatsapp-elegant {
		width: 100% !important;
		justify-content: center !important;
		padding: 14px 24px !important;
		font-size: 0.9rem !important;
	}

	.whatsapp-button-section {
		justify-content: stretch !important;
	}
}

#new-arrivals-swiper .swiper-button-next,
#new-arrivals-swiper .swiper-button-prev,
#on-sale-swiper .swiper-button-next,
#on-sale-swiper .swiper-button-prev {
	color: var(--color-primary);
	background: var(--color-white);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
	top: 35%;
}

#new-arrivals-swiper .swiper-button-next,
#new-arrivals-swiper .swiper-button-prev {
	top: -50px;
	left: auto;
}

#new-arrivals-swiper .swiper-button-prev {
	right: 50px;
}

#new-arrivals-swiper .swiper-button-next {
	right: 0;
}

#new-arrivals-swiper .swiper-button-next::after,
#new-arrivals-swiper .swiper-button-prev::after,
#on-sale-swiper .swiper-button-next::after,
#on-sale-swiper .swiper-button-prev::after {
	font-size: .9rem;
	font-weight: 900;
}

#on-sale-swiper-category .swiper-button-next,
#on-sale-swiper-category .swiper-button-prev,
#new-arrivals-swiper-category .swiper-button-next,
#new-arrivals-swiper-category .swiper-button-prev {
	color: var(--color-primary);
	background: var(--color-white);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(0,0,0,.15);
	top: 35%;
}

#on-sale-swiper-category .swiper-button-next::after,
#on-sale-swiper-category .swiper-button-prev::after,
#new-arrivals-swiper-category .swiper-button-next::after,
#new-arrivals-swiper-category .swiper-button-prev::after {
	font-size: .9rem;
	font-weight: 900;
}

/* =============================================================
   RESPONSIVE — MOBILE FIRST
============================================================= */

/* DESKTOP LAPTOP: 1024px a 1440px */
@media (min-width: 1024px) and (max-width: 1440px) {
	#primary-menu {
		gap: 14px;
	}

	#primary-menu a {
		font-size: .65rem;
	}

	.social-icon {
		width: 26px;
		height: 26px;
	}
}

/* LAPTOP GRANDE: 1440px a 1920px */
@media (min-width: 1440px) and (max-width: 1920px) {
	#primary-menu {
		gap: 16px;
	}

	#primary-menu a {
		font-size: .75rem;
	}

	.social-icon {
		width: 28px;
		height: 28px;
	}
}

/* MONITOR MUY GRANDE: > 1920px */
@media (min-width: 1920px) {
	#primary-menu {
		gap: 18px;
	}

	#primary-menu a {
		font-size: .8rem;
	}

	.social-icon {
		width: 30px;
		height: 30px;
	}
}

/* TABLET: 600px a 1024px */
@media (max-width: 1024px) {
	#hero-swiper {
		height: 75vh;
		min-height: 380px;
	}

	.slide-content h2 {
		font-size: clamp(1.5rem, 4vw, 2.8rem);
	}

	.slide-content p {
		font-size: clamp(.85rem, 1.8vw, 1.1rem);
	}

	.btn-slide {
		padding: 12px 28px;
		font-size: .85rem;
	}
}

/* MOBILE: menor a 600px */
@media (max-width: 600px) {
	/* TOPBAR */
	.topbar-container {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 8px 16px;
	}

	.topbar-item {
		font-size: .65rem;
	}

	/* HEADER */
	.header-container {
		grid-template-columns: auto 1fr auto;
		gap: 16px;
		padding: 12px 24px;
	}

	.logo {
		margin-right: 0;
	}

	.logo-image {
		height: 50px;
		width: 50px;
	}

	.main-navigation {
		grid-column: 1 / -1;
		width: 100%;
		justify-content: center;
		display: none;
		order: 3;
	}

	.main-navigation.active {
		display: flex;
	}

	#primary-menu {
		flex-direction: column;
		gap: 0;
		width: 100%;
	}

	#primary-menu a {
		display: block;
		padding: 12px 0;
		border-bottom: 1px solid #f0f0f0;
		text-align: center;
		font-size: .85rem;
	}

	.menu-toggle {
		display: flex;
		order: 2;
	}

	.header-actions {
		gap: 16px;
	}

	.social-icon {
		width: 20px;
		height: 20px;
	}

	.hero-slideshow {
		width: 100vw;
		left: 50%;
		right: 50%;
		margin-left: -50vw;
		margin-right: -50vw;
	}

	#hero-swiper {
		height: 60vh;
		min-height: 320px;
	}

	.slide-content {
		padding: 0 16px;
		max-width: 100%;
	}

	.slide-content h2 {
		font-size: clamp(1.3rem, 5vw, 2rem);
		margin-bottom: 8px;
	}

	.slide-content p {
		font-size: clamp(.8rem, 2vw, .95rem);
		margin-bottom: 16px;
	}

	.btn-slide {
		padding: 10px 24px;
		font-size: .75rem;
		letter-spacing: .08em;
	}

	#hero-swiper .swiper-button-next,
	#hero-swiper .swiper-button-prev {
		width: 32px;
		height: 32px;
		top: auto;
		bottom: 20px;
	}

	#hero-swiper .swiper-button-next {
		right: 50px;
	}

	#hero-swiper .swiper-button-prev {
		right: 10px;
		left: auto;
	}

	.section-title {
		font-size: 1.2rem;
	}

	.section-categories,
	.section-products {
		padding: 40px 0;
	}

	.parallax-section {
		min-height: 280px;
	}

	.parallax-section {
		min-height: 400px;
	}

	.parallax-content {
		padding: 40px 16px;
	}

	.parallax-label {
		font-size: clamp(0.85rem, 1.5vw, 1rem);
		margin-bottom: 12px;
	}

	.parallax-content h2 {
		font-size: clamp(1.5rem, 4vw, 2.5rem);
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}

	/* Footer responsive */
	.site-footer {
		padding: 32px 20px !important;
	}

	.footer-main {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.footer-section h3 {
		font-size: 0.9rem;
	}

	.footer-section ul {
		gap: 6px;
	}

	.footer-section li {
		font-size: 0.8rem;
	}
}
