/*
Theme Name: Florería Rosaliz
Theme URI: https://floreriarosaliz.pe
Author: Florería Rosaliz
Author URI: https://floreriarosaliz.pe
Description: Tema a medida para Florería Rosaliz. Diseño "ORGV1" — catálogo y ficha de producto sobre WooCommerce. Tipografía Prata + Hanken Grotesk. Colores: morado #711c78, rosa #EA0078.
Version: 1.0.14
Requires at least: 6.3
Tested up to: 6.6
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 9.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rosaliz
*/

/* ==========================================================================
   1. Custom properties (design tokens)
   ========================================================================== */
:root {
	--color-purple-dark: #711c78;
	--color-purple: #881b6d;
	--color-pink: #EA0078;
	--color-pink-bg: #FCF1FA;
	--color-lavender: #edcbf9;
	--color-footer: #721C78;
	--color-text: #2b1226;
	--color-text-secondary: #6b5566;
	--color-text-muted: #9a7f93;
	--color-gold: #ceac66;
	--color-whatsapp: #25D366;
	--font-heading: 'Prata', Georgia, serif;
	--font-body: 'Hanken Grotesk', Helvetica, Arial, sans-serif;
	--shadow-header-rest: 0 4px 18px rgba(43, 18, 38, 0.08);
	--shadow-header-scrolled: 0 10px 30px rgba(43, 18, 38, 0.14);
	--shadow-dropdown: 0 12px 32px rgba(43, 18, 38, 0.18);
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	background: #ffffff;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; color: var(--color-purple-dark); margin: 0; }
h4, h5, h6 { font-family: var(--font-body); margin: 0; }
p { margin: 0 0 1em; }

a { color: var(--color-purple); text-decoration: none; transition: color 0.2s ease; }
a:hover, a:focus { color: var(--color-pink); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }

/* ==========================================================================
   3. Buttons
   ========================================================================== */
.pill-btn {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; padding: 13px 26px; font-size: 13px; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase;
	background: var(--color-purple); color: #ffffff; border: none; cursor: pointer;
	transition: background 0.2s ease;
}
.pill-btn:hover { background: var(--color-pink); color: #ffffff; }
.pill-btn[disabled] { background: #e5dde3; color: var(--color-text-muted); cursor: not-allowed; }

.pill-btn-outline {
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; padding: 12px 26px; font-size: 13px; font-weight: 700;
	letter-spacing: 0.06em; text-transform: uppercase;
	background: transparent; border: 1.5px solid var(--color-purple); color: var(--color-purple);
	transition: background 0.2s ease, color 0.2s ease; cursor: pointer;
}
.pill-btn-outline:hover { background: var(--color-purple); color: #ffffff; }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	position: fixed; top: 14px; left: 0; right: 0; z-index: 500;
	margin: 0 auto; width: min(1413px, calc(100% - 48px)); min-height: 84px;
	background: #ffffff; border-radius: 8px; box-shadow: var(--shadow-header-rest);
	transition: width 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled { width: min(1060px, calc(100% - 48px)); box-shadow: var(--shadow-header-scrolled); }
.site-header__inner {
	width: 100%; height: 84px; padding: 0 clamp(16px, 2.5vw, 32px);
	display: flex; align-items: center; gap: clamp(14px, 2.5vw, 40px);
	position: relative;
}
.site-header__logo { flex: 0 0 auto; }
.site-header__logo img { height: 34px; width: auto; max-width: 180px; }
.site-header__nav { display: flex; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.site-header__nav > ul { list-style: none; display: flex; justify-content: center; gap: clamp(12px, 1.8vw, 28px); position: relative; }
.site-header__nav > ul > li { position: relative; }
.site-header__nav a {
	font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--color-text); padding: 6px 2px; display: inline-block; border-bottom: 2px solid transparent;
}
.site-header__nav a:hover { color: var(--color-pink); border-bottom-color: var(--color-pink); }

/* Dropdown (sub-menu) */
.site-header__nav ul ul {
	list-style: none; position: absolute; top: calc(100% + 18px); left: 0; min-width: 220px;
	background: #ffffff; border-radius: 12px; box-shadow: var(--shadow-dropdown); padding: 14px;
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
	z-index: 40;
}
.site-header__nav li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.site-header__nav ul ul li { display: block; }
.site-header__nav ul ul a { display: block; padding: 8px 10px; border-radius: 6px; border-bottom: none; text-transform: none; font-size: 14px; }
.site-header__nav ul ul a:hover { background: var(--color-pink-bg); }

.site-header__actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.4vw, 22px); flex: 1 1 auto; }
.icon-btn {
	width: 42px; height: 42px; border-radius: 999px; border: none; background: #F3EEF2;
	color: var(--color-purple-dark); cursor: pointer; display: flex; align-items: center; justify-content: center;
	transition: background 0.2s ease, color 0.2s ease;
}
.icon-btn:hover { background: #FFC1D4; color: var(--color-purple); }
.cart-btn {
	position: relative; width: 42px; height: 42px; border-radius: 999px; background: var(--color-purple);
	color: #ffffff; display: flex; align-items: center; justify-content: center;
}
.cart-btn:hover { background: var(--color-pink); color: #ffffff; }
.cart-count {
	position: absolute; top: -3px; right: -3px; min-width: 17px; height: 17px; border-radius: 999px;
	background: var(--color-pink); color: #fff; font-size: 10px; font-weight: 800; display: flex;
	align-items: center; justify-content: center; border: 2px solid #fff; padding: 0 3px;
}
.header-spacer { height: 112px; }
body.single-product .header-spacer { background-color: #FCF1FA; }
@media (max-width: 760px) { .rosaliz-moments__grid { grid-template-columns: 1fr !important; } }
@media (max-width: 850px) { .rosaliz-eucalipto { display: none !important; } }

/* Carrito lateral (drawer) */
.site-cart-drawer { position: fixed; inset: 0; z-index: 910; visibility: hidden; }
.site-cart-drawer.is-open { visibility: visible; }
.site-cart-drawer__backdrop { position: absolute; inset: 0; z-index: 1; background: rgba(43,18,38,0.45); opacity: 0; transition: opacity 0.3s ease; }
.site-cart-drawer.is-open .site-cart-drawer__backdrop { opacity: 1; }
.site-cart-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; z-index: 2; width: min(400px, 92vw); background: #ffffff;
	box-shadow: -8px 0 40px rgba(43,18,38,0.2); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-cart-drawer.is-open .site-cart-drawer__panel { transform: translateX(0); }
.site-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid #f0e6ee; }
.site-cart-drawer__title { font-family: 'Prata', serif; font-size: 19px; color: var(--color-purple-dark); }
.site-cart-drawer__close { width: 36px; height: 36px; border-radius: 999px; border: none; background: #F3EEF2; color: var(--color-purple-dark); font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.site-cart-drawer__body { flex: 1 1 auto; overflow: hidden; padding: 0 22px 26px; position: relative; display: flex; }
.site-cart-drawer__body .widget_shopping_cart_content { position: static !important; width: 100% !important; display: flex !important; flex-direction: column !important; flex: 1 1 auto; min-height: 0; }
.site-cart-drawer__body .widget_shopping_cart_content > * { margin: 0; position: static !important; float: none !important; width: auto !important; flex-shrink: 0; }
.site-cart-drawer__body .woocommerce-mini-cart { list-style: none; margin: 0 !important; padding: 10px 0 0 !important; flex: 1 1 auto; overflow-y: auto; min-height: 0; }
.site-cart-drawer__body .woocommerce-mini-cart__total { flex-shrink: 0; }
.site-cart-drawer__body .woocommerce-mini-cart__buttons { flex-shrink: 0; padding-bottom: 4px; }
.site-cart-drawer__body .woocommerce-mini-cart-item { display: flex !important; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 0 !important; border-bottom: 1px solid #f5eff3; position: relative; }
.site-cart-drawer__body .woocommerce-mini-cart-item a:not(.remove) { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--color-purple-dark); flex: 1 1 auto; min-width: 0; }
.site-cart-drawer__body .woocommerce-mini-cart-item img { width: 64px !important; height: 64px !important; max-width: 64px !important; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.site-cart-drawer__body .woocommerce-mini-cart-item a.remove { position: static; order: -1; width: 24px; height: 24px; border-radius: 999px; background: #F3EEF2; display: flex !important; align-items: center; justify-content: center; font-size: 14px; line-height: 1; flex-shrink: 0; }
.site-cart-drawer__body .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; color: #2b1226; padding: 16px 0; border-top: 1px solid #f0e6ee; margin-top: 6px !important; }
.site-cart-drawer__body .woocommerce-mini-cart__buttons { display: flex !important; flex-direction: column; gap: 12px; margin: 0 !important; }
.site-cart-drawer__body .woocommerce-mini-cart__buttons a { display: flex; align-items: center; justify-content: center; border-radius: 999px; padding: 14px; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; }
.site-cart-drawer__body .woocommerce-mini-cart__buttons a.wc-forward:not(.checkout) { background: transparent; color: var(--color-purple-dark); border: 1.5px solid rgba(136,27,109,0.25); order: 2; }
.site-cart-drawer__body .woocommerce-mini-cart__buttons a.checkout { background: var(--color-purple); color: #ffffff; order: 1; }

/* Hamburguesa + drawer móvil */
.site-header__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; border-radius: 999px; border: none; background: #F3EEF2; cursor: pointer; padding: 0 11px; }
.site-header__burger span { display: block; height: 2px; border-radius: 2px; background: var(--color-purple-dark); transition: transform 0.3s ease, opacity 0.2s ease; }
body.drawer-open .site-header__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.drawer-open .site-header__burger span:nth-child(2) { opacity: 0; }
body.drawer-open .site-header__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-drawer { position: fixed; inset: 0; z-index: 700; visibility: hidden; pointer-events: none; }
.mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
.mobile-drawer__backdrop { position: absolute; inset: 0; z-index: 1; background: rgba(43,18,38,0.42); opacity: 0; transition: opacity 0.3s ease; }
.mobile-drawer.is-open .mobile-drawer__backdrop { opacity: 1; }
.mobile-drawer__panel { position: absolute; top: 0; right: 0; z-index: 2; height: 100%; width: min(340px, 86vw); background: #fff; box-shadow: -12px 0 40px rgba(43,18,38,0.2); transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; padding: 20px 22px; box-sizing: border-box; overflow-y: auto; }
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-drawer__title { font-family: var(--font-heading); font-size: 22px; color: var(--color-purple-dark); }
.mobile-drawer__close { width: 38px; height: 38px; border-radius: 999px; border: none; background: #F3EEF2; color: var(--color-purple-dark); font-size: 15px; cursor: pointer; }
.mobile-drawer__search { display: flex; align-items: center; gap: 8px; background: #F3EEF2; border-radius: 999px; padding: 0 16px; height: 46px; margin-bottom: 20px; }
.mobile-drawer__search input { border: none; background: transparent; outline: none; font-size: 14px; width: 100%; font-family: var(--font-body); color: var(--color-text); }
.mobile-drawer__nav ul { list-style: none; display: flex; flex-direction: column; }
.mobile-drawer__nav li { border-bottom: 1px solid rgba(136,27,109,0.1); }
.mobile-drawer__nav a { display: block; padding: 15px 4px; font-size: 15px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--color-text); }
.mobile-drawer__nav a:hover { color: var(--color-pink); }
.mobile-drawer__nav ul ul { padding-left: 14px; }
.mobile-drawer__nav ul ul a { text-transform: none; font-weight: 500; font-size: 14px; padding: 11px 4px; color: var(--color-text-secondary); }
.mobile-drawer__foot { margin-top: auto; padding-top: 24px; display: flex; gap: 10px; }
.mobile-drawer__link { flex: 1; text-align: center; padding: 13px; border-radius: 999px; background: var(--color-pink-bg); color: var(--color-purple-dark); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.mobile-drawer__link:hover { background: #FFC1D4; }

@media (max-width: 1160px) {
	.site-header__inner { height: 72px; }
	.site-header__nav { display: none; }
	.site-header__search, .site-header__account { display: none; }
	.site-header__burger { display: flex; }
	.header-spacer { height: 84px; }
	body.has-announcement .header-spacer { height: 128px; }
}
@media (max-width: 900px) {
}

/* Announcement bar (rosa #EA0078, pétalos flotantes, mensajes rotativos) */
.announcement-bar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 600; overflow: hidden;
	background: var(--color-pink); color: #fff; text-align: center; padding: 11px 56px;
	font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; box-sizing: border-box;
}
.announcement-bar__petal {
	position: absolute; left: 0; pointer-events: none;
}
.announcement-bar__petal--1 { top: 4px; font-size: 15px; opacity: 0.4; animation: annDrift 16s linear infinite, annBob 3s ease-in-out infinite; }
.announcement-bar__petal--2 { top: 10px; font-size: 11px; opacity: 0.3; animation: annDrift 22s linear 4s infinite, annBob 2.4s ease-in-out infinite; }
.announcement-bar__petal--3 { top: 2px; font-size: 13px; opacity: 0.35; animation: annDrift 19s linear 9s infinite, annBob 3.6s ease-in-out infinite; }
.announcement-bar__petal--4 { top: 8px; font-size: 10px; opacity: 0.28; animation: annDrift 26s linear 13s infinite, annBob 2.8s ease-in-out infinite; }
@keyframes annDrift { from { transform: translateX(-50px) rotate(0deg); } to { transform: translateX(106vw) rotate(300deg); } }
@keyframes annBob { 0%, 100% { margin-top: 0; } 50% { margin-top: 5px; } }
.announcement-bar__close {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
	width: 24px; height: 24px; border-radius: 999px; border: none; background: rgba(255,255,255,0.22);
	color: #fff; cursor: pointer; font-size: 11px; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.announcement-bar__close:hover { background: rgba(255,255,255,0.4); }
body.has-announcement .site-header { top: 54px; }

/* Preloader (todo el sitio): 6 pétalos que florecen + texto, decorativo ~1.9s */
.rosaliz-preloader {
	position: fixed; inset: 0; z-index: 9999; background: #FCF2FB;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	transition: opacity 0.7s ease;
}
.rosaliz-preloader.is-done { opacity: 0; pointer-events: none; }
.rosaliz-preloader__bloom { position: relative; width: 120px; height: 120px; animation: preloaderSpin 7s linear infinite; }
.rosaliz-preloader__petal {
	position: absolute; left: 44px; top: 8px; width: 32px; height: 48px; border-radius: 999px;
	background: linear-gradient(180deg, #EA0078 0%, #FFC1D4 100%); opacity: 0;
	transform-origin: 16px 52px; animation: petalBloom 0.9s ease both;
}
.rosaliz-preloader__center { position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--color-purple-dark); }
.rosaliz-preloader__title { margin-top: 26px; font-family: var(--font-heading); font-size: 22px; color: var(--color-purple-dark); opacity: 0; animation: preloaderTextIn 0.6s ease 0.5s both; }
.rosaliz-preloader__sub { margin-top: 6px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-muted); opacity: 0; animation: preloaderTextIn 0.6s ease 0.8s both; }
@keyframes petalBloom { 0% { transform: scale(0) rotate(var(--rot)); opacity: 0; } 60% { transform: scale(1.15) rotate(var(--rot)); opacity: 1; } 100% { transform: scale(1) rotate(var(--rot)); opacity: 1; } }
@keyframes preloaderSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes preloaderTextIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.hero { animation: heroIn 0.8s ease both; }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { width: 100%; padding: 0 clamp(16px, 2.5vw, 32px); box-sizing: border-box; }
.hero__row { display: flex; gap: 2%; align-items: stretch; height: 520px; }
.hero__slider { flex: 1 1 auto; position: relative; border-radius: 24px; overflow: hidden; background: #F3EEF2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: block; }
.hero__slide.is-active { opacity: 1; }
.hero__slide picture { display: block; width: 100%; height: 100%; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.hero__slide { cursor: pointer; }
.hero__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px;
	background: rgba(255,255,255,0.85); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3;
}
.hero__arrow--prev { left: 18px; } .hero__arrow--next { right: 18px; }
.hero__dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.6); border: none; cursor: pointer; }
.hero__dot.is-active { background: #ffffff; }
.hero__panel { flex: 0 0 22%; position: relative; border-radius: 24px; overflow: hidden; background: #FFC1D4; }
.hero__panel img { width: 100%; height: 100%; object-fit: cover; }
.hero__panel-cta { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 2; display: flex; justify-content: center; }
@media (max-width: 1160px) { .hero__panel { display: none; } .hero__row { height: 420px; } }
@media (max-width: 640px) { .hero__row { height: 320px; } }

/* ==========================================================================
   6. Ocasiones
   ========================================================================== */
.occasions__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.occasions__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 40px; }
@media (max-width: 960px) {
	/* Carrusel horizontal deslizable en móvil/tablet */
	.occasions__grid {
		display: flex; grid-template-columns: none; gap: 16px;
		overflow-x: auto; scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch; scrollbar-width: none;
		padding-bottom: 6px; margin: 0 calc(-1 * clamp(16px, 2.5vw, 32px));
		padding-left: clamp(16px, 2.5vw, 32px); padding-right: clamp(16px, 2.5vw, 32px);
	}
	.occasions__grid::-webkit-scrollbar { display: none; }
	.occasions__grid .occasion { flex: 0 0 108px; scroll-snap-align: start; }
}
@media (max-width: 560px) {
	.occasions__grid .occasion { flex-basis: 96px; }
}
.occasion { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.occasion__circle {
	width: 100%; aspect-ratio: 1/1; border-radius: 50%; background: #FCFBFB; overflow: hidden; position: relative;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(136,27,109,0.07);
	transition: transform 0.2s ease;
}
.occasion:hover .occasion__circle { transform: translateY(-4px); }
.occasion__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.occasion__label { font-size: 16px; font-weight: 700; color: var(--color-text); text-align: center; }

/* ==========================================================================
   7. Product grid & ORGV1 card
   ========================================================================== */
.product-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	border: 1px solid rgba(136, 27, 109, 0.1); border-radius: 28px; overflow: hidden;
	max-width: 1280px; margin: 0 auto;
}
.product-grid.product-grid--scroll { display: flex; overflow-x: auto; border: none; scroll-snap-type: x mandatory; }
.product-grid.product-grid--scroll .product-card { flex: 0 0 25%; scroll-snap-align: start; }
@media (max-width: 860px) {
	.product-grid { grid-template-columns: repeat(2, 1fr); }
	.product-grid.product-grid--scroll .product-card { flex-basis: 70%; }
}

/* Rail de destacados (carrusel editorial con flecha y barra de progreso) */
.product-rail { position: relative; background: var(--color-pink-bg); border: 1px solid rgba(136,27,109,0.1); border-radius: 28px; overflow: hidden; max-width: 1280px; margin-left: auto; margin-right: auto; }
.product-rail__track { display: flex; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.product-rail__track::-webkit-scrollbar { display: none; }
.product-rail__track .product-card { flex: 0 0 25%; min-height: 520px; border-bottom: none; }
@media (max-width: 860px) { .product-rail__track .product-card { flex-basis: 70%; } }
.product-rail__next {
	position: absolute; right: 22px; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 52px; height: 52px; border-radius: 999px; border: none; background: rgba(255,255,255,0.92);
	color: var(--color-purple-dark); font-size: 22px; cursor: pointer;
	box-shadow: 0 6px 18px rgba(43,18,38,0.15); display: flex; align-items: center; justify-content: center;
}
.product-rail__next:hover { background: var(--color-pink); color: #fff; }
.product-rail__progress { display: flex; justify-content: center; padding: 18px 0 26px; }
.product-rail__progress-track { width: 240px; height: 3px; border-radius: 999px; background: rgba(136,27,109,0.14); overflow: hidden; }
.product-rail__progress-fill { height: 100%; border-radius: 999px; background: var(--color-pink); width: 25%; transition: width 0.3s ease; }

/* Pills de filtro por categoría (Home → grid de tienda) */
.shop-filter-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.shop-filter-pill {
	display: inline-block; border-radius: 999px; padding: 10px 20px; font-size: 13px; font-weight: 700;
	border: 1.5px solid rgba(136,27,109,0.25); color: var(--color-purple-dark); background: transparent; cursor: pointer;
}
.shop-filter-pill:hover, .shop-filter-pill.is-active { background: var(--color-purple); border-color: var(--color-purple); color: #fff; }

.product-card {
	position: relative; box-sizing: border-box;
	border-right: 1px solid rgba(136, 27, 109, 0.1); border-bottom: 1px solid rgba(136, 27, 109, 0.1);
	min-height: 480px; display: flex; flex-direction: column; overflow: hidden; background: var(--color-pink-bg);
}
/* Enlace overlay: cubre toda la tarjeta, clicable, con manito */
.product-card__link { position: absolute; inset: 0; z-index: 4; cursor: pointer; }
.product-card__image-wrap { position: relative; flex: 1; overflow: hidden; display: block; }
.product-card__image-wrap img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; object-position: center; }
.product-card__info { text-align: center; padding: 20px 24px 26px; }
.product-card__name { font-size: 16px; font-weight: 700; color: var(--color-text); margin-bottom: 8px; }
.product-card__price-row { display: flex; justify-content: center; gap: 10px; align-items: baseline; }
.product-card__price-row .woocommerce-Price-amount { font-size: 16px; font-weight: 800; color: #6b5566; }
.product-card--on-sale .product-card__price-row ins .woocommerce-Price-amount { color: var(--color-pink); }
.product-card__price-row del { text-decoration: line-through; opacity: 1; }
.product-card__price-row del .woocommerce-Price-amount { font-size: 14px; font-weight: 400; color: var(--color-text-muted); }
.product-card__price-row ins { text-decoration: none; }

.product-card__hover-img {
	position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: 2;
	opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.product-card:hover .product-card__hover-img { opacity: 1; }

.product-card__badges { position: absolute; top: 18px; left: 18px; z-index: 6; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (max-width: 780px) {
	.product-card__badges { flex-direction: row; flex-wrap: wrap; }
	.product-card__badges .badge { font-size: 7px; padding: 4px 7px; }
	.product-card__name { font-size: 12px; }
}
.badge {
	display: inline-flex; align-items: center;
	font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
	padding: 6px 10px; border-radius: 4px; color: #fff; white-space: nowrap;
}
.badge--nuevo { background: var(--color-purple-dark); }
.badge--oferta { background: var(--color-pink); }
.badge--agotado { background: var(--color-text-secondary); }
.badge--bestseller {
	background: linear-gradient(110deg, #c9a052 0%, #e8caa0 25%, #fbeed3 45%, #e8caa0 65%, #c9a052 100%);
	background-size: 250% 100%; animation: bestsellerShine 7s linear infinite;
	color: #4a3813; box-shadow: 0 2px 6px rgba(166, 130, 47, 0.28);
}
@keyframes bestsellerShine { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.product-card__cart-btn {
	position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 6;
	border: none; background: #ffffff; color: var(--color-purple-dark);
	font-family: var(--font-body); font-size: 15px; font-weight: 700;
	border-radius: 999px; padding: 16px 20px; cursor: pointer;
	box-shadow: 0 6px 20px rgba(43, 18, 38, 0.3);
	opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.product-card:hover .product-card__cart-btn { opacity: 1; pointer-events: auto; }
.product-card__cart-btn:hover { background: var(--color-pink); color: #fff; }
.product-card__cart-btn[disabled] { background: #e5dde3; color: var(--color-text-muted); cursor: not-allowed; }
/* El botón mvil de carrito va por encima del enlace overlay */
.product-card__mobile-cart-btn { position: relative; z-index: 6; }

.product-card__mobile-cart-btn { display: none; }
@media (max-width: 860px) {
	.product-card__cart-btn { display: none; }
	.product-card__mobile-cart-btn {
		display: block; margin-top: 14px; width: 100%; border: none; background: var(--color-purple);
		color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: 0.02em; border-radius: 999px;
		padding: 12px 16px; cursor: pointer;
	}
	.product-card__mobile-cart-btn[disabled] { background: #e5dde3; color: var(--color-text-muted); cursor: not-allowed; }
}

/* Section headings shared by Home + Producto (destacados/relacionados) */
.section-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 12px; }
.section-heading { text-align: center; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 10px; }
.section-heading p { max-width: 520px; margin: 0 auto; font-size: 15px; color: var(--color-text-secondary); }

/* Two-banner promo grid */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-banner { position: relative; border-radius: 24px; overflow: hidden; min-height: 320px; }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-banner__cta { position: absolute; left: 32px; bottom: 32px; z-index: 2; }
@media (max-width: 780px) { .promo-grid { grid-template-columns: 1fr; } }

/* Momentos que florecen — tarjetas desordenadas, hover eleva, click voltea (flip 3D) */
.moments__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; max-width: 1280px; margin: 0 auto; align-items: center; justify-items: center; }
@media (max-width: 900px) {
	.moments__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 8px 32px 16px; margin: 0 -32px; scrollbar-width: none; }
	.moments__row::-webkit-scrollbar { display: none; }
	.moments__row .moment-card { flex: 0 0 auto; scroll-snap-align: center; transform: none !important; }
}
.moment-card { width: 100%; max-width: 250px; height: 330px; perspective: 1200px; cursor: pointer; transition: transform 0.35s ease; }
.moment-card:nth-child(6n+1) { transform: rotate(-3deg) translateY(6px); }
.moment-card:nth-child(6n+2) { transform: rotate(2deg) translateY(-8px); }
.moment-card:nth-child(6n+3) { transform: rotate(-1.5deg) translateY(10px); }
.moment-card:nth-child(6n+4) { transform: rotate(3deg); }
.moment-card:nth-child(6n+5) { transform: rotate(-2.5deg) translateY(-6px); }
.moment-card:nth-child(6n+6) { transform: rotate(1.5deg) translateY(8px); }
.moment-card:hover { transform: rotate(0deg) translateY(-10px); z-index: 3; }
.moment-card__flip { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 0.6s ease; }
.moment-card.is-flipped .moment-card__flip { transform: rotateY(180deg); }
.moment-card__face {
	position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
	border-radius: 20px; overflow: hidden; box-shadow: 0 14px 34px rgba(43,18,38,0.16);
}
.moment-card__face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment-card__face--front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,8,18,0.75) 0%, rgba(20,8,18,0) 50%); }
.moment-card__label { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; font-size: 21px; font-weight: 800; color: #fff; line-height: 1.15; }
.moment-card__face--back {
	transform: rotateY(180deg); background: var(--color-pink-bg);
	display: flex; flex-direction: column; justify-content: center; padding: 26px; text-align: center;
}
.moment-card__stars { color: var(--color-gold); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.moment-card__quote { margin: 0 0 16px; font-family: var(--font-heading); font-size: 16px; line-height: 1.5; color: var(--color-text); }
.moment-card__author { font-size: 13px; font-weight: 700; color: var(--color-purple-dark); }

/* Instagram grid → carrusel horizontal con scroll-snap, autoplay */
.instagram-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.instagram-grid::-webkit-scrollbar { display: none; }
.instagram-grid a { flex: 0 0 calc((100% - 4 * 14px) / 5); scroll-snap-align: start; }
@media (max-width: 780px) { .instagram-grid a { flex-basis: calc((100% - 14px) / 2); } }
.instagram-grid a { display: block; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: var(--color-pink-bg); }
.instagram-grid img { aspect-ratio: 4/5; object-fit: cover; width: 100%; height: 100%; transition: transform 0.3s ease; }
.instagram-grid a:hover img { transform: scale(1.05); }

/* Ficha de producto (Productv1) — reflow responsive: galería primero, luego info, luego acordeón */
@media (max-width: 1024px) {
	.rosaliz-product-layout { grid-template-columns: 1fr !important; gap: 24px !important; }
	.rosaliz-product-layout__gallery { grid-column: 1; grid-row: 1; }
	.rosaliz-product-layout__info { grid-column: 1; grid-row: 2; padding-top: 0 !important; }
	.rosaliz-product-layout__extra { grid-column: 1; grid-row: 3; }
}
@media (max-width: 720px) {
	.rosaliz-product-layout { padding-top: 28px !important; padding-bottom: 32px !important; }
	.rosaliz-product-layout h1 { font-size: 26px !important; }
	#rosaliz-product-gallery .product-gallery__main { aspect-ratio: 4/3; }
}

/* Relacionados — carrusel deslizable de 2 por fila en responsive */
@media (max-width: 860px) {
	.rosaliz-related__grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; border: none !important; scrollbar-width: none; }
	.rosaliz-related__grid::-webkit-scrollbar { display: none; }
	.rosaliz-related__grid .product-card { flex: 0 0 calc(50% - 6px); scroll-snap-align: start; }
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer { background: #FCF2FB; padding: 24px; }
.site-footer__inner { background: var(--color-footer); border-radius: 32px; padding: 56px 48px 0; position: relative; overflow: hidden; }
.site-footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; position: relative; z-index: 2; }
.site-footer__cols h4 { font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 18px; }
.site-footer__cols a { display: block; font-size: 14px; color: var(--color-lavender); margin-bottom: 12px; }
.site-footer__cols a:hover { color: #fff; }
/* Menús de WP en el footer: sin viñetas ni sangría */
.site-footer__cols ul { list-style: none; margin: 0; padding: 0; }
.site-footer__cols li { margin: 0; }
.site-footer__bottom { display: flex; justify-content: flex-end; gap: 18px; margin-top: 36px; padding-bottom: 24px; font-size: 12px; color: #cbb3c8; flex-wrap: wrap; }
.site-footer__logo { margin-top: 24px; padding-top: 80px; text-align: center; }
.site-footer__logo img { width: 92%; max-width: 900px; margin: 0 auto; filter: brightness(0) saturate(100%) invert(89%) sepia(21%) saturate(970%) hue-rotate(230deg) brightness(103%) contrast(94%); }
@media (max-width: 900px) { .site-footer__cols { grid-template-columns: 1fr 1fr; } }

.whatsapp-float {
	position: fixed; right: 26px; bottom: 26px; z-index: 400; width: 58px; height: 58px; border-radius: 999px;
	background: var(--color-whatsapp); display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   9. Generic content (blog/page fallback)
   ========================================================================== */
.entry-content { max-width: 760px; margin: 0 auto; line-height: 1.75; }
.entry-content img { border-radius: 16px; margin: 24px 0; }
.page-title { font-size: 36px; margin-bottom: 24px; }
.site-main { padding-top: 40px; padding-bottom: 80px; }

/* ==========================================================================
   10. Ajustes responsive globales
   ========================================================================== */
@media (max-width: 900px) {
	.hero__row { height: 380px; }
	.section-heading { margin-bottom: 26px; }
	.site-footer__inner { padding: 40px 26px 0; border-radius: 24px; }
	.site-footer__cols { gap: 28px; }
	.site-footer__bottom { justify-content: center; text-align: center; }
	.whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (max-width: 640px) {
	.hero__row { height: 300px; }
	.hero__arrow { width: 38px; height: 38px; }
	.product-card { min-height: 360px; }
	.product-grid.product-grid--scroll .product-card { flex-basis: 82%; }
	.moment-card { width: 220px; height: 290px; }
	.site-footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 420px) {
	.hero__row { height: 260px; }
}

/* Toast lateral al agregar al carrito */
.rosaliz-cart-toast {
	position: fixed; top: 120px; right: 24px; z-index: 9999;
	display: flex; align-items: center; gap: 12px;
	background: #fff; color: var(--color-purple-dark);
	border: 1.5px solid rgba(136,27,109,0.14); border-left: 4px solid var(--color-pink);
	border-radius: 14px; padding: 14px 20px 14px 16px; max-width: 320px;
	font-size: 14px; font-weight: 700; line-height: 1.35;
	box-shadow: 0 12px 34px rgba(43,18,38,0.22);
	transform: translateX(120%); opacity: 0; transition: transform .35s cubic-bezier(0.22,1,0.36,1), opacity .35s ease;
}
.rosaliz-cart-toast.is-in { transform: translateX(0); opacity: 1; }
.rosaliz-cart-toast__ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 999px; background: var(--color-pink); color: #fff; display: flex; align-items: center; justify-content: center; }
@media (max-width: 560px) {
	.rosaliz-cart-toast { top: auto; bottom: 24px; right: 12px; left: 12px; max-width: none; }
}
