:root {
    --loex-red: #cb111b;
    --loex-red-dark: #aa0d15;
    --loex-cream: #f8f3ec;
    --loex-ink: #211812;
    --loex-muted: #71645b;
    --loex-white: #ffffff;
    --loex-header-height: 76px;
}

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--loex-ink); }
body.loex-menu-open { overflow: hidden; }

.loex-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.loex-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(32,24,18,.08);
    transition: box-shadow .25s ease, background .25s ease;
}
.loex-header.is-scrolled { box-shadow: 0 12px 35px rgba(34,25,20,.10); }
.loex-header__inner {
    height: var(--loex-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.loex-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.loex-brand__logo { display: block; width: 112px; height: auto; }
.loex-brand__logo--dark { display: none; }

.loex-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.loex-nav a {
    position: relative;
    color: #241c18;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}
.loex-nav a:hover, .loex-nav a.is-active { color: var(--loex-red); }
.loex-nav a.is-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -9px;
    height: 2px;
    background: var(--loex-red);
    border-radius: 999px;
}

.loex-header__actions { display: flex; align-items: center; gap: 12px; }
.loex-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 9px;
    padding: 12px 18px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.loex-btn:hover { transform: translateY(-1px); }
.loex-btn--primary { background: var(--loex-red); color: #fff !important; }
.loex-btn--primary:hover { background: var(--loex-red-dark); }
.loex-btn--ghost { color: #fff !important; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.72); }
.loex-btn--ghost:hover { background: #fff; color: var(--loex-ink) !important; }
.loex-btn--lg { padding: 15px 22px; font-size: 15px; }

.loex-menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border: 0;
    background: transparent;
    padding: 10px;
}
.loex-menu-toggle span { display: block; height: 2px; margin: 5px 0; background: #261c17; border-radius: 4px; }

.loex-mobile-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    background: rgba(18,12,9,.50);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}
.loex-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1310;
    width: min(360px, 88vw);
    padding: 26px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .28s ease;
}
.loex-menu-open .loex-mobile-overlay { opacity: 1; visibility: visible; }
.loex-menu-open .loex-mobile-menu { transform: translateX(0); }
.loex-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid #eee4dc; }
.loex-mobile-menu__head img { width: 105px; }
.loex-mobile-menu__close { border: 0; background: transparent; font-size: 32px; line-height: 1; }
.loex-mobile-menu nav { display: grid; gap: 3px; padding: 22px 0; }
.loex-mobile-menu nav a { padding: 12px 0; color: #2b211c; text-decoration: none; font-size: 17px; font-weight: 600; border-bottom: 1px solid #f2ebe5; }
.loex-mobile-menu nav .loex-mobile-menu__order { margin-top: 12px; text-align: center; color: #fff; background: var(--loex-red); border-radius: 8px; border: 0; }
.loex-mobile-menu__social { display: flex; gap: 10px; }
.loex-mobile-menu__social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--loex-cream); color: var(--loex-red); }

.loex-hero {
    position: relative;
    min-height: 720px;
    padding-top: var(--loex-header-height);
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.loex-hero__background, .loex-hero__overlay { position: absolute; inset: 0; }
.loex-hero__background { background-size: cover; background-position: center center; transform: scale(1.01); }
.loex-hero__overlay {
    background: linear-gradient(90deg, rgba(13,8,5,.92) 0%, rgba(13,8,5,.78) 38%, rgba(13,8,5,.35) 63%, rgba(13,8,5,.12) 100%);
}
.loex-hero__content { position: relative; z-index: 2; padding-top: 42px; padding-bottom: 42px; }
.loex-hero__copy { max-width: 680px; }
.loex-hero__eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .17em;
}
.loex-hero h1 {
    margin: 0 0 22px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(47px, 5.3vw, 78px);
    line-height: .99;
    letter-spacing: -.035em;
    text-shadow: 0 4px 26px rgba(0,0,0,.22);
}
.loex-hero h1 span { color: var(--loex-red); }
.loex-hero__copy > p {
    max-width: 590px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.90);
    font-size: 18px;
    line-height: 1.6;
}
.loex-hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 38px; }
.loex-hero__meta { display: flex; align-items: stretch; flex-wrap: wrap; gap: 0; }
.loex-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 3px 26px 3px 0;
    margin-right: 26px;
    border-right: 1px solid rgba(255,255,255,.20);
    color: #fff;
    text-decoration: none !important;
}
.loex-hero__meta-item:last-child { border-right: 0; }
.loex-hero__meta-item > i { font-size: 22px; color: #fff; }
.loex-hero__meta-item span { display: grid; gap: 2px; font-size: 12px; color: rgba(255,255,255,.74); }
.loex-hero__meta-item strong { color: #fff; font-size: 13px; font-weight: 700; }
.loex-hero__meta-link:hover strong { color: #fff; }

.loex-hero__social {
    position: absolute;
    z-index: 3;
    right: 28px;
    top: 50%;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}
.loex-hero__social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(203,17,27,.92);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 9px 22px rgba(0,0,0,.22);
    transition: transform .2s ease;
}
.loex-hero__social a:hover { color: #fff; transform: translateY(-2px); }
.loex-hero__scroll {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 18px;
    color: rgba(255,255,255,.85);
    transform: translateX(-50%);
    animation: loexBounce 1.8s infinite;
}
@keyframes loexBounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,7px)} }

/* Ajustes temporales para que las secciones heredadas respiren debajo del nuevo hero. */
#about { position: relative; z-index: 1; background: var(--loex-cream); }

@media (max-width: 1080px) {
    .loex-nav { gap: 18px; }
    .loex-nav a { font-size: 13px; }
    .loex-header__order span { display: none; }
}
@media (max-width: 900px) {
    .loex-nav { display: none; }
    .loex-menu-toggle { display: block; }
    .loex-header__order { display: none; }
    .loex-hero { min-height: 690px; }
    .loex-hero__overlay { background: linear-gradient(90deg, rgba(13,8,5,.90), rgba(13,8,5,.57)); }
    .loex-hero__social { display: none; }
}
@media (max-width: 640px) {
    :root { --loex-header-height: 68px; }
    .loex-container { width: min(100% - 28px, 1180px); }
    .loex-brand__logo { width: 96px; }
    .loex-hero { min-height: 640px; }
    .loex-hero__content { padding-top: 28px; padding-bottom: 58px; }
    .loex-hero h1 { font-size: 45px; }
    .loex-hero__copy > p { font-size: 16px; line-height: 1.55; }
    .loex-hero__actions { gap: 10px; }
    .loex-btn--lg { width: 100%; }
    .loex-hero__meta { display: grid; gap: 14px; }
    .loex-hero__meta-item { width: 100%; border-right: 0; margin: 0; padding: 0; }
}

/* =========================================================
   FASE 2 · Experiencias + productos dinámicos
   ========================================================= */
