/* Último Bocado V6 — portada dinámica con lettering inclinado, responsive.
   La fotografía se obtiene desde el catálogo en index.php (no es una imagen fija del CSS). */
body.app-on .ub-hero-v6 {
  isolation: isolate;
  background: #073d2b !important;
}
body.app-on .ub-hero-v6 .ub-hero-image {
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  background:transparent !important;
  overflow:hidden;
}
body.app-on .ub-hero-v6 .ub-hero-photo {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:68% center;
  transform:scale(1.01);
  filter:saturate(1.06);
  transition:transform .45s ease;
}
body.app-on .ub-hero-v6:hover .ub-hero-photo{transform:scale(1.045)}
body.app-on .ub-hero-v6 .ub-hero-image::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(3,37,27,.97) 0%,
    rgba(4,48,34,.92) 22%,
    rgba(5,48,34,.72) 41%,
    rgba(5,40,30,.30) 64%,
    rgba(4,34,26,.04) 95%);
}
body.app-on .ub-hero-v6 .ub-hero-content {
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  max-width:64%;
  padding:25px clamp(22px,5vw,54px);
}
body.app-on .ub-hero-v6 .ub-eyebrow {
  font-family:Inter,system-ui,sans-serif;
  font-size:clamp(9px,1.15vw,12px);
  letter-spacing:.13em;
  font-weight:850;
  color:#e6f3d8;
}
body.app-on .ub-hero-v6 h2.ub-hero-lettering {
  display:block;
  max-width:none;
  margin:10px 0 11px !important;
  padding:0;
  font-family:'Caveat Brush','Comic Sans MS','Comic Neue','Segoe Print',cursive !important;
  font-weight:700 !important;
  font-style:italic;
  font-size:clamp(48px,6.8vw,82px) !important;
  line-height:.84 !important;
  letter-spacing:-.035em !important;
  color:#fff !important;
  text-transform:none !important;
  transform:rotate(-4deg);
  transform-origin:45% 50%;
  text-shadow:0 3px 8px rgba(0,0,0,.26);
}
body.app-on .ub-hero-v6 .ub-hero-lettering span,
body.app-on .ub-hero-v6 .ub-hero-lettering em {
  display:block;
  white-space:nowrap;
  font:inherit;
  color:inherit;
}
body.app-on .ub-hero-v6 .ub-hero-lettering em {
  font-style:normal !important;
  color:#ffdf52 !important;
}
body.app-on .ub-hero-v6 .ub-hero-content p {
  margin:7px 0 0;
  font-size:clamp(12px,1.5vw,16px);
  line-height:1.28;
  font-weight:750;
  color:#fff;
  text-shadow:0 2px 5px rgba(0,0,0,.28);
}
body.app-on .ub-hero-v6 .ub-hero-sticker {
  z-index:2;
  align-content:center;
  padding:11px 12px;
  min-width:80px;
  transform:rotate(7deg);
}
body.app-on .ub-hero-v6 .ub-hero-sticker span,
body.app-on .ub-hero-v6 .ub-hero-sticker small {
  font-size:10px;
  font-weight:850;
  line-height:1.05;
}
body.app-on .ub-hero-v6 .ub-hero-sticker strong {font-size:29px;line-height:1.15}
@media(max-width:850px) {
  body.app-on .ub-hero-v6 .ub-hero-content {max-width:66%;}
  body.app-on .ub-hero-v6 h2.ub-hero-lettering {font-size:clamp(46px,7.4vw,66px) !important;}
}
@media(max-width:520px) {
  body.app-on .ub-hero-v6 {
    height:225px !important;
    min-height:225px !important;
    border-radius:19px !important;
  }
  body.app-on .ub-hero-v6 .ub-hero-image::after {
    background:linear-gradient(90deg,
      rgba(3,37,27,.96) 0%,
      rgba(3,43,31,.88) 27%,
      rgba(3,43,31,.48) 60%,
      rgba(2,37,27,.02) 100%);
  }
  body.app-on .ub-hero-v6 .ub-hero-photo {object-position:65% center;}
  body.app-on .ub-hero-v6 .ub-hero-content {
    max-width:75%;
    width:75%;
    padding:17px 14px 17px 19px;
  }
  body.app-on .ub-hero-v6 .ub-eyebrow {font-size:8px;letter-spacing:.09em;}
  body.app-on .ub-hero-v6 h2.ub-hero-lettering {
    font-size:clamp(41px,10vw,52px) !important;
    line-height:.84 !important;
    letter-spacing:-.035em !important;
    margin:10px 0 9px !important;
    transform:rotate(-4deg) translateX(-1px);
  }
  body.app-on .ub-hero-v6 .ub-hero-content p {
    font-size:11px;
    margin:5px 0 0;
    line-height:1.3;
  }
  body.app-on .ub-hero-v6 .ub-hero-sticker {
    right:10px;
    top:9px;
    padding:6px 9px;
    min-width:58px;
    border-radius:10px;
  }
  body.app-on .ub-hero-v6 .ub-hero-sticker strong {font-size:19px}
  body.app-on .ub-hero-v6 .ub-hero-sticker span,
  body.app-on .ub-hero-v6 .ub-hero-sticker small{font-size:7px}
}
@media(max-width:360px){
  body.app-on .ub-hero-v6 h2.ub-hero-lettering {font-size:38px !important}
  body.app-on .ub-hero-v6 .ub-hero-content {max-width:77%;width:77%;padding-left:15px}
}
@media(prefers-reduced-motion:reduce){
  body.app-on .ub-hero-v6 .ub-hero-photo{transition:none}
}
