/* Estudio Web — sitio público */
:root {
	--ew-accent: #3d5a4c;
	--ew-ink: #1f1b16;
	--ew-muted: #6b6259;
	--ew-bone: #f7f3ec;
	--ew-bone-2: #f1e9dd;
	--ew-sand: #efe3d2;
	--ew-line: #e2d8ca;
	--ew-forest: #2c3a30;
	--ew-soft: #cfc4b2;
	--ew-light: #c8d3c0;
	--ew-serif: 'Crimson Pro', Georgia, serif;
	--ew-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--ew-ease: cubic-bezier(.16, .8, .2, 1);
	--ew-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ew { margin: 0; background: var(--ew-bone); color: var(--ew-ink); font: 400 16px/1.65 var(--ew-sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.ew img { max-width: 100%; height: auto; display: block; }
.ew a { color: var(--ew-ink); text-decoration: none; }
.ew a:hover { color: var(--ew-accent); }
.ew :focus-visible { outline: 2px solid var(--ew-accent); outline-offset: 3px; }
.ew .serif, .ew h1, .ew h2, .ew h3 { font-family: var(--ew-serif); font-weight: 300; }
.ew em { font-style: italic; color: var(--ew-accent); }
.ew-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.ew-skip:focus { left: 8px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Estructura */
.ew-wrap { max-width: var(--ew-max); margin: 0 auto; padding: 0 24px; }
.ew-wrap-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.ew-section { padding-top: 128px; }
.ew-section.is-tight { padding-top: 48px; }
.ew-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 56px; }
.ew-section-intro { max-width: 380px; margin: 0; }
.ew-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 48px 32px; }
.ew-grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 24px; }
@media (min-width: 900px) {
	.ew-grid-3.is-staggered > :nth-child(3n+2) { margin-top: 64px; }
	.ew-grid-3.is-masonry > :nth-child(3n+2) { margin-top: 80px; }
}

/* Tipografía */
.ew-display { font-size: clamp(46px, 6.4vw, 92px); line-height: .98; letter-spacing: -.015em; margin: 0; }
.ew-h1 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1; margin: 0; }
.ew-h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; margin: 0; }
.ew-h3 { font-size: 34px; line-height: 1.05; margin: 0; }
.ew-lead { font-size: 18px; color: var(--ew-muted); max-width: 520px; margin: 24px 0 0; }
.ew-muted { color: var(--ew-muted); }
.ew-soft { color: var(--ew-soft); }
.ew-meta { font-size: 13px; color: var(--ew-muted); }
.ew-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ew-muted); margin: 0 0 16px; }
.ew-rule { width: 32px; height: 1px; background: var(--ew-accent); display: inline-block; }

