/* HUEGO Phase 3 homepage — scoped to an explicitly applied 8-section native layout.
   Product cards, order drawer, global Header and Delphi CTA are intentionally untouched. */
.huego-native-page>.huego-home-v3-hero{margin:0}
.huego-native-page>.huego-home-v3-categories,
.huego-native-page>.huego-home-v3-featured,
.huego-native-page>.huego-home-v3-editorial,
.huego-native-page>.huego-home-v3-new,
.huego-native-page>.huego-home-v3-benefits,
.huego-native-page>.huego-home-v3-blog,
.huego-native-page>.huego-home-v3-contact{padding-block:clamp(32px,4.5vw,64px)}
.huego-native-page>.huego-home-v3-categories>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-featured>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-editorial>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-new>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-benefits>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-blog>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-contact>.huego-layout-container__inner{gap:clamp(18px,2.4vw,28px)}
.huego-home-v3-hero .huego-builder-hero__slide{grid-template-columns:minmax(0,.45fr) minmax(0,.55fr);gap:clamp(24px,4vw,60px)}
.huego-home-v3-categories .huego-builder-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(10px,1.4vw,18px)}
.huego-home-v3-categories .huego-builder-category{min-width:0}
.huego-home-v3-categories .huego-builder-category__body h3{overflow-wrap:anywhere}
.huego-home-v3-editorial{background:var(--huego-color-background,#fff7ef)}
.huego-home-v3-duo-grid,.huego-home-v3-duo-grid>.huego-layout-container__inner{width:100%;min-width:0}
.huego-home-v3-duo-grid>.huego-layout-container__inner{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(14px,2.4vw,28px)}
.huego-home-v3-duo-grid .huego-layout-widget{min-width:0}
.huego-home-v3-duo-grid .huego-builder-banner{display:flex;flex-direction:column;align-items:stretch;gap:0;height:100%;overflow:hidden;background:var(--huego-color-surface,#fff);border-radius:var(--huego-radius-lg,18px);box-shadow:var(--huego-shadow-card)}
.huego-home-v3-duo-grid .huego-builder-banner__media{order:-1;display:block;min-height:0;width:100%;aspect-ratio:16/9}
.huego-home-v3-duo-grid .huego-builder-banner__media img{display:block;width:100%;height:100%;min-height:0;aspect-ratio:16/9;object-fit:cover}
.huego-home-v3-duo-grid .huego-builder-banner__content{display:flex;flex:1;flex-direction:column;align-items:flex-start;min-width:0;width:100%;max-width:none;margin:0;padding:clamp(18px,2.4vw,30px)}
.huego-home-v3-duo-grid .huego-builder-banner__title{font-size:clamp(23px,2.35vw,32px);line-height:1.22}
.huego-home-v3-duo-grid .huego-builder-banner__text{font-size:14px;line-height:1.65;margin:12px 0 22px}
.huego-home-v3-duo-grid .huego-builder-banner__content>.huego-builder-button{margin-top:auto}
.huego-home-v3-benefits{background:var(--huego-color-primary,#035340)}
.huego-home-v3-benefits .huego-builder-heading__title{color:#fff}
.huego-home-v3-benefits .huego-builder-heading__description{color:rgba(255,255,255,.8)}
.huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.huego-home-v3-benefits .huego-layout-widget{min-width:0}
.huego-home-v3-blog .huego-home-v3-blog-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.huego-home-v3-blog .huego-home-v3-blog-item{min-width:0;min-height:0}
.huego-home-v3-blog .huego-home-v3-blog-item:first-child{grid-column:1;grid-row:1/3}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{display:grid;grid-template-columns:minmax(115px,40%) minmax(0,1fr)}
.huego-home-v3-blog .huego-home-v3-blog-item .huego-native-post-card{height:100%}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__image{height:100%;aspect-ratio:auto}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__image img{height:100%;object-fit:cover}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__title{font-size:clamp(15px,1.35vw,18px)}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__excerpt{display:none}
.huego-home-v3-contact{background:var(--huego-color-background,#fff7ef)}
.huego-home-v3-contact .huego-home-v3-contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0}
.huego-home-v3-contact .huego-home-v3-contact-actions .huego-builder-button{min-height:44px}
.huego-home-v3-contact .huego-builder-contact__info .huego-home-v3-contact-actions .huego-builder-button--secondary{color:#fff}
.huego-home-v3-contact .huego-builder-contact__info .huego-home-v3-contact-actions .huego-builder-button--outline{border-color:rgba(255,255,255,.75);color:#fff}
@media(max-width:1100px){
  .huego-home-v3-categories .huego-builder-categories{grid-template-columns:repeat(3,minmax(0,1fr))}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{grid-template-columns:35% 1fr}
}
@media(max-width:767px){
  .huego-native-page>.huego-home-v3-categories,.huego-native-page>.huego-home-v3-featured,.huego-native-page>.huego-home-v3-editorial,.huego-native-page>.huego-home-v3-new,.huego-native-page>.huego-home-v3-benefits,.huego-native-page>.huego-home-v3-blog,.huego-native-page>.huego-home-v3-contact{padding-block:36px}
  .huego-home-v3-hero .huego-builder-hero__slide{grid-template-columns:1fr;gap:16px}
  .huego-home-v3-categories .huego-builder-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .huego-home-v3-duo-grid>.huego-layout-container__inner{grid-template-columns:1fr;gap:14px}
  .huego-home-v3-duo-grid .huego-builder-banner__media{aspect-ratio:4/3}
  .huego-home-v3-duo-grid .huego-builder-banner__media img{aspect-ratio:4/3}
  .huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .huego-home-v3-blog .huego-home-v3-blog-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:14px}
  .huego-home-v3-blog .huego-home-v3-blog-item:first-child{grid-column:auto;grid-row:auto}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{grid-template-columns:minmax(110px,38%) minmax(0,1fr)}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__body{padding:12px}
  .huego-home-v3-contact .huego-home-v3-contact-actions .huego-builder-button{flex:1 1 auto}
}
@media(max-width:359px){
  .huego-home-v3-duo-grid .huego-builder-banner__content{padding:18px}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{grid-template-columns:1fr}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__image{aspect-ratio:4/3}
}

/* ================================================================
   Phase 3 RC.2 — Homepage visual polish. Only the applied 8-section
   native homepage receives this stylesheet; no global product-card,
   header, order drawer or Delphi CTA rules are modified.
   ================================================================ */

/* Section rhythm and heading hierarchy; override legacy imported spacing. */
.huego-native-page>.huego-home-v3-categories,
.huego-native-page>.huego-home-v3-featured,
.huego-native-page>.huego-home-v3-editorial,
.huego-native-page>.huego-home-v3-new,
.huego-native-page>.huego-home-v3-blog,
.huego-native-page>.huego-home-v3-contact{padding-block:clamp(36px,4.4vw,62px)}
.huego-home-v3-categories .huego-builder-heading,
.huego-home-v3-featured .huego-builder-heading,
.huego-home-v3-editorial .huego-builder-heading,
.huego-home-v3-new .huego-builder-heading,
.huego-home-v3-benefits .huego-builder-heading,
.huego-home-v3-blog .huego-builder-heading{max-width:690px;margin:0 auto 8px;text-align:center}
.huego-native-page>.huego-home-v3-categories>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-featured>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-editorial>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-new>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-benefits>.huego-layout-container__inner,
.huego-native-page>.huego-home-v3-blog>.huego-layout-container__inner{gap:clamp(18px,2.6vw,28px)}
.huego-home-v3-categories .huego-builder-heading__title,
.huego-home-v3-featured .huego-builder-heading__title,
.huego-home-v3-editorial .huego-builder-heading__title,
.huego-home-v3-new .huego-builder-heading__title,
.huego-home-v3-benefits .huego-builder-heading__title,
.huego-home-v3-blog .huego-builder-heading__title{font-size:clamp(25px,2.4vw,34px);line-height:1.18;letter-spacing:-.02em}
.huego-home-v3-categories .huego-builder-heading__description,
.huego-home-v3-featured .huego-builder-heading__description,
.huego-home-v3-editorial .huego-builder-heading__description,
.huego-home-v3-new .huego-builder-heading__description,
.huego-home-v3-blog .huego-builder-heading__description{font-size:clamp(13px,1.2vw,15px);line-height:1.55}

/* Hero: concentrate the message and CTA without changing slide data. */
.huego-home-v3-hero .huego-builder-hero__slide{min-height:clamp(385px,34vw,485px);padding-block:clamp(26px,3.2vw,44px);gap:clamp(24px,4.5vw,64px)}
.huego-home-v3-hero .huego-builder-hero__content{max-width:520px;min-width:0}
.huego-home-v3-hero .huego-builder-hero__title{font-size:clamp(34px,4vw,56px);line-height:1.09;letter-spacing:-.03em;text-wrap:balance}
.huego-home-v3-hero .huego-builder-hero__subtitle{font-size:clamp(14px,1.5vw,17px);margin-top:11px}
.huego-home-v3-hero .huego-builder-hero__text{font-size:14px;line-height:1.65;margin-top:12px;max-width:48ch;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.huego-home-v3-hero .huego-builder-hero__actions{margin-top:19px;gap:10px}
.huego-home-v3-hero .huego-builder-hero__actions .huego-builder-button{min-height:46px;padding-inline:20px}
.huego-home-v3-hero .huego-builder-hero__media{min-width:0}
.huego-home-v3-hero .huego-builder-hero__media img{max-height:405px;height:auto;aspect-ratio:4/3;object-fit:cover}

/* Featured collection: show fewer, larger tiles on desktop. Cards themselves
   retain their existing WooCommerce markup and styling. */
@media(min-width:1025px){
  .huego-home-v3-featured .huego-builder-products--carousel{padding-inline:42px;max-width:1160px;margin-inline:auto}
  .huego-home-v3-featured .huego-builder-products--carousel .huego-builder-products__track{gap:18px}
  .huego-home-v3-featured .huego-builder-products--carousel .huego-native-product-item{flex:0 0 calc((100% - 54px)/4);max-width:calc((100% - 54px)/4)}
  .huego-home-v3-featured .huego-builder-carousel__arrow{width:36px;height:36px;top:40%}
}

/* Benefits: remove legacy min-height carried over from the old native data.
   A compact 4-card composition is preferable to a very tall green band. */
.huego-native-page>.huego-home-v3-benefits{background:var(--huego-color-primary,#035340);min-height:0!important;height:auto!important;padding-block:clamp(38px,4vw,58px)!important}
.huego-home-v3-benefits>.huego-layout-container__inner,
.huego-home-v3-benefits .huego-home-v3-benefit-grid,
.huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{min-height:0!important;height:auto!important;max-height:none;align-content:start}
.huego-home-v3-benefits .huego-home-v3-benefit-grid{width:100%;max-width:1100px;margin-inline:auto}
.huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:14px;padding:0}
.huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner>.huego-layout-container,
.huego-home-v3-benefits .huego-home-v3-benefit-grid .huego-layout-widget{min-width:0;width:100%;min-height:0!important;height:auto!important;max-width:100%;margin:0}
.huego-home-v3-benefits .huego-home-v3-benefit-grid .huego-layout-container__inner{min-height:0!important;height:auto!important;padding:0}
.huego-home-v3-benefits .huego-builder-icon-box,
.huego-home-v3-benefits .huego-vdna--icon-benefit{box-sizing:border-box;min-height:0!important;height:100%!important;aspect-ratio:auto!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:22px 16px!important;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(255,255,255,.085);box-shadow:none;text-align:center}
.huego-home-v3-benefits .huego-builder-icon-box__icon{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;color:#ffd18f;background:rgba(255,255,255,.13);border-radius:12px}
.huego-home-v3-benefits .huego-builder-icon-box__content{align-items:center;text-align:center;gap:7px;width:100%}
.huego-home-v3-benefits .huego-builder-icon-box__content strong{color:#fff;font-size:15px;line-height:1.35}
.huego-home-v3-benefits .huego-builder-icon-box__content>span{color:rgba(255,255,255,.83);font-size:12px;line-height:1.55}

/* Blog: genuine media when available, otherwise a deliberate branded cover.
   Never show an empty unstyled placeholder as if the image had failed. */
.huego-home-v3-blog .huego-home-v3-blog-grid{width:100%;max-width:1100px;margin-inline:auto;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-rows:repeat(2,minmax(0,190px));gap:16px}
.huego-home-v3-blog .huego-home-v3-blog-item{min-width:0;min-height:0;overflow:hidden}
.huego-home-v3-blog .huego-home-v3-blog-item .huego-native-post-card{display:flex;flex-direction:column;min-height:0;height:100%;border:1px solid var(--huego-color-border,#e4ded7);box-shadow:0 8px 22px rgba(3,83,64,.05)}
.huego-home-v3-blog .huego-home-v3-blog-item:first-child .huego-native-post-card__image{height:240px;flex:0 0 240px;aspect-ratio:auto}
.huego-home-v3-blog .huego-home-v3-blog-item:first-child .huego-native-post-card__body{padding:18px 20px}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{display:grid;grid-template-columns:minmax(130px,42%) minmax(0,1fr)}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__image{display:block;min-height:0;height:100%;aspect-ratio:auto}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__body{min-width:0;padding:15px 16px;align-self:center}
.huego-home-v3-blog .huego-native-post-card__image img{height:100%;width:100%;object-fit:cover}
.huego-home-v3-blog .huego-native-post-card__title{font-size:clamp(17px,1.6vw,22px);line-height:1.35;margin-bottom:6px}
.huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__title{font-size:clamp(14px,1.25vw,17px)}
.huego-home-v3-blog .huego-native-post-card__excerpt{font-size:13px;line-height:1.6;-webkit-line-clamp:2}
.huego-home-v3-blog .huego-native-post-card__category{font-size:11px;margin-bottom:7px}
.huego-home-v3-blog .huego-native-post-card__meta{margin-top:8px;font-size:11px}
.huego-home-v3-blog .huego-home-v3-blog-cover{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:12px;width:100%;height:100%;min-height:100%;padding:clamp(15px,2.4vw,32px);color:#fff;background:linear-gradient(140deg,#0e6754 0%,#044c3e 65%,#073f34 100%);overflow:hidden}
.huego-home-v3-blog .huego-home-v3-blog-cover::before{content:"";position:absolute;z-index:-1;width:75%;aspect-ratio:1;border:1px solid rgba(255,255,255,.22);border-radius:50%;right:-22%;top:-35%;box-shadow:0 0 0 30px rgba(255,255,255,.035),0 0 0 65px rgba(255,255,255,.03)}
.huego-home-v3-blog .huego-home-v3-blog-cover__brand{font-weight:750;letter-spacing:.02em;font-size:clamp(21px,3vw,38px)}
.huego-home-v3-blog .huego-home-v3-blog-cover__brand span{font-size:.42em;font-weight:600;color:#f1ba6b}
.huego-home-v3-blog .huego-home-v3-blog-cover__label{font-size:10px;font-weight:700;letter-spacing:.18em;color:#f1d9b0}

/* Tablet and mobile — the product card contract remains untouched. */
@media(min-width:768px) and (max-width:1024px){
  .huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .huego-home-v3-blog .huego-home-v3-blog-grid{grid-template-rows:repeat(2,minmax(0,200px))}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{grid-template-columns:40% 1fr}
}
@media(max-width:767px){
  .huego-native-page>.huego-home-v3-categories,.huego-native-page>.huego-home-v3-featured,.huego-native-page>.huego-home-v3-editorial,.huego-native-page>.huego-home-v3-new,.huego-native-page>.huego-home-v3-blog,.huego-native-page>.huego-home-v3-contact{padding-block:clamp(30px,7vw,42px)}
  .huego-home-v3-hero .huego-builder-hero__slide{min-height:0;gap:12px;padding:18px 14px 36px}
  .huego-home-v3-hero .huego-builder-hero__media img{max-height:none;aspect-ratio:4/3;width:100%;height:auto}
  .huego-home-v3-hero .huego-builder-hero__title{font-size:clamp(25px,7vw,35px);line-height:1.1}
  .huego-home-v3-hero .huego-builder-hero__subtitle{margin-top:9px;font-size:13px}
  .huego-home-v3-hero .huego-builder-hero__eyebrow{font-size:11px}
  .huego-home-v3-hero .huego-builder-hero__text{font-size:12px;line-height:1.55;-webkit-line-clamp:2}
  .huego-home-v3-hero .huego-builder-hero__actions{margin-top:13px}
  .huego-home-v3-hero .huego-builder-hero__actions .huego-builder-button{min-height:42px;padding:9px 15px}
  .huego-native-page>.huego-home-v3-benefits{padding-block:34px!important}
  .huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .huego-home-v3-benefits .huego-builder-icon-box,.huego-home-v3-benefits .huego-vdna--icon-benefit{padding:18px 12px!important;min-height:136px!important;aspect-ratio:auto!important}
  .huego-home-v3-benefits .huego-builder-icon-box__content strong{font-size:13px}
  .huego-home-v3-benefits .huego-builder-icon-box__content>span{font-size:11px}
  .huego-home-v3-blog .huego-home-v3-blog-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:12px}
  .huego-home-v3-blog .huego-home-v3-blog-item:first-child{grid-column:auto;grid-row:auto}
  .huego-home-v3-blog .huego-home-v3-blog-item:first-child .huego-native-post-card__image{height:auto;aspect-ratio:16/9;flex:0 0 auto}
  .huego-home-v3-blog .huego-home-v3-blog-item:first-child .huego-native-post-card__body{padding:14px}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{grid-template-columns:minmax(105px,36%) minmax(0,1fr)}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__body{padding:10px 12px}
  .huego-home-v3-blog .huego-native-post-card__title{font-size:16px}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__title{font-size:14px}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__excerpt{display:none}
  .huego-home-v3-blog .huego-home-v3-blog-cover__brand{font-size:22px}
}
@media(max-width:359px){
  .huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner{gap:8px}
  .huego-home-v3-benefits .huego-builder-icon-box,.huego-home-v3-benefits .huego-vdna--icon-benefit{padding:14px 8px!important}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card{grid-template-columns:1fr}
  .huego-home-v3-blog .huego-home-v3-blog-item:not(:first-child) .huego-native-post-card__image{aspect-ratio:16/9;height:auto}
}
@media(prefers-reduced-motion:reduce){
  .huego-home-v3-hero .huego-builder-hero__actions .huego-builder-button{transition:none}
}
/* Imported column widgets must size to their actual content. Without this,
   flex-basis:0 can collapse a wrapper while its card visibly overflows. */
.huego-home-v3-benefits>.huego-layout-container__inner>.huego-layout-widget,
.huego-home-v3-benefits .huego-home-v3-benefit-grid>.huego-layout-container__inner>.huego-layout-container,
.huego-home-v3-benefits .huego-home-v3-benefit-grid .huego-layout-container__inner>.huego-layout-widget{flex:0 0 auto!important;height:auto!important;min-height:0!important}
