/* YUMMY YUMMY — home desktop repair. Isolated to the homepage.
   Restores the visual hierarchy of the approved mockup without altering mobile. */
@media (min-width:981px) {
  /* One uninterrupted editorial photograph under the entire hero — no vertical seam. */
  body[data-page="home"] .premium-home-hero {
    position:relative;
    isolation:isolate;
    background-color:#faf6f0 !important;
    background-image:linear-gradient(115deg,#fbf7f1 0%,#f9f4ee 52%,#f7f1eb 100%) !important;
    overflow:hidden;
  }
  body[data-page="home"] .premium-home-hero::before {
    content:"";
    position:absolute !important;
    inset:-18px !important;
    width:auto !important;
    height:auto !important;
    background-image:url("../images/editorial/sobre-nos-cheesecakes-empratados.webp") !important;
    background-size:cover !important;
    background-position:center 53% !important;
    opacity:.56 !important;
    filter:blur(11px) brightness(1.2) saturate(.74) !important;
    transform:scale(1.045) !important;
    pointer-events:none;
    z-index:0;
  }
  body[data-page="home"] .premium-home-hero::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(250,246,241,.66) 0%,rgba(250,246,241,.61) 39%,rgba(252,249,245,.64) 59%,rgba(251,246,241,.44) 100%);
    pointer-events:none;
    z-index:0;
  }
  body[data-page="home"] .premium-home-hero>.shell,
  body[data-page="home"] .home-hero-layout {
    position:relative;
    z-index:1;
  }
  /* Square main carousel; five equally proportioned thumbnails. */
  body[data-page="home"] .home-hero-picture.yy-home-carousel {
    grid-template-columns:minmax(0,1fr) clamp(68px,6vw,86px)!important;
    column-gap:9px!important;
    align-items:center;
  }
  body[data-page="home"] .yy-home-carousel .yy-carousel-stage {
    aspect-ratio:1/1;
    background:#100e0f;
    box-shadow:0 14px 35px rgba(39,22,19,.13);
  }
  body[data-page="home"] .yy-home-carousel .yy-carousel-slide,
  body[data-page="home"] .yy-home-carousel .yy-carousel-stage-link {
    width:100%;height:100%;background:#100e0f;
  }
  body[data-page="home"] .yy-home-carousel .yy-carousel-slide img {
    width:100%!important;height:100%!important;
    object-fit:contain!important;object-position:center!important;
  }
  body[data-page="home"] .yy-carousel-thumbs{height:100%;gap:7px!important;}
  body[data-page="home"] .yy-carousel-thumb{
    width:100%!important;
    height:auto!important;
    flex:0 0 auto;
    aspect-ratio:1/1;
    border-radius:11px!important;
    background:#100e0f!important;
  }
  body[data-page="home"] .yy-carousel-thumb img{
    width:100%!important;height:100%!important;object-fit:cover!important;
    object-position:center!important;display:block;
  }
  /* Five visually consistent collection cards, one row like the approved mockup. */
  body[data-page="home"] #home-featured-products.premium-categories-grid {
    display:grid!important;
    width:100%!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:stretch!important;
    justify-items:stretch!important;
  }
  body[data-page="home"] #home-featured-products.premium-categories-grid > .collection-card,
  body[data-page="home"] #home-featured-products.premium-categories-grid > .collection-card:nth-child(4),
  body[data-page="home"] #home-featured-products.premium-categories-grid > .collection-card:nth-child(5) {
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch;
    overflow:hidden;
    border:1px solid #e7ddd5;
    border-radius:19px;
    box-shadow:0 8px 23px rgba(56,32,23,.045);
    background:#fffdfb;
  }
  body[data-page="home"] #home-featured-products .collection-media {
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1.44/1!important;
    padding:0!important;
    display:block!important;
    overflow:hidden!important;
    border-radius:0!important;
    background:#120f10!important;
  }
  body[data-page="home"] #home-featured-products .collection-media img {
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center 51%!important;
    transform:none!important;
  }
  body[data-page="home"] #home-featured-products .collection-copy {
    flex:1 1 auto;
    min-width:0;
    min-height:143px;
    padding:13px 13px 15px!important;
    align-items:flex-start;
    display:flex!important;
    flex-direction:column!important;
    gap:0;
  }
  body[data-page="home"] #home-featured-products .collection-copy .mini-label {
    max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    font-size:.59rem;letter-spacing:.035em;padding:5px 8px;
    background:#f6ece9;color:#745455;
  }
  body[data-page="home"] #home-featured-products .collection-copy h3 {
    font-size:clamp(1.12rem,1.46vw,1.46rem)!important;
    line-height:1.08!important;margin:9px 0 5px!important;
  }
  body[data-page="home"] #home-featured-products .collection-copy p {
    font-size:.74rem!important;line-height:1.42!important;
    min-height:2.85em;max-height:2.85em;
    overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    margin:0 0 10px!important;
  }
  body[data-page="home"] #home-featured-products .collection-copy .text-link {
    font-size:.74rem;font-weight:750;
    margin-top:auto;
  }
  body[data-page="home"] .premium-featured{padding-top:27px;padding-bottom:28px;}
  body[data-page="home"] .premium-featured .premium-section-heading h2{
    font-size:clamp(2.1rem,3vw,3rem);
    line-height:1.1;
  }
  body[data-page="home"] .premium-featured .premium-section-heading p{max-width:660px;}
}
/* YY_HOME_HERO_TABLE_BG */
body[data-page="home"] .yy-home-carousel .yy-carousel-stage,
body[data-page="home"] .yy-home-carousel .yy-carousel-thumb{
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.06)),
    repeating-linear-gradient(90deg,
      #b98763 0 28px,
      #c4936f 28px 56px,
      #ae7a57 56px 84px,
      #c99a77 84px 112px);
}

body[data-page="home"] .yy-home-carousel .yy-carousel-slide img{
  background: transparent;
}

/* Final refinement: keep the approved previous hero/categories, with a more premium tabletop background. */
body[data-page="home"] .premium-home-hero{
  background-color:#f7efe7 !important;
  background-image:linear-gradient(112deg,#faf4ee 0%,#f4eadf 54%,#efe7df 100%) !important;
}
body[data-page="home"] .premium-home-hero::before{
  background-image:
    linear-gradient(90deg,rgba(248,242,235,.78) 0%, rgba(248,242,235,.62) 28%, rgba(248,242,235,.38) 52%, rgba(248,242,235,.18) 72%, rgba(248,242,235,.10) 100%),
    url("../images/yummy-yummy-sobremesas-empratadas-restaurantes-cafes.webp") !important;
  background-size:cover !important;
  background-position:center center !important;
  opacity:.44 !important;
  filter:blur(10px) brightness(1.02) saturate(.86) !important;
  transform:scale(1.06) !important;
}
body[data-page="home"] .premium-home-hero::after{
  background:linear-gradient(90deg,rgba(249,244,237,.78) 0%,rgba(249,244,237,.64) 38%,rgba(249,244,237,.56) 58%,rgba(249,244,237,.34) 100%) !important;
}