/* Enlaces y botones */
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ew-ease); padding-bottom: 2px; }
a:hover .ul, button:hover .ul { background-size: 100% 1px; }
.arr { display: inline-block; transition: transform .5s var(--ew-ease); }
a:hover .arr { transform: translateX(6px); }
.ew-back:hover .arr { transform: translateX(-6px); }
.ew-btn { display: inline-block; border: 1px solid var(--ew-ink); border-radius: 8px; padding: 12px 22px; font-weight: 500; font-size: 15px; transition: background .4s, color .4s; }
.ew a.ew-btn:hover { background: var(--ew-ink); color: var(--ew-bone); }
.ew-btn-solid, .ew button.ew-btn-solid { display: inline-block; background: var(--ew-accent); color: #fff !important; border: 0; border-radius: 8px; padding: 14px 24px; font: 500 15px var(--ew-sans); cursor: pointer; transition: filter .3s, transform .3s; }
.ew-btn-solid:hover { filter: brightness(1.12); }
.ew-link { font-weight: 500; font-size: 15px; }
.ew a.ew-link.is-accent { color: var(--ew-accent); }
.ew a.ew-link.is-light, .ew-dark a { color: #f1e8da; }
.ew-back { font-size: 14px; color: var(--ew-muted) !important; display: inline-block; margin-bottom: 24px; }

.ew-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: var(--ew-accent); border: 1px solid currentColor; border-radius: 999px; padding: 4px 12px; white-space: nowrap; }
.ew-pill.is-light { color: var(--ew-light); }
.ew-pill.state-vendido { color: var(--ew-muted); }
.ew-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ew-pulse 2.2s ease-in-out infinite; }
.ew-chip, .ew-chip-static { display: inline-block; font: 400 14px var(--ew-sans); border: 1px solid var(--ew-line); background: #fff; color: #4d3f32; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; transition: all .3s; }
.ew-chip-static { min-height: 0; padding: 5px 12px; font-size: 13px; cursor: default; border-radius: 6px; }
.ew a.ew-chip-static { cursor: pointer; }
.ew-chip:hover { border-color: var(--ew-ink); }
.ew-chip.is-active { background: var(--ew-ink); color: var(--ew-bone) !important; border-color: var(--ew-ink); }
.ew-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.ew-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

/* Encabezado */
.ew-header { border-bottom: 1px solid #ebe3d7; position: relative; z-index: 20; background: var(--ew-bone); }
.ew-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.ew-logo .serif { font-size: 28px; line-height: 1; }
.ew-logo img { max-height: 44px; width: auto; }
.ew-menu { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.ew-menu a.is-current { color: var(--ew-accent); }
.ew-burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.ew-burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ew-ink); transition: transform .4s var(--ew-ease); }
.ew-burger span:first-child { top: 18px; }
.ew-burger span:last-child { top: 26px; }
.ew-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.ew-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 860px) {
	.ew-burger { display: block; }
	.ew-menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; background: var(--ew-bone); border-bottom: 1px solid var(--ew-line); font-size: 20px; font-family: var(--ew-serif); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .4s var(--ew-ease); }
	.ew-menu.is-open { opacity: 1; visibility: visible; transform: none; }
	.ew-menu .ew-btn { font-family: var(--ew-sans); font-size: 15px; }
}

