/*
 * LUMITIX 3.0 · Capa de diseño (lumitix-3.css)
 * Se carga después de estilos.css y lumitix-fx.css en todas las páginas.
 *
 *   1. Tokens y tipografía (solo dos familias: Cormorant Garamond + Jost)
 *   2. Cabecera: carrito, menú más ligero
 *   3. Héroe sin recortes y banda de confianza
 *   4. Catálogo nativo: filtros, tarjetas, secuencia de fotos, botón de compra
 *   5. Ficha de producto (cajón lateral)
 *   6. Opiniones de clientes (formulario real)
 *   7. Imágenes sin recortes en tarjetas, slider y fichas
 *   8. Páginas de categoría (bloques antes con estilos en línea)
 *   9. Movimiento reducido y correcciones de accesibilidad
 */

/* ---------- 1. Tokens ---------- */
:root {
    --lx-gold: #B1904C;
    --lx-gold-deep: #8F7239;
    --lx-gold-light: #E2CC97;
    --lx-ink: #0F1C3F;
    --lx-ink-soft: #3C4663;
    --lx-muted: #6B7287;
    --lx-cream: #FAF7F2;
    --lx-beige: #F5F1E8;
    --lx-line: rgba(15, 28, 63, .1);
    --lx-radius: 6px;
    --lx-shadow: 0 18px 50px rgba(15, 28, 63, .10);
    --lx-ease: cubic-bezier(.2, .8, .2, 1);
    --lx-container: 1280px;
}
body.dark-theme {
    --lx-ink: #F5F1E8;
    --lx-ink-soft: #C9CEDC;
    --lx-muted: #9AA2B8;
    --lx-cream: #0A1328;
    --lx-beige: #0F1C3F;
    --lx-line: rgba(245, 241, 232, .14);
    --lx-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

/* Tipografía: títulos con peso ligero y tamaño fluido */
h1, h2, h3 { text-wrap: balance; }
main h2, section h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.1rem) !important; line-height: 1.12; }
p, li { text-wrap: pretty; }
.section-label, .help-banner-subtitle, .section-subtitle, .boutique-hero-label {
    font-family: var(--font-sans) !important; font-weight: 500 !important; font-size: .74rem !important;
    letter-spacing: .22em !important; text-transform: uppercase; color: var(--lx-gold) !important;
}

