/* ═══════════════════════════════════════════════
   MELAJ · Advanced Skin Science
   Custom CSS — subir vía FTP al tema de TiendaNube
   Prefijo .mlj- para no pisar estilos del tema
   ═══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --mlj-cream:      #F5EFE6;
  --mlj-taupe:      #C9BDB0;
  --mlj-teal-light: #6A9BAB;
  --mlj-teal:       #1B5E6C;
  --mlj-teal-dark:  #154D59;
  --mlj-charcoal:   #1C1C1C;
  --mlj-white:      #FFFFFF;
  --mlj-serif:      'Cardo', Georgia, serif;
  --mlj-sans:       'Archivo', sans-serif;
}

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Archivo:wght@300;400;500;600&display=swap');

/* ── RESET SCOPED ── */
.mlj * { box-sizing: border-box; }
.mlj a { text-decoration: none; }

/* ══════════════════
   ①  HERO
   ══════════════════ */
.mlj-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 72vh;
  max-height: 780px;
  overflow: hidden;
}
.mlj-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px 80px 72px;
  background: var(--mlj-cream);
}
.mlj-hero-eyebrow {
  font-family: var(--mlj-sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mlj-teal-light);
  margin-bottom: 20px;
}
.mlj-hero-title {
  font-family: var(--mlj-serif);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--mlj-teal-dark);
  margin-bottom: 16px;
  margin-top: 0;
}
.mlj-hero-title em {
  font-style: italic;
  color: var(--mlj-teal-light);
}
.mlj-hero-sub {
  font-family: var(--mlj-sans);
  font-size: 15px;
  color: var(--mlj-charcoal);
  opacity: .62;
  max-width: 380px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.mlj-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  width: 100%;
}
.mlj-hero-actions .mlj-btn-primary,
.mlj-hero-actions .mlj-btn-outline {
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.mlj-hero-img {
  overflow: hidden;
  background: var(--mlj-taupe);
  max-height: 780px;
}
.mlj-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ── BUTTONS ── */
.mlj-btn-primary {
  background: var(--mlj-teal);
  color: var(--mlj-cream) !important;
  border: none;
  padding: 15px 32px;
  font-family: var(--mlj-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
}
.mlj-btn-primary:hover { background: var(--mlj-teal-dark); }
.mlj-btn-outline {
  background: transparent;
  color: var(--mlj-teal) !important;
  border: 1.5px solid var(--mlj-teal);
  padding: 14px 28px;
  font-family: var(--mlj-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: all .2s;
}
.mlj-btn-outline:hover {
  background: var(--mlj-teal);
  color: var(--mlj-cream) !important;
}
.mlj-btn-light {
  background: var(--mlj-cream);
  color: var(--mlj-teal-dark) !important;
  border: none;
  padding: 14px 32px;
  font-family: var(--mlj-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-block;
  transition: background .2s;
}
.mlj-btn-light:hover { background: var(--mlj-taupe); }

/* ══════════════════
   ②  STATS STRIP
   ══════════════════ */
.mlj-stats {
  background: var(--mlj-teal);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.mlj-stat {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.mlj-stat:last-child { border-right: none; }
.mlj-stat-num {
  font-family: var(--mlj-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--mlj-cream);
  display: block;
}
.mlj-stat-label {
  font-family: var(--mlj-sans);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,239,230,.6);
  margin-top: 4px;
  display: block;
}

/* ══════════════════
   SECTION HELPERS
   ══════════════════ */
.mlj-section {
  padding: 90px 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.mlj-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.mlj-eyebrow {
  font-family: var(--mlj-sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mlj-teal-light);
  margin-bottom: 12px;
  display: block;
}
.mlj-title {
  font-family: var(--mlj-serif);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 400;
  color: var(--mlj-teal-dark);
  margin-bottom: 12px;
  margin-top: 0;
}
.mlj-title em { font-style: italic; color: var(--mlj-teal-light); }
.mlj-desc {
  font-family: var(--mlj-sans);
  font-size: 15px;
  color: var(--mlj-charcoal);
  opacity: .58;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ══════════════════
   ③  CATEGORÍAS
   ══════════════════ */
.mlj-cats-bg { background: var(--mlj-white); }
.mlj-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
/* 7 items: las últimas 3 quedan en fila 2, col 4 vacía — layout natural limpio */
.mlj-cat {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
/* Padding-top hack para ratio 3:4 (más compatible que aspect-ratio) */
.mlj-cat::before {
  content: '';
  display: block;
  padding-top: 133.33%;
}
.mlj-cat > * {
  position: absolute;
  inset: 0;
}
.mlj-cat-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.mlj-cat:hover .mlj-cat-bg { transform: scale(1.06); }
/* Gradientes de placeholder (reemplazar con imágenes reales) */
.mlj-cat-bg.mlj-g1 { background: linear-gradient(145deg,#D4E8E4,#6A9BAB); }
.mlj-cat-bg.mlj-g2 { background: linear-gradient(145deg,#EAE3DB,#C9BDB0); }
.mlj-cat-bg.mlj-g3 { background: linear-gradient(145deg,#1B5E6C,#154D59); }
.mlj-cat-bg.mlj-g4 { background: linear-gradient(145deg,#B8C8CE,#6A9BAB); }
.mlj-cat-bg.mlj-g5 { background: linear-gradient(145deg,#C9BDB0,#A0ADB5); }
.mlj-cat-bg.mlj-g6 { background: linear-gradient(145deg,#6A9BAB,#1B5E6C); }
.mlj-cat-bg.mlj-g7 { background: linear-gradient(145deg,#EAE3DB,#6A9BAB); }
.mlj-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21,77,89,.78) 0%, rgba(21,77,89,.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
}
.mlj-cat-name {
  font-family: var(--mlj-serif);
  font-size: 18px;
  color: var(--mlj-cream);
  line-height: 1.2;
  display: block;
}
.mlj-cat-sub {
  font-family: var(--mlj-sans);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(245,239,230,.6);
  margin-top: 4px;
  display: block;
}
.mlj-cat-arrow {
  margin-top: 10px;
  color: var(--mlj-cream);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all .3s;
  display: block;
}
.mlj-cat:hover .mlj-cat-arrow { opacity: 1; transform: translateX(0); }

/* ══════════════════
   ④  PRODUCTO CAROUSEL
   ══════════════════ */
.mlj-carousel-section { background: var(--mlj-cream); }
.mlj-carousel-section .mlj-section { padding-bottom: 40px !important; }
.mlj-carousel-section { padding-bottom: 0 !important; }
.mlj-carousel-cta { margin-top: 28px; }
.mlj-carousel-wrap { position: relative; overflow: hidden; }
.mlj-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.mlj-carousel::-webkit-scrollbar { display: none; }
.mlj-prod-card {
  flex: 0 0 calc(25% - 18px);
  min-width: 220px;
  scroll-snap-align: start;
  cursor: pointer;
}
.mlj-prod-img {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  margin-bottom: 14px;
  background: var(--mlj-white);
}
.mlj-prod-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 8px;
  transition: transform .4s;
}
.mlj-prod-card:hover .mlj-prod-img img { transform: scale(1.04); }
.mlj-prod-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--mlj-teal);
  color: var(--mlj-cream);
  font-family: var(--mlj-sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 9px;
}
.mlj-prod-badge.new { background: var(--mlj-teal-light); }
.mlj-prod-cta {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--mlj-teal);
  color: var(--mlj-cream) !important;
  border: none;
  padding: 10px;
  font-family: var(--mlj-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
}
.mlj-prod-card:hover .mlj-prod-cta { display: block; }
.mlj-prod-lab {
  font-family: var(--mlj-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mlj-teal-light);
  margin-bottom: 4px;
}
.mlj-prod-name {
  font-family: var(--mlj-serif);
  font-size: 16px;
  color: var(--mlj-teal-dark);
  margin-bottom: 3px;
  line-height: 1.3;
}
.mlj-prod-size {
  font-family: var(--mlj-sans);
  font-size: 11px;
  color: var(--mlj-charcoal);
  opacity: .4;
  margin-bottom: 6px;
}
.mlj-prod-price {
  font-family: var(--mlj-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--mlj-charcoal);
}
.mlj-loading {
  text-align: center;
  padding: 40px;
  font-family: var(--mlj-sans);
  font-size: 13px;
  color: var(--mlj-teal-light);
  letter-spacing: .1em;
}
.mlj-carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.mlj-nav-btn {
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(27,94,108,.25);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  color: var(--mlj-teal);
}
.mlj-nav-btn:hover {
  background: var(--mlj-teal);
  border-color: var(--mlj-teal);
  color: var(--mlj-cream);
}
.mlj-nav-dots { display: flex; gap: 6px; }
.mlj-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mlj-taupe);
  cursor: pointer;
  transition: background .2s;
}
.mlj-dot.active { background: var(--mlj-teal); }
.mlj-carousel-cta { text-align: center; margin-top: 28px; margin-bottom: 0; }

/* ══════════════════
   ⑤  FILOSOFÍA
   ══════════════════ */
.mlj-phil-bg { background: var(--mlj-teal-dark); padding: 100px 40px; }
.mlj-phil-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.mlj-phil-img {
  overflow: hidden;
  background: linear-gradient(160deg, #6A9BAB, #1B5E6C);
  position: relative;
  align-self: stretch;
  min-height: 300px;
}
.mlj-phil-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.mlj-phil-eyebrow {
  font-family: var(--mlj-sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mlj-teal-light);
  margin-bottom: 18px;
  display: block;
}
.mlj-phil-title {
  font-family: var(--mlj-serif);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  color: var(--mlj-cream);
  line-height: 1.2;
  margin-bottom: 22px;
  margin-top: 0;
}
.mlj-phil-title em { font-style: italic; color: var(--mlj-teal-light); }
.mlj-phil-text {
  font-family: var(--mlj-sans);
  font-size: 15px;
  color: rgba(245,239,230,.68);
  line-height: 1.8;
  margin-bottom: 32px;
}
.mlj-phil-text p {
  margin-bottom: 14px;
}
.mlj-phil-text p:last-child {
  margin-bottom: 0;
}
.mlj-phil-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}
.mlj-phil-feat { display: flex; align-items: flex-start; gap: 12px; }
.mlj-feat-icon {
  width: 30px;
  height: 30px;
  background: rgba(106,155,171,.18);
  border: 1px solid rgba(106,155,171,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mlj-teal-light);
  font-size: 13px;
}
.mlj-feat-title {
  font-family: var(--mlj-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--mlj-cream);
  margin-bottom: 2px;
}
.mlj-feat-text {
  font-family: var(--mlj-sans);
  font-size: 12px;
  color: rgba(245,239,230,.55);
  line-height: 1.5;
}

/* ══════════════════
   ⑥  LABORATORIOS
   ══════════════════ */
.mlj-labs-bg { background: var(--mlj-white); padding: 72px 40px; }
.mlj-labs-inner { max-width: 1100px; margin: 0 auto; }
.mlj-labs-header {
  text-align: center;
  margin-bottom: 48px;
}
.mlj-labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.mlj-lab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: var(--mlj-cream);
  border: 1px solid rgba(27,94,108,.08);
  transition: border-color .25s, background .25s;
  min-height: 120px;
}
/* hover removido — labs son solo informativos */
.mlj-lab-card img {
  max-width: 260px;
  max-height: 120px;
  width: 90%;
  object-fit: contain;
  object-position: center;
  opacity: .85;
  display: block;
  transform: scale(1.15);
}
.mlj-lab-name {
  font-family: var(--mlj-sans);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mlj-charcoal);
  opacity: .45;
  margin-top: 12px;
}

/* ══════════════════
   ⑦  BENEFICIOS
   ══════════════════ */
.mlj-benefits-bg { background: var(--mlj-cream); }
.mlj-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.mlj-benefit {
  text-align: center;
  padding: 44px 28px;
  border: 1px solid rgba(27,94,108,.1);
  background: var(--mlj-white);
  transition: border-color .3s, transform .3s;
}
.mlj-benefit:hover {
  border-color: var(--mlj-teal-light);
  transform: translateY(-4px);
}
.mlj-benefit-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  background: rgba(27,94,108,.07);
  border: 1px solid rgba(27,94,108,.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mlj-teal);
}
.mlj-benefit-title {
  font-family: var(--mlj-serif);
  font-size: 19px;
  color: var(--mlj-teal-dark);
  margin-bottom: 10px;
  margin-top: 0;
}
.mlj-benefit-text {
  font-family: var(--mlj-sans);
  font-size: 13px;
  color: var(--mlj-charcoal);
  opacity: .58;
  line-height: 1.7;
}

/* ══════════════════
   MOBILE RESPONSIVE
   ══════════════════ */
@media (max-width: 900px) {
  .mlj-hero { grid-template-columns: 1fr; min-height: auto; }
  .mlj-hero-content { padding: 56px 28px 44px; order: 2; }
  .mlj-hero-img { order: 1; min-height: 52vw; max-height: 420px; }
  .mlj-cats-grid { grid-template-columns: repeat(2, 1fr); }
  .mlj-prod-card { flex: 0 0 calc(50% - 12px); }
  .mlj-phil-inner { grid-template-columns: 1fr; gap: 44px; }
  .mlj-phil-img { display: none; }
  .mlj-labs-grid { grid-template-columns: repeat(2, 1fr); }
  .mlj-benefits-grid { grid-template-columns: 1fr; gap: 16px; }
  .mlj-section { padding: 60px 24px; }
  .mlj-phil-bg { padding: 60px 24px; }
  .mlj-labs-bg { padding: 60px 24px; }
}
@media (max-width: 540px) {
  .mlj-hero-content { padding: 40px 20px 36px; }
  .mlj-hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .mlj-hero-actions .mlj-btn-primary,
  .mlj-hero-actions .mlj-btn-outline {
    text-align: center;
    width: 100%;
    padding: 14px 16px;
    font-size: 11px;
    letter-spacing: .1em;
    display: block;
    box-sizing: border-box;
  }
  .mlj-cats-grid { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .mlj-prod-card { flex: 0 0 80vw; }
  .mlj-stats { grid-template-columns: repeat(3, 1fr); }
  .mlj-stat-num { font-size: 22px; }
  .mlj-stat-label { font-size: 9px; letter-spacing: .08em; }
  .mlj-stat { padding: 20px 8px; }
  .mlj-phil-feats { grid-template-columns: 1fr; }
  .mlj-labs-grid { grid-template-columns: 1fr 1fr; }
}


/* ══════════════════
   ANIMACIONES DE ENTRADA
   ══════════════════ */
/* ── HERO: CSS @keyframes (sin JS) ── */
@keyframes mljUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mlj-hero-eyebrow { animation: mljUp .6s ease both; }
.mlj-hero-title   { animation: mljUp .6s .12s ease both; }
.mlj-hero-sub     { animation: mljUp .6s .22s ease both; }
.mlj-hero-actions { animation: mljUp .6s .34s ease both; }
.mlj-hero-img     { animation: mljUp .8s .1s ease both; }

/* ── SCROLL: fade-up con IntersectionObserver ── */
.mlj-fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.mlj-fade.mlj-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Delays escalonados */
.mlj-fade-d1 { transition-delay: .07s; }
.mlj-fade-d2 { transition-delay: .14s; }
.mlj-fade-d3 { transition-delay: .21s; }
.mlj-fade-d4 { transition-delay: .28s; }
.mlj-fade-d5 { transition-delay: .35s; }
.mlj-fade-d6 { transition-delay: .42s; }
.mlj-fade-d7 { transition-delay: .49s; }


/* ══════════════════
   SECCIÓN PROFESIONAL
   ══════════════════ */
.mlj-pro-bg {
  background: var(--mlj-white);
  padding: 90px 40px;
}
.mlj-pro-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.mlj-pro-text {
  font-family: var(--mlj-sans);
  font-size: 15px;
  color: rgba(28,28,28,.65);
  line-height: 1.75;
  margin-bottom: 28px;
}
.mlj-pro-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.mlj-pro-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-family: var(--mlj-sans);
  font-size: 14px;
  color: rgba(28,28,28,.7);
  line-height: 1.5;
}
.mlj-pro-num {
  font-family: var(--mlj-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--mlj-teal-light);
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}
/* Card de beneficios */
.mlj-pro-card {
  background: var(--mlj-cream);
  border: 1px solid rgba(27,94,108,.15);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mlj-pro-card-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27,94,108,.08);
}
.mlj-pro-card-line:last-child { border-bottom: none; }
.mlj-pro-card-label {
  font-family: var(--mlj-sans);
  font-size: 14px;
  color: rgba(28,28,28,.65);
}
.mlj-pro-card-check {
  font-size: 16px;
  color: var(--mlj-teal-light);
  font-weight: 700;
}

@media (max-width: 900px) {
  .mlj-pro-inner { grid-template-columns: 1fr; gap: 40px; }
  .mlj-pro-bg { padding: 60px 24px; }
}


/* ══════════════════════════════════════
   IMÁGENES DE PRODUCTOS — Tema Recife
   Fix: padding-bottom pisando el inline
   y transform anulado para centrado correcto
   ══════════════════════════════════════ */

/* Contenedor en grilla — cuadrado forzado via padding-bottom */
.js-item-image-padding {
  background-color: #ffffff !important;
  padding-bottom: 100% !important;
  overflow: hidden !important;
}

/* Imagen principal y hover en grilla */
.product-item-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
}
/* Solo anular transform en imagen visible (no en hover) */
.product-item-image.item-image-featured {
  transform: none !important;
}

/* Página de producto individual */
.js-product-slide-link {
  background-color: #ffffff !important;
  padding-bottom: 100% !important;
  overflow: hidden !important;
}
.product-slider-image {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
  object-fit: contain !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
}

/* Imagen secundaria (hover) */
.item-image-secondary,
.item-image img.item-image-secondary {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
}


/* ── Carrusel home: imágenes cuadradas fondo blanco ── */
.mlj-prod-img {
  background-color: #f8f8f8 !important;
}
.mlj-prod-img img {
  object-fit: contain !important;
  object-position: center !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  background-color: #ffffff !important;
}


/* Fix hover imagen producto — elimina translateX que corre la imagen al costado */
.item-image:not(.item-image-slider):hover img {
  transform: scale(1.04) !important;
}