/* Imágenes y bloques de color */
.ew-media { position: relative; overflow: hidden; border-radius: 12px; background: #ddd0bc; }
.ew-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ew-ease); }
a:hover .ew-media img, .ew-media:hover img { transform: scale(1.03); }
.ew-media.is-empty::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(31,27,22,.12)); }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 16 / 9; }
.ratio-hero { aspect-ratio: 9 / 11; }
.small-radius { border-radius: 8px; }
.is-arch { border-radius: 400px 400px 12px 12px; }
.is-arch-right { border-radius: 12px 400px 12px 12px; }
.t1 { background: #b9714f; } .t2 { background: #5c6a5d; } .t3 { background: #ddd0bc; }
.t4 { background: #34413a; } .t5 { background: #cfa286; } .t6 { background: #c8b79e; }

/* Portada */
.ew-hero { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 56px; padding-top: 72px; padding-bottom: 64px; }
.ew-hero-text { flex: 1.25 1 420px; padding-bottom: 24px; }
.ew-hero-text .ew-display { margin-top: 4px; }
.ew-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.ew-hero-figure { flex: 1 1 340px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ew-marquee { border-top: 1px solid #ebe3d7; border-bottom: 1px solid #ebe3d7; background: var(--ew-bone-2); padding: 22px 0; overflow: hidden; }
.ew-marquee-track { display: flex; width: max-content; gap: 56px; font-size: 22px; font-style: italic; color: #8a7a66; line-height: 1; animation: ew-marquee 110s linear infinite; }
.ew-star { color: var(--ew-accent); font-style: normal; }

/* Servicios */
.ew-service { display: flex; flex-direction: column; gap: 18px; }
.ew-service-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #d9cdbb; padding-top: 18px; }
.ew-num { font-size: 22px; font-style: italic; color: var(--ew-accent); line-height: 1; }
.ew-tag { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ew-muted); text-align: right; }
.ew-service p { margin: 0; }

/* Tarjetas */
.ew-pcard { display: flex; flex-direction: column; gap: 14px; }
.ew-pcard-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ew-pcard-title { font-size: 26px; line-height: 1.1; }
.ew-pcard > .ew-meta:last-child { margin-top: -10px; }
.ew-mcard { display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 12px; padding: 10px; color: var(--ew-ink); transition: background .4s; }
.ew-mcard:hover { background: #fffdf9; }
.ew-mcard-body { display: flex; flex-direction: column; gap: 2px; padding: 0 6px 6px; }
.ew-mcard-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ew-mcard-name { font-weight: 500; font-size: 15px; }
.ew-price { font-size: 20px; color: var(--ew-accent); margin-top: 4px; }
.ew-bcard { display: flex; flex-direction: column; gap: 16px; }
.ew-bcard-body { display: flex; flex-direction: column; gap: 8px; }
.ew-bcard-title { font-size: 26px; line-height: 1.12; }
.ew-bcard.is-large { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; align-items: center; margin-bottom: 72px; }
.ew-bcard.is-large .ew-bcard-title { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.04; }
.ew-bcard-excerpt { color: var(--ew-muted); font-size: 17px; }

/* Sección oscura / exhibición */
.ew-dark { background: var(--ew-forest); color: #f1e8da; margin-top: 140px; }
.ew-expo { display: flex; flex-wrap: wrap; gap: 64px; padding-top: 104px; padding-bottom: 104px; }
.ew-expo-text { flex: 1 1 300px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ew-expo-text .ew-h2 { color: #f1e8da; }
.ew-dark em { color: var(--ew-light); }
.ew-expo-text p { margin: 0; }
.ew-expo-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; border-top: 1px solid #45534a; padding-top: 18px; align-self: stretch; }
.ew-expo-grid { flex: 2 1 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ew-expo-grid .ew-mcard { background: var(--ew-bone); }
.ew-expo-grid .is-span { grid-column: 1 / -1; }
.ew-expo-hero { position: relative; margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); background: var(--ew-forest); color: #f1e8da; border-radius: 12px; overflow: hidden; padding: 0; }
.ew-expo-hero .ew-media { border-radius: 0; min-height: 420px; height: 100%; }
.ew-expo-hero-text { padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; }
.ew-expo-hero-text p { margin: 0; }
.ew-expo-hero .ew-h1 { color: #f1e8da; }
.ew-expo-hero em { color: var(--ew-light); }

/* Banda (test / CTA) */
.ew-band { background: var(--ew-sand); border-radius: 12px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.ew-band-text { flex: 1 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.ew-band-text p { margin: 0; max-width: 480px; }
.ew-band-img { flex: 0 1 260px; }

/* Estudio */
.ew-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 64px; align-items: center; }
.ew-about-text .ew-h2 { margin-bottom: 20px; }

/* Contacto */
.ew-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 64px; padding-bottom: 112px; }
.ew-contact-list { display: flex; flex-direction: column; gap: 10px; font-size: 15px; border-top: 1px solid var(--ew-line); padding-top: 20px; margin-top: 24px; }
.ew-form { background: #fff; border-radius: 12px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-self: start; }
.ew-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ew-muted); }
.ew-form .is-full { grid-column: 1 / -1; }
.ew-form input, .ew-form select, .ew-form textarea, .ew-search input { font: 400 16px/1.5 var(--ew-sans); color: var(--ew-ink); border: 1px solid var(--ew-line); border-radius: 8px; padding: 12px 14px; background: #fff; width: 100%; transition: border-color .3s; }
.ew-form input:focus, .ew-form select:focus, .ew-form textarea:focus, .ew-search input:focus { outline: none; border-color: var(--ew-accent); }
.ew-hp { position: absolute; left: -9999px; }
.ew-notice { grid-column: 1 / -1; margin: 0; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.ew-notice.is-ok { background: #e7efe9; color: #24382d; }
.ew-notice.is-error { background: #f6e7e2; color: #6b2c19; }
@media (max-width: 560px) { .ew-form { grid-template-columns: 1fr; padding: 24px; } .ew-band { padding: 32px; } }

/* Encabezados de página */
.ew-page-head { padding-top: 88px; }
.ew-page { padding-bottom: 112px; }

/* Proyecto */
.ew-project-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 56px; padding-top: 64px; align-items: start; }
.ew-project .ew-wrap-wide { margin-top: 48px; }
.ew-facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--ew-line); }
.ew-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--ew-line); font-size: 15px; }
.ew-facts dt { color: var(--ew-muted); }
.ew-facts dd { margin: 0; }
.ew-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 80px; }
.ew-gitem { overflow: hidden; border-radius: 12px; display: block; }
.ew-gitem.is-wide { grid-column: 1 / -1; }
.ew-gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s var(--ew-ease); }
.ew-gitem:hover img { transform: scale(1.03); }
@media (max-width: 640px) { .ew-gallery-grid { grid-template-columns: 1fr; } }

/* Mueble */
.ew-piece { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 64px; padding-top: 64px; align-items: start; }
.ew-piece-media { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 860px) { .ew-piece-media { position: static; } }
.ew-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.ew-thumb { width: 72px; height: 72px; padding: 0; border: 1px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .65; transition: opacity .3s, border-color .3s; }
.ew-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ew-thumb.is-active, .ew-thumb:hover { opacity: 1; border-color: var(--ew-ink); }
.ew-piece-title { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ew-piece-price { font-size: 30px; color: var(--ew-accent); margin: 12px 0 28px; }
.ew-piece-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 28px; }

/* Artículo */
.ew-article-head { max-width: 880px; padding-top: 88px; }
.ew-article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ew-article-meta .ew-back { margin: 0; }
.ew-article-title { font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.ew-article-head .ew-meta { margin-top: 24px; }
.ew-article-cover { margin: 48px auto 0; }
.ew-article-cover figcaption { margin-top: 10px; }
.ew-article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 72px; padding-top: 64px; justify-content: center; }
.ew-article-side { position: sticky; top: 32px; align-self: start; display: flex; flex-direction: column; gap: 32px; font-size: 14px; }
.ew-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--ew-line); }
.ew-toc a { display: block; padding-left: 14px; color: var(--ew-muted) !important; line-height: 1.4; border-left: 1px solid transparent; margin-left: -1px; transition: color .3s, border-color .3s; }
.ew-toc a:hover, .ew-toc a.is-active { color: var(--ew-ink) !important; border-left-color: var(--ew-accent); }
.ew-share { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 960px) {
	.ew-article-layout { grid-template-columns: 1fr; gap: 32px; }
	.ew-article-side { position: static; order: 2; }
	.ew-toc { display: none; }
}

/* Contenido largo */
.ew-prose { font-size: 18px; line-height: 1.75; }
.ew-prose-sm { font-size: 16px; }
.ew-prose > * { margin: 0 0 1.2em; }
.ew-prose h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; margin: 1.8em 0 .6em; scroll-margin-top: 24px; }
.ew-prose h3 { font-size: 26px; line-height: 1.2; margin: 1.6em 0 .5em; }
.ew-prose h4 { font: 500 17px var(--ew-sans); margin: 1.4em 0 .4em; }
.ew-prose a { color: var(--ew-accent) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ew-prose ul, .ew-prose ol { padding-left: 1.2em; }
.ew-prose li { margin-bottom: .4em; }
.ew-prose li::marker { color: var(--ew-accent); }
.ew-prose blockquote { margin: 2em 0; padding: 0 0 0 28px; border-left: 1px solid var(--ew-accent); font: italic 300 28px/1.3 var(--ew-serif); color: var(--ew-ink); }
.ew-prose blockquote p { margin: 0 0 .4em; }
.ew-prose blockquote cite { font: 400 14px var(--ew-sans); color: var(--ew-muted); font-style: normal; }
.ew-prose img, .ew-prose figure img { border-radius: 12px; }
.ew-prose figure { margin: 2em 0; }
.ew-prose figcaption { font-size: 13px; color: var(--ew-muted); margin-top: 10px; text-align: left; }
.ew-prose .alignwide { margin-left: -120px; margin-right: -120px; max-width: none; }
@media (max-width: 1100px) { .ew-prose .alignwide { margin-left: 0; margin-right: 0; } }
.ew-prose hr { border: 0; border-top: 1px solid var(--ew-line); margin: 3em 0; }
.ew-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ew-prose th, .ew-prose td { border-bottom: 1px solid var(--ew-line); padding: 10px 8px; text-align: left; }
.ew-prose .wp-block-button__link { background: var(--ew-accent); color: #fff !important; border-radius: 8px; text-decoration: none; padding: 12px 22px; }
.ew-prose .wp-block-gallery { gap: 12px; }
.ew-cta-box { background: var(--ew-forest); color: #f1e8da; border-radius: 12px; padding: 40px; margin-top: 56px; }
.ew-cta-box h2 { color: #f1e8da; font-size: 34px; margin: 0 0 8px; }
.ew-cta-box p { color: var(--ew-soft); margin: 0 0 24px; font-size: 16px; }
.ew-cta-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.ew-cta-box a.ew-link { text-decoration: none; color: #f1e8da !important; }

/* Blog */
.ew-blog-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.ew-search { margin-top: 40px; flex: 0 1 280px; }
.ew-search input { border-radius: 999px; padding: 10px 18px; }
.ew-blog-grid { margin-top: 0; }
.ew-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 72px; }
.ew-pagination .page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid transparent; font-size: 14px; }
.ew-pagination .page-numbers.current { border-color: var(--ew-ink); }

/* Pie */
.ew-footer { background: var(--ew-ink); color: var(--ew-soft); font-size: 14px; }
.ew-footer a { color: var(--ew-soft) !important; }
.ew-footer a:hover { color: #fff !important; }
.ew-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.ew-footer-logo { font-size: 30px; color: #f1e8da; }
.ew-footer em { color: var(--ew-light); }
.ew-footer-brand p { margin: 8px 0 0; }
.ew-footer-links, .ew-footer-contact { display: flex; flex-direction: column; gap: 10px; }
.ew-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid #3a342c; font-size: 13px; }

/* Lightbox */
.ew-lb { position: fixed; inset: 0; background: rgba(20,18,15,.94); display: flex; align-items: center; justify-content: center; z-index: 9999; opacity: 0; transition: opacity .4s; padding: 24px; }
.ew-lb.is-open { opacity: 1; }
.ew-lb img { max-width: 100%; max-height: 90vh; width: auto; border-radius: 8px; }
.ew-lb button { position: absolute; background: none; border: 0; color: #f1e8da; font-size: 28px; cursor: pointer; width: 56px; height: 56px; }
.ew-lb .ew-lb-close { top: 12px; right: 12px; }
.ew-lb .ew-lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.ew-lb .ew-lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* Animaciones */
@keyframes ew-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ew-kb { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes ew-marquee { to { transform: translateX(-50%); } }
@keyframes ew-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.rise { animation: ew-up 1.2s var(--ew-ease) both; }
.d1 { animation-delay: .12s; } .d2 { animation-delay: .28s; } .d3 { animation-delay: .44s; } .d4 { animation-delay: .6s; }
.kb img, .kb.is-empty { animation: ew-kb 3.2s var(--ew-ease) both; }
.ew-js .rv { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ew-ease), transform 1.2s var(--ew-ease); }
.ew-js .rv.is-in { opacity: 1; transform: none; }
.is-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.ew-js .rv { opacity: 1; transform: none; }
}
.ew-grid-3.is-filtered > * { margin-top: 0 !important; }

/* Variantes (muestras de acabado) */
.ew-piece-note { margin: 12px 0 24px; }
.ew-variant { margin: 0 0 22px; }
.ew-variant-label { font-size: 14px; color: var(--ew-muted); margin: 0 0 10px; }
.ew-variant-label strong { color: var(--ew-ink); font-weight: 500; }
.ew-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.ew-swatch { width: 44px; height: 44px; border-radius: 50%; border: 1px solid transparent; background: none; padding: 3px; cursor: pointer; transition: border-color .3s, transform .3s var(--ew-ease); }
.ew-swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ew-swatch:hover { transform: scale(1.06); }
.ew-swatch.is-active { border-color: var(--ew-ink); }
.ew-piece-main .ew-media img { transition: opacity .35s ease, transform 1.8s var(--ew-ease); }
.ew-piece-main .ew-media img.is-swapping { opacity: 0; }
.ew-mcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; min-height: 18px; }
.ew-dots { display: inline-flex; align-items: center; gap: 4px; }
.ew-dots span { width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.ew-dots em { font-style: normal; font-size: 11px; color: var(--ew-muted); margin-left: 2px; }
.ew-mcard .ew-price { margin: 0; font-size: 17px; }
.ew-dark .ew-mcard, .ew-dark .ew-mcard:hover { color: var(--ew-ink) !important; }