/* Botones comunes del catálogo */
.lx-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 26px; border-radius: 0; cursor: pointer;
    font-family: var(--font-sans); font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    line-height: 1.2; text-decoration: none; border: 1px solid transparent; white-space: nowrap;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s var(--lx-ease), box-shadow .3s ease;
}
.lx-btn-primary { background: var(--lx-ink); color: #fff; border-color: var(--lx-ink); }
.lx-btn-outline { background: transparent; color: var(--lx-ink); border-color: currentColor; }
body.dark-theme .lx-btn-primary { background: #F5F1E8; color: #0F1C3F; border-color: #F5F1E8; }
@media (hover: hover) {
    .lx-btn-primary:hover { background: var(--lx-gold); border-color: var(--lx-gold); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(177, 144, 76, .28); }
    .lx-btn-outline:hover { background: var(--lx-ink); color: #fff; border-color: var(--lx-ink); }
    body.dark-theme .lx-btn-outline:hover { background: #F5F1E8; color: #0F1C3F; border-color: #F5F1E8; }
}
.lx-btn:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 3px; }

/* ---------- 2. Cabecera ---------- */
.header { padding: 12px 0 !important; }
.header .logo img { height: 52px; }
.main-nav .nav-link { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }
.header-actions { gap: 10px; }
.lx-cart-btn {
    position: relative; display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    color: var(--lx-ink); background: rgba(15, 28, 63, .08);
    transition: background-color .3s ease, color .3s ease, transform .3s var(--lx-ease);
}
.lx-cart-btn svg { width: 21px; height: 21px; }
.lx-cart-btn[hidden] { display: none !important; }
@media (hover: hover) { .lx-cart-btn:hover { background: var(--lx-gold); color: #fff; transform: translateY(-2px); } }
body.dark-theme .lx-cart-btn { color: #F5F1E8; background: rgba(245, 241, 232, .1); }
.lx-cart-count {
    position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
    border-radius: 9px; background: var(--lx-gold); color: #fff;
    font-size: .66rem; font-weight: 600; line-height: 18px; text-align: center; letter-spacing: 0;
    box-shadow: 0 0 0 2px var(--color-beige);
}
.lx-cart-count[hidden] { display: none; }
/* En el móvil el carrito queda junto al menú; las redes pasan al menú desplegado */
@media (max-width: 991px) {
    .header-socials { display: none !important; }
}

/* ---------- 3. Héroe sin recortes ---------- */
.hero {
    height: auto !important; min-height: 0 !important;
    display: grid !important; grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    align-items: stretch; background: var(--lx-cream);
}
.hero-main-wrapper { display: contents !important; }
.hero-left-panel {
    width: auto !important; height: auto !important; min-height: 100%;
    padding: clamp(110px, 12vw, 150px) clamp(24px, 5vw, 72px) clamp(44px, 5vw, 72px) !important;
    justify-content: center; align-items: flex-start !important; text-align: left; gap: 0;
    background: var(--lx-cream) !important;
}
.hero-kicker { margin: 0 0 18px; }
.hero-logo-box { max-width: 300px !important; margin: 0 0 26px !important; justify-content: flex-start !important; }
.hero-brand-img { max-width: 100% !important; }
.hero-title {
    font-family: var(--font-serif) !important; font-weight: 500 !important;
    font-size: clamp(2rem, 1.1rem + 2.6vw, 3.4rem) !important; line-height: 1.08; color: var(--lx-ink);
    margin: 0 0 18px; max-width: 16ch;
}
.hero-title em { font-style: italic; color: var(--lx-gold); }
.hero-text { font-size: clamp(1rem, .9rem + .35vw, 1.15rem); font-weight: 300; line-height: 1.7; color: var(--lx-ink-soft); max-width: 44ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-mobile-btn-wrapper { display: contents !important; }
.hero-btn-boutique { padding: 15px 30px !important; }
.hero-link {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 4px;
    font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-ink);
    border-bottom: 1px solid var(--lx-gold); transition: color .3s ease, gap .3s var(--lx-ease);
}
@media (hover: hover) { .hero-link:hover { color: var(--lx-gold); gap: 12px; } }
.hero-right-panel {
    width: auto !important; height: auto !important; align-self: stretch; min-height: 0;
    display: flex; align-items: center; justify-content: center; background: var(--lx-cream); overflow: hidden;
}
.hero-right-panel::after { display: none !important; }
.hero-banner-img {
    width: 100% !important; height: auto !important; max-height: none; object-fit: contain !important; object-position: center !important; aspect-ratio: 1774 / 887;
}
#hero-particles-canvas { z-index: 0 !important; opacity: .55; }
@media (min-width: 992px) {
    /* La foto se muestra completa (sin recortes) y centrada; la columna de texto llena la misma altura */
    .hero { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); }
    .hero-right-panel { background: var(--lx-cream); padding: 0; }
    .hero-left-panel { padding-top: clamp(96px, 9vw, 120px) !important; padding-bottom: 40px !important; }
    .hero-logo-box { max-width: 230px !important; margin-bottom: 22px !important; }
}
@media (max-width: 991px) {
    .hero { grid-template-columns: 1fr; }
    .hero-left-panel { order: 1; padding: 112px 24px 36px !important; align-items: center !important; text-align: center; }
    .hero-logo-box { margin: 0 auto 22px !important; justify-content: center !important; }
    .hero-title { max-width: none; margin-left: auto; margin-right: auto; }
    .hero-text { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-right-panel { order: 2; aspect-ratio: 2 / 1; }
}

/* Banda de confianza (solo condiciones publicadas en la propia web) */
.lx-trust {
    background: var(--lx-ink); color: #F5F1E8;
    border-top: 1px solid rgba(177, 144, 76, .35); border-bottom: 1px solid rgba(177, 144, 76, .35);
}
body.dark-theme .lx-trust { background: #081022; }
.lx-trust ul {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none;
}
.lx-trust li {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 18px; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 400; text-align: center;
    border-left: 1px solid rgba(245, 241, 232, .12);
}
.lx-trust li:first-child { border-left: 0; }
.lx-trust svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--lx-gold-light); }
.lx-trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(226, 204, 151, .5); }
@media (max-width: 991px) {
    .lx-trust ul { grid-template-columns: 1fr 1fr; }
    .lx-trust li { padding: 14px 12px; font-size: .72rem; }
    .lx-trust li:nth-child(3) { border-left: 0; }
    .lx-trust li:nth-child(n+3) { border-top: 1px solid rgba(245, 241, 232, .12); }
}
@media (max-width: 480px) {
    .lx-trust li { justify-content: flex-start; text-align: left; }
}

/* ---------- 4. Catálogo nativo ---------- */
.lx-section { padding: clamp(64px, 8vw, 110px) 0; }
.lx-section-cream { background: var(--lx-cream); }
.lx-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.lx-section-head h2 { margin: 6px 0 0; }
.lx-section-head p { max-width: 56ch; color: var(--lx-muted); font-weight: 300; line-height: 1.7; margin: 14px 0 0; }
.lx-section-head .lx-btn { margin-bottom: 6px; }

.lx-shop { position: relative; min-height: 200px; }
.lx-shop-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.lx-chip {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px;
    border: 1px solid var(--lx-line); border-radius: 999px; background: transparent; color: var(--lx-ink);
    font-family: var(--font-sans); font-size: .8rem; font-weight: 500; letter-spacing: .06em; cursor: pointer;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.lx-chip span { font-size: .72rem; color: var(--lx-muted); }
.lx-chip.is-active { background: var(--lx-ink); color: #fff; border-color: var(--lx-ink); }
.lx-chip.is-active span { color: var(--lx-gold-light); }
body.dark-theme .lx-chip.is-active { background: #F5F1E8; color: #0F1C3F; border-color: #F5F1E8; }
@media (hover: hover) { .lx-chip:not(.is-active):hover { border-color: var(--lx-gold); color: var(--lx-gold); } }

.lx-shop-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px) clamp(16px, 2vw, 28px);
}
@media (max-width: 1100px) { .lx-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lx-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } }
@media (max-width: 359px) { .lx-shop-grid { grid-template-columns: 1fr; } }

.lx-product {
    display: flex; flex-direction: column; position: relative;
    background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius);
    overflow: hidden; opacity: 0; transform: translateY(24px);
    transition: opacity .7s var(--lx-ease), transform .7s var(--lx-ease), box-shadow .4s ease, border-color .4s ease;
    transition-delay: var(--lx-delay, 0ms);
}
body.dark-theme .lx-product { background: #121F3F; }
.lx-product.is-visible { opacity: 1; transform: none; transition-delay: var(--lx-delay, 0ms); }
.lx-product[hidden] { display: none; }
@media (hover: hover) {
    .lx-product:hover { box-shadow: var(--lx-shadow); border-color: rgba(177, 144, 76, .35); }
}
.lx-product-media {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
    background: #F6F3EE; text-align: left; overflow: hidden; touch-action: pan-y;
}
body.dark-theme .lx-product-media { background: #0A1328; }
.lx-product-media:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: -3px; }
.lx-product-frames { position: relative; width: 100%; aspect-ratio: 4 / 5; }
.lx-product-frame {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center;
    padding: 8%; box-sizing: border-box; opacity: 0;
    transition: opacity .55s var(--lx-ease), transform 1.4s var(--lx-ease);
    user-select: none; -webkit-user-drag: none;
}
.lx-product-frame.is-active { opacity: 1; }
/* Con una sola foto: zoom muy sutil dentro del contenedor (sin deformar ni ocultar) */
@media (hover: hover) {
    .lx-product-frames[data-count="1"] .lx-product-frame { transition: transform 1.6s var(--lx-ease); }
    .lx-product:hover .lx-product-frames[data-count="1"] .lx-product-frame { transform: scale(1.04); }
}
.lx-product-badge {
    position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px;
    background: rgba(255, 255, 255, .88); color: var(--lx-ink); border-radius: 999px;
    font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(4px);
}
body.dark-theme .lx-product-badge { background: rgba(10, 19, 40, .8); color: #F5F1E8; }
.lx-product-soldout {
    position: absolute; top: 12px; right: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px;
    background: var(--lx-ink); color: #fff; font-size: .64rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.lx-product.is-soldout .lx-product-frame { opacity: .6; }
.lx-product.is-soldout .lx-product-frame.is-active { opacity: .75; }
.lx-product-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 6px; }
.lx-product-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(15, 28, 63, .25); transition: background-color .3s ease, transform .3s ease; cursor: pointer; }
.lx-product-dot.is-active { background: var(--lx-gold); transform: scale(1.3); }
.lx-product-hint {
    position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 4px 8px; border-radius: 999px;
    background: rgba(255, 255, 255, .85); color: var(--lx-muted); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
    opacity: 0; transition: opacity .3s ease;
}
@media (hover: hover) { .lx-product:hover .lx-product-hint, .lx-product-media:focus-visible .lx-product-hint { opacity: 1; } }
@media (hover: none) { .lx-product-hint { opacity: 1; } }
.lx-product-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.lx-product-category { margin: 0; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold); font-weight: 500; }
.lx-product-title { margin: 0; font-size: 1.22rem !important; line-height: 1.25; font-weight: 500 !important; }
.lx-product-title a { color: inherit; text-decoration: none; }
.lx-product-title a:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }
@media (hover: hover) { .lx-product-title a:hover { color: var(--lx-gold); } }
.lx-product-price { margin: 2px 0 0; font-size: 1.02rem; color: var(--lx-ink); display: flex; gap: 10px; align-items: baseline; }
.lx-product-price s { color: var(--lx-muted); font-size: .9rem; }
.lx-product-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: auto; padding-top: 14px; }
.lx-product-actions .lx-btn { width: 100%; min-height: 44px; padding: 0 14px; font-size: .72rem; }
.lx-product-buy { min-height: 44px; }
.lx-product-buy .shopify-buy__product, .lx-drawer-buy .shopify-buy__product { width: 100%; }
.lx-product-buy .shopify-buy__btn-wrapper { margin: 0; }

/* Botón oficial del Buy Button (sin iframe) con la estética de la web */
.shopify-buy__btn, .shopify-buy__btn-wrapper button {
    display: inline-flex !important; align-items: center; justify-content: center; width: 100%; min-height: 44px;
    padding: 0 14px; border: 1px solid var(--lx-ink); border-radius: 0; background: var(--lx-ink); color: #fff;
    font-family: var(--font-sans); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
    transition: background-color .3s ease, border-color .3s ease, transform .3s var(--lx-ease), box-shadow .3s ease;
}
body.dark-theme .shopify-buy__btn { background: #F5F1E8; color: #0F1C3F; border-color: #F5F1E8; }
@media (hover: hover) { .shopify-buy__btn:hover { background: var(--lx-gold); border-color: var(--lx-gold); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(177, 144, 76, .28); } }
.shopify-buy__btn:disabled, .shopify-buy__btn-disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.shopify-buy__btn:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 3px; }
/* Cantidad + botón en la ficha */
.shopify-buy__btn-and-quantity, .shopify-buy__quantity-container, .lx-drawer-buy .shopify-buy__btn-wrapper { display: flex; align-items: stretch; gap: 10px; }
.shopify-buy__quantity-container { display: inline-flex; align-items: stretch; border: 1px solid var(--lx-line); background: #fff; }
body.dark-theme .shopify-buy__quantity-container { background: #121F3F; }
.shopify-buy__quantity-container button, .shopify-buy__quantity-decrement, .shopify-buy__quantity-increment {
    display: inline-grid !important; place-items: center; width: 44px; min-width: 44px; min-height: 52px; padding: 0; margin: 0;
    border: 0 !important; border-radius: 0; background: transparent !important; color: var(--lx-ink) !important; cursor: pointer;
    font-size: 1.1rem; font-family: var(--font-sans); box-shadow: none !important; transform: none !important;
}
@media (hover: hover) { .shopify-buy__quantity-container button:hover { background: rgba(177, 144, 76, .12) !important; color: var(--lx-gold) !important; } }
.shopify-buy__quantity-decrement svg, .shopify-buy__quantity-increment svg { width: 12px; height: 12px; fill: currentColor; }
.shopify-buy__quantity {
    width: 52px; min-height: 52px; border: 0; border-left: 1px solid var(--lx-line); border-right: 1px solid var(--lx-line); background: transparent; color: var(--lx-ink);
    text-align: center; font-family: var(--font-sans); font-size: 1rem; -moz-appearance: textfield; appearance: textfield;
}
.shopify-buy__quantity::-webkit-inner-spin-button, .shopify-buy__quantity::-webkit-outer-spin-button { -webkit-appearance: none; }
.lx-drawer-buy .shopify-buy__btn-and-quantity { flex-wrap: wrap; }
.lx-drawer-buy .shopify-buy__btn-and-quantity .shopify-buy__btn-wrapper { flex: 1 1 220px; margin: 0; }
.lx-drawer-buy .shopify-buy__btn { min-height: 54px; font-size: .78rem; }
.lx-drawer-buy .lx-btn { width: 100%; min-height: 54px; }

/* Esqueleto de carga */
.lx-product-skeleton { opacity: 1; transform: none; pointer-events: none; }
.lx-product-skeleton .lx-product-media { aspect-ratio: 4 / 5; background: linear-gradient(100deg, #F1EDE6 30%, #FAF7F2 50%, #F1EDE6 70%); background-size: 200% 100%; animation: lx-shimmer 1.4s linear infinite; }
.lx-product-skeleton .lx-product-body span { display: block; height: 12px; border-radius: 4px; background: #EFEAE2; }
.lx-product-skeleton .lx-product-body span:nth-child(1) { width: 40%; }
.lx-product-skeleton .lx-product-body span:nth-child(2) { width: 80%; height: 18px; }
.lx-product-skeleton .lx-product-body span:nth-child(3) { width: 30%; }
@keyframes lx-shimmer { to { background-position: -200% 0; } }
.lx-shop-error { max-width: 560px; margin: 0 auto; padding: 40px 28px; text-align: center; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: #fff; }
body.dark-theme .lx-shop-error { background: #121F3F; }
.lx-shop-error p { margin: 0 0 12px; line-height: 1.6; }
.lx-shop-error a { color: var(--lx-gold); text-decoration: underline; }
.lx-shop-error .lx-btn { margin-top: 10px; }

/* ---------- 5. Ficha de producto (cajón lateral) ---------- */
.lx-drawer { position: fixed; inset: 0; z-index: 3000; }
.lx-drawer[hidden] { display: none; }
.lx-drawer-overlay { position: absolute; inset: 0; background: rgba(10, 19, 40, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s ease; }
.lx-drawer.is-open .lx-drawer-overlay { opacity: 1; }
.lx-drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(1060px, 100%);
    background: var(--lx-cream); color: var(--lx-ink); box-shadow: -30px 0 80px rgba(10, 19, 40, .25);
    transform: translateX(40px); opacity: 0; transition: transform .5s var(--lx-ease), opacity .4s ease;
    display: flex; flex-direction: column;
}
.lx-drawer.is-open .lx-drawer-panel { transform: none; opacity: 1; }
.lx-drawer-close {
    position: absolute; top: 18px; right: 18px; z-index: 5; width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; color: var(--lx-ink); border: 1px solid var(--lx-line); cursor: pointer;
    transition: background-color .3s ease, color .3s ease, transform .3s ease;
}
body.dark-theme .lx-drawer-close { background: #121F3F; color: #F5F1E8; }
@media (hover: hover) { .lx-drawer-close:hover { background: var(--lx-gold); color: #fff; border-color: var(--lx-gold); transform: rotate(90deg); } }
.lx-drawer-close:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 3px; }
.lx-drawer-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); align-items: start; }
.lx-drawer-gallery { position: sticky; top: 0; padding: clamp(20px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.lx-gallery-main { position: relative; aspect-ratio: 4 / 5; background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); overflow: hidden; touch-action: pan-y; }
body.dark-theme .lx-gallery-main { background: #121F3F; }
.lx-gallery-img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 5%; box-sizing: border-box; user-select: none; }
.lx-gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--lx-ink); border: 1px solid var(--lx-line); cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
}
.lx-gallery-nav.prev { left: 12px; } .lx-gallery-nav.next { right: 12px; }
.lx-gallery-nav[hidden] { display: none; }
@media (hover: hover) { .lx-gallery-nav:hover { background: var(--lx-ink); color: #fff; } }
.lx-gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.lx-gallery-thumbs[hidden] { display: none; }
.lx-gallery-thumb { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 1px solid var(--lx-line); border-radius: 4px; background: #fff; cursor: pointer; overflow: hidden; opacity: .7; transition: opacity .3s ease, border-color .3s ease; }
.lx-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 4px; box-sizing: border-box; }
.lx-gallery-thumb.is-active, .lx-gallery-thumb:focus-visible { opacity: 1; border-color: var(--lx-gold); outline: none; }
.lx-drawer-info { padding: clamp(64px, 6vw, 80px) clamp(20px, 3vw, 44px) clamp(28px, 4vw, 48px) 0; display: flex; flex-direction: column; gap: 14px; }
.lx-drawer-category { margin: 0; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold); font-weight: 500; }
.lx-drawer-title { margin: 0; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem) !important; line-height: 1.12; font-weight: 500 !important; }
.lx-drawer-price { margin: 0; font-size: 1.35rem; display: flex; align-items: baseline; gap: 12px; }
.lx-drawer-price s { color: var(--lx-muted); font-size: 1rem; }
.lx-drawer-soldout { font-style: normal; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--lx-ink); color: #fff; }
.lx-drawer-buy { margin-top: 6px; }
.lx-drawer-trust { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--lx-line); display: grid; gap: 8px; }
.lx-drawer-trust li { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--lx-ink-soft); }
.lx-drawer-trust svg { color: var(--lx-gold); flex: 0 0 auto; }
.lx-drawer-sections { margin-top: 10px; border-top: 1px solid var(--lx-line); }
.lx-drawer-tagline { margin: 16px 0 0; font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--lx-ink-soft); }
.lx-drawer-intro { padding: 16px 0 6px; font-weight: 300; line-height: 1.7; }
.lx-drawer-intro p { margin: 0 0 10px; }
.lx-acc { border-bottom: 1px solid var(--lx-line); }
.lx-acc-summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none;
    font-family: var(--font-serif); font-size: 1.22rem; font-weight: 600; color: var(--lx-ink);
}
.lx-acc-summary::-webkit-details-marker { display: none; }
.lx-acc-summary svg { flex: 0 0 auto; color: var(--lx-gold); transition: transform .4s var(--lx-ease); }
.lx-acc[open] .lx-acc-summary svg { transform: rotate(45deg); }
.lx-acc-summary:focus-visible { outline: 2px solid var(--lx-gold); outline-offset: 2px; }
.lx-acc-body { padding: 0 0 18px; font-weight: 300; line-height: 1.7; font-size: .98rem; }
.lx-acc-body p, .lx-acc-body ul, .lx-acc-body ol { margin: 0 0 10px; }
.lx-acc-body ul, .lx-acc-body ol { padding-left: 18px; list-style: disc; }
.lx-acc-body li { margin: 0 0 6px; }
.lx-acc-body h3, .lx-acc-body h4 { margin: 14px 0 6px; font-size: 1.05rem !important; }
.lx-acc-body table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 6px 0 12px; }
.lx-acc-body td, .lx-acc-body th { padding: 8px 6px; border-bottom: 1px solid var(--lx-line); vertical-align: top; text-align: left; }
.lx-acc-body thead td { font-weight: 500; }
.lx-acc-body img { max-width: 100%; height: auto; }
.lx-acc-body b, .lx-acc-body strong { font-weight: 500; }
.lx-drawer-note { margin: 10px 0 0; font-size: .78rem; color: var(--lx-muted); line-height: 1.5; }
.lx-drawer-empty { padding: 18px 0; color: var(--lx-muted); }
body.lx-drawer-open .lx-float { opacity: 0; pointer-events: none; }
@media (max-width: 860px) {
    .lx-drawer-panel { width: 100%; }
    .lx-drawer-scroll { grid-template-columns: 1fr; }
    .lx-drawer-gallery { position: static; padding: 64px 18px 0; }
    .lx-gallery-main { aspect-ratio: 1 / 1; }
    .lx-drawer-info { padding: 18px 18px 110px; }
    .lx-drawer-buy { position: sticky; bottom: 0; z-index: 3; margin: 0 -18px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: var(--lx-cream); border-top: 1px solid var(--lx-line); order: 99; }
}

/* ---------- 6. Opiniones de clientes ---------- */
.lx-reviews { background: var(--lx-beige); }
.lx-reviews-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.lx-reviews-intro p { color: var(--lx-ink-soft); font-weight: 300; line-height: 1.75; margin: 16px 0 0; }
.lx-reviews-empty { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; padding: 20px 22px; border: 1px dashed rgba(177, 144, 76, .5); border-radius: var(--lx-radius); background: rgba(255, 255, 255, .5); }
body.dark-theme .lx-reviews-empty { background: rgba(255, 255, 255, .04); }
.lx-reviews-empty svg { flex: 0 0 auto; color: var(--lx-gold); margin-top: 2px; }
.lx-reviews-empty p { margin: 0 !important; font-size: .92rem; }
.lx-review-form { background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; box-shadow: var(--lx-shadow); }
body.dark-theme .lx-review-form { background: #121F3F; }
.lx-review-form .lx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lx-field { display: grid; gap: 6px; }
.lx-field label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--lx-ink-soft); }
.lx-field input, .lx-field select, .lx-field textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--lx-line); border-radius: 4px; background: var(--lx-cream); color: var(--lx-ink);
    font-family: var(--font-sans); font-size: .96rem; transition: border-color .3s ease, box-shadow .3s ease;
}
.lx-field input:focus, .lx-field select:focus, .lx-field textarea:focus { outline: none; border-color: var(--lx-gold); box-shadow: 0 0 0 3px rgba(177, 144, 76, .18); }
.lx-field textarea { min-height: 120px; resize: vertical; }
.lx-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.lx-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lx-stars label { cursor: pointer; color: #D9D3C7; font-size: 1.7rem; line-height: 1; transition: color .2s ease, transform .2s ease; letter-spacing: 0; text-transform: none; }
.lx-stars input:checked ~ label, .lx-stars label:hover, .lx-stars label:hover ~ label { color: var(--lx-gold); }
.lx-stars input:focus-visible + label { outline: 2px solid var(--lx-gold); outline-offset: 2px; border-radius: 3px; }
.lx-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--lx-ink-soft); }
.lx-consent input { margin-top: 3px; accent-color: var(--lx-gold); }
.lx-consent a { color: var(--lx-gold); text-decoration: underline; text-underline-offset: 2px; }
.lx-review-form .lx-btn { justify-self: start; min-height: 52px; padding: 0 34px; }
.lx-review-form .lx-btn[disabled] { opacity: .6; cursor: wait; }
.lx-form-note { margin: 0; font-size: .76rem; color: var(--lx-muted); }
.lx-review-success { display: none; gap: 10px; text-align: center; padding: 20px 0; }
.lx-review-success svg { color: var(--lx-gold); margin: 0 auto; }
.lx-review-success h3 { margin: 0; }
.lx-review-form.is-sent > :not(.lx-review-success) { display: none; }
.lx-review-form.is-sent .lx-review-success { display: grid; }
@media (max-width: 900px) {
    .lx-reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .lx-review-form .lx-row { grid-template-columns: 1fr; }
}

