/* ==========================================================================
   Amueblaya — estilos del tema hijo
   Marca: azul marino #0D3358 · verde menta #5CB383 / #7DCBA0
   ========================================================================== */

:root {
	--amy-navy: #0D3358;
	--amy-navy-700: #16426B;
	--amy-navy-900: #071F38;
	--amy-green: #5CB383;
	--amy-mint: #7DCBA0;
	--amy-mint-100: #E6F5EC;
	--amy-ink: #1E2B3A;
	--amy-muted: #5B6B7C;
	--amy-line: #E3EAF0;
	--amy-soft: #F3F7F9;
	--amy-white: #fff;
	--amy-grad: linear-gradient(135deg, #5CB383 0%, #7DCBA0 100%);
	--amy-grad-navy: linear-gradient(135deg, #071F38 0%, #0D3358 45%, #16426B 100%);
	--amy-radius: 28px;
	--amy-radius-sm: 16px;
	--amy-shadow: 0 20px 50px -20px rgba(13, 51, 88, .28);
	--amy-shadow-lg: 0 40px 90px -30px rgba(7, 31, 56, .45);
	--amy-ease: cubic-bezier(.22, 1, .36, 1);
	--amy-gutter: clamp(16px, 4vw, 48px);
	--amy-max: 1240px;
	--amy-heading: var(--wp--preset--font-family--montserrat, "Montserrat", sans-serif);
}

h1, h2, h3, h4, h5, h6, .wp-block-heading, .wp-block-post-title, .product_title { font-family: var(--amy-heading) !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: var(--amy-white); color: var(--amy-ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--amy-mint); color: var(--amy-navy-900); }

.amy-gradient-text {
	background: linear-gradient(100deg, var(--amy-green) 0%, var(--amy-mint) 45%, #A8E6C4 60%, var(--amy-green) 100%);
	background-size: 220% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: amy-shine 6s linear infinite;
}
@keyframes amy-shine { to { background-position: 220% center; } }

.amy-dot {
	display: inline-block; width: 8px; height: 8px; border-radius: 50%;
	background: var(--amy-green); box-shadow: 0 0 0 0 rgba(92, 179, 131, .6);
	animation: amy-pulse 2s infinite; margin-right: .55em; vertical-align: middle;
}
@keyframes amy-pulse {
	70% { box-shadow: 0 0 0 10px rgba(92, 179, 131, 0); }
	100% { box-shadow: 0 0 0 0 rgba(92, 179, 131, 0); }
}

/* ---------- Botones ---------- */
.amy-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.amy-actions--center { justify-content: center; }
.amy-btn {
	position: relative; display: inline-flex; align-items: center; gap: .6em;
	padding: 1rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--amy-heading); font-weight: 600; font-size: 1rem; line-height: 1;
	text-decoration: none !important; cursor: pointer; overflow: hidden; isolation: isolate;
	transition: transform .4s var(--amy-ease), box-shadow .4s var(--amy-ease), background-color .3s, color .3s, border-color .3s;
}
.amy-btn svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--amy-ease); }
.amy-btn--ghost svg { fill: currentColor; stroke: none; }
.amy-btn:hover { transform: translateY(-3px); }
.amy-btn:hover svg { transform: translateX(4px); }
.amy-btn--ghost:hover svg { transform: scale(1.15); }
.amy-btn::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
	transform: translateX(-120%); transition: transform .8s var(--amy-ease);
}
.amy-btn:hover::after { transform: translateX(120%); }
.amy-btn--mint { background: var(--amy-grad); color: var(--amy-navy-900) !important; box-shadow: 0 14px 34px -12px rgba(92, 179, 131, .8); }
.amy-btn--mint:hover { box-shadow: 0 20px 44px -12px rgba(92, 179, 131, .95); }
.amy-btn--navy { background: var(--amy-navy); color: #fff !important; box-shadow: 0 14px 34px -14px rgba(13, 51, 88, .8); }
.amy-btn--navy:hover { background: var(--amy-navy-700); }
.amy-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.amy-btn--ghost:hover { border-color: var(--amy-mint); background: rgba(125, 203, 160, .12); }
.amy-btn--outline { color: var(--amy-navy) !important; border-color: var(--amy-line); background: #fff; }
.amy-btn--outline:hover { border-color: var(--amy-green); color: var(--amy-green) !important; }
.amy-btn--white { background: #fff; color: var(--amy-navy) !important; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); }
.amy-btn--sm { padding: .8rem 1.3rem; font-size: .92rem; }

/* ---------- Marca ---------- */
.amy-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.amy-brand__mark { display: grid; place-items: center; width: 48px; height: 46px; transition: transform .6s var(--amy-ease); }
.amy-brand__mark img { width: 100%; height: auto; display: block; }
.amy-brand:hover .amy-brand__mark { transform: rotate(-6deg) scale(1.06); }
.amy-brand__name { font-family: var(--amy-heading); font-weight: 700; font-size: 1.45rem; letter-spacing: -.03em; color: var(--amy-navy); }
.amy-brand__name b { font-weight: 700; }
.amy-brand__name em { font-style: normal; color: var(--amy-green); }
.amy-brand--light .amy-brand__mark { background: #fff; border-radius: 14px; padding: 4px; width: 54px; height: 52px; }
.amy-brand--light .amy-brand__name { color: #fff; }
.wp-block-shortcode:has(.amy-brand), p:has(> .amy-brand) { margin: 0; }

/* ---------- Header ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 0; } }
.amy-header {
	padding: 14px var(--amy-gutter);
	background: rgba(255, 255, 255, .78);
	backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid transparent;
	transition: padding .4s var(--amy-ease), box-shadow .4s, border-color .4s, background-color .4s;
}
.amy-header.is-scrolled { padding-top: 8px; padding-bottom: 8px; background: rgba(255, 255, 255, .9); border-color: var(--amy-line); box-shadow: 0 10px 30px -18px rgba(13, 51, 88, .35); }
.amy-header__inner { max-width: 1440px; margin: 0 auto; gap: 24px; }
.amy-header__actions { gap: 6px !important; }
.amy-nav { display: flex; align-items: center; gap: 4px; }
.amy-nav__link {
	position: relative; padding: .6rem .95rem; border-radius: 999px;
	font-family: var(--amy-heading); font-weight: 600; font-size: .95rem;
	color: var(--amy-navy) !important; text-decoration: none !important;
	transition: background-color .3s, color .3s;
}
.amy-nav__link::after {
	content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; border-radius: 2px;
	background: var(--amy-grad); transform: translateX(-50%); transition: width .4s var(--amy-ease);
}
.amy-nav__link:hover { background: var(--amy-soft); }
.amy-nav__link:hover::after { width: 40%; }
.amy-nav__link--accent { background: var(--amy-mint-100); color: #2E7D57 !important; }
.amy-nav__link--accent:hover { background: #d5efe0; }
.amy-header .wp-block-woocommerce-customer-account a, .amy-header .wc-block-mini-cart__button {
	color: var(--amy-navy); border-radius: 999px; padding: 10px; transition: background-color .3s, transform .3s var(--amy-ease);
}
.amy-header .wp-block-woocommerce-customer-account a:hover, .amy-header .wc-block-mini-cart__button:hover { background: var(--amy-soft); transform: translateY(-2px); }
.amy-header .wc-block-mini-cart__badge { background: var(--amy-green) !important; color: #fff !important; border: 2px solid #fff; font-weight: 700; }
.amy-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--amy-soft); cursor: pointer; position: relative; }
.amy-burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--amy-navy); transition: transform .4s var(--amy-ease), opacity .3s; }
.amy-burger span:nth-child(1) { top: 15px; }
.amy-burger span:nth-child(2) { top: 21px; }
.amy-burger span:nth-child(3) { top: 27px; }
.amy-header.is-open .amy-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.amy-header.is-open .amy-burger span:nth-child(2) { opacity: 0; }
.amy-header.is-open .amy-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
	.amy-burger { display: block; }
	.amy-nav {
		position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
		flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
		background: #fff; border-radius: 20px; box-shadow: var(--amy-shadow-lg);
		opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
		transition: opacity .3s, transform .4s var(--amy-ease);
	}
	.amy-header.is-open .amy-nav { opacity: 1; transform: none; pointer-events: auto; }
	.amy-nav__link { padding: .9rem 1rem; }
	.amy-header__inner { position: relative; }
	.amy-brand__name { font-size: 1.2rem; }
}
@media (max-width: 480px) {
	.amy-header__inner { gap: 8px; }
	.amy-header .wp-block-woocommerce-customer-account { display: none; }
	.amy-brand { gap: 6px; }
	.amy-brand__mark { width: 38px; height: 36px; }
	.amy-brand__name { font-size: 1.08rem; }
}

/* ---------- Hero ---------- */
.amy-home { padding: 0; margin-top: 0 !important; }
.amy-home > * { margin-block-start: 0 !important; }
.amy-hero {
	position: relative; overflow: hidden; isolation: isolate;
	margin: 8px clamp(8px, 1.4vw, 20px) 0 !important; border-radius: clamp(24px, 3vw, 40px);
	background: var(--amy-grad-navy); color: #fff;
	padding: clamp(56px, 8vw, 110px) var(--amy-gutter) clamp(64px, 8vw, 120px);
}
.amy-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.amy-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.amy-blob--1 { width: 520px; height: 520px; background: #5CB383; top: -180px; right: -120px; animation: amy-float-a 16s ease-in-out infinite; }
.amy-blob--2 { width: 420px; height: 420px; background: #2A6496; bottom: -200px; left: -100px; animation: amy-float-b 18s ease-in-out infinite; }
.amy-blob--3 { width: 260px; height: 260px; background: #7DCBA0; top: 40%; left: 40%; opacity: .25; animation: amy-float-a 22s ease-in-out infinite reverse; }
@keyframes amy-float-a { 50% { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes amy-float-b { 50% { transform: translate(70px, -40px) scale(.9); } }
.amy-hero__grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.amy-hero__inner {
	max-width: var(--amy-max); margin: 0 auto;
	display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center;
}
.amy-eyebrow {
	display: inline-flex; align-items: center; margin: 0 0 1.4rem !important;
	padding: .55rem 1rem; border-radius: 999px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px);
	font-family: var(--amy-heading); font-weight: 600; font-size: .85rem; letter-spacing: .02em; color: #D6F0E1;
}
.amy-hero__title {
	color: #fff !important; margin: 0 !important;
	font-size: clamp(2.6rem, 6vw, 5rem) !important; font-weight: 800 !important; line-height: 1.02 !important; letter-spacing: -.04em !important;
}
.amy-hero__title .amy-gradient-text { display: inline-block; }
.amy-hero__lead { margin: 1.5rem 0 0 !important; max-width: 34rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.7; color: rgba(255, 255, 255, .78); }
.amy-hero__perks { list-style: none; display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 40px); padding: 0; margin: 2.6rem 0 0; }
.amy-hero__perks li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid rgba(125, 203, 160, .45); }
.amy-hero__perks b { font-family: var(--amy-heading); font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1.1; }
.amy-hero__perks span { font-size: .88rem; color: rgba(255, 255, 255, .62); }

/* Teléfono */
.amy-hero__visual { position: relative; display: grid; place-items: center; min-height: 560px; perspective: 1200px; }
.amy-orbit { position: absolute; width: min(118%, 560px); aspect-ratio: 1; animation: amy-spin 40s linear infinite; }
.amy-orbit circle { fill: none; stroke: rgba(125, 203, 160, .55); stroke-width: 1.5; stroke-dasharray: 6 10; }
@keyframes amy-spin { to { transform: rotate(360deg); } }
.amy-phone {
	position: relative; width: min(290px, 70vw); aspect-ratio: 9 / 18.5; border-radius: 46px; padding: 11px;
	background: linear-gradient(160deg, #7DCBA0, #5CB383 45%, #3E9A6A);
	box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .25);
	transform: rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg));
	transition: transform .6s var(--amy-ease);
	animation: amy-bob 7s ease-in-out infinite;
}
@keyframes amy-bob { 50% { translate: 0 -14px; } }
.amy-phone__notch { position: absolute; top: 20px; left: 50%; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; }
.amy-phone__notch span { width: 62px; height: 8px; border-radius: 8px; background: #3E9A6A; }
.amy-phone__notch i { width: 8px; height: 8px; border-radius: 50%; background: #3E9A6A; }
.amy-phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #F7FAFC; }
.amy-room { display: block; width: 100%; height: 100%; }
.amy-ph-sofa { animation: amy-drop 8s var(--amy-ease) infinite; transform-origin: 140px 480px; }
.amy-ph-rug { animation: amy-fade-loop 8s ease infinite; }
.amy-ph-lamp { animation: amy-fade-loop 8s ease infinite .3s; }
.amy-ph-frame { animation: amy-fade-loop 8s ease infinite .5s; }
.amy-ph-glow { animation: amy-glow 2.4s ease-in-out infinite; }
@keyframes amy-drop {
	0%, 12% { transform: translateY(-120px) scale(.9); opacity: 0; }
	24% { transform: translateY(8px) scale(1.02); opacity: 1; }
	30%, 88% { transform: none; opacity: 1; }
	100% { transform: none; opacity: 0; }
}
@keyframes amy-fade-loop { 0%, 20% { opacity: 0; } 32%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes amy-glow { 50% { opacity: .5; } }
.amy-scan {
	position: absolute; left: 0; right: 0; top: 0; height: 90px;
	background: linear-gradient(180deg, transparent, rgba(125, 203, 160, .55) 85%, #7DCBA0);
	border-bottom: 2px solid #5CB383; mix-blend-mode: multiply; opacity: 0;
	animation: amy-scan 8s ease-in-out infinite;
}
@keyframes amy-scan { 0% { transform: translateY(-100px); opacity: 0; } 3% { opacity: 1; } 18% { transform: translateY(560px); opacity: 1; } 20%, 100% { transform: translateY(560px); opacity: 0; } }
.amy-phone__ui { position: absolute; left: 0; right: 0; top: 44px; display: flex; justify-content: center; }
.amy-phone__pill {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
	background: rgba(13, 51, 88, .88); color: #fff; font-family: var(--amy-heading); font-size: .7rem; font-weight: 600;
}
.amy-phone__pill i { width: 6px; height: 6px; border-radius: 50%; background: #7DCBA0; animation: amy-pulse 1.6s infinite; }
.amy-chip {
	position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
	padding: 12px 16px; border-radius: 18px; color: var(--amy-ink);
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px);
	box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .45);
	font-size: .82rem; line-height: 1.25; white-space: nowrap;
}
.amy-chip b { display: block; font-family: var(--amy-heading); color: var(--amy-navy); font-size: .88rem; }
.amy-chip small { color: var(--amy-muted); font-size: .76rem; }
.amy-chip--1 { top: 16%; left: -4%; animation: amy-chip 6s ease-in-out infinite; }
.amy-chip--2 { bottom: 20%; right: -6%; animation: amy-chip 7s ease-in-out infinite 1s; }
.amy-chip--3 { bottom: 4%; left: 2%; flex-direction: column; align-items: flex-start; gap: 6px; animation: amy-chip 8s ease-in-out infinite .5s; }
@keyframes amy-chip { 50% { transform: translateY(-12px); } }
.amy-chip__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--amy-grad); color: #fff; font-weight: 800; }
.amy-typing { display: inline-flex; gap: 4px; padding: 12px 10px; border-radius: 12px; background: var(--amy-mint-100); }
.amy-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--amy-green); animation: amy-typing 1.2s infinite; }
.amy-typing i:nth-child(2) { animation-delay: .15s; }
.amy-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes amy-typing { 30% { transform: translateY(-5px); opacity: .5; } }
.amy-swatches { display: flex; gap: 6px; }
.amy-swatches i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--amy-line); transition: transform .3s; }
.amy-swatches i:first-child { box-shadow: 0 0 0 2px var(--amy-green); }

@media (max-width: 980px) {
	.amy-hero__inner { grid-template-columns: 1fr; text-align: center; }
	.amy-hero__copy { display: flex; flex-direction: column; align-items: center; }
	.amy-hero__lead { margin-inline: auto !important; }
	.amy-actions, .amy-hero__perks { justify-content: center; }
	.amy-hero__perks li { align-items: center; border-left: 0; padding-left: 0; }
	.amy-hero__visual { min-height: 520px; margin-top: 12px; }
	.amy-chip--1 { left: 0; }
	.amy-chip--2 { right: 0; }
}
@media (max-width: 560px) {
	.amy-chip { font-size: .75rem; padding: 9px 12px; }
	.amy-chip--3 { display: none; }
	.amy-hero__visual { min-height: 470px; }
	.amy-phone { width: 230px; }
}

/* ---------- Marquee ---------- */
.amy-marquee { overflow: hidden; padding: 26px 0; margin: 0 !important; border-bottom: 1px solid var(--amy-line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.amy-marquee__track { display: flex; align-items: center; gap: 32px; width: max-content; animation: amy-marquee 38s linear infinite; }
.amy-marquee:hover .amy-marquee__track { animation-play-state: paused; }
.amy-marquee span { font-family: var(--amy-heading); font-weight: 700; font-size: clamp(1rem, 2vw, 1.35rem); color: var(--amy-navy); white-space: nowrap; }
.amy-marquee i { font-style: normal; color: var(--amy-green); font-size: 1.1rem; }
@keyframes amy-marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.amy-section { max-width: var(--amy-max); margin: 0 auto !important; padding: clamp(56px, 7vw, 96px) var(--amy-gutter); box-sizing: content-box; }
.amy-section__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.amy-section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; text-align: left; }
.amy-section__head > * { margin-block: 0 !important; }
.amy-kicker {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .9rem !important;
	font-family: var(--amy-heading); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amy-green);
}
.amy-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--amy-grad); }
.amy-section__title { font-size: clamp(2rem, 4.2vw, 3.2rem) !important; font-weight: 800 !important; letter-spacing: -.035em !important; line-height: 1.08 !important; margin-top: 0 !important; }

/* Categorías */
.amy-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amy-cat {
	--mx: 50%; --my: 50%;
	position: relative; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center;
	padding: 26px; border-radius: var(--amy-radius); background: var(--amy-soft); border: 1px solid transparent;
	text-decoration: none !important; overflow: hidden; isolation: isolate;
	transition: transform .5s var(--amy-ease), box-shadow .5s var(--amy-ease), border-color .4s, background-color .4s;
}
.amy-cat::before, .amy-bento__card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
	background: radial-gradient(380px circle at var(--mx) var(--my), rgba(125, 203, 160, .28), transparent 60%);
}
.amy-cat:hover { transform: translateY(-6px); background: #fff; border-color: var(--amy-line); box-shadow: var(--amy-shadow); }
.amy-cat:hover::before, .amy-bento__card:hover::before { opacity: 1; }
.amy-cat__icon { grid-row: span 2; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; box-shadow: 0 10px 24px -14px rgba(13, 51, 88, .4); transition: transform .5s var(--amy-ease), background .4s; }
.amy-cat__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--amy-navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.amy-cat:hover .amy-cat__icon { transform: rotate(-8deg) scale(1.08); background: var(--amy-grad); }
.amy-cat:hover .amy-cat__icon svg { stroke: #fff; }
.amy-cat__name { font-family: var(--amy-heading); font-weight: 700; font-size: 1.2rem; color: var(--amy-navy); }
.amy-cat__more { grid-column: 2; font-size: .9rem; color: var(--amy-muted); }
.amy-cat__arrow { grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--amy-line); color: var(--amy-navy); transition: transform .5s var(--amy-ease), background .3s, color .3s; }
.amy-cat:hover .amy-cat__arrow { transform: rotate(-45deg); background: var(--amy-navy); color: #fff; border-color: var(--amy-navy); }
@media (max-width: 980px) { .amy-cats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amy-cats { grid-template-columns: 1fr; } }

/* Probador */
.amy-tryon { max-width: none; padding-inline: 0; background: linear-gradient(180deg, #fff 0%, var(--amy-soft) 18%, var(--amy-soft) 82%, #fff 100%); }
.amy-tryon__inner { max-width: var(--amy-max); margin: 0 auto; padding: 0 var(--amy-gutter); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.amy-tryon__copy > p { color: var(--amy-muted); font-size: 1.08rem; }
.amy-steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 14px; position: relative; }
.amy-steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--amy-green), var(--amy-line)); }
.amy-steps li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 14px 16px 14px 0; border-radius: var(--amy-radius-sm); transition: background-color .3s, transform .4s var(--amy-ease); }
.amy-steps li:hover { transform: translateX(6px); }
.amy-steps__n { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 2px solid var(--amy-green); font-family: var(--amy-heading); font-weight: 800; color: var(--amy-navy); box-shadow: 0 0 0 6px var(--amy-soft); transition: background .4s, color .4s; }
.amy-steps li:hover .amy-steps__n { background: var(--amy-green); color: #fff; }
.amy-steps b { display: block; font-family: var(--amy-heading); color: var(--amy-navy); font-size: 1.08rem; margin-bottom: 2px; }
.amy-steps span { color: var(--amy-muted); font-size: .95rem; }

.amy-compare { position: relative; aspect-ratio: 6 / 4.2; border-radius: var(--amy-radius); overflow: hidden; box-shadow: var(--amy-shadow-lg); background: #E3EBF0; user-select: none; touch-action: pan-y; }
.amy-compare__layer { position: absolute; inset: 0; }
.amy-compare__layer svg { display: block; width: 100%; height: 100%; }
.amy-compare__after { clip-path: inset(0 0 0 var(--pos)); }
.amy-compare__tag { position: absolute; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-family: var(--amy-heading); font-size: .8rem; font-weight: 700; color: var(--amy-navy); }
.amy-compare__tag--after { left: auto; right: 18px; background: var(--amy-navy); color: #fff; }
.amy-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .25); pointer-events: none; }
.amy-compare__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: var(--amy-grad); box-shadow: 0 10px 30px -6px rgba(13, 51, 88, .55), 0 0 0 6px rgba(255, 255, 255, .5); }
.amy-compare__handle i { position: absolute; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 1.4rem; font-weight: 700; color: #fff; z-index: 1; }
.amy-compare__handle i:first-child { right: 8px; }
.amy-compare__handle i:last-child { left: 8px; }
.amy-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.amy-compare__range:focus-visible + .amy-compare__handle, .amy-compare:focus-within .amy-compare__handle::before { outline: 3px solid var(--amy-navy); }
@media (max-width: 980px) { .amy-tryon__inner { grid-template-columns: 1fr; } }

/* Productos */
.amy-products .amy-section__head { margin-bottom: 40px; }
.woocommerce ul.products, .amy-products ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
	width: auto !important; margin: 0 !important; float: none !important;
	position: relative; display: flex; flex-direction: column; padding: 12px 12px 20px !important;
	border-radius: var(--amy-radius); background: #fff; border: 1px solid var(--amy-line);
	transition: transform .5s var(--amy-ease), box-shadow .5s var(--amy-ease), border-color .4s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-8px); box-shadow: var(--amy-shadow); border-color: transparent; }
