/* ==================================================
   Fashion Shop — estilos propios de la plantilla (hero: sticker drop)
   Barra, botones, secciones comunes, similares, CTA y WhatsApp vienen de themes/_kit/am-kit.css
   Los colores de cada look llegan como variables desde fs.js: --bg (fondo) y --acc (borde del sticker)
   ================================================== */

.fs-hero {
	--bg: #bfbfbf;
	--acc: #9cff00;
	--ink: #0a0a0a;
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100svh;
	min-height: 700px;
	padding-top: 68px;
	overflow: hidden;
	color: var(--ink);
	background: var(--bg);
}

/* ---------- Fondo: color plano del look, ola de color al cambiar, letrero corredizo y figuras ---------- */
.fs-bg { position: absolute; inset: 0; z-index: 0; background: var(--bg); }
.fs-wave { position: absolute; inset: 0; z-index: 0; clip-path: circle(0 at 50% 50%); pointer-events: none; }
.fs-marquee { position: absolute; z-index: 0; left: 0; right: 0; top: 50%; overflow: hidden; white-space: nowrap; transform: translateY(-50%) rotate(-6deg); pointer-events: none; }
.fs-marquee__in { display: inline-flex; animation: fs-marq 40s linear infinite; }
.fs-marquee__in span { padding-right: .3em; font-family: 'Manrope', var(--mb-display); font-size: clamp(110px, 17vw, 280px); font-weight: 800; line-height: 1; letter-spacing: -.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(10, 10, 10, .14); }
@keyframes fs-marq { to { transform: translateX(-50%); } }

.fs-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fs-stripes { position: absolute; display: block; background: url(../../wp-content/uploads/revslider/fashion-shop-slider/stripepattern.png) 0 0 / 74px auto repeat; opacity: .9; }
.fs-stripes--a { right: 6%; top: 14%; width: 150px; height: 230px; }
.fs-stripes--b { left: 38%; bottom: 10%; width: 120px; height: 120px; opacity: .55; }
.fs-shape { position: absolute; display: block; width: 74px; height: 74px; }
.fs-shape--sm { width: 40px; height: 40px; }
.fs-shape--x::before, .fs-shape--x::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 16%; margin-top: -8%; background: var(--ink); transform: rotate(45deg); }
.fs-shape--x::after { transform: rotate(-45deg); }
.fs-shape--o { border: 12px solid var(--ink); border-radius: 50%; }
.fs-shape--sm.fs-shape--o { border-width: 7px; }
.fs-shape--t { width: 0; height: 0; border-left: 44px solid transparent; border-right: 44px solid transparent; border-bottom: 76px solid var(--acc); filter: drop-shadow(5px 5px 0 var(--ink)); }
/* Figuras alrededor del texto, sin taparlo */
.fs-deco .fs-shape:nth-of-type(3) { left: 44%; top: 12%; }
.fs-deco .fs-shape:nth-of-type(4) { right: 9%; bottom: 20%; }
.fs-deco .fs-shape:nth-of-type(5) { left: 41%; top: 58%; }
.fs-deco .fs-shape:nth-of-type(6) { right: 30%; top: 9%; }
.fs-deco .fs-shape:nth-of-type(7) { left: 3%; top: 7%; }

/* ---------- Contenido: texto a la izquierda, el sticker a la derecha ---------- */
.fs-main { position: relative; z-index: 3; flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; padding: 0 var(--gutter) 0 calc(var(--gutter) + 1vw); }
.fs-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--mb-mono); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fs-kicker__n { padding: 3px 9px; color: var(--acc); background: var(--ink); }
.fs-mask { display: block; overflow: hidden; padding: 0 .12em .12em 0; margin-bottom: -.06em; }
.fs-mask > span { display: inline-block; }
.fs-page .fs-title { margin: 0 0 22px; font-family: 'Manrope', var(--mb-display); font-size: clamp(48px, 6vw, 104px); font-weight: 800; line-height: .94; letter-spacing: -.045em; text-align: left; text-transform: uppercase; color: var(--ink); }
/* Segunda línea: como un sticker, con el color del borde, contorno y sombra dura */
.fs-l2 { color: var(--acc); -webkit-text-stroke: 2.5px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--ink); }
.fs-sub { max-width: 40ch; margin: 0 0 28px; font-family: 'Manrope', sans-serif; font-size: clamp(15px, 1.2vw, 18px); font-weight: 500; line-height: 1.55; }
.fs-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ak-page .fs-shop {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: auto;
	min-height: 56px;
	margin: 0;
	padding: 0 28px;
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--acc);
	background: var(--ink);
	border: 0;
	border-radius: 0;
	box-shadow: 6px 6px 0 var(--acc), 6px 6px 0 2px var(--ink);
	cursor: pointer;
	transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.ak-page .fs-shop:hover, .ak-page .fs-shop:focus-visible { color: var(--acc); background: var(--ink); transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--acc), 9px 9px 0 2px var(--ink); }
