/* La Matancera Market — Home v1.15.2
 * Capa final: una sola escala visual, sin anchos que generen scroll lateral.
 */
.lmm-home{
  --lmm-ink:#2b211a;
  --lmm-muted:#756b63;
  --lmm-brand:#b65f32;
  --lmm-brand-dark:#743b22;
  --lmm-accent:#d9894f;
  --lmm-cream:#faf6f0;
  --lmm-line:#e8dfd5;
  --lmm-white:#fff;
  width:100%;
  max-width:100%;
  overflow:hidden;
  color:var(--lmm-ink);
  background:var(--lmm-white);
  display:flex;
  flex-direction:column;
}
.lmm-home *,
.lmm-home *::before,
.lmm-home *::after{box-sizing:border-box}
.lmm-container-wide{width:100%;max-width:100%;margin:0}
.lmm-home > .lmm-strip{order:0}
.lmm-home > .lmm-hero{order:1}
.lmm-home > .lmm-benefits{order:2}
.lmm-home > .lmm-cats{order:3}
.lmm-home > .lmm-featured--bestsellers{order:4}
.lmm-home > .lmm-promo-band{order:5}
.lmm-home > #lmm-home-featured{order:6}
.lmm-home > .lmm-final-cta{order:7}
.lmm-home .lmm-wrap{width:min(100%,1280px);max-width:1280px;margin-inline:auto;padding-inline:24px}
.lmm-home h1,.lmm-home h2,.lmm-home h3{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:-.035em}