.woocommerce ul.products li.product a img { margin: 0 0 16px !important; border-radius: 20px; aspect-ratio: 1; object-fit: cover; background: var(--amy-soft); transition: transform .8s var(--amy-ease); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; overflow: hidden; border-radius: 20px; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.06); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 8px !important; font-family: var(--amy-heading); font-weight: 700; font-size: 1.05rem !important; color: var(--amy-navy); }
.woocommerce ul.products li.product .price { padding: 0 8px; margin-top: 4px; color: var(--amy-green) !important; font-family: var(--amy-heading); font-weight: 800; font-size: 1.15rem !important; }
.woocommerce ul.products li.product .button {
	margin: auto 8px 0 !important; align-self: flex-start; padding: .75rem 1.2rem !important; border-radius: 999px !important;
	background: var(--amy-navy) !important; color: #fff !important; font-family: var(--amy-heading); font-weight: 600; font-size: .88rem !important;
	transition: background-color .3s, transform .3s var(--amy-ease) !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--amy-green) !important; transform: translateY(-2px); }
.woocommerce span.onsale { background: var(--amy-grad) !important; color: var(--amy-navy-900) !important; border-radius: 999px !important; min-height: 0 !important; padding: 6px 12px !important; line-height: 1 !important; font-weight: 800; top: 22px !important; left: 22px !important; right: auto !important; }
@media (max-width: 980px) { .woocommerce ul.products, .amy-products ul.products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .woocommerce ul.products, .amy-products ul.products { grid-template-columns: 1fr; } }