.fs-hint { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fs-hint__curl { position: relative; display: block; width: 26px; height: 26px; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% 52%, 52% 100%, 0 100%); }
.fs-hint__curl::after { content: ''; position: absolute; right: 0; bottom: 0; width: 48%; height: 48%; background: linear-gradient(135deg, #fff 0, #c9c9c9 50%, transparent 50%); }
.fs-hint--touch { display: none; }
@media (hover: none) {
	.fs-hint--mouse { display: none; }
	.fs-hint--touch { display: inline; }
}

/* El escenario del sticker (canvas a todo el ancho de la columna) */
.fs-stage { position: relative; align-self: stretch; touch-action: none; cursor: grab; }
.fs-stage.is-peeling { cursor: grabbing; }
.fs-cv { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }

/* Compra el look: puntos sobre el sticker */
.fs-spots { position: absolute; inset: 0; pointer-events: none; transition: opacity .25s linear; }
.fs-stage.is-peeling .fs-spots, .fs-hero.is-busy .fs-spots { opacity: 0; }
.ak-page .fs-spot {
	position: absolute;
	display: block;
	width: 30px;
	height: 30px;
	min-height: 0;
	margin: -15px 0 0 -15px;
	padding: 0;
	background: var(--ink);
	border: 3px solid #fff;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	cursor: pointer;
	pointer-events: auto;
	transition: box-shadow .2s linear, border-color .2s linear;   /* sin transform: GSAP los escala al aparecer */
}
.fs-spot::before { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Manrope', sans-serif; font-size: 17px; font-weight: 800; line-height: 1; color: var(--acc); }
.fs-spot::after { content: ''; position: absolute; inset: -9px; border: 2px solid #fff; border-radius: 50%; animation: fs-ping 1.8s ease-out infinite; }
@keyframes fs-ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.ak-page .fs-spot:hover, .ak-page .fs-spot:focus-visible, .ak-page .fs-spot.is-on { background: var(--ink); border-color: var(--acc); box-shadow: 0 0 0 4px var(--ink), 0 6px 18px rgba(0, 0, 0, .45); }
.fs-tag { position: absolute; z-index: 5; left: 0; top: 0; width: 220px; padding: 14px 16px; color: #fff; background: var(--ink); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--acc); font-family: 'Manrope', sans-serif; }
.fs-tag[hidden] { display: none; }
.fs-tag__n { margin: 0 0 4px; font-size: 15px; font-weight: 800; line-height: 1.2; }
.fs-tag__p { margin: 0 0 12px; font-family: var(--mb-mono); font-size: 18px; font-weight: 700; color: var(--acc); }
.ak-page .fs-tag__add { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 40px; margin: 0; padding: 0 12px; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--acc); border: 0; border-radius: 0; cursor: pointer; }
.ak-page .fs-tag__add:hover, .ak-page .fs-tag__add:focus-visible { color: var(--ink); background: #fff; }

/* ---------- Bolsa y hoja de stickers ---------- */
.fs-bag { position: absolute; z-index: 5; right: var(--gutter); top: calc(68px + 18px); display: flex; align-items: center; gap: 8px; padding: 9px 14px; font-family: var(--mb-mono); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--ink); box-shadow: 4px 4px 0 var(--acc); }
.fs-bag__ico { position: relative; display: block; width: 16px; height: 14px; margin-top: 4px; border: 2px solid var(--acc); border-top-width: 0; }
.fs-bag__ico::before { content: ''; position: absolute; left: 2px; right: 2px; top: -8px; height: 8px; border: 2px solid var(--acc); border-bottom: 0; border-radius: 8px 8px 0 0; }
.fs-bag__n { min-width: 1.4em; padding: 1px 6px; text-align: center; color: var(--ink); background: var(--acc); }
.fs-sheet { position: absolute; z-index: 5; right: var(--gutter); top: 50%; display: flex; flex-direction: column; gap: 10px; transform: translateY(-40%); }
.ak-page .fs-chip { position: relative; display: block; width: 62px; height: 72px; min-height: 0; margin: 0; padding: 4px; overflow: hidden; background: #fff; border: 2px solid var(--ink); border-radius: 0; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.fs-chip img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.fs-chip b { position: absolute; left: 0; bottom: 0; padding: 1px 4px; font-family: var(--mb-mono); font-size: 10px; color: #fff; background: var(--ink); }
.ak-page .fs-chip:hover { background: #fff; transform: translate(-2px, -2px) rotate(-3deg); box-shadow: 5px 5px 0 var(--ink); }
.ak-page .fs-chip.is-on { background: var(--acc); transform: translateX(-8px) rotate(-4deg); box-shadow: 5px 5px 0 var(--ink); }
.fs-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pie del hero ---------- */
.fs-foot {
	position: relative;
	z-index: 6;
	flex: 0 0 auto;
	display: grid;
	grid-template-columns: minmax(260px, 1fr) auto auto;
	gap: 14px clamp(20px, 3vw, 44px);
	align-items: center;
	/* a la derecha queda libre el lugar del botón flotante de WhatsApp */
	padding: 14px calc(var(--gutter) + 140px) 16px var(--gutter);
	color: #f5f5f0;
	background: #0a0a0a;
	border-top: 3px solid var(--accent);
}
.fs-foot__meta { margin: 0 0 4px; font-family: var(--mb-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.fs-foot__lead { max-width: 60ch; margin: 0; font-size: clamp(14px, 1.1vw, 17px); line-height: 1.5; color: rgba(245, 245, 240, .86); }
.fs-ctrl { display: flex; align-items: center; gap: 10px; }
.fs-count { margin: 0 6px 0 0; font-family: var(--mb-mono); font-size: 14px; color: rgba(245, 245, 240, .7); white-space: nowrap; }
.fs-idx { display: inline-block; font-family: var(--mb-display); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -.02em; vertical-align: -5px; color: var(--accent); }
@media (max-width: 1180px) {
	.fs-foot { grid-template-columns: minmax(0, 1fr) auto; }
	.fs-foot .ak-actions { grid-column: 1 / -1; }
}
/* Pantallas bajas */
@media (max-height: 820px) and (min-width: 1001px) {
	.fs-page .fs-title { font-size: clamp(44px, 5vw, 84px); margin-bottom: 16px; }
	.fs-sub { margin-bottom: 20px; }
	.ak-page .fs-chip { width: 54px; height: 62px; }
}

/* ---------- Tablet y móvil: sticker arriba, texto abajo, hoja de stickers en fila ---------- */
@media (max-width: 1000px) {
	.fs-hero { height: auto; min-height: 0; }
	.fs-main { grid-template-columns: 1fr; padding: 0 var(--gutter); }
	.fs-stage { order: -1; height: 62svh; min-height: 440px; }
	.fs-copy { padding: 10px 0 24px; }
	.fs-sheet { position: relative; right: auto; top: auto; flex-direction: row; justify-content: center; margin: 0 var(--gutter) 24px; transform: none; }
	.fs-bag { top: calc(60px + 12px); }
	.fs-stripes--b, .fs-deco .fs-shape:nth-of-type(7) { display: none; }
}
@media (max-width: 700px) {
	.fs-hero { padding-top: 60px; }
	.fs-page .fs-title { font-size: clamp(40px, 12vw, 64px); }
	.fs-l2 { text-shadow: 4px 4px 0 var(--ink); -webkit-text-stroke-width: 2px; }
	.fs-stripes--a { width: 90px; height: 140px; top: 10%; }
	.fs-deco .fs-shape:nth-of-type(5) { display: none; }
	.fs-foot { grid-template-columns: 1fr; padding: 14px var(--gutter) 88px; }
	.fs-ctrl { order: -1; }
	.fs-foot .ak-actions .ak-btn { flex: 1 1 auto; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	.fs-marquee__in, .fs-spot::after { animation: none; }
}