/* Hero: protagonista, pero no ocupa toda la pantalla. */
.lmm-home .lmm-hero{width:min(calc(100% - 48px),1280px);margin:20px auto 0;border-radius:24px;background:#2b211a;box-shadow:none}
.lmm-home .lmm-hero__slide{height:clamp(390px,40vw,490px)}
.lmm-home .lmm-hero__bg{transform:none;background-position:center}
.lmm-home .lmm-hero__shade{background:linear-gradient(90deg,rgba(28,20,14,.76) 0%,rgba(28,20,14,.45) 43%,rgba(28,20,14,.04) 78%)}
.lmm-home .lmm-hero__content{width:100%;max-width:1180px;padding:46px 40px;justify-content:center}
.lmm-home .lmm-hero__content h1{max-width:670px;margin:0 0 16px;font-size:clamp(42px,5vw,64px);line-height:1.02;color:#fff;text-shadow:none}
.lmm-home .lmm-hero__content p{max-width:610px;margin:0 0 24px;font-size:clamp(16px,1.5vw,19px);line-height:1.55;color:rgba(255,255,255,.9)}
.lmm-home .lmm-btn{min-height:44px;padding:10px 18px;border-radius:999px;font-size:14px;font-weight:750;box-shadow:none;gap:8px}
.lmm-home .lmm-btn--primary{background:var(--lmm-brand);border-color:var(--lmm-brand);color:#fff!important;box-shadow:none}
.lmm-home .lmm-btn--primary:hover{background:var(--lmm-brand-dark);border-color:var(--lmm-brand-dark)}
.lmm-home .lmm-btn--primary .lmm-ico{color:#fff}
.lmm-home .lmm-hero .lmm-btn--primary{background:#fff;border-color:#fff;color:var(--lmm-brand-dark)!important}
.lmm-home .lmm-hero .lmm-btn--primary:hover{background:#f8eee5;border-color:#f8eee5;color:var(--lmm-brand-dark)!important}
.lmm-home .lmm-hero .lmm-btn--primary .lmm-ico{color:var(--lmm-brand-dark)}
.lmm-home .lmm-hero .lmm-btn--ghost{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.55);color:#fff!important}
.lmm-home .lmm-hero .lmm-btn--ghost:hover{background:rgba(255,255,255,.18);border-color:#fff}
.lmm-home .lmm-hero .lmm-btn--ghost .lmm-ico{color:#fff}
.lmm-home .lmm-hero__nav{bottom:14px}

/* Beneficios: barra compacta que genera confianza sin competir con el hero. */
.lmm-home .lmm-benefits{width:min(calc(100% - 48px),1280px);margin:18px auto 0!important;padding:0!important;background:#fff!important;border:1px solid var(--lmm-line);border-radius:18px}
.lmm-home .lmm-benefits__inner{max-width:none;padding:18px 24px;gap:20px}
.lmm-home .lmm-benefit{flex:1}
.lmm-home .lmm-benefit__icon{flex:0 0 40px;width:40px;height:40px;background:#f7eadf;color:var(--lmm-brand-dark)}
.lmm-home .lmm-benefit__title{font-family:Inter,system-ui,sans-serif;font-size:15px;color:var(--lmm-ink)}
.lmm-home .lmm-benefit__desc{font-size:13px;color:var(--lmm-muted)}

/* Categorías: acceso rápido, no tarjetas monumentales. */
.lmm-home .lmm-cats{padding:44px 0 38px;background:var(--lmm-cream)}
.lmm-home .lmm-cats__head{max-width:700px;margin:0 0 26px;text-align:left}
.lmm-home .lmm-cats__eyebrow{margin-bottom:10px;padding:0;border:0;background:transparent;color:var(--lmm-brand-dark);font-size:12px}
.lmm-home .lmm-cats h2{text-align:left;margin:0 0 8px;font-size:clamp(32px,4vw,46px);color:var(--lmm-ink)}
.lmm-home .lmm-cats__head p{font-size:16px;line-height:1.55;color:var(--lmm-muted)}
.lmm-home .lmm-cats__grid{max-width:none;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.lmm-home .lmm-cat{border:1px solid var(--lmm-line);border-radius:18px;box-shadow:none;background:#fff;min-width:0}
.lmm-home .lmm-cat:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(43,36,29,.08);border-color:#dccfbe}
.lmm-home .lmm-cat__media{padding:12px 12px 0}
.lmm-home .lmm-cat__image{min-height:108px;border-radius:14px;background:#f7eee6!important}
.lmm-home .lmm-cat:nth-child(2n) .lmm-cat__image{background:#f7f2e9!important}
.lmm-home .lmm-cat:nth-child(3n) .lmm-cat__image{background:#eef2f8!important}
.lmm-home .lmm-cat__icon{width:62px;height:62px;border-radius:18px;box-shadow:none;background:rgba(255,255,255,.78)!important;color:var(--lmm-brand)!important}
.lmm-home .lmm-cat__icon--modern svg{width:40px;height:40px}
.lmm-home .lmm-cat__body{padding:12px 14px 14px;gap:5px}
.lmm-home .lmm-cat__name{font-size:17px;line-height:1.2}
.lmm-home .lmm-cat__meta{font-size:12px;font-weight:600}
.lmm-home .lmm-cat__arrow{width:auto;height:auto;box-shadow:none;font-size:17px;color:var(--lmm-brand)!important;background:transparent!important}

/* Promociones: máximo tres visibles, mismas proporciones y sin 100vw. */
.lmm-home .lmm-promo-band{width:100%!important;margin:0!important;padding:42px 0!important;background:#fff!important}
.lmm-home .lmm-promo-band__head{width:min(100%,1280px)!important;max-width:1280px!important;margin:0 auto 20px!important;padding:0 24px!important;align-items:flex-end!important}
.lmm-home .lmm-promo-band__eyebrow{margin:0 0 6px!important;color:var(--lmm-brand-dark)!important}
.lmm-home .lmm-promo-band h2{font-size:clamp(30px,3.5vw,42px)!important;color:var(--lmm-ink)!important}
.lmm-home .lmm-promo-carousel{width:min(100%,1280px)!important;max-width:1280px!important;margin:0 auto!important;padding:0 54px!important;overflow:visible!important}
.lmm-home .lmm-promo-carousel__track{grid-auto-columns:minmax(300px,1fr)!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:initial!important;gap:16px!important;overflow:visible!important;padding:0!important}
.lmm-home .lmm-promo-card{width:100%!important;height:230px!important;min-height:230px!important;max-height:230px!important;border-radius:20px!important;border:0!important;box-shadow:none!important}
.lmm-home .lmm-promo-card__content{padding:18px!important}
.lmm-home .lmm-promo-card__badge{min-height:30px!important;padding:6px 11px!important;font-size:11px!important}
.lmm-home .lmm-promo-card__title{max-width:78%!important;margin-top:10px!important;font-size:clamp(21px,2vw,29px)!important;line-height:1.06!important}
.lmm-home .lmm-promo-card__subtitle{max-width:78%!important;margin-top:6px!important;font-size:14px!important;line-height:1.25!important}
.lmm-home .lmm-promo-card__cta{left:18px!important;bottom:16px!important;width:42px!important;height:42px!important}
.lmm-home .lmm-promo-arrow{width:42px!important;height:42px!important}

/* Productos: densidad de comercio real, imagen uniforme y jerarquía clara. */
.lmm-home .lmm-featured,.lmm-home .lmm-featured--bestsellers{margin:0!important;padding:44px 0!important;background:#fff}
.lmm-home .lmm-featured--bestsellers{background:var(--lmm-cream)}
.lmm-home .lmm-featured__head{align-items:center;margin-bottom:22px}
.lmm-home .lmm-featured__head h2{font-size:clamp(30px,3.5vw,42px);color:var(--lmm-ink)}
.lmm-home .lmm-link{color:var(--lmm-brand-dark);font-size:14px}
.lmm-home .lmm-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.lmm-home .lmm-product{min-width:0;border:1px solid var(--lmm-line);border-radius:16px;background:#fff;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.lmm-home .lmm-product:hover{transform:translateY(-3px);border-color:#d9c8b4;box-shadow:0 12px 28px rgba(43,36,29,.08)}
.lmm-home .lmm-product__img{height:auto;aspect-ratio:1/1;background-color:#f7f5f2;background-size:contain;background-repeat:no-repeat;background-position:center;padding:10px}
.lmm-home .lmm-product__body{padding:14px 15px 16px}
.lmm-home .lmm-product__name{min-height:42px;margin:0 0 8px;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.4;color:var(--lmm-ink)}
.lmm-home .lmm-product__price{font-size:20px;color:var(--lmm-brand-dark)}
.lmm-home .lmm-product__badge{display:inline-flex;margin:10px;padding:6px 9px;border-radius:999px;background:#f7eadf;color:var(--lmm-brand-dark);font-size:11px;font-weight:800}

/* Cierre sencillo, sin otro bloque desproporcionado. */
.lmm-home .lmm-final-cta{margin:0!important;padding:22px 0 46px!important;background:#fff}
.lmm-home .lmm-final-cta__card{min-height:190px;padding:34px 38px;border-radius:22px;box-shadow:none;background:#f8eee5!important;color:var(--lmm-ink)!important}
.lmm-home .lmm-final-cta__card::before{display:none!important}
.lmm-home .lmm-final-cta__copy{max-width:680px}
.lmm-home .lmm-final-cta__eyebrow{color:var(--lmm-brand-dark)!important;border-color:#dfb99f!important;background:rgba(255,255,255,.64)!important}
.lmm-home .lmm-final-cta h2{font-size:clamp(28px,3.2vw,40px);color:var(--lmm-ink)!important}
.lmm-home .lmm-final-cta p{font-size:15px;color:var(--lmm-muted)!important}
.lmm-home .lmm-final-cta__actions{gap:10px}
.lmm-home .lmm-final-cta .lmm-btn--primary{background:var(--lmm-brand);border-color:var(--lmm-brand);color:#fff!important}
.lmm-home .lmm-final-cta__ghost{background:transparent!important;border:1px solid #d3a283!important;color:var(--lmm-brand-dark)!important}
.lmm-home .lmm-final-cta__ghost:hover{background:#fff!important;border-color:#b87850!important}
.lmm-home .lmm-final-cta__ghost .lmm-ico{color:var(--lmm-brand-dark)!important}

/* v1.15.1: todos los fondos de sección llegan al mismo borde. El contenido
 * conserva una sola guía de 1280px para evitar el efecto fino/ancho. */
.lmm-home .lmm-cats,
.lmm-home .lmm-featured,
.lmm-home .lmm-featured--bestsellers,
.lmm-home .lmm-promo-band,
.lmm-home .lmm-final-cta{
  width:100vw!important;
  max-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
}
.lmm-home .lmm-cats > .lmm-wrap,
.lmm-home .lmm-featured > .lmm-wrap,
.lmm-home .lmm-final-cta > .lmm-wrap{
  width:min(100%,1280px)!important;
  max-width:1280px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:24px!important;
  padding-right:24px!important;
}
.lmm-home .lmm-cats{padding-top:40px!important;padding-bottom:34px!important}
.lmm-home .lmm-featured,
.lmm-home .lmm-featured--bestsellers{padding-top:38px!important;padding-bottom:38px!important}

@media (max-width:1024px){
  .lmm-home .lmm-cats__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lmm-home .lmm-products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lmm-home .lmm-promo-carousel__track{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column!important;grid-auto-columns:minmax(330px,46vw)!important;overflow-x:auto!important;scroll-snap-type:x proximity}
  .lmm-home .lmm-promo-card{scroll-snap-align:start}
}
@media (max-width:767px){
  .lmm-home .lmm-wrap{padding-inline:16px}
  .lmm-home .lmm-hero{width:calc(100% - 24px);margin-top:12px;border-radius:20px}
  .lmm-home .lmm-hero__slide{height:460px}
  .lmm-home .lmm-hero__shade{background:linear-gradient(0deg,rgba(28,20,14,.84) 0%,rgba(28,20,14,.38) 66%,rgba(28,20,14,.04) 100%)}
  .lmm-home .lmm-hero__content{justify-content:flex-end;padding:38px 22px 54px}
  .lmm-home .lmm-hero__content h1{font-size:36px;max-width:100%}
  .lmm-home .lmm-hero__content p{font-size:15px;line-height:1.45}
  .lmm-home .lmm-hero__cta{gap:9px}
  .lmm-home .lmm-btn{width:auto;min-height:44px;padding:10px 14px;font-size:13px}
  .lmm-home .lmm-benefits{width:calc(100% - 24px);margin-top:12px!important}
  .lmm-home .lmm-benefits__inner{display:grid;grid-template-columns:1fr;padding:10px 16px;gap:0}
  .lmm-home .lmm-benefit{padding:11px 0;border-bottom:1px solid var(--lmm-line)}
  .lmm-home .lmm-benefit:last-child{border-bottom:0}
  .lmm-home .lmm-benefits__sep{display:none}
  .lmm-home .lmm-cats{padding:44px 0 40px}
  .lmm-home .lmm-cats__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lmm-home .lmm-cat__image{min-height:104px}
  .lmm-home .lmm-cat__icon{width:64px;height:64px}
  .lmm-home .lmm-cat__icon--modern svg{width:34px;height:34px}
  .lmm-home .lmm-cat__name{font-size:15px}
  .lmm-home .lmm-cat__meta span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .lmm-home .lmm-promo-band{padding:42px 0!important}
  .lmm-home .lmm-promo-band__head{padding:0 16px!important}
  .lmm-home .lmm-promo-carousel{padding:0 16px!important;overflow:hidden!important}
  .lmm-home .lmm-promo-carousel__track{display:grid!important;grid-template-columns:none;grid-auto-flow:column!important;grid-auto-columns:84vw!important;gap:12px!important;overflow-x:auto!important}
  .lmm-home .lmm-promo-card{height:210px!important;min-height:210px!important;max-height:210px!important}
  .lmm-home .lmm-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .lmm-home .lmm-featured,.lmm-home .lmm-featured--bestsellers{padding:42px 0!important}
  .lmm-home .lmm-featured__head{align-items:flex-end}
  .lmm-home .lmm-featured__head h2{font-size:28px;line-height:1.05}
  .lmm-home .lmm-link{font-size:12px;white-space:nowrap}
  .lmm-home .lmm-product{border-radius:13px}
  .lmm-home .lmm-product__body{padding:11px}
  .lmm-home .lmm-product__name{min-height:38px;font-size:13px;line-height:1.35}
  .lmm-home .lmm-product__price{font-size:17px}
  .lmm-home .lmm-final-cta{padding:12px 0 42px!important}
  .lmm-home .lmm-final-cta__card{padding:28px 22px;border-radius:20px}
  .lmm-home .lmm-cats > .lmm-wrap,
  .lmm-home .lmm-featured > .lmm-wrap,
  .lmm-home .lmm-final-cta > .lmm-wrap{padding-left:16px!important;padding-right:16px!important}
  .lmm-home .lmm-cats{padding-top:34px!important;padding-bottom:30px!important}
  .lmm-home .lmm-featured,
  .lmm-home .lmm-featured--bestsellers{padding-top:32px!important;padding-bottom:32px!important}
}
@media (max-width:390px){
  .lmm-home .lmm-products{grid-template-columns:1fr 1fr}
  .lmm-home .lmm-product__name{font-size:12px}
  .lmm-home .lmm-product__price{font-size:16px}
}

/* v1.15.3: promociones adaptables a la cantidad publicada. */
.lmm-home .lmm-promo-arrow[hidden]{display:none!important}

/* v1.15.4: 1-3 promociones caben completas; no son un carrusel. */
@media (min-width:1025px){
  .lmm-home .lmm-promo-carousel--count-1 .lmm-promo-arrow,
  .lmm-home .lmm-promo-carousel--count-2 .lmm-promo-arrow,
  .lmm-home .lmm-promo-carousel--count-3 .lmm-promo-arrow{
    display:none!important;
  }
}

@media (min-width:1025px){
  .lmm-home .lmm-promo-carousel--count-1 .lmm-promo-carousel__track{
    display:flex!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  .lmm-home .lmm-promo-carousel--count-1 .lmm-promo-card{
    flex:0 1 760px!important;
    max-width:760px!important;
  }
  .lmm-home .lmm-promo-carousel--count-2 .lmm-promo-carousel__track{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:initial!important;
    overflow:visible!important;
  }
  .lmm-home .lmm-promo-carousel--count-3 .lmm-promo-carousel__track{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-auto-flow:initial!important;
    overflow:visible!important;
  }
  .lmm-home .lmm-promo-carousel--count-4 .lmm-promo-carousel__track{
    grid-template-columns:none!important;
    grid-auto-flow:column!important;
    grid-auto-columns:calc((100% - 32px) / 3)!important;
    overflow-x:auto!important;
    scroll-snap-type:x proximity;
  }
  .lmm-home .lmm-promo-carousel--count-4 .lmm-promo-card{scroll-snap-align:start}
}

