/* Urban Packs Fix 1.0.0
   Las reglas llevan el prefijo "html body" porque esta hoja se carga ANTES que el CSS del tema. */

/* 1) ORDENADOR - Ficha de producto y packs.
   El tema deja la columna derecha (#right-column) con position:fixed y height:calc(100vh - 83px),
   pero empieza a 115px del borde (cabecera 70px + barra de información 45px):
   - se sale 32px por debajo de la pantalla (se corta su final),
   - y al bajar se queda encima de las reseñas y del pie de página.
   Con position:sticky dentro de su fila: queda fija mientras se ven las fotos, se va con la fila
   y no tapa nada. */
@media (min-width:1025px){
  html body.page-product #right-column{
    position:sticky;
    top:115px;
    right:auto;
    align-self:flex-start;
    margin-right:0;
    flex:0 0 50%;
    max-width:50%;
    width:50%;
    height:calc(100vh - 115px);
    max-height:calc(100vh - 115px);
    overflow-y:auto;
  }
}

/* 2) MÓVIL - Lista "Este pack contiene".
   La cantidad ("x 1") quedaba en un hueco de 18px y se partía en dos líneas; el nombre quedaba estrecho. */
@media (max-width:480px){
  html body .pack-product-container{padding:0 12px}
  html body .pack-product-container .pack-product-name{margin:0 10px;min-width:0;overflow-wrap:anywhere}
  html body .pack-product-container .pack-product-price{white-space:nowrap;flex:0 0 auto;padding-right:6px}
  html body .pack-product-container .pack-product-quantity{white-space:nowrap;flex:0 0 auto;padding-left:10px;min-width:2.4em;justify-content:center}
}
