/* El contenido de producto es CSS original de Motel. Solo capa superior de Emprende. */
@media (min-width:1025px) {
  body.mp-page.emprende-home {display:block!important; padding-top:0!important;}
  body.emprende-motel-standalone .emprende-floatbar {z-index:10050!important;}
  body.emprende-motel-standalone .emprende-mega-backdrop {z-index:10040!important;}
  body.emprende-motel-standalone main#product {display:block;width:100%;max-width:none;padding-top:148px;position:relative;z-index:1;}
  body.emprende-motel-standalone .emprende-motel-back {display:block;font:400 12px/1.3 Montserrat,Arial,sans-serif; padding:2px 26px 18px;text-decoration:none;color:#555;}
}


/* Emprende PC: alinear el inicio de la información con la primera fotografía.
   La ficha original heredaba un padding superior para el header de Motel;
   aquí el header de Emprende ya tiene su propia capa flotante. */
@media (min-width:1025px) {
  body.emprende-motel-standalone .mp-product-layout .mp-panel {
    padding-top: 0 !important;
    /* Fija la ficha bajo el header al hacer scroll, sin desplazarla al cargar. */
    top: calc(var(--mp-float-clearance) + 8px) !important;
  }
}

/* Emprende: estructura de precios de tres niveles, solo ficha de producto PC.
   Se utilizan los importes reales del catálogo, nunca precios calculados. */
@media (min-width:1025px) {
  body.emprende-motel-standalone .emprende-pdp-reference {
    margin: 3px 0 15px !important;
    color: #797979;
    font: 400 10px/1.35 Montserrat, Arial, sans-serif;
    letter-spacing: .03em;
  }
  body.emprende-motel-standalone .emprende-pdp-prices {
    width: 100%;
    max-width: 510px;
    margin: 0 0 21px;
    display: grid;
    gap: 7px;
  }
  body.emprende-motel-standalone .emprende-pdp-price {
    min-width: 0;
    box-sizing: border-box;
    border-radius: 6px;
  }
  body.emprende-motel-standalone .emprende-pdp-price--mayor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #1c1c1c;
    color: #fff;
    min-height: 49px;
    padding: 11px 17px;
  }
  body.emprende-motel-standalone .emprende-pdp-price--mayor .emprende-pdp-price__label {
    font: 550 11px/1.25 Montserrat, Arial, sans-serif;
    letter-spacing: .015em;
  }
  body.emprende-motel-standalone .emprende-pdp-price--mayor .emprende-pdp-price__value {
    font: 650 17px/1.2 Montserrat, Arial, sans-serif;
    white-space: nowrap;
  }
  body.emprende-motel-standalone .emprende-pdp-prices__secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 7px;
  }
  body.emprende-motel-standalone .emprende-pdp-price--other {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 61px;
    gap: 4px;
    padding: 9px 7px;
    background: #f2f2f2;
    color: #1b1b1b;
  }
  body.emprende-motel-standalone .emprende-pdp-price--other .emprende-pdp-price__label {
    font: 500 10px/1.1 Montserrat, Arial, sans-serif;
    letter-spacing: .025em;
  }
  body.emprende-motel-standalone .emprende-pdp-price--other .emprende-pdp-price__value {
    font: 630 15px/1.1 Montserrat, Arial, sans-serif;
    white-space: nowrap;
  }
  body.emprende-motel-standalone .emprende-pdp-price--unavailable .emprende-pdp-price__value {
    opacity: .55;
  }
  body.emprende-motel-standalone .mp-price[hidden] { display: none !important; }
  body.emprende-motel-standalone .mp-color-block { margin-top: 0; }
}

/* Header Emprende en la ficha: idéntico al del home (12 px). Las reglas generales de
   product.css (.mp-page button / svg) ya no pueden cambiarle letra, peso ni flecha. */
@media (min-width:1025px) {
  body.emprende-motel-standalone .emprende-floatbar .emprende-mega-nav button {
    font-family: "VDK Mega Montserrat", Montserrat, Arial, sans-serif;
    font-size: 12px; font-weight: 600; letter-spacing: .6px; color: #171717; gap: 6px;
  }
  body.emprende-motel-standalone .emprende-floatbar .emprende-mega-nav__trigger svg {
    width: 11px; height: 11px; stroke-width: 1.6;
  }
}
@media (min-width:1025px) and (max-width:1199px) {
  body.emprende-motel-standalone .emprende-floatbar .emprende-mega-nav button { font-size: 11px; }
}