/* ---------- 7. Imágenes sin recortes ---------- */
/* Tarjetas «¿Piel envejecida?»: las fotos son cuadradas */
.card-image { aspect-ratio: 1 / 1 !important; background: #F6F3EE; }
.card-image img { object-fit: contain !important; }
/* Slider de especiales: cada banner con su proporción, sobre el mismo fondo oscuro de las imágenes */
.slider-wrapper { aspect-ratio: 3 / 1 !important; background: #050912; }
.card-slide-image img { object-fit: contain !important; }
/* Portada de cada categoría: el fondo deja de recortarse; se muestra como franja completa */
.lx-cat-cover { position: relative; margin: 0; background: #050912; }
.lx-cat-cover img { width: 100%; height: auto; display: block; }

/* ---------- 8. Páginas de categoría ---------- */
.section-boutique-hero { padding-top: clamp(130px, 14vw, 170px) !important; padding-bottom: clamp(50px, 6vw, 80px) !important; }
.lx-pillars { background: var(--lx-cream); border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); }
.lx-pillars-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.lx-pillars-head .boutique-categories-accent-line { margin: 16px auto 0; }
.lx-pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.lx-pillar {
    display: flex; flex-direction: column; gap: 12px; padding: 34px 28px; background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius);
    transition: transform .4s var(--lx-ease), box-shadow .4s ease, border-color .4s ease;
}
body.dark-theme .lx-pillar { background: #121F3F; }
@media (hover: hover) { .lx-pillar:hover { transform: translateY(-5px); box-shadow: var(--lx-shadow); border-color: rgba(177, 144, 76, .35); } }
.lx-pillar-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; color: var(--lx-gold); line-height: 1; }
.lx-pillar h3 { margin: 0; font-size: 1.3rem !important; font-weight: 500 !important; color: var(--lx-ink); }
.lx-pillar p { margin: 0; font-size: .95rem; line-height: 1.65; font-weight: 300; color: var(--lx-ink-soft); }
.lx-pillars-note { margin: 20px 0 0; text-align: center; font-size: .78rem; color: var(--lx-muted); }

/* Encabezado de catálogo en páginas de categoría */
.products-header { align-items: center; }
.selected-category-badge { background: transparent; padding: 0; border-radius: 0; opacity: 1; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lx-gold); }
.satura-free-shipping-banner-wrapper { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- 9. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .lx-product, [data-lx] { opacity: 1 !important; transform: none !important; }
    .lx-ticker-track { animation: none !important; }
    .newsletter-illustration-container { animation: none !important; }
    .hero-banner-img { animation: none !important; }
    .lx-product-frame { transition: none !important; }
}