.loex-section-heading { max-width: 720px; }
.loex-section-heading--center { margin: 0 auto 44px; text-align: center; }
.loex-section-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--loex-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.loex-section-heading h2 {
    margin: 0;
    color: #241711;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 700;
}
.loex-section-heading h2 em { color: var(--loex-red); font-style: normal; }
.loex-section-heading p { margin: 16px 0 0; color: #6f625c; font-size: 16px; line-height: 1.75; }

.loex-experiences { padding: 84px 0 42px; background: #fffaf4; }
.loex-experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.loex-experience-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(76,49,35,.08);
    border-radius: 20px;
    box-shadow: 0 16px 44px rgba(63,37,24,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.loex-experience-card:hover { transform: translateY(-5px); box-shadow: 0 22px 54px rgba(63,37,24,.13); }
.loex-experience-card__media { height: 245px; background: #f2e8de; overflow: hidden; }
.loex-experience-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.loex-experience-card:hover .loex-experience-card__media img { transform: scale(1.035); }
.loex-experience-card__body { position: relative; padding: 32px 28px 30px; }
.loex-experience-card__icon {
    position: absolute; top: -29px; left: 26px;
    width: 58px; height: 58px; display: grid; place-items: center;
    color: #fff; background: var(--loex-red); border: 6px solid #fff; border-radius: 50%;
    box-shadow: 0 9px 24px rgba(196,22,28,.25); font-size: 19px;
}
.loex-experience-card h3 { margin: 5px 0 10px; color: #241711; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; }
.loex-experience-card p { min-height: 76px; margin: 0 0 18px; color: #75675f; font-size: 14px; line-height: 1.7; }
.loex-experience-card__body > a { color: var(--loex-red); font-size: 14px; font-weight: 800; text-decoration: none !important; }
.loex-experience-card__body > a i { margin-left: 5px; font-size: 12px; transition: transform .2s ease; }
.loex-experience-card__body > a:hover i { transform: translateX(4px); }
.loex-experience-benefits {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px;
    padding: 28px 0 0; color: #54453e; font-size: 13px; font-weight: 700;
}
.loex-experience-benefits span { display: inline-flex; align-items: center; gap: 9px; }
.loex-experience-benefits i { color: var(--loex-red); font-size: 17px; }

.loex-featured { padding: 76px 0 88px; background: #fff; }
.loex-featured__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.loex-view-all { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--loex-red); font-weight: 800; text-decoration: none !important; }
.loex-view-all:hover { color: #9e1117; }
.loex-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.loex-product-card {
    overflow: hidden; background: #fff; border: 1px solid #eee6df; border-radius: 16px;
    box-shadow: 0 10px 30px rgba(62,36,23,.06); transition: transform .22s ease, box-shadow .22s ease;
}
.loex-product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(62,36,23,.11); }
.loex-product-card__media { position: relative; aspect-ratio: 1 / .9; overflow: hidden; background: #f7f1eb; }
.loex-product-card__media > a { display: block; width: 100%; height: 100%; }
.loex-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.loex-product-card:hover .loex-product-card__media img { transform: scale(1.04); }
.loex-product-card__badge {
    position: absolute; top: 14px; left: 14px; padding: 7px 10px; border-radius: 999px;
    color: #fff; background: var(--loex-red); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
}
.loex-product-card__badge--dark { background: #2b1d17; }
.loex-product-card__actions { position: absolute; top: 13px; right: 13px; display: grid; gap: 8px; opacity: 0; transform: translateX(8px); transition: .2s ease; }
.loex-product-card:hover .loex-product-card__actions { opacity: 1; transform: translateX(0); }
.loex-product-action {
    width: 39px; height: 39px; display: grid; place-items: center; border: 0; border-radius: 50%;
    color: #2f2019; background: rgba(255,255,255,.94); box-shadow: 0 7px 18px rgba(0,0,0,.12); cursor: pointer;
}
.loex-product-action:hover, .loex-product-action--cart { color: #fff; background: var(--loex-red); }
.loex-product-card__body { padding: 18px 17px 17px; }
.loex-product-card__category { display: block; min-height: 17px; margin-bottom: 5px; color: var(--loex-red); font-size: 11px; font-weight: 800; text-transform: uppercase; text-decoration: none !important; }
.loex-product-card h3 { margin: 0 0 13px; font-size: 16px; line-height: 1.3; font-weight: 800; }
.loex-product-card h3 a { color: #2a1c16; text-decoration: none !important; }
.loex-product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.loex-product-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.loex-product-card__price strong { color: var(--loex-red); font-size: 16px; }
.loex-product-card__price del { color: #978b84; font-size: 12px; }
.loex-product-card__mobile-cart { display: none; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--loex-red); border: 0; border-radius: 50%; }
.loex-products-empty { padding: 54px 26px; text-align: center; background: #fff8f1; border: 1px dashed #e7d5c8; border-radius: 20px; }
.loex-products-empty > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 16px; color: #fff; background: var(--loex-red); border-radius: 50%; font-size: 22px; }
.loex-products-empty h3 { margin: 0 0 8px; color: #2a1c16; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; }
.loex-products-empty p { max-width: 560px; margin: 0 auto 22px; color: #786b64; }

.loex-coworking-legacy { padding: 72px 0; background: #f6eee7; }
.loex-coworking-legacy .loex-section-heading { max-width: 850px; margin-bottom: 0; }

@media (max-width: 980px) {
    .loex-experience-grid { grid-template-columns: 1fr; }
    .loex-experience-card { display: grid; grid-template-columns: .95fr 1.05fr; }
    .loex-experience-card__media { height: 100%; min-height: 250px; }
    .loex-experience-card__icon { top: 24px; left: -29px; }
    .loex-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .loex-experiences { padding: 62px 0 28px; }
    .loex-featured { padding: 58px 0 68px; }
    .loex-section-heading--center { margin-bottom: 30px; }
    .loex-featured__head { align-items: flex-start; flex-direction: column; gap: 16px; }
    .loex-experience-card { display: block; }
    .loex-experience-card__media { height: 210px; min-height: 0; }
    .loex-experience-card__icon { top: -29px; left: 24px; }
    .loex-experience-card p { min-height: auto; }
    .loex-experience-benefits { justify-content: flex-start; padding-top: 22px; }
    .loex-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .loex-product-card__media { aspect-ratio: 1 / 1; }
    .loex-product-card__actions { display: none; }
    .loex-product-card__body { padding: 13px 12px 12px; }
    .loex-product-card h3 { font-size: 14px; }
    .loex-product-card__price strong { font-size: 14px; }
    .loex-product-card__mobile-cart { display: grid; flex: 0 0 auto; }
}

/* =========================================================
   FASE 3 · Sobre Loex + Coworking + Loex en unomas.App
   ========================================================= */
.loex-btn--outline {
    color: var(--loex-ink) !important;
    background: transparent;
    border-color: rgba(33,24,18,.22);
}
.loex-btn--outline:hover { background: var(--loex-ink); border-color: var(--loex-ink); color: #fff !important; }

.loex-about { padding: 96px 0; background: #fffaf4; overflow: hidden; }
.loex-about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 76px; align-items: center; }
.loex-about__media { position: relative; min-width: 0; }
.loex-about__image-wrap { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 28px 70px rgba(58,35,22,.14); }
.loex-about__image-wrap::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); border-radius: inherit; pointer-events: none; }
.loex-about__image-wrap img { display: block; width: 100%; min-height: 520px; height: 100%; object-fit: cover; }
.loex-about__stamp {
    position: absolute; right: -24px; bottom: 34px; width: 210px; padding: 22px 24px;
    background: var(--loex-red); color: #fff; border-radius: 18px; box-shadow: 0 18px 38px rgba(151,13,20,.28);
}
.loex-about__stamp span { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 32px; line-height: 1; }
.loex-about__stamp small { display: block; margin-top: 8px; color: rgba(255,255,255,.78); font-size: 11px; line-height: 1.45; }
.loex-about__text { margin-top: 24px; color: var(--loex-muted); font-size: 16px; line-height: 1.85; }
.loex-about__features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 30px 0; }
.loex-about__features > div { display: flex; gap: 13px; padding: 18px; background: #fff; border: 1px solid rgba(84,54,38,.08); border-radius: 15px; }
.loex-about__features > div > span { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; color: var(--loex-red); background: rgba(203,17,27,.08); border-radius: 50%; }
.loex-about__features p { margin: 0; color: #74665f; font-size: 12px; line-height: 1.5; }
.loex-about__features strong { display: block; margin-bottom: 3px; color: #2b201a; font-size: 13px; }
.loex-about__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.loex-coworking { position: relative; padding: 104px 0; background: #fff; overflow: hidden; }
.loex-coworking::before { content: ''; position: absolute; width: 430px; height: 430px; left: -210px; bottom: -230px; border-radius: 50%; background: rgba(203,17,27,.045); }
.loex-coworking__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 72px; align-items: center; }
.loex-coworking__text { margin-top: 22px; color: var(--loex-muted); font-size: 16px; line-height: 1.8; }
.loex-coworking__benefits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 30px 0; }
.loex-coworking__benefits > div { display: flex; gap: 12px; padding: 16px 14px; border-top: 1px solid #eee4dc; }
.loex-coworking__benefits i { flex: 0 0 auto; width: 34px; color: var(--loex-red); font-size: 18px; padding-top: 2px; }
.loex-coworking__benefits span { color: #786a62; font-size: 12px; line-height: 1.45; }
.loex-coworking__benefits strong { display: block; color: #30231c; font-size: 13px; margin-bottom: 3px; }
.loex-coworking__visual { position: relative; min-height: 520px; }
.loex-coworking__visual > img { width: 100%; height: 520px; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px rgba(47,31,22,.15); }
.loex-coworking__floating-card {
    position: absolute; left: -34px; bottom: 34px; max-width: 330px; display: flex; gap: 14px; align-items: center;
    padding: 20px 22px; background: rgba(255,255,255,.96); border: 1px solid rgba(60,39,27,.08); border-radius: 17px;
    box-shadow: 0 20px 50px rgba(46,29,20,.18); backdrop-filter: blur(8px);
}
.loex-coworking__floating-card > span { flex: 0 0 auto; width: 48px; height: 48px; display: grid; place-items: center; color: #fff; background: var(--loex-red); border-radius: 50%; font-size: 18px; }
.loex-coworking__floating-card strong { display: block; color: #2b1f18; font-family: Georgia, 'Times New Roman', serif; font-size: 15px; line-height: 1.3; }
.loex-coworking__floating-card small { display: block; margin-top: 4px; color: #81736b; font-size: 11px; }

.loex-unomas { padding: 0; background: #fff; }
.loex-unomas__panel {
    position: relative; min-height: 390px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr) 250px;
    gap: 38px; align-items: center; overflow: hidden; padding: 58px 58px 48px;
    color: #fff; background: radial-gradient(circle at 85% 30%, rgba(203,17,27,.19), transparent 30%), linear-gradient(125deg, #20140e 0%, #38251a 58%, #24150f 100%);
    border-radius: 0;
}
.loex-unomas__panel::after { content: ''; position: absolute; right: -100px; bottom: -170px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; }
.loex-unomas__copy, .loex-unomas__benefits, .loex-unomas__phone { position: relative; z-index: 2; }
.loex-section-kicker--light { color: #ff6c72; }
.loex-unomas h2 { margin: 0; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px,4vw,56px); line-height: 1.02; }
.loex-unomas h2 em { color: #ff3a43; font-style: normal; }
.loex-unomas__lead { margin: 14px 0 7px !important; color: #fff !important; font-size: 18px !important; font-weight: 800; }
.loex-unomas__copy > p { max-width: 520px; margin: 0; color: rgba(255,255,255,.68); font-size: 14px; line-height: 1.65; }
.loex-unomas__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.loex-unomas__benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-left: 1px solid rgba(255,255,255,.10); }
.loex-unomas__benefits article { min-height: 190px; padding: 12px 22px; border-right: 1px solid rgba(255,255,255,.10); }
.loex-unomas__benefits article > span { width: 50px; height: 50px; display: grid; place-items: center; color: #ff4149; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 50%; font-size: 19px; }
.loex-unomas__benefits h3 { margin: 16px 0 8px; color: #fff; font-size: 14px; }
.loex-unomas__benefits p { margin: 0; color: rgba(255,255,255,.60); font-size: 11px; line-height: 1.55; }
.loex-unomas__phone { align-self: end; justify-self: center; width: 205px; height: 345px; margin-bottom: -72px; transform: rotate(5deg); }
.loex-phone { height: 100%; padding: 9px; background: #0d0b0a; border: 2px solid #4a413d; border-radius: 31px; box-shadow: 0 24px 45px rgba(0,0,0,.38); }
.loex-phone__screen { position: relative; height: 100%; padding: 36px 14px 15px; overflow: hidden; color: #38251a; background: #fffaf4; border-radius: 23px; }
.loex-phone__notch { position: absolute; z-index: 4; top: 14px; left: 50%; width: 78px; height: 18px; background: #0d0b0a; border-radius: 0 0 13px 13px; transform: translateX(-50%); }
.loex-phone__brand { color: var(--loex-red); font-family: Georgia, 'Times New Roman', serif; font-size: 31px; font-weight: 700; }
.loex-phone__screen > small { display: block; margin-top: 7px; color: #766860; font-size: 10px; }
.loex-phone__points { margin-top: 18px; padding: 13px; color: #fff; background: var(--loex-red); border-radius: 12px; font-size: 11px; font-weight: 800; }
.loex-phone__promo { margin-top: 14px; padding: 15px; background: #efe4d9; border-radius: 12px; }
.loex-phone__promo span { display: block; color: #9b7d6c; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.loex-phone__promo strong { display: block; margin-top: 5px; color: #35251d; font-size: 11px; line-height: 1.35; }
.loex-phone__button { margin-top: 14px; padding: 10px; color: #fff; background: #34251e; border-radius: 8px; text-align: center; font-size: 10px; font-weight: 800; }

@media (max-width: 1080px) {
    .loex-about__grid, .loex-coworking__grid { gap: 46px; }
    .loex-unomas__panel { grid-template-columns: 1fr 1.25fr; padding-right: 48px; }
    .loex-unomas__phone { display: none; }
}
@media (max-width: 900px) {
    .loex-about, .loex-coworking { padding: 76px 0; }
    .loex-about__grid, .loex-coworking__grid { grid-template-columns: 1fr; gap: 42px; }
    .loex-about__media { max-width: 680px; }
    .loex-about__stamp { right: 20px; }
    .loex-coworking__visual { order: -1; max-width: 720px; width: 100%; min-height: auto; }
    .loex-coworking__visual > img { height: 440px; }
    .loex-coworking__floating-card { left: 20px; }
    .loex-unomas__panel { grid-template-columns: 1fr; gap: 34px; padding: 52px 38px; }
    .loex-unomas__benefits { border-left: 0; border-top: 1px solid rgba(255,255,255,.10); padding-top: 26px; }
}
@media (max-width: 640px) {
    .loex-about, .loex-coworking { padding: 60px 0; }
    .loex-about__image-wrap img { min-height: 390px; }
    .loex-about__stamp { position: relative; right: auto; bottom: auto; width: calc(100% - 24px); margin: -34px auto 0; }
    .loex-about__features, .loex-coworking__benefits { grid-template-columns: 1fr; }
    .loex-about__actions .loex-btn, .loex-coworking__actions .loex-btn { width: 100%; }
    .loex-coworking__visual > img { height: 360px; border-radius: 20px; }
    .loex-coworking__floating-card { position: relative; left: auto; bottom: auto; max-width: none; margin: -28px 14px 0; }
    .loex-unomas__panel { padding: 44px 22px; }
    .loex-unomas__benefits { grid-template-columns: 1fr; }
    .loex-unomas__benefits article { min-height: auto; padding: 18px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.10); }
    .loex-unomas__actions .loex-btn { width: 100%; }
}


/* =========================================================
   FASE 4 · Eventos + Galería + Testimonios + Blog
   ========================================================= */
.loex-events { padding: 100px 0; background: #fffaf4; }
.loex-events__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(70,45,30,.08);
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(55,34,22,.11);
}
.loex-events__media { position: relative; min-height: 590px; overflow: hidden; }
.loex-events__media > img { width: 100%; height: 100%; object-fit: cover; }
.loex-events__media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(30,16,10,.72) 0%, rgba(30,16,10,.04) 58%);
}
.loex-events__badge {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 32px;
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px 22px;
    color: #fff;
    background: rgba(26,15,10,.68);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 17px;
    backdrop-filter: blur(10px);
}
.loex-events__badge > span {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--loex-red);
    border-radius: 50%;
}
.loex-events__badge strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: 16px; }
.loex-events__badge small { display: block; margin-top: 4px; color: rgba(255,255,255,.72); font-size: 11px; }
.loex-events__content { padding: 68px 58px; align-self: center; }
.loex-events__types { display: grid; gap: 0; margin: 32px 0; border-top: 1px solid #eee4dc; }
.loex-events__types > div { display: grid; grid-template-columns: 44px 1fr; column-gap: 13px; padding: 17px 0; border-bottom: 1px solid #eee4dc; }
.loex-events__types > div > span {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--loex-red);
    background: rgba(203,17,27,.07);
    border-radius: 50%;
}
.loex-events__types strong { color: #2e211a; font-size: 13px; }
.loex-events__types small { margin-top: 3px; color: #7a6b63; font-size: 11px; line-height: 1.4; }
.loex-events__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.loex-gallery { padding: 96px 0; background: #fff; }
.loex-gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 38px; margin-bottom: 38px; }
.loex-gallery__filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.loex-gallery__filters button {
    padding: 9px 14px;
    color: #66574f;
    background: #fffaf4;
    border: 1px solid #eadfd7;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: .2s ease;
}
.loex-gallery__filters button:hover,
.loex-gallery__filters button.is-active {
    color: #fff;
    background: var(--loex-red);
    border-color: var(--loex-red);
}
.loex-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    grid-auto-rows: 260px;
    gap: 15px;
}
.loex-gallery-card { min-width: 0; overflow: hidden; border-radius: 17px; transition: opacity .22s ease, transform .22s ease; }
.loex-gallery-card--large { grid-row: span 2; }
.loex-gallery-card.is-hidden { display: none; }
.loex-gallery-card__link { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; text-decoration: none !important; }
.loex-gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.loex-gallery-card:hover img { transform: scale(1.045); }
.loex-gallery-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 23px;
    color: #fff;
    background: linear-gradient(0deg, rgba(29,16,10,.70), rgba(29,16,10,0) 62%);
    opacity: .88;
    transition: opacity .25s ease;
}
.loex-gallery-card:hover .loex-gallery-card__overlay { opacity: 1; }
.loex-gallery-card__copy strong { display: block; margin-bottom: 5px; color: #fff; font-size: 14px; }
.loex-gallery-card__copy small { color: rgba(255,255,255,.78); font-size: 10px; font-weight: 700; }
.loex-gallery__empty {
    padding: 58px 28px;
    text-align: center;
    color: #73665f;
    background: #fffaf4;
    border: 1px dashed #dfd0c5;
    border-radius: 20px;
}
.loex-gallery__empty > i { display: block; margin-bottom: 12px; color: var(--loex-red); font-size: 32px; }
.loex-gallery__empty strong { color: #2e211a; font-size: 16px; }
.loex-gallery__empty p { margin: 7px 0 0; font-size: 12px; }

.loex-testimonials { padding: 96px 0; background: #fffaf4; }
.loex-testimonials__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.loex-testimonial {
    position: relative;
    padding: 26px 24px 28px;
    background: #fff;
    border: 1px solid rgba(75,47,31,.08);
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(60,36,23,.07);
}
.loex-testimonial__top { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.loex-testimonial__avatar {
    width: 48px;
    height: 48px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--loex-red);
    border-radius: 50%;
    font-weight: 900;
}
.loex-testimonial__avatar img { width: 100%; height: 100%; object-fit: cover; }
.loex-testimonial__top strong { display: block; color: #2e211a; font-size: 13px; }
.loex-testimonial__stars { margin-top: 4px; color: #e6a51f; font-size: 10px; letter-spacing: 1px; }
.loex-testimonial__quote { align-self: start; color: rgba(203,17,27,.12); font-size: 30px; }
.loex-testimonial h3 { margin: 22px 0 8px; color: #2d2019; font-family: Georgia, 'Times New Roman', serif; font-size: 19px; }
.loex-testimonial > p { margin: 0; color: #75675f; font-size: 13px; line-height: 1.7; }

.loex-blog { padding: 96px 0 104px; background: #fff; }
.loex-blog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 34px; margin-bottom: 38px; }
.loex-blog__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.loex-blog-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee4dc;
    border-radius: 18px;
    box-shadow: 0 12px 34px rgba(58,35,22,.06);
    transition: transform .22s ease, box-shadow .22s ease;
}
.loex-blog-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(58,35,22,.11); }
.loex-blog-card__media { display: block; height: 230px; overflow: hidden; background: #f2e7df; }
.loex-blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.loex-blog-card:hover .loex-blog-card__media img { transform: scale(1.04); }
.loex-blog-card__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--loex-red); font-size: 36px; }
.loex-blog-card__body { padding: 23px 22px 25px; }
.loex-blog-card__date { color: #9a8b82; font-size: 10px; font-weight: 700; }
.loex-blog-card h3 { margin: 10px 0 11px; font-family: Georgia, 'Times New Roman', serif; font-size: 21px; line-height: 1.25; }
.loex-blog-card h3 a { color: #2d2019; text-decoration: none !important; }
.loex-blog-card p { min-height: 64px; margin: 0 0 18px; color: #796b63; font-size: 12px; line-height: 1.7; }
.loex-blog-card__more { display: inline-flex; align-items: center; gap: 7px; color: var(--loex-red); font-size: 11px; font-weight: 900; text-decoration: none !important; }

@media (max-width: 900px) {
    .loex-events, .loex-gallery, .loex-testimonials, .loex-blog { padding: 76px 0; }
    .loex-events__panel { grid-template-columns: 1fr; }
    .loex-events__media { min-height: 440px; }
    .loex-events__content { padding: 48px 40px; }
    .loex-gallery__head, .loex-blog__head { align-items: flex-start; flex-direction: column; }
    .loex-gallery__filters { justify-content: flex-start; }
    .loex-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .loex-testimonials__grid, .loex-blog__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .loex-events, .loex-gallery, .loex-testimonials, .loex-blog { padding: 60px 0; }
    .loex-events__panel { border-radius: 20px; }
    .loex-events__media { min-height: 360px; }
    .loex-events__badge { left: 16px; right: 16px; bottom: 16px; }
    .loex-events__content { padding: 38px 22px; }
    .loex-events__actions .loex-btn { width: 100%; }
    .loex-gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
    .loex-gallery-card--large { grid-row: auto; }
    .loex-testimonials__grid, .loex-blog__grid { grid-template-columns: 1fr; }
    .loex-blog__head .loex-view-all { white-space: normal; }
}


/* =========================================================
   FASE 5 · Contacto + Footer
   ========================================================= */
.loex-contact {
    position: relative;
    padding: 105px 0;
    overflow: hidden;
    background: #f7efe8;
}
.loex-contact::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -170px;
    top: -180px;
    border-radius: 50%;
    background: rgba(203,17,27,.05);
}
.loex-contact__head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 42px;
}
.loex-contact__quick {
    display: grid;
    gap: 9px;
}
.loex-contact__quick > a {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 13px;
    align-items: center;
    min-height: 64px;
    padding: 10px 15px 10px 11px;
    color: #33251e;
    text-decoration: none !important;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(70,42,28,.08);
    border-radius: 15px;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.loex-contact__quick > a:hover {
    transform: translateX(4px);
    background: #fff;
    box-shadow: 0 10px 28px rgba(50,30,20,.08);
}
.loex-contact__quick > a > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--loex-red);
    border-radius: 50%;
}
.loex-contact__quick small {
    display: block;
    margin-bottom: 3px;
    color: #97887e;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.loex-contact__quick strong {
    display: block;
    color: #33251e;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.loex-contact__quick > a > i {
    color: #aa9a90;
    font-size: 11px;
}
.loex-contact__layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(380px, .88fr);
    gap: 22px;
    align-items: stretch;
}
.loex-contact__map-card,
.loex-contact__form-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(70,42,28,.08);
    border-radius: 24px;
    box-shadow: 0 22px 60px rgba(57,35,23,.09);
}
.loex-contact__map-card {
    display: flex;
    min-height: 610px;
    flex-direction: column;
}
.loex-contact__map {
    flex: 1 1 auto;
    width: 100%;
    min-height: 510px;
}
.loex-contact__location {
    display: grid;
    grid-template-columns: 46px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 20px 22px;
    background: #fff;
}
.loex-contact__location-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--loex-red);
    border-radius: 50%;
}
.loex-contact__location small {
    display: block;
    margin-bottom: 4px;
    color: #a09086;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.loex-contact__location strong {
    display: block;
    color: #30221b;
    font-size: 12px;
}
.loex-contact__directions {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    color: var(--loex-red) !important;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}
.loex-contact__form-card {
    padding: 42px 38px;
}
.loex-contact__eyebrow {
    display: block;
    margin-bottom: 7px;
    color: var(--loex-red);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .11em;
}
.loex-contact__form-card > h3 {
    margin: 0;
    color: #2d2019;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(30px, 3vw, 42px);
}
.loex-contact__form-card > p {
    margin: 10px 0 27px;
    color: #786a62;
    font-size: 12px;
    line-height: 1.65;
}
.loex-contact-form {
    display: grid;
    gap: 15px;
}
.loex-contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}
.loex-contact-form label {
    display: grid;
    gap: 7px;
    margin: 0;
}
.loex-contact-form label > span {
    color: #54443b;
    font-size: 10px;
    font-weight: 800;
}
.loex-contact-form input,
.loex-contact-form textarea {
    margin: 0;
    padding: 13px 14px;
    color: #30231c;
    background: #fcf8f4;
    border: 1px solid #e8ddd5;
    border-radius: 11px;
    outline: none;
    box-shadow: none;
    font-size: 12px;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.loex-contact-form textarea {
    min-height: 125px;
    resize: vertical;
}
.loex-contact-form input:focus,
.loex-contact-form textarea:focus {
    background: #fff;
    border-color: rgba(203,17,27,.5);
    box-shadow: 0 0 0 3px rgba(203,17,27,.07);
}
.loex-contact-form__submit {
    width: 100%;
    margin-top: 3px;
    justify-content: center;
    border: 0;
}

.loex-footer {
    position: relative;
    padding: 0 0 24px;
    color: rgba(255,255,255,.72);
    background: #251813;
}
.loex-footer__newsletter {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(410px, .8fr);
    gap: 60px;
    align-items: center;
    padding: 50px 0;
}
.loex-footer__eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #eea4a7;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.loex-footer__newsletter h2 {
    margin: 0;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(27px, 3vw, 39px);
}
.loex-footer__newsletter p {
    max-width: 560px;
    margin: 9px 0 0;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    line-height: 1.7;
}
.loex-newsletter {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 5px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
}
.loex-newsletter input {
    min-width: 0;
    height: 46px;
    padding: 0 17px;
    color: #fff;
    background: transparent;
    border: 0;
    outline: none;
    box-shadow: none;
    font-size: 11px;
}
.loex-newsletter input::placeholder { color: rgba(255,255,255,.42); }
.loex-newsletter button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 0 20px;
    color: #fff;
    background: var(--loex-red);
    border: 0;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}
.loex-footer__separator {
    height: 1px;
    background: rgba(255,255,255,.09);
}
.loex-footer__grid {
    display: grid;
    grid-template-columns: 1.45fr .7fr 1fr .95fr;
    gap: 48px;
    padding: 55px 0 52px;
}
.loex-footer__brand img {
    width: auto;
    height: 65px;
    object-fit: contain;
}
.loex-footer__brand > p {
    max-width: 320px;
    margin: 22px 0;
    color: rgba(255,255,255,.58);
    font-size: 11px;
    line-height: 1.75;
}
.loex-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.loex-footer__social a {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    color: #fff !important;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}
.loex-footer__social a:hover {
    transform: translateY(-2px);
    background: var(--loex-red);
}
.loex-footer__unomas-icon i {
    font-size: 15px;
}
.loex-footer__column h3 {
    margin: 5px 0 20px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.loex-footer__column > a {
    display: block;
    width: fit-content;
    margin: 0 0 10px;
    color: rgba(255,255,255,.62) !important;
    font-size: 10px;
    text-decoration: none !important;
    transition: color .2s ease, transform .2s ease;
}
.loex-footer__column > a:hover {
    color: #fff !important;
    transform: translateX(3px);
}
.loex-footer__column > p {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 7px;
    margin: 0 0 12px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    line-height: 1.55;
}
.loex-footer__column > p > i {
    margin-top: 2px;
    color: #ee9ca0;
}
.loex-footer__column > p a {
    color: inherit !important;
    text-decoration: none !important;
}
.loex-footer__hours > div {
    color: rgba(255,255,255,.62);
    font-size: 10px;
    line-height: 1.7;
}
.loex-footer__hours p {
    margin: 0 0 5px;
}
.loex-footer__order {
    display: inline-flex !important;
    gap: 8px;
    align-items: center;
    margin-top: 18px !important;
    color: #fff !important;
    font-weight: 900;
}
.loex-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 21px;
    border-top: 1px solid rgba(255,255,255,.09);
}
.loex-footer__bottom p {
    margin: 0;
    color: rgba(255,255,255,.47);
    font-size: 9px;
}
.loex-footer__bottom > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}
.loex-footer__bottom a {
    color: rgba(255,255,255,.48) !important;
    font-size: 9px;
    text-decoration: none !important;
}
.loex-footer__bottom a:hover { color: #fff !important; }
.loex-footer__powered strong { color: #fff; letter-spacing: .03em; }

@media (max-width: 900px) {
    .loex-contact { padding: 78px 0; }
    .loex-contact__head { grid-template-columns: 1fr; gap: 28px; }
    .loex-contact__layout { grid-template-columns: 1fr; }
    .loex-contact__map-card { min-height: 500px; }
    .loex-contact__map { min-height: 410px; }
    .loex-footer__newsletter { grid-template-columns: 1fr; gap: 26px; }
    .loex-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .loex-contact { padding: 62px 0; }
    .loex-contact__quick > a { grid-template-columns: 42px 1fr auto; }
    .loex-contact__map-card { min-height: 430px; }
    .loex-contact__map { min-height: 330px; }
    .loex-contact__location { grid-template-columns: 42px 1fr; }
    .loex-contact__directions { grid-column: 2; }
    .loex-contact__form-card { padding: 32px 20px; }
    .loex-contact-form__row { grid-template-columns: 1fr; }
    .loex-footer__newsletter { padding: 42px 0; }
    .loex-newsletter { grid-template-columns: 1fr; padding: 6px; border-radius: 15px; }
    .loex-newsletter button { width: 100%; border-radius: 10px; }
    .loex-footer__grid { grid-template-columns: 1fr; gap: 30px; padding: 42px 0; }
    .loex-footer__bottom { flex-direction: column; gap: 15px; }
    .loex-footer__bottom > div { justify-content: flex-start; }
}


/* =========================================================
   FASE 6 · Cierre técnico / compatibilidad sin template legacy
   ========================================================= */
html, body {
    min-height: 100%;
}
body {
    overflow-x: hidden;
    background: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.loex-lightbox-open {
    overflow: hidden;
}
img {
    max-width: 100%;
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Preloader mínimo: ya no depende del CSS del template Expresso. */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: #fff;
}
.preloader .spinner {
    width: 50px;
    height: 42px;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
}
.preloader .spinner > div {
    width: 5px;
    height: 28px;
    background: var(--loex-red);
    border-radius: 999px;
    animation: loexLoader 1s infinite ease-in-out;
}
.preloader .spinner .rect2 { animation-delay: -.9s; }
.preloader .spinner .rect3 { animation-delay: -.8s; }
.preloader .spinner .rect4 { animation-delay: -.7s; }
.preloader .spinner .rect5 { animation-delay: -.6s; }
@keyframes loexLoader {
    0%, 40%, 100% { transform: scaleY(.55); opacity: .5; }
    20% { transform: scaleY(1.25); opacity: 1; }
}

/* Mensaje de sesión. */
.message {
    position: fixed;
    z-index: 1500;
    top: 92px;
    left: 50%;
    max-width: min(520px, calc(100% - 32px));
    transform: translateX(-50%);
    padding: 12px 18px;
    color: #fff;
    background: #2e211a;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    font-size: 12px;
}

/* Botón volver arriba. */
#scroll-up {
    position: fixed;
    z-index: 1150;
    right: 30px;
    bottom: 28px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #fff;
    background: #2b1d17;
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}
#scroll-up.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scroll-up:hover {
    background: var(--loex-red);
}

/* Lightbox nativo Loex. */
.loex-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 82px 52px;
    background: rgba(17,10,7,.94);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.loex-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}
.loex-lightbox__figure {
    max-width: min(1180px, 100%);
    max-height: 100%;
    margin: 0;
    text-align: center;
}
.loex-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    margin: 0 auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.38);
}
.loex-lightbox__caption {
    display: block;
    min-height: 24px;
    padding-top: 12px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
}
.loex-lightbox__close,
.loex-lightbox__nav {
    position: absolute;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.loex-lightbox__close:hover,
.loex-lightbox__nav:hover {
    background: var(--loex-red);
}
.loex-lightbox__close {
    top: 22px;
    right: 24px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}
.loex-lightbox__nav {
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
}
.loex-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.04);
}
.loex-lightbox__nav--prev { left: 24px; }
.loex-lightbox__nav--next { right: 24px; }

/* Botones flotantes: la capa unomas.App conserva las reglas base. */
#whatsapp-btn,
#chatbot-btn {
    z-index: 1160;
}
#chatbot-btn:focus-visible,
#whatsapp-btn:focus-visible,
#scroll-up:focus-visible,
.loex-menu-toggle:focus-visible,
.loex-mobile-menu__close:focus-visible {
    outline: 3px solid rgba(203,17,27,.28);
    outline-offset: 3px;
}

@media (max-width: 640px) {
    #scroll-up {
        right: 15px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
    .loex-lightbox {
        padding: 66px 14px 42px;
    }
    .loex-lightbox__nav {
        top: auto;
        bottom: 14px;
        transform: none;
    }
    .loex-lightbox__nav:hover {
        transform: scale(1.04);
    }
    .loex-lightbox__nav--prev { left: calc(50% - 54px); }
    .loex-lightbox__nav--next { right: calc(50% - 54px); }
    .loex-lightbox__close {
        top: 12px;
        right: 14px;
    }
}


/* =========================================================
   FASE 7 · Blog + detalle de artículo
   ========================================================= */
.loex-inner-hero,
.loex-post-hero {
    position: relative;
    padding: 150px 0 82px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 80% 30%, rgba(196,22,28,.22), transparent 28%),
        linear-gradient(135deg, #2b1d17 0%, #1d120e 100%);
}
.loex-inner-hero::after,
.loex-post-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -220px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
}
.loex-breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 34px;
    font-size: 10px;
}
.loex-breadcrumb a {
    color: rgba(255,255,255,.62) !important;
    text-decoration: none !important;
}
.loex-breadcrumb a:hover { color: #fff !important; }
.loex-breadcrumb span { color: rgba(255,255,255,.28); }
.loex-breadcrumb strong { color: #fff; font-weight: 800; }

.loex-inner-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr);
    gap: 60px;
    align-items: center;
}
.loex-inner-hero h1,
.loex-post-hero h1 {
    max-width: 820px;
    margin: 8px 0 18px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    letter-spacing: -.03em;
}
.loex-inner-hero h1 em,
.loex-post-hero h1 em {
    color: #efb0b2;
    font-style: italic;
}
.loex-inner-hero p,
.loex-post-hero p {
    max-width: 700px;
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: 14px;
    line-height: 1.75;
}
.loex-inner-hero__art {
    justify-self: end;
    width: min(100%, 340px);
    padding: 38px 34px;
    text-align: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 26px;
    backdrop-filter: blur(8px);
}
.loex-inner-hero__cup {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    color: #fff;
    background: var(--loex-red);
    border-radius: 50%;
    font-size: 30px;
}
.loex-inner-hero__art strong {
    display: block;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 35px;
    letter-spacing: .12em;
}
.loex-inner-hero__art small {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.52);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .09em;
}

/* Blog listing */
.loex-blog-listing {
    padding: 95px 0 105px;
    background: #fffaf5;
}
.loex-blog-listing__head {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(300px,.65fr);
    gap: 60px;
    align-items: end;
    margin-bottom: 42px;
}
.loex-blog-listing__head h2 {
    margin: 7px 0 0;
    color: #2e211a;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px,4vw,48px);
    line-height: 1.05;
}
.loex-blog-listing__head h2 em { color: var(--loex-red); font-weight: 400; }
.loex-blog-listing__head > p {
    margin: 0;
    color: #7b6c64;
    font-size: 12px;
    line-height: 1.75;
}
.loex-blog-listing__grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}
.loex-blog-listing-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eadfd7;
    border-radius: 20px;
    box-shadow: 0 14px 38px rgba(55,34,22,.07);
    transition: transform .22s ease, box-shadow .22s ease;
}
.loex-blog-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 52px rgba(55,34,22,.12);
}
.loex-blog-listing-card__media {
    display: block;
    height: 270px;
    overflow: hidden;
    background: #e8d8cd;
    text-decoration: none !important;
}
.loex-blog-listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}
.loex-blog-listing-card:hover .loex-blog-listing-card__media img { transform: scale(1.045); }
.loex-blog-listing-card__fallback {
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: #fff;
    text-align: center;
    background:
        linear-gradient(145deg, rgba(196,22,28,.84), rgba(61,31,22,.92)),
        #2e211a;
}
.loex-blog-listing-card__fallback span {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50%;
    font-size: 20px;
}
.loex-blog-listing-card__fallback strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 25px;
    letter-spacing: .08em;
}
.loex-blog-listing-card__fallback small { color: rgba(255,255,255,.72); }
.loex-blog-listing-card__body { padding: 24px 23px 27px; }
.loex-blog-listing-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 13px;
    align-items: center;
    color: #9b8b81;
    font-size: 9px;
    font-weight: 700;
}
.loex-blog-listing-card__meta a {
    color: var(--loex-red) !important;
    text-decoration: none !important;
}
.loex-blog-listing-card h3 {
    margin: 11px 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 23px;
    line-height: 1.22;
}
.loex-blog-listing-card h3 a {
    color: #2d2019 !important;
    text-decoration: none !important;
}
.loex-blog-listing-card__body > p {
    min-height: 66px;
    margin: 0 0 17px;
    color: #766860;
    font-size: 12px;
    line-height: 1.7;
}
.loex-blog-listing-card__read {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--loex-red) !important;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none !important;
}
.loex-pagination {
    margin-top: 44px;
}
.loex-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}
.loex-pagination .page-link {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0 12px;
    color: #57473f;
    background: #fff;
    border: 1px solid #e7dbd2;
    border-radius: 10px;
}
.loex-pagination .active .page-link {
    color: #fff;
    background: var(--loex-red);
    border-color: var(--loex-red);
}
.loex-empty-state {
    max-width: 650px;
    margin: 0 auto;
    padding: 70px 32px;
    text-align: center;
    background: #fff;
    border: 1px dashed #dfd0c5;
    border-radius: 24px;
}
.loex-empty-state > span {
    width: 70px;
    height: 70px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: var(--loex-red);
    background: rgba(196,22,28,.07);
    border-radius: 50%;
    font-size: 28px;
}
.loex-empty-state h3 {
    margin: 0 0 10px;
    color: #2d2019;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
}
.loex-empty-state p {
    margin: 0 0 20px;
    color: #786a62;
    font-size: 12px;
}
.loex-blog-cta,
.loex-post-cta {
    padding: 0 0 90px;
    background: #fffaf5;
}
.loex-blog-cta__card,
.loex-post-cta__card {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
    padding: 42px 44px;
    color: #fff;
    background: #2b1d17;
    border-radius: 24px;
}
.loex-blog-cta__card h2,
.loex-post-cta__card h2 {
    margin: 7px 0 8px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px,3vw,40px);
}
.loex-blog-cta__card h2 em,
.loex-post-cta__card h2 em { color: #efb0b2; font-weight: 400; }
.loex-blog-cta__card p,
.loex-post-cta__card p {
    margin: 0;
    color: rgba(255,255,255,.58);
    font-size: 11px;
}
.loex-blog-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Post */
.loex-post-hero__copy { position: relative; z-index: 1; max-width: 950px; }
.loex-post-meta {
    display: flex;
    gap: 9px 14px;
    flex-wrap: wrap;
    align-items: center;
    color: rgba(255,255,255,.52);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.loex-post-meta a {
    color: #f0adaf !important;
    text-decoration: none !important;
}
.loex-post-main {
    padding: 82px 0 100px;
    background: #fff;
}
.loex-post-article {
    max-width: 920px;
    margin: 0 auto;
}
.loex-post-cover {
    margin: 0 0 40px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 22px 58px rgba(48,29,19,.12);
}
.loex-post-cover img {
    width: 100%;
    display: block;
}
.loex-post-embed {
    margin: 0 0 40px;
    overflow: hidden;
    border-radius: 20px;
    background: #211510;
}
.loex-post-video {
    position: relative;
    aspect-ratio: 16/9;
}
.loex-post-video iframe,
.loex-post-video > .player {
    width: 100%;
    height: 100%;
    border: 0;
}
.loex-post-audio iframe { display: block; border: 0; }
.loex-post-quote {
    position: relative;
    margin: 0 0 40px;
    padding: 42px 46px;
    color: #38281f;
    background: #fff7f1;
    border: 0;
    border-left: 4px solid var(--loex-red);
    border-radius: 0 18px 18px 0;
}
.loex-post-quote > i {
    color: rgba(196,22,28,.18);
    font-size: 30px;
}
.loex-post-quote p {
    margin: 12px 0 10px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 26px;
    line-height: 1.45;
}
.loex-post-quote cite { color: #8c7c72; font-size: 11px; }
.loex-post-slider {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-bottom: 40px;
}
.loex-post-slider__item {
    display: block;
    min-height: 240px;
    overflow: hidden;
    border-radius: 16px;
}
.loex-post-slider__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.loex-post-content {
    color: #493a32;
    font-size: 15px;
    line-height: 1.9;
}
.loex-post-content h1,
.loex-post-content h2,
.loex-post-content h3,
.loex-post-content h4 {
    margin: 1.5em 0 .55em;
    color: #2d2019;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.2;
}
.loex-post-content h2 { font-size: 34px; }
.loex-post-content h3 { font-size: 26px; }
.loex-post-content p { margin: 0 0 1.25em; }
.loex-post-content a { color: var(--loex-red); }
.loex-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}
.loex-post-content blockquote {
    margin: 30px 0;
    padding: 22px 28px;
    background: #fff7f1;
    border-left: 4px solid var(--loex-red);
}
.loex-post-content ul,
.loex-post-content ol { padding-left: 22px; }
.loex-post-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    margin-top: 48px;
    padding: 28px 0;
    border-top: 1px solid #eadfd7;
    border-bottom: 1px solid #eadfd7;
}
.loex-post-signature {
    display: flex;
    align-items: center;
    gap: 15px;
}
.loex-post-signature img {
    width: auto;
    height: 44px;
}
.loex-post-signature span {
    color: #8b7a70;
    font-size: 10px;
}
.loex-post-back {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--loex-red) !important;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none !important;
}
.loex-post-comments {
    margin-top: 60px;
    padding-top: 10px;
}
.loex-post-comments__head h2 {
    margin: 7px 0 28px;
    color: #2d2019;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 32px;
}

@media (max-width: 900px) {
    .loex-inner-hero,
    .loex-post-hero { padding: 132px 0 68px; }
    .loex-inner-hero__grid { grid-template-columns: 1fr; }
    .loex-inner-hero__art { justify-self: start; }
    .loex-blog-listing { padding: 76px 0 86px; }
    .loex-blog-listing__head { grid-template-columns: 1fr; gap: 18px; }
    .loex-blog-listing__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .loex-post-main { padding: 68px 0 84px; }
}

@media (max-width: 640px) {
    .loex-inner-hero,
    .loex-post-hero { padding: 116px 0 56px; }
    .loex-inner-hero__art { width: 100%; }
    .loex-blog-listing { padding: 60px 0 70px; }
    .loex-blog-listing__grid { grid-template-columns: 1fr; }
    .loex-blog-listing-card__media { height: 240px; }
    .loex-blog-cta__card,
    .loex-post-cta__card { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
    .loex-post-main { padding: 55px 0 68px; }
    .loex-post-slider { grid-template-columns: 1fr; }
    .loex-post-footer { flex-direction: column; align-items: flex-start; }
    .loex-post-quote { padding: 30px 24px; }
    .loex-post-quote p { font-size: 21px; }
}


/* =========================================================
   FASE 8 · Shop + Producto + Wishlist
   ========================================================= */

/* ---------- SHOP ---------- */
.loex-shop {
    min-height: 100vh;
    background: #fffaf5;
}
.loex-shop-hero {
    position: relative;
    padding: 145px 0 76px;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 76% 25%, rgba(196,22,28,.26), transparent 26%),
        linear-gradient(135deg, #2b1d17, #1c110d);
}
.loex-shop-hero-inner {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(300px,.72fr);
    gap: 60px;
    align-items: center;
}
.loex-shop-hero-copy h1 {
    margin: 8px 0 15px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(44px,6vw,74px);
    line-height: .98;
}
.loex-shop-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.64);
    font-size: 13px;
    line-height: 1.75;
}
.loex-shop-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 25px;
}
.loex-shop-quick-links a {
    padding: 8px 13px;
    color: rgba(255,255,255,.8) !important;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}
.loex-shop-quick-links a:hover {
    color: #fff !important;
    background: var(--loex-red);
}
.loex-shop-hero-art {
    position: relative;
    min-height: 260px;
    display: grid;
    place-items: center;
    text-align: center;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 28px;
    overflow: hidden;
}
.loex-shop-bubble {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.1);
}
.loex-shop-bubble-a { width: 180px; height: 180px; top:-55px; right:-45px; }
.loex-shop-bubble-b { width: 90px; height: 90px; bottom:20px; left:30px; }
.loex-shop-bubble-c { width: 42px; height: 42px; top:35px; left:55px; background:rgba(196,22,28,.4); }
.loex-shop-hero-word {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 12px;
    place-items: center;
    color: #fff;
}
.loex-shop-hero-word > i { font-size: 42px; color: #efb0b2; }
.loex-shop-hero-word > strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    letter-spacing: .12em;
}
.loex-shop-hero-art small {
    position: absolute;
    z-index: 2;
    bottom: 42px;
    color: rgba(255,255,255,.55);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.loex-shop-main { padding: 55px 0 95px; }
.loex-shop-breadcrumb {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    color: #9c8b80;
    font-size: 10px;
}
.loex-shop-breadcrumb a { color:#76675e !important; text-decoration:none !important; }
.loex-shop-breadcrumb strong { color:#2e211a; }

.loex-shop-toolbar {
    display: grid;
    grid-template-columns: auto 1fr 1fr minmax(220px,1.15fr) minmax(170px,.85fr);
    gap: 12px;
    align-items: end;
    padding: 18px;
    margin-bottom: 44px;
    background: #fff;
    border: 1px solid #eadfd7;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(60,36,23,.06);
}
.loex-shop-view { display:flex; gap:6px; }
.loex-shop-view button {
    width:42px; height:42px; display:grid; place-items:center;
    color:#77685f; background:#fffaf5; border:1px solid #e9ddd4;
    border-radius:10px;
}
.loex-shop-view button.active { color:#fff; background:var(--loex-red); border-color:var(--loex-red); }
.loex-shop-filter,
.loex-shop-sort {
    min-width:0;
}
.loex-shop-filter label,
.loex-shop-sort label {
    display:block; margin-bottom:6px; color:#7a6b62;
    font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.08em;
}
.loex-shop-toolbar select,
.loex-shop-toolbar input {
    width:100% !important;
    height:42px !important;
    margin:0 !important;
    padding:0 12px !important;
    color:#392b23 !important;
    background:#fffaf5 !important;
    border:1px solid #eadfd7 !important;
    border-radius:10px !important;
    box-shadow:none !important;
    outline:none !important;
    font-size:11px !important;
}
.loex-shop-search { position:relative; }
.loex-shop-search > i {
    position:absolute; z-index:2; left:12px; bottom:13px; color:#a08f84; font-size:12px;
}
.loex-shop-search input { padding-left:34px !important; }
.loex-shop-sort .gi-select-inner { width:100% !important; }

.loex-shop-promo-wrap { margin-bottom:55px; }
.loex-shop-section-heading,
.loex-shop-products-head {
    display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:22px;
}
.loex-shop-section-heading h2,
.loex-shop-products-head h2 {
    margin:6px 0 0; color:#2e211a; font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(28px,3vw,40px);
}
.loex-shop-products-head > p {
    max-width:430px; margin:0; color:#807169; font-size:11px; line-height:1.65;
}

/* Cards AJAX genéricas */
#store,
#promotions {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    width:100%;
}
#store > *,
#promotions > * {
    width:auto !important;
    max-width:none !important;
    padding:0 !important;
}
#store .gi-product-content,
#promotions .gi-product-content,
.loex-related-card {
    height:100%;
}
.gi-product-inner {
    position:relative;
    height:100%;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    cursor:default !important;
    background:#fff;
    border:1px solid #eadfd7 !important;
    border-radius:18px !important;
    box-shadow:0 10px 30px rgba(60,36,23,.06);
    transition:transform .2s ease, box-shadow .2s ease;
}
.gi-product-inner:hover { transform:translateY(-4px); box-shadow:0 18px 40px rgba(60,36,23,.1); }
.gi-pro-image-outer { position:relative; width:100%; }
.gi-pro-image { position:relative; overflow:hidden; }
.gi-pro-image .image { display:block !important; pointer-events:auto !important; overflow:hidden; }
.gi-pro-image .main-image,
.gi-pro-image .hover-image {
    width:100% !important;
    height:auto !important;
    aspect-ratio:1/1;
    display:block !important;
    background-size:cover !important;
    background-position:center !important;
}
.gi-pro-image .hover-image { display:none !important; }
.gi-pro-image .flags {
    position:absolute !important;
    z-index:4 !important;
    top:12px !important;
    right:12px !important;
}
.gi-pro-image .flags .sale {
    display:inline-flex !important;
    padding:7px 10px !important;
    color:#fff !important;
    background:var(--loex-red) !important;
    border-radius:999px !important;
    font-size:9px !important;
    font-weight:900 !important;
}
.gi-pro-actions {
    position:absolute !important;
    z-index:5 !important;
    right:10px !important;
    bottom:10px !important;
    display:flex !important;
    gap:6px !important;
}
.gi-pro-actions .gi-btn-group {
    width:36px !important; height:36px !important;
    display:grid !important; place-items:center !important;
    margin:0 !important;
    color:#3d2d25 !important; background:#fff !important;
    border:1px solid #eadfd7 !important; border-radius:50% !important;
    text-decoration:none !important; cursor:pointer;
    box-shadow:0 6px 18px rgba(0,0,0,.1);
}
.gi-pro-actions .gi-btn-group:hover { color:#fff !important; background:var(--loex-red) !important; }
.gi-pro-content {
    flex:1 1 auto;
    display:flex;
    flex-direction:column;
    padding:18px 18px 20px !important;
}
.gi-pro-content h6,
.gi-pro-stitle {
    margin:0 0 6px !important;
    color:var(--loex-red) !important;
    font-size:9px !important;
    font-weight:900 !important;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.gi-pro-title { margin:0 0 10px !important; }
.gi-pro-title a,
.gi-pro-content > a {
    color:#2d2019 !important;
    text-decoration:none !important;
}
.gi-pro-title a { font-family:Georgia,'Times New Roman',serif; font-size:17px !important; line-height:1.25 !important; }
.gi-pro-rat-price {
    margin-top:auto !important;
    display:flex !important;
    flex-wrap:wrap;
    gap:8px !important;
    justify-content:space-between !important;
    align-items:center !important;
}
.gi-pro-rating { display:flex !important; gap:2px; font-size:10px; }
.gi-price { display:flex !important; gap:7px; align-items:baseline; }
.gi-price .new-price { color:#2d2019 !important; font-size:13px !important; font-weight:900 !important; }
.gi-price .old-price { color:#a6988f !important; font-size:10px !important; text-decoration:line-through; }
.gi-info { display:none !important; }
.preload { grid-column:1/-1; min-height:180px; display:grid; place-items:center; }
.preload img { width:40px; height:40px; }

.loex-shop-pagination { margin-top:35px; }
.gi-pro-pagination ul {
    display:flex; flex-wrap:wrap; justify-content:center; gap:7px; margin:0; padding:0; list-style:none;
}
.gi-pro-pagination ul li a,
.gi-pro-pagination ul li span {
    min-width:38px; height:38px; display:grid; place-items:center;
    padding:0 10px; color:#56463d; background:#fff; border:1px solid #eadfd7; border-radius:10px;
    text-decoration:none;
}
.gi-pro-pagination ul li.active a,
.gi-pro-pagination ul li.active span { color:#fff; background:var(--loex-red); border-color:var(--loex-red); }

.loex-shop-help {
    display:flex; justify-content:space-between; gap:30px; align-items:center;
    margin-top:65px; padding:34px 38px; color:#fff; background:#2b1d17; border-radius:22px;
}
.loex-shop-help h3 {
    margin:5px 0 0; color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:29px;
}

/* ---------- ITEM ---------- */
.loex-item { padding-top:92px; background:#fffaf5; }
.loex-item-head { padding:28px 0 10px; }
.loex-item-main { padding:20px 0 90px; }
.loex-item-grid {
    display:grid; grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);
    gap:54px; align-items:start;
}
.loex-item-gallery-card {
    overflow:hidden; padding:12px; background:#fff; border:1px solid #eadfd7;
    border-radius:24px; box-shadow:0 18px 48px rgba(55,34,22,.08);
}
.loex-item-gallery-card .single-product-cover img {
    width:100%; max-height:620px; object-fit:cover; border-radius:16px;
}
.loex-item-thumbs { display:flex; gap:8px; margin-top:10px; }
.loex-item-thumbs .single-slide { width:74px !important; }
.loex-item-thumbs img { width:74px; height:74px; object-fit:cover; border-radius:10px; }
.loex-item-info {
    position:sticky; top:105px; padding:10px 0;
}
.loex-item-category {
    margin-bottom:9px; color:var(--loex-red); font-size:10px; font-weight:900;
    text-transform:uppercase; letter-spacing:.09em;
}
.loex-item-info h1 {
    margin:0 0 12px; color:#2d2019; font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(38px,4.4vw,60px); line-height:1;
}
.loex-item-rating { margin-bottom:20px; }
.loex-item-price-row {
    display:flex; justify-content:space-between; gap:20px; align-items:center;
    padding:19px 0; border-top:1px solid #e9ddd5; border-bottom:1px solid #e9ddd5;
}
.loex-item-price { display:flex; flex-wrap:wrap; gap:9px; align-items:baseline; }
.loex-item-current { color:#2e211a; font-size:25px; font-weight:900; }
.loex-item-old { color:#a19289; font-size:12px; text-decoration:line-through; }
.loex-item-discount {
    padding:5px 8px; color:#fff; background:var(--loex-red); border-radius:999px;
    font-size:9px; font-weight:900;
}
.loex-item-stock {
    display:inline-flex; gap:7px; align-items:center; color:#5e5048; font-size:10px; font-weight:800;
}
.loex-item-stock > span {
    width:9px; height:9px; background:var(--stock-color,#338a5b); border-radius:50%;
}
.loex-item-short { margin:22px 0; color:#70625a; font-size:13px; line-height:1.75; }
.loex-item-facts {
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin:22px 0;
}
.loex-item-facts > div {
    padding:14px; background:#fff; border:1px solid #eadfd7; border-radius:12px;
}
.loex-item-facts span { display:block; margin-bottom:4px; color:#9b8c82; font-size:8px; text-transform:uppercase; }
.loex-item-facts strong { color:#34261f; font-size:11px; }
.loex-item-buy { display:flex; gap:10px; align-items:stretch; margin-top:24px; }
.loex-item-qty {
    display:grid; grid-template-columns:38px 46px 38px; overflow:hidden;
    background:#fff; border:1px solid #e5d9d0; border-radius:12px;
}
.loex-item-qty button { border:0; background:#fff; font-size:18px; }
.loex-item-qty input {
    width:100%; height:48px; padding:0; text-align:center;
    border:0; border-left:1px solid #eee2da; border-right:1px solid #eee2da; box-shadow:none;
}
.loex-item-cart { flex:1; }
.loex-item-cart .loex-btn { width:100%; height:50px; justify-content:center; border:0; }
.loex-item-wishlist {
    width:50px; height:50px; display:grid; place-items:center;
    color:#34261f !important; background:#fff; border:1px solid #e5d9d0; border-radius:12px;
    cursor:pointer; text-decoration:none !important;
}
.loex-item-wishlist:hover { color:#fff !important; background:var(--loex-red); }
.loex-item-reassurance { display:grid; gap:9px; margin-top:24px; }
.loex-item-reassurance > div {
    display:flex; gap:10px; align-items:center; color:#776960; font-size:10px;
}
.loex-item-reassurance i { width:20px; color:var(--loex-red); }

.loex-item-details { margin-top:80px; }
.loex-item-details-head { margin-bottom:22px; }
.loex-item-details-head h2,
.loex-item-related h2 {
    margin:5px 0 0; color:#2d2019; font-family:Georgia,'Times New Roman',serif; font-size:38px;
}
.loex-item-details-card {
    display:grid; grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
    gap:35px; padding:36px; background:#fff; border:1px solid #eadfd7; border-radius:22px;
}
.loex-item-description { color:#574840; font-size:13px; line-height:1.85; }
.loex-item-description img { max-width:100%; height:auto; }
.loex-item-guide {
    align-self:start; padding:28px; color:#fff; background:#2b1d17; border-radius:18px;
}
.loex-item-guide-tag { color:#efb0b2; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.loex-item-guide h3 { margin:9px 0; color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:27px; }
.loex-item-guide p { color:rgba(255,255,255,.6); font-size:11px; line-height:1.7; }
.loex-item-guide .loex-text-link { color:#fff !important; }
.loex-item-related { margin-top:65px; }
.new-product-carousel {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}
.new-product-carousel .owl-stage-outer,
.new-product-carousel .owl-stage,
.new-product-carousel .owl-item { display:contents !important; }

/* ---------- WISHLIST ---------- */
.loex-wishlist-page { min-height:100vh; background:#fffaf5; }
.loex-wishlist-hero {
    padding:145px 0 68px; color:#fff;
    background:linear-gradient(135deg,#2b1d17,#1d120e);
}
.loex-wishlist-hero-inner {
    display:flex; justify-content:space-between; gap:40px; align-items:center;
}
.loex-wishlist-hero h1 {
    margin:6px 0 12px; color:#fff; font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(42px,5vw,68px);
}
.loex-wishlist-hero p { max-width:650px; margin:0; color:rgba(255,255,255,.62); font-size:13px; line-height:1.7; }
.loex-wishlist-heart {
    width:110px; height:110px; display:grid; place-items:center;
    color:#fff; background:rgba(196,22,28,.9); border-radius:50%; font-size:34px;
}
.loex-wishlist-main { padding:65px 0 95px; }
.loex-wishlist-toolbar {
    display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:25px;
}
.loex-wishlist-toolbar h2 {
    margin:5px 0 0; color:#2d2019; font-family:Georgia,'Times New Roman',serif; font-size:34px;
}
.loex-wishlist-card {
    overflow:hidden; background:#fff; border:1px solid #eadfd7; border-radius:20px;
    box-shadow:0 16px 42px rgba(55,34,22,.07);
}
.loex-wishlist-table { width:100%; border-collapse:collapse; }
.loex-wishlist-table th {
    padding:15px 16px; color:#8a7a70; background:#fff8f3; border-bottom:1px solid #eadfd7;
    font-size:9px; text-transform:uppercase; letter-spacing:.07em;
}
.loex-wishlist-table td {
    padding:15px 16px; border-bottom:1px solid #f0e6df; color:#54463e; font-size:11px;
}
.loex-wishlist-image-wrap {
    width:64px; height:64px; overflow:hidden; border-radius:12px; background:#f2e6dd;
}
.loex-wishlist-image { width:100%; height:100%; object-fit:cover; }
.loex-wishlist-product-name strong { display:block; margin-top:4px; color:#30221b; font-size:12px; }
.loex-wishlist-type { color:var(--loex-red); font-size:8px; font-weight:900; text-transform:uppercase; }
.loex-wishlist-price { color:#2e211a; font-weight:900; }
.loex-wishlist-status {
    display:inline-flex; gap:7px; align-items:center; font-size:9px; font-weight:800;
}
.loex-wishlist-status > i {
    width:8px; height:8px; display:block; background:var(--wishlist-status); border-radius:50%;
}
.loex-wishlist-actions { display:flex; gap:7px; }
.loex-wishlist-cart,
.loex-wishlist-remove {
    min-height:36px; display:inline-flex; gap:7px; align-items:center; justify-content:center;
    padding:0 11px; text-decoration:none !important; border-radius:9px;
}
.loex-wishlist-cart { color:#fff !important; background:var(--loex-red); }
.loex-wishlist-remove { width:36px; padding:0; color:#6b5b52 !important; background:#fff7f1; }
.loex-wishlist-bottom {
    display:flex; justify-content:space-between; gap:30px; align-items:center;
    margin-top:30px; padding:30px 34px; color:#fff; background:#2b1d17; border-radius:20px;
}
.loex-wishlist-bottom h3 {
    margin:5px 0 0; color:#fff; font-family:Georgia,'Times New Roman',serif; font-size:27px;
}

@media (max-width:1000px) {
    .loex-shop-toolbar { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .loex-shop-view { grid-column:1/-1; }
    #store,#promotions,.new-product-carousel { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .loex-item-grid { grid-template-columns:1fr; }
    .loex-item-info { position:static; }
    .loex-item-details-card { grid-template-columns:1fr; }
}
@media (max-width:700px) {
    .loex-shop-hero { padding:120px 0 58px; }
    .loex-shop-hero-inner { grid-template-columns:1fr; }
    .loex-shop-hero-art { min-height:220px; }
    .loex-shop-toolbar { grid-template-columns:1fr; }
    .loex-shop-view { grid-column:auto; }
    .loex-shop-section-heading,.loex-shop-products-head,.loex-shop-help {
        flex-direction:column; align-items:flex-start;
    }
    #store,#promotions,.new-product-carousel { grid-template-columns:1fr; }
    .loex-item { padding-top:80px; }
    .loex-item-facts { grid-template-columns:1fr; }
    .loex-item-buy { flex-wrap:wrap; }
    .loex-item-cart { flex-basis:calc(100% - 60px); }
    .loex-item-details-card { padding:24px 20px; }
    .loex-wishlist-hero { padding:120px 0 55px; }
    .loex-wishlist-heart { display:none; }
    .loex-wishlist-toolbar,.loex-wishlist-bottom { flex-direction:column; align-items:flex-start; }
    .loex-wishlist-card { overflow:visible; background:transparent; border:0; box-shadow:none; }
    .loex-wishlist-table,
    .loex-wishlist-table tbody,
    .loex-wishlist-table tr,
    .loex-wishlist-table td { display:block; width:100%; }
    .loex-wishlist-table thead { display:none; }
    .loex-wishlist-table tr {
        margin-bottom:13px; padding:15px; background:#fff; border:1px solid #eadfd7; border-radius:15px;
    }
    .loex-wishlist-table td {
        display:grid; grid-template-columns:95px 1fr; gap:10px; align-items:center;
        padding:8px 0; border:0;
    }
    .loex-wishlist-table td::before {
        content:attr(data-label); color:#9a8a80; font-size:8px; font-weight:900; text-transform:uppercase;
    }
}


/* =========================================================
   FASE 9 · Carrito + Checkout + Confirmación
   ========================================================= */
.loex-commerce-primary-bg { background: var(--loex-red) !important; }
.loex-commerce-dark-bg { background: #2b1d17 !important; }

/* Breadcrumb comercial compartido */
.loex-cart-page,
.loex-checkout-page,
.loex-thankyou-page {
    min-height: 100vh;
    padding-top: 92px;
    background: #fffaf5;
}
.loex-cart-page .gi-breadcrumb,
.loex-checkout-page .gi-breadcrumb,
.loex-thankyou-page .gi-breadcrumb {
    margin: 0 0 10px !important;
    padding: 30px 0 0;
}
.loex-cart-page .gi_breadcrumb_inner,
.loex-checkout-page .gi_breadcrumb_inner,
.loex-thankyou-page .gi_breadcrumb_inner {
    max-width: 1180px;
    margin: 0 auto !important;
    padding: 18px 22px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 20px;
    background: #fff !important;
    border: 1px solid #eadfd7 !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 24px rgba(55,34,22,.05);
}
.loex-cart-page .gi-breadcrumb-title,
.loex-checkout-page .gi-breadcrumb-title,
.loex-thankyou-page .gi-breadcrumb-title {
    margin: 0 !important;
    color: #2d2019 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}
.loex-cart-page .gi-breadcrumb-list,
.loex-checkout-page .gi-breadcrumb-list,
.loex-thankyou-page .gi-breadcrumb-list {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
.loex-cart-page .gi-breadcrumb-item,
.loex-checkout-page .gi-breadcrumb-item,
.loex-thankyou-page .gi-breadcrumb-item {
    display: inline-flex !important;
    align-items: center;
    color: #9b8b81 !important;
    font-size: 10px !important;
}
.loex-cart-page .gi-breadcrumb-item + .gi-breadcrumb-item::before,
.loex-checkout-page .gi-breadcrumb-item + .gi-breadcrumb-item::before,
.loex-thankyou-page .gi-breadcrumb-item + .gi-breadcrumb-item::before {
    content: "/";
    margin: 0 7px;
    color: #c8bbb2;
}
.loex-cart-page .gi-breadcrumb-item a,
.loex-checkout-page .gi-breadcrumb-item a,
.loex-thankyou-page .gi-breadcrumb-item a {
    color: #695a51 !important;
    text-decoration: none !important;
}
.loex-cart-page .gi-breadcrumb-item.active,
.loex-checkout-page .gi-breadcrumb-item.active,
.loex-thankyou-page .gi-breadcrumb-item.active {
    color: var(--loex-red) !important;
    font-weight: 800 !important;
}

/* Contenedor central para utilidades Tailwind heredadas */
.loex-cart-page .gi-cart-section > div,
.loex-checkout-page .gi-checkout-section > div,
.loex-thankyou-page .gi-cart-section > div {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto !important;
}

/* ---------- CARRITO ---------- */
.loex-cart-page .gi-cart-section {
    padding: 30px 0 90px !important;
}
.loex-cart-page .gi-cart-content {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(340px, .6fr);
    gap: 24px;
    align-items: start;
}
.loex-cart-page .gi-cart-inner {
    min-width: 0;
}
.loex-cart-page .table-content {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eadfd7;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(55,34,22,.07);
}
.loex-cart-page table,
.loex-thankyou-page table {
    width: 100%;
    border-collapse: collapse;
}
.loex-cart-page thead tr,
.loex-thankyou-page thead tr {
    background: #fff8f3 !important;
    border-bottom: 1px solid #eadfd7 !important;
}
.loex-cart-page th,
.loex-thankyou-page th {
    padding: 15px 13px !important;
    color: #86766c !important;
    font-size: 9px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
}
.loex-cart-page tbody td,
.loex-thankyou-page tbody td {
    padding: 14px 13px !important;
    color: #564840 !important;
    font-size: 11px !important;
    border-bottom: 1px solid #f0e7e0 !important;
}
.loex-cart-page .gi-cart-pro-name a,
.loex-thankyou-page .gi-cart-pro-name a {
    display: flex !important;
    gap: 12px;
    align-items: center;
    color: #30231c !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}
.loex-cart-page .gi-cart-pro-img,
.loex-thankyou-page .gi-cart-pro-img {
    flex: 0 0 auto;
    width: 58px !important;
    height: 58px !important;
    margin-right: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 11px;
}
.loex-cart-page .cart-qty-plus-minus {
    width: 92px !important;
    height: 38px !important;
    display: grid !important;
    grid-template-columns: 1fr 28px;
    align-items: stretch;
    margin: 0 auto !important;
    overflow: hidden;
    background: #fffaf5;
    border: 1px solid #e6dad1 !important;
    border-radius: 9px !important;
}
.loex-cart-page .cart-plus-minus {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    color: #3d2f27 !important;
    background: transparent;
    border: 0 !important;
    text-align: center;
    font-size: 11px !important;
    box-shadow: none !important;
}
.loex-cart-page .ms_cart_qtybtn {
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid #e6dad1;
}
.loex-cart-page .ms_qtybtn {
    display: grid;
    place-items: center;
    color: #67584f;
    cursor: pointer;
    font-size: 10px;
    line-height: 1;
}
.loex-cart-page .ms_qtybtn:first-child {
    border-bottom: 1px solid #e6dad1;
}
.loex-cart-page .gi-cart-pro-remove a {
    color: #927f74 !important;
}
.loex-cart-page .gi-cart-pro-remove a:hover {
    color: var(--loex-red) !important;
}

/* Panel de envío/resumen en carrito */
.loex-cart-page .gi-cart-rightside,
.loex-cart-page .gi-cart-sidebar-wrap,
.loex-cart-page .gi-cart-summary {
    min-width: 0;
}
.loex-cart-page .gi-cart-sidebar-wrap,
.loex-cart-page .gi-cart-summary {
    padding: 24px !important;
    background: #fff !important;
    border: 1px solid #eadfd7 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(55,34,22,.06);
}
.loex-cart-page .gi-cart-sidebar-wrap h4,
.loex-cart-page .gi-cart-summary h4,
.loex-cart-page .gi-cart-summary-title {
    margin: 0 0 18px !important;
    color: #2d2019 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 21px !important;
}
.loex-cart-page input[type="text"],
.loex-cart-page select {
    width: 100% !important;
    height: 46px !important;
    margin: 0 0 12px !important;
    padding: 0 12px !important;
    color: #44362e !important;
    background: #fffaf5 !important;
    border: 1px solid #e6dad1 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 11px !important;
}
.loex-cart-page input[type="radio"] {
    accent-color: var(--loex-red);
}
.loex-cart-page #shipping_block,
.loex-cart-page #pickup_block {
    margin-top: 15px;
    padding: 18px !important;
    background: #fffaf5;
    border: 1px solid #eadfd7 !important;
    border-radius: 13px !important;
}
.loex-cart-page #coupon_wrapper {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
}
.loex-cart-page .apply-coupon,
.loex-cart-page a[href="/checkout"] {
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 18px !important;
    color: #fff !important;
    background: var(--loex-red) !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}
.loex-cart-page tfoot th {
    background: #fff !important;
}
.loex-cart-page tfoot tr:last-child th {
    padding-top: 17px !important;
    color: #2d2019 !important;
    font-size: 12px !important;
}
.loex-cart-page #totalPagar2 {
    color: var(--loex-red) !important;
    font-size: 16px !important;
}

/* ---------- CHECKOUT ---------- */
.loex-checkout-page .gi-checkout-section {
    padding: 30px 0 95px !important;
}
.loex-checkout-page .gi-checkout-section > div > div {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    gap: 25px;
    align-items: start;
}
.loex-checkout-page .gi-checkout-leftside {
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    padding: 0 !important;
}
.loex-checkout-page .gi-checkout-rightside {
    grid-column: 2;
    grid-row: 1;
    width: auto !important;
    padding: 0 !important;
    position: sticky;
    top: 108px;
}
.loex-checkout-page .gi-sidebar-wrap,
.loex-checkout-page .gi-checkout-wrap,
.loex-checkout-page #user_account_box {
    padding: 24px !important;
    margin: 0 0 18px !important;
    background: #fff !important;
    border: 1px solid #eadfd7 !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 34px rgba(55,34,22,.055);
}
.loex-checkout-page .gi-sidebar-title,
.loex-checkout-page .gi-checkout-title {
    margin: 0 0 20px !important;
    color: #2d2019 !important;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}
.loex-checkout-page .gi-checkout-summary > div {
    padding: 8px 0;
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px;
    color: #77685f;
    font-size: 11px;
}
.loex-checkout-page .gi-checkout-summary-total {
    margin-top: 12px !important;
    padding-top: 16px !important;
    border-top: 1px solid #eadfd7 !important;
}
.loex-checkout-page #totalPagar2 {
    color: var(--loex-red) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
}
.loex-checkout-page #your_productlist {
    margin-top: 18px;
}
.loex-checkout-page .gi-product-inner {
    margin-bottom: 9px;
    padding: 9px;
    display: grid !important;
    grid-template-columns: 62px 1fr;
    gap: 10px;
    align-items: center;
    background: #fffaf5;
    border: 1px solid #eee2da !important;
    border-radius: 12px !important;
    box-shadow: none;
}
.loex-checkout-page .gi-product-inner:hover {
    transform: none;
    box-shadow: none;
}
.loex-checkout-page .gi-cart-pro-img {
    width: 62px !important;
    height: 62px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 9px;
}
.loex-checkout-page .list-payment {
    margin: 0;
    padding: 0 !important;
    list-style: none;
}
.loex-checkout-page .list-payment > li {
    margin-bottom: 9px;
    padding: 13px 12px;
    background: #fffaf5;
    border: 1px solid #eadfd7;
    border-radius: 11px;
}
.loex-checkout-page input[type="radio"],
.loex-checkout-page input[type="checkbox"] {
    accent-color: var(--loex-red);
}
.loex-checkout-page input[type="text"],
.loex-checkout-page input[type="email"],
.loex-checkout-page input[type="tel"],
.loex-checkout-page select,
.loex-checkout-page textarea {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 0 14px !important;
    padding: 0 12px !important;
    color: #44362e !important;
    background: #fffaf5 !important;
    border: 1px solid #e6dad1 !important;
    border-radius: 10px !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 11px !important;
}
.loex-checkout-page textarea {
    min-height: 110px !important;
    padding-top: 12px !important;
}
.loex-checkout-page select {
    display: block !important;
}
.loex-checkout-page .gi-bl-select-inner,
.loex-checkout-page .gi-rg-select-inner {
    display: block !important;
    height: auto !important;
    margin: 0 !important;
    border: 0 !important;
}
.loex-checkout-page .gi-bill-half {
    width: calc(50% - 7px) !important;
    display: inline-block;
    vertical-align: top;
}
.loex-checkout-page .gi-bill-half:nth-child(even) {
    margin-left: 10px;
}
.loex-checkout-page #user_account_box {
    display: flex;
    gap: 13px;
    align-items: center;
}
.loex-checkout-page #user_avatar_img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}
.loex-checkout-page #logout_btn {
    margin-left: auto;
    min-height: 38px;
    padding: 0 13px;
    color: #695a51;
    background: #fff7f1;
    border: 1px solid #eadfd7;
    border-radius: 9px;
    font-size: 9px;
    font-weight: 900;
}
.loex-checkout-page #shipping_addresses {
    display: grid;
    gap: 10px;
    margin-bottom: 15px;
}
.loex-checkout-page .gi-pay-agree {
    display: flex !important;
    gap: 9px;
    align-items: flex-start;
    margin-top: 12px;
}
.loex-checkout-page .gi-pay-agree input {
    position: static !important;
    flex: 0 0 auto;
    width: 15px !important;
    height: 15px !important;
    margin-top: 2px;
}
.loex-checkout-page .gi-pay-agree label {
    padding-left: 0 !important;
    color: #6f6057;
    font-size: 10px;
}
.loex-checkout-page #comprarBtn {
    min-height: 46px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 0 20px !important;
    color: #fff !important;
    background: var(--loex-red) !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
}
.loex-checkout-page #comprarBtn.disabled {
    opacity: .42;
    pointer-events: none;
}

/* ---------- THANK YOU ---------- */
.loex-thankyou-page .gi-cart-section {
    padding: 30px 0 95px !important;
}
.loex-thankyou-page .gi-cart-content {
    position: relative;
    padding-top: 128px;
}
.loex-thankyou-page .gi-cart-content::before {
    content: "\f00c";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
    color: #fff;
    background: var(--loex-red);
    border-radius: 50%;
    font-family: "Font Awesome 6 Free";
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(196,22,28,.2);
}
.loex-thankyou-page .gi-cart-content > h3 {
    margin: 0 0 8px !important;
    color: #2d2019 !important;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 35px !important;
}
.loex-thankyou-page .gi-cart-content > p {
    max-width: 650px;
    margin: 0 auto 32px !important;
    color: #786a62;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}
.loex-thankyou-page .gi-cart-inner {
    max-width: 950px;
    margin: 0 auto;
}
.loex-thankyou-page .table-content {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eadfd7;
    border-radius: 20px;
    box-shadow: 0 16px 42px rgba(55,34,22,.07);
}
.loex-thankyou-page tfoot th {
    background: #fff !important;
}
.loex-thankyou-page #totalPagar2 {
    color: var(--loex-red) !important;
    font-size: 15px !important;
}

/* Inputs y botones compartidos generados por scripts */
.loex-cart-page button,
.loex-checkout-page button,
.loex-cart-page a,
.loex-checkout-page a {
    transition: .2s ease;
}
.loex-cart-page .gi-btn-2,
.loex-checkout-page .gi-btn-2 {
    border: 0 !important;
}
.loex-cart-page .gi-btn-2:hover,
.loex-checkout-page .gi-btn-2:hover {
    filter: brightness(.94);
}

/* Responsive */
@media (max-width: 991px) {
    .loex-cart-page .gi-cart-content {
        grid-template-columns: 1fr;
    }
    .loex-checkout-page .gi-checkout-section > div > div {
        grid-template-columns: 1fr;
    }
    .loex-checkout-page .gi-checkout-leftside,
    .loex-checkout-page .gi-checkout-rightside {
        grid-column: 1;
        width: auto !important;
    }
    .loex-checkout-page .gi-checkout-leftside {
        grid-row: 1;
    }
    .loex-checkout-page .gi-checkout-rightside {
        grid-row: 2;
        position: static;
    }
}

@media (max-width: 767px) {
    .loex-cart-page,
    .loex-checkout-page,
    .loex-thankyou-page {
        padding-top: 80px;
    }
    .loex-cart-page .gi_breadcrumb_inner,
    .loex-checkout-page .gi_breadcrumb_inner,
    .loex-thankyou-page .gi_breadcrumb_inner {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start !important;
    }
    .loex-cart-page .table-content,
    .loex-thankyou-page .table-content {
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .loex-cart-page table,
    .loex-cart-page tbody,
    .loex-cart-page tr,
    .loex-cart-page td,
    .loex-thankyou-page table,
    .loex-thankyou-page tbody,
    .loex-thankyou-page tr,
    .loex-thankyou-page td {
        display: block;
        width: 100%;
    }
    .loex-cart-page thead,
    .loex-thankyou-page thead {
        display: none;
    }
    .loex-cart-page tbody tr,
    .loex-thankyou-page tbody tr {
        margin-bottom: 13px;
        padding: 14px;
        background: #fff;
        border: 1px solid #eadfd7 !important;
        border-radius: 15px;
    }
    .loex-cart-page tbody td,
    .loex-thankyou-page tbody td {
        display: grid !important;
        grid-template-columns: 100px 1fr;
        gap: 12px;
        align-items: center;
        width: 100% !important;
        padding: 8px 0 !important;
        border: 0 !important;
        text-align: left !important;
    }
    .loex-cart-page tbody td::before,
    .loex-thankyou-page tbody td::before {
        content: attr(data-label);
        color: #9a8a80;
        font-size: 8px;
        font-weight: 900;
        text-transform: uppercase;
    }
    .loex-cart-page .cart-qty-plus-minus {
        margin: 0 !important;
    }
    .loex-cart-page tfoot,
    .loex-thankyou-page tfoot {
        display: block;
        margin-top: 14px;
        padding: 15px;
        background: #fff;
        border: 1px solid #eadfd7;
        border-radius: 15px;
    }
    .loex-cart-page tfoot tr,
    .loex-thankyou-page tfoot tr {
        display: grid;
        grid-template-columns: 1fr auto;
    }
    .loex-cart-page tfoot th,
    .loex-thankyou-page tfoot th {
        display: block;
        padding: 7px 0 !important;
    }
    .loex-cart-page tfoot th[colspan],
    .loex-thankyou-page tfoot th[colspan] {
        display: none;
    }
    .loex-checkout-page .gi-bill-half {
        width: 100% !important;
        margin-left: 0 !important;
    }
    .loex-thankyou-page .gi-cart-content > h3 {
        font-size: 29px !important;
    }
}


/* =========================================================
   FASE 10 · Auditoría integral final
   ========================================================= */

/* Compensa el header fijo al navegar por anchors internos. */
#experiencias,
#coworking,
#eventos,
#about,
#gallery,
#testimonios,
#blog,
#contact,
#menu,
#loex-online {
    scroll-margin-top: calc(var(--loex-header-height) + 22px);
}

/* Breadcrumb interno de tienda/producto/wishlist. */
.loex-shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 22px;
    color: #9b8b81;
    font-size: 10px;
}
.loex-shop-breadcrumb a {
    color: #75675e !important;
    text-decoration: none !important;
}
.loex-shop-breadcrumb a:hover {
    color: var(--loex-red) !important;
}
.loex-shop-breadcrumb span {
    color: #c5b8af;
}
.loex-shop-breadcrumb strong {
    color: #30231c;
    font-weight: 800;
}

/* Rating compatible con Font Awesome 6. */
.gi-pro-rating,
.gi-single-rating {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}
.gi-pro-rating .fa-star,
.gi-pro-rating .fa-star-half-stroke,
.gi-single-rating .fa-star,
.gi-single-rating .fa-star-half-stroke {
    color: #e5a11d;
    font-size: 11px;
}

/* Evita que acciones JS sin URL provoquen saltos visuales al inicio. */
.gi-btn-group,
.wishlist,
.add-to-cart,
.remove,
#buy-all-wishlist {
    cursor: pointer;
}

/* Estado focus visible coherente en flujo comercial. */
.loex-shop a:focus-visible,
.loex-item a:focus-visible,
.loex-wishlist-page a:focus-visible,
.loex-cart-page a:focus-visible,
.loex-checkout-page a:focus-visible,
.loex-thankyou-page a:focus-visible,
.loex-shop button:focus-visible,
.loex-item button:focus-visible,
.loex-cart-page button:focus-visible,
.loex-checkout-page button:focus-visible {
    outline: 3px solid rgba(203,17,27,.24);
    outline-offset: 3px;
}

/* Pequeña protección para textos largos del catálogo. */
.gi-pro-title,
.loex-blog-listing-card h3,
.loex-product-card h3,
.loex-wishlist-product-name strong {
    overflow-wrap: anywhere;
}