/* Emprende PC · ficha de producto: menos espacio sobre las fotos. */
@media (min-width:1025px) {
  body.emprende-motel-standalone .emprende-floatbar { top: 12px !important; }
  body.emprende-motel-standalone .emprende-floatbar__nav { height: 56px !important; }
  /* 12 (margen) + 31 (anuncio) + 56 (menú) + 12 (aire) = 111 px */
  body.emprende-motel-standalone main#product { padding-top: 111px; }
}

/* Emprende PC · recomendaciones de la ficha con las MISMAS tarjetas del home
   (emprende-card.js) y la misma fila deslizable de «Nuevos ingresos». */
@media (min-width:1025px) {
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-columns: none !important;
    grid-auto-columns: calc((100% - 24px) / 4.5) !important;
    column-gap: 6px !important;
    row-gap: 0 !important;
    align-items: start !important;
    padding: 0 !important; /* sin relleno inferior: el home no lo tiene */
    scroll-padding-inline: 0;
    cursor: grab;
    touch-action: pan-x pan-y;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail::-webkit-scrollbar { display: none; }
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail > .product-card {
    min-width: 0; scroll-snap-align: start; cursor: pointer;
  }
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail .product-card:focus-visible { outline: 2px solid #171717; outline-offset: 3px; }
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail .product-card img { -webkit-user-drag: none; }
  /* product.css trae márgenes para <p> y estilos de botón/svg de Motel: neutralizarlos. */
  body.emprende-motel-standalone .emprende-pdp-rail .product-copy p { margin-bottom: 0; }
}
@media (min-width:1500px) {
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail { grid-auto-columns: calc((100% - 30px) / 5.5) !important; }
}

/* Emprende PC · mismo margen que las categorías del home: fotos y tarjetas
   a 6 px del borde y 6 px entre sí; los títulos siguen alineados con el header. */
@media (min-width:1025px) {
  body.emprende-motel-standalone .mp-product-layout {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  body.emprende-motel-standalone .mp-gallery-track { gap: 6px !important; }

}

/* Emprende PC · filas de la ficha = «Nuevos ingresos» del home: el difuminado,
   las flechas redondas y su estado vienen de las reglas .emprende-arrivals__*
   de home-mayorista.css; aquí solo se ubican y se ocultan los controles Motel. */
@media (min-width:1025px) {
  body.emprende-motel-standalone .emprende-pdp-rail-viewport { margin: 0 6px; }
  body.emprende-motel-standalone #mpRelated .mp-rail-controls,
  body.emprende-motel-standalone #mpWanted .mp-rail-controls { display: none !important; }
  body.emprende-motel-standalone .emprende-pdp-rail-viewport .emprende-arrivals__arrow--prev { left: 12px; }
  body.emprende-motel-standalone .emprende-pdp-rail-viewport .emprende-arrivals__arrow--next { right: 12px; }
  body.emprende-motel-standalone .mp-product-rail.emprende-pdp-rail.is-dragging {
    cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto;
    user-select: none; -webkit-user-select: none;
  }
  body.emprende-motel-standalone .emprende-pdp-rail-viewport .emprende-arrivals__arrow svg { width: 17px; height: 17px; }
}

/* Emprende PC · títulos de las filas = título de «Nuevos ingresos» del home:
   misma letra, tamaño y peso, alineados a 6 px como las tarjetas. */
@media (min-width:1025px) {
  body.emprende-motel-standalone #mpRelated .mp-section-heading,
  body.emprende-motel-standalone #mpWanted .mp-section-heading {
    display: flex !important;
    align-items: center;
    min-height: 40px;
    margin: 0 0 12px !important;
    padding: 0 6px !important;
  }
  body.emprende-motel-standalone #mpRelated .mp-section-heading h2,
  body.emprende-motel-standalone #mpWanted .mp-section-heading h2 {
    margin: 0 !important;
    color: #161616 !important;
    font: 430 clamp(29px, 3vw, 42px)/1.1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif !important;
    letter-spacing: -.05em !important;
    text-transform: none !important;
  }
}

/* Emprende PC · mismos espacios que el home: 20 px sobre «También te puede
   gustar» (como sobre «Nuevos ingresos»), 20 px entre las dos filas (como
   entre «Nuevos ingresos» y «Top 15») y 60 px antes del footer. */
@media (min-width:1025px) {
  body.emprende-motel-standalone #mpRelated { margin: 20px 0 20px !important; }
  body.emprende-motel-standalone #mpWanted { margin: 0 0 60px !important; }
  body.emprende-motel-standalone #mpRelated[hidden] + #mpWanted { margin-top: 20px !important; }
}
/* Footer del home a ancho completo: aquí no está dentro del catálogo con
   márgenes laterales, así que no se compensa el gutter. */
body.emprende-motel-standalone > .emprende-retail-footer {
  width: 100% !important;
  margin: 0 !important;
}