/* ---------- Varios ---------- */
.lx-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.main-footer .footer-col-title { font-family: var(--font-sans) !important; font-size: .72rem !important; letter-spacing: .22em !important; }
.footer-menu a { transition: color .3s ease, padding-left .3s var(--lx-ease); }
@media (hover: hover) { .footer-menu a:hover { color: var(--lx-gold-light); padding-left: 6px; } }
.cookie-banner .btn-primary, .cookie-banner .btn-outline { min-height: 46px; }

/* Figura de apoyo en los pilares (imagen completa, sin recortes) */
.lx-pillars-figure { max-width: 520px; margin: 0 auto clamp(28px, 4vw, 44px); border-radius: var(--lx-radius); overflow: hidden; border: 1px solid var(--lx-line); box-shadow: var(--lx-shadow); }
.lx-pillars-figure img { width: 100%; height: auto; display: block; }
.lx-field-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--lx-ink-soft); }

/* Producto sin foto publicada (solo ocurre si en Shopify falta la imagen) */
.lx-product-noimg { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; padding: 12%; text-align: center; background: repeating-linear-gradient(135deg, rgba(177,144,76,.08) 0 10px, transparent 10px 20px); }
.lx-product-noimg span { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; color: var(--lx-ink); }
.lx-product-noimg small { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lx-muted); }
.lx-gallery-main.is-empty .lx-gallery-img { display: none; }
.lx-gallery-main.is-empty::after { content: "Foto pendiente"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lx-muted); }