/* Bento */
.amy-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.amy-bento__card {
	--mx: 50%; --my: 50%;
	position: relative; padding: 30px; border-radius: var(--amy-radius); background: var(--amy-soft); overflow: hidden; isolation: isolate;
	transition: transform .5s var(--amy-ease), box-shadow .5s var(--amy-ease);
}
.amy-bento__card:hover { transform: translateY(-6px); box-shadow: var(--amy-shadow); }
.amy-bento__card h3 { margin: 18px 0 8px !important; font-size: 1.3rem !important; }
.amy-bento__card p { margin: 0; color: var(--amy-muted); }
.amy-bento__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: #fff; box-shadow: 0 10px 24px -14px rgba(13, 51, 88, .4); }
.amy-bento__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--amy-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.amy-bento__card--feature { grid-row: span 2; background: var(--amy-grad-navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.amy-bento__card--feature::after { content: ""; position: absolute; width: 340px; height: 340px; top: -120px; right: -120px; border-radius: 50%; background: var(--amy-green); filter: blur(80px); opacity: .45; z-index: -1; animation: amy-float-a 14s ease-in-out infinite; }
.amy-bento__card--feature h3 { color: #fff !important; font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important; }
.amy-bento__card--feature p { color: rgba(255, 255, 255, .75); max-width: 30rem; }
.amy-bento__card--feature .amy-bento__icon { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); margin-bottom: auto; }
.amy-bento__card--feature .amy-bento__icon svg { stroke: var(--amy-mint); }
.amy-bento__meter { margin-top: 24px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.amy-bento__meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--amy-grad); transition: width 2s var(--amy-ease) .3s; }
.amy-bento__card.is-in .amy-bento__meter span { width: 92%; }
.amy-bento__card:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 980px) {
	.amy-bento { grid-template-columns: 1fr 1fr; }
	.amy-bento__card--feature { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
	.amy-bento__card:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .amy-bento { grid-template-columns: 1fr; } }

/* CTA */
.amy-cta {
	position: relative; overflow: hidden; isolation: isolate; text-align: center;
	max-width: var(--amy-max); margin: 0 auto clamp(64px, 8vw, 110px) !important; padding: clamp(56px, 8vw, 100px) var(--amy-gutter);
	border-radius: clamp(24px, 3vw, 40px); background: linear-gradient(120deg, #3E9A6A 0%, #5CB383 45%, #7DCBA0 100%);
}
@media (max-width: 1288px) { .amy-cta { margin-inline: 16px !important; } }
.amy-cta__shapes span { position: absolute; z-index: -1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.amy-cta__shapes span:nth-child(1) { width: 300px; height: 300px; top: -120px; left: -80px; animation: amy-float-a 12s ease-in-out infinite; }
.amy-cta__shapes span:nth-child(2) { width: 180px; height: 180px; bottom: -60px; right: 10%; background: rgba(255, 255, 255, .12); border: 0; animation: amy-float-b 14s ease-in-out infinite; }
.amy-cta__shapes span:nth-child(3) { width: 90px; height: 90px; top: 20%; right: 6%; border-style: dashed; animation: amy-spin 20s linear infinite; }
.amy-cta__title { color: var(--amy-navy-900) !important; font-size: clamp(2rem, 4.5vw, 3.4rem) !important; font-weight: 800 !important; letter-spacing: -.035em !important; max-width: 820px; margin: 0 auto !important; line-height: 1.08 !important; }
.amy-cta__lead { color: rgba(7, 31, 56, .75); font-size: 1.15rem; margin: 1rem auto 0 !important; }

/* ---------- Footer ---------- */
footer.wp-block-template-part { margin-top: 0 !important; }
.amy-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--amy-navy-900); color: rgba(255, 255, 255, .7); padding: clamp(56px, 7vw, 90px) var(--amy-gutter) 28px; }
.amy-footer__glow { position: absolute; z-index: -1; width: 600px; height: 600px; top: -360px; right: -160px; border-radius: 50%; background: var(--amy-green); filter: blur(120px); opacity: .25; }
.amy-footer__inner { max-width: var(--amy-max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.amy-footer__brand p { margin: 18px 0 22px; max-width: 22rem; }
.amy-footer h4 { margin: 6px 0 18px; font-family: var(--amy-heading); color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.amy-footer__col { display: flex; flex-direction: column; gap: 10px; }
.amy-footer__col > a { color: rgba(255, 255, 255, .7); text-decoration: none; width: fit-content; transition: color .3s, transform .3s var(--amy-ease); }
.amy-footer__col > a:hover { color: var(--amy-mint); transform: translateX(4px); }
.amy-footer__cta { padding: 26px; border-radius: 22px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.amy-footer__cta h4 { margin-top: 0; }
.amy-footer__cta p { margin: 0 0 14px; font-size: .95rem; }
.amy-social { display: flex; gap: 10px; }
.amy-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background .3s, transform .4s var(--amy-ease); }
.amy-social a:hover { background: var(--amy-green); transform: translateY(-4px) rotate(-6deg); }
.amy-social svg { width: 19px; height: 19px; fill: #fff; }
.amy-social svg.is-stroke { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.amy-social svg .is-fill { fill: #fff; stroke: none; }
.amy-footer__bottom { max-width: var(--amy-max); margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; font-size: .88rem; }
.amy-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.amy-pay b { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; font-family: var(--amy-heading); font-size: .75rem; }
@media (max-width: 980px) { .amy-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .amy-footer__inner { grid-template-columns: 1fr; } }

/* ---------- Páginas internas / WooCommerce ---------- */
main.wp-block-group:not(.amy-home) { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 100px); }
.wp-block-query-title, main .wp-block-post-title { font-weight: 800; letter-spacing: -.03em; }
.woocommerce-breadcrumb, .wc-block-breadcrumbs { color: var(--amy-muted) !important; font-size: .88rem; }

/* Tarjetas de producto en bloques (tienda, relacionados) */
.wc-block-product-template > li, .products-block-post-template > li, .wp-block-post-template.products-block-post-template .wp-block-post {
	padding: 12px 12px 20px; border-radius: var(--amy-radius); background: #fff; border: 1px solid var(--amy-line);
	transition: transform .5s var(--amy-ease), box-shadow .5s var(--amy-ease), border-color .4s;
}
.wc-block-product-template > li:hover, .products-block-post-template > li:hover { transform: translateY(-8px); box-shadow: var(--amy-shadow); border-color: transparent; }
.products-block-post-template .wc-block-components-product-image, .wc-block-product-template .wc-block-components-product-image { border-radius: 20px; overflow: hidden; background: var(--amy-soft); }
.products-block-post-template .wc-block-components-product-image img { transition: transform .8s var(--amy-ease); }
.products-block-post-template > li:hover .wc-block-components-product-image img { transform: scale(1.06); }
.products-block-post-template .wp-block-post-title a { color: var(--amy-navy); text-decoration: none; font-family: var(--amy-heading); font-weight: 700; }
.products-block-post-template .wc-block-components-product-price { color: var(--amy-green); font-family: var(--amy-heading); font-weight: 800; }
.wc-block-components-product-button .wp-block-button__link, .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
	border-radius: 999px !important; background: var(--amy-navy) !important; color: #fff !important; font-family: var(--amy-heading); font-weight: 600;
}
.wc-block-components-product-button .wp-block-button__link:hover, .wc-block-components-product-button__button:hover { background: var(--amy-green) !important; }

/* Producto individual (plantilla clásica) */
.amy-page--product div.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.amy-page--product div.product > .woocommerce-product-gallery, .amy-page--product div.product > .summary { width: auto !important; float: none !important; margin: 0 !important; }
.amy-page--product div.product > .woocommerce-tabs, .amy-page--product div.product > .related, .amy-page--product div.product > .upsells { grid-column: 1 / -1; }
.amy-page--product .woocommerce-product-gallery { border-radius: var(--amy-radius); overflow: hidden; background: var(--amy-soft); }
.amy-page--product .woocommerce-product-gallery img { border-radius: 0; }
.amy-page--product .summary { position: sticky; top: 110px; padding: clamp(24px, 3vw, 40px); border-radius: var(--amy-radius); background: #fff; border: 1px solid var(--amy-line); box-shadow: var(--amy-shadow); }
.amy-page--product .product_title { font-size: clamp(1.8rem, 3.4vw, 2.6rem) !important; font-weight: 800 !important; letter-spacing: -.03em; margin-bottom: .4rem !important; }
.amy-page--product .summary .price { color: var(--amy-green) !important; font-family: var(--amy-heading); font-weight: 800; font-size: 1.8rem !important; margin: .6rem 0 1.2rem !important; }
.amy-page--product .woocommerce-product-details__short-description { color: var(--amy-muted); }
.amy-page--product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 1.6rem 0 !important; }
.amy-page--product form.cart .quantity .qty { height: 100%; min-height: 52px; width: 80px; border-radius: 999px; border: 1px solid var(--amy-line); text-align: center; font-weight: 700; }
.amy-page--product form.cart .single_add_to_cart_button, .woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt {
	padding: 1rem 2rem !important; border-radius: 999px !important; background: var(--amy-navy) !important; color: #fff !important;
	font-family: var(--amy-heading); font-weight: 700; transition: background .3s, transform .3s var(--amy-ease) !important;
}
.amy-page--product form.cart .single_add_to_cart_button:hover, .woocommerce .button.alt:hover { background: var(--amy-green) !important; transform: translateY(-2px); }
.amy-page--product .product_meta { padding-top: 1rem; border-top: 1px solid var(--amy-line); font-size: .88rem; color: var(--amy-muted); display: grid; gap: 4px; }
/* Botón y modal del Virtual Try-On */
.amy-page--product .summary [class*="try-on"] button, .amy-page--product .summary [class*="tryon"] button,
.amy-page--product .summary button[class*="try-on"], .amy-page--product .summary a[class*="try-on"], .amy-page--product .summary button[id*="try-on"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; width: 100%;
	padding: 1rem 1.6rem !important; border-radius: 999px !important; border: 0 !important;
	background: var(--amy-grad) !important; color: var(--amy-navy-900) !important;
	font-family: var(--amy-heading); font-weight: 700; font-size: 1rem; cursor: pointer;
	box-shadow: 0 14px 34px -12px rgba(92, 179, 131, .8); transition: transform .3s var(--amy-ease), box-shadow .3s;
}
.amy-page--product .summary [class*="try-on"] button:hover, .amy-page--product .summary button[class*="try-on"]:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(92, 179, 131, .95); }
.woocommerce-tabs { margin-top: clamp(40px, 6vw, 80px); }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; display: flex; gap: 8px; border: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; border-radius: 999px !important; background: var(--amy-soft) !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: .7rem 1.3rem !important; font-family: var(--amy-heading); font-weight: 600; color: var(--amy-navy) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--amy-navy) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff !important; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; margin: clamp(40px, 6vw, 80px) 0 28px; }
@media (max-width: 900px) {
	.amy-page--product div.product { grid-template-columns: 1fr; }
	.amy-page--product .summary { position: static; }
}

/* Avisos, campos y carrito */
.woocommerce-message, .woocommerce-info, .wc-block-components-notice-banner { border-radius: var(--amy-radius-sm) !important; border-top-color: var(--amy-green) !important; }
.woocommerce form .input-text, .wc-block-components-text-input input { border-radius: 12px !important; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { border-radius: 999px !important; background: var(--amy-navy) !important; color: #fff !important; font-family: var(--amy-heading); font-weight: 700; }
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--amy-green) !important; }

/* ---------- Animaciones de entrada ---------- */
.amy-js .amy-reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--amy-ease), transform .9s var(--amy-ease); transition-delay: calc(var(--i, 0) * 90ms); }
.amy-js .amy-reveal.is-in { opacity: 1; transform: none; }
.amy-js .amy-hero__visual.amy-reveal { transform: translateY(40px) scale(.96); }
.amy-js .amy-hero__visual.amy-reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.amy-js .amy-reveal { opacity: 1; transform: none; }
	.amy-marquee__track, .amy-ph-sofa, .amy-ph-rug, .amy-ph-lamp, .amy-ph-frame { animation: none !important; }
	.amy-scan { display: none; }
}

/* ---------- Precios de oferta y venta por m² ---------- */
.price del, .wc-block-components-product-price del, .wc-block-components-product-price__regular {
	color: var(--amy-muted) !important; opacity: .7; font-weight: 500 !important; font-size: .85em; margin-right: .35em;
}
.price ins, .wc-block-components-product-price ins { text-decoration: none; }
.amy-unit { font-size: .6em; font-weight: 600; color: var(--amy-muted); }
.amy-page--product form.cart .amy-qty-label { flex-basis: 100%; margin-bottom: -4px; font-family: var(--amy-heading); font-weight: 700; font-size: .9rem; color: var(--amy-navy); }
.amy-page--product .variations { margin-bottom: 1rem; }
.amy-page--product .variations select { min-height: 48px; padding: 0 2.5rem 0 1rem; border-radius: 999px; border: 1px solid var(--amy-line); font-weight: 600; }
.amy-page--product .woocommerce-variation-price .price { font-size: 1.4rem !important; margin: .4rem 0 .8rem !important; }
