/* Horváth Ads mesteroldal v0.1.12 — kizárólag a .hfads-landing alatti látvány */
body.hfads-master-page .entry-hero,
body.hfads-master-page article.page .entry-header,
body.hfads-master-page .entry-header.kadence-entry-header,
body.hfads-master-page .entry-header .entry-title {display:none!important}
body.hfads-master-page .content-area .entry-content {margin-top:0!important}
body.hfads-master-page .content-area,body.hfads-master-page #primary{margin-top:0!important;padding-top:0!important;margin-bottom:0!important}
body.hfads-master-page .content-area .entry-content-wrap{padding:0!important}
body.hfads-master-page article.page{margin-top:0!important;margin-bottom:0!important}
body.hfads-master-page .entry-content>.wp-block-shortcode {margin-block:0!important}
.hfads-landing {--hf-bg:#061b26;--hf-panel:#082633;--hf-teal:#24d1d1;--hf-ink:#f5fbfc;--hf-muted:#d4e6e8;--hf-line:#15505c;--hf-max:1220px;position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:100vw;background:var(--hf-bg);color:var(--hf-ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.55;overflow:hidden;box-sizing:border-box;isolation:isolate}
.hfads-landing *, .hfads-landing *::before,.hfads-landing *::after {box-sizing:border-box}
.hfads-landing p,.hfads-landing h1,.hfads-landing h2,.hfads-landing h3 {color:inherit;margin-top:0}
.hfads-landing a {text-decoration:none}
.hfads-landing a:focus-visible,.hfads-landing button:focus-visible {outline:3px solid #ffd583!important;outline-offset:3px}
.hfads-landing .hfads-wrap {width:min(100% - 48px,var(--hf-max));margin-inline:auto}
.hfads-hero {min-height:var(--hfads-hero-height,356px);position:relative;display:flex;align-items:center;overflow:hidden;border-bottom:1px solid var(--hf-line);background:radial-gradient(circle at 70% 44%,#17444d,#061e2a 72%)}
.hfads-hero::before {content:"";position:absolute;inset:0;background:repeating-radial-gradient(ellipse at -13% 68%,transparent 0 32px,rgba(73,165,178,.07) 33px,transparent 35px,transparent 47px);opacity:.55;pointer-events:none}
.hfads-hero-photo {position:absolute;left:var(--hfads-photo-start,43%);right:0;top:0;bottom:0;background-position:var(--hfads-photo-focus-x,0%) var(--hfads-photo-focus-y,50%);background-repeat:no-repeat;background-size:cover;opacity:.98;filter:saturate(.98) contrast(1.03);-webkit-mask-image:linear-gradient(to right,transparent,black 6%,black 100%);mask-image:linear-gradient(to right,transparent,black 6%,black 100%)}
.hfads-hero-inner {position:relative;z-index:1;padding-block:36px 28px}
.hfads-landing .hfads-kicker {font-size:15px;font-weight:850;letter-spacing:.12em;line-height:1.35;color:#76e2de;margin-bottom:13px;text-transform:uppercase}
.hfads-landing .hfads-hero h1 {max-width:1000px;color:#fff;font-size:clamp(36px,3.05vw,52px);line-height:1.06;letter-spacing:-.038em;font-weight:850;margin:0 0 16px;text-wrap:balance}
.hfads-landing h1 span,.hfads-landing h2 span {color:#47d4d1}
.hfads-hero-lead {font-size:clamp(16px,1.25vw,19px);max-width:560px;line-height:1.48;color:#f1f8f8!important;margin-bottom:20px}
.hfads-actions {display:flex;gap:13px;flex-wrap:wrap;margin-bottom:20px}
.hfads-landing .hfads-button {font-size:16px;font-weight:800;line-height:1.35;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;min-height:50px;border:1px solid #39cdd0;transition:background-color .15s,color .15s;white-space:normal;text-align:center}
.hfads-landing .hfads-primary {background:#22cacc;color:#061c25!important}
.hfads-landing .hfads-primary:hover {background:#61e4df}
.hfads-landing .hfads-secondary {background:rgba(1,19,29,.58);color:#fff!important;border-color:#6ebbc2}
.hfads-landing .hfads-secondary:hover {background:#124251}
.hfads-benefits {display:flex;gap:clamp(14px,2.7vw,30px);align-items:flex-start;flex-wrap:wrap}
.hfads-benefits>div {display:flex;gap:10px;align-items:center;max-width:265px}
.hfads-benefit-icon {flex:0 0 42px;height:42px;width:42px;display:grid;place-items:center;border:1px solid #2ac9c7;border-radius:50%;font-size:21px;color:#4fdbd5}
.hfads-benefits p {margin:0;font-size:14px;line-height:1.35}
.hfads-benefits strong {display:block;color:#fff;font-size:15px;font-weight:800}
.hfads-benefits p span {display:block;color:#d1e4e6}
.hfads-offers {padding:39px 0 0;position:relative;background:repeating-radial-gradient(ellipse at -23% 90%,transparent 0 39px,rgba(80,182,192,.045) 40px,transparent 41px,transparent 51px),linear-gradient(160deg,#062230,#041923)}
.hfads-section-head {text-align:center;margin:0 auto 32px;max-width:920px}
.hfads-section-head .hfads-kicker {margin:0 0 10px;font-size:16px}
.hfads-section-head h2 {font-size:clamp(30px,3.1vw,43px);line-height:1.14;letter-spacing:-.033em;font-weight:840;margin:0 0 14px;color:#fff}
.hfads-section-head>p:last-child {font-size:18px;line-height:1.62;color:#eef7f8;max-width:860px;margin-inline:auto}
/* Azonos bevezető és kilépő blokk elrejtése csak ezen a mesteroldalon. */
.hfads-landing .hflp-showcase-intro,.hfads-landing .hflp-shop-exit {display:none!important}
.hfads-landing .hflp-package-set {padding:0!important;background:none!important;border-radius:0!important;overflow:visible!important;box-shadow:none!important}
.hfads-landing .hflp-package-set::before {display:none!important}
.hfads-landing .hflp-package-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch!important;gap:18px!important}
.hfads-landing .hflp-package-card {border:1px solid rgba(53,176,184,.6)!important;border-radius:16px!important;background:linear-gradient(180deg,#102d3b,#081f2c)!important;box-shadow:0 18px 34px rgba(0,0,0,.22)!important;overflow:hidden!important;position:relative}
/* v0.1.7: A kampányoldalon minden kijelölt termék látszik (max. 6),
 * azonos méretű, rendezett montázsban. A HFLP kiválasztás és kosárlogika érintetlen. */
.hfads-landing .hflp-card-gallery {
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-auto-rows:minmax(0,1fr)!important;
  aspect-ratio:6/4.35!important;
  width:100%;min-height:0!important;max-height:none!important;height:auto!important;
  gap:8px!important;padding:9px!important;
  place-content:center;align-items:stretch;
  background:linear-gradient(155deg,#d9e6e9 0%,#cbdde0 100%);
  border-bottom:1px solid rgba(49,172,178,.22);
  position:relative;overflow:hidden;
}
.hfads-landing .hflp-card-gallery .hflp-card-gallery-item {
  grid-column:auto!important;grid-row:auto!important;
  min-width:0;min-height:0;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(155deg,#f9fbfb,#edf3f4)!important;
  border:1px solid rgba(17,83,94,.14);
  border-radius:9px;
  box-shadow:0 2px 8px rgba(12,49,58,.055);
  position:relative;overflow:hidden;
}
.hfads-landing .hflp-card-gallery .hflp-card-gallery-item::after {content:none!important}
.hfads-landing .hflp-card-gallery .hflp-card-gallery-item img {
  width:100%!important;height:100%!important;max-width:100%;max-height:100%;
  object-fit:contain!important;display:block;margin:auto!important;
  padding:4.2%!important;transform:none!important;
  filter:contrast(1.015) saturate(.99);
  mix-blend-mode:normal!important;
}
.hfads-landing .hflp-gallery-count-1{aspect-ratio:1.08!important}
.hfads-landing .hflp-gallery-count-1 .hflp-card-gallery-item:nth-child(1){grid-column:1/span 6!important}
.hfads-landing .hflp-gallery-count-2{aspect-ratio:6/2.45!important}
.hfads-landing .hflp-gallery-count-2 .hflp-card-gallery-item:nth-child(1){grid-column:1/span 3!important}
.hfads-landing .hflp-gallery-count-2 .hflp-card-gallery-item:nth-child(2){grid-column:4/span 3!important}
.hfads-landing .hflp-gallery-count-3{aspect-ratio:6/3.95!important}
.hfads-landing .hflp-gallery-count-3 .hflp-card-gallery-item:nth-child(1){grid-column:1/span 3!important}
.hfads-landing .hflp-gallery-count-3 .hflp-card-gallery-item:nth-child(2){grid-column:4/span 3!important}
.hfads-landing .hflp-gallery-count-3 .hflp-card-gallery-item:nth-child(3){grid-column:3/span 2!important;grid-row:2!important}
.hfads-landing .hflp-gallery-count-4{aspect-ratio:6/4.6!important}
.hfads-landing .hflp-gallery-count-4 .hflp-card-gallery-item:nth-child(1),.hfads-landing .hflp-gallery-count-4 .hflp-card-gallery-item:nth-child(3){grid-column:1/span 3!important}
.hfads-landing .hflp-gallery-count-4 .hflp-card-gallery-item:nth-child(2),.hfads-landing .hflp-gallery-count-4 .hflp-card-gallery-item:nth-child(4){grid-column:4/span 3!important}
.hfads-landing .hflp-gallery-count-4 .hflp-card-gallery-item:nth-child(n+3){grid-row:2!important}
.hfads-landing .hflp-gallery-count-5{aspect-ratio:6/4.35!important}
.hfads-landing .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(1){grid-column:2/span 2!important}
.hfads-landing .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(2){grid-column:4/span 2!important}
.hfads-landing .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(3){grid-column:1/span 2!important;grid-row:2!important}
.hfads-landing .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(4){grid-column:3/span 2!important;grid-row:2!important}
.hfads-landing .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(5){grid-column:5/span 2!important;grid-row:2!important}
.hfads-landing .hflp-gallery-count-6{aspect-ratio:6/4.35!important}
.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(1),.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(4){grid-column:1/span 2!important}
.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(2),.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(5){grid-column:3/span 2!important}
.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(3),.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(6){grid-column:5/span 2!important}
.hfads-landing .hflp-gallery-count-6 .hflp-card-gallery-item:nth-child(n+4){grid-row:2!important}
.hfads-landing .hflp-card-main {padding:19px!important}
.hfads-landing .hflp-package-header h3 {font-size:24px!important;color:#fff!important;line-height:1.2;margin-bottom:5px}
.hfads-landing .hflp-badge {font-size:13px!important;background:#53d9d4!important;color:#06252c!important;border-color:#53d9d4!important;font-weight:800}
.hfads-landing .hflp-subtitle {font-size:16px!important}
.hfads-landing .hflp-tailor-line {font-size:16px!important;color:#87eae4!important}
.hfads-landing .hflp-tailor-explainer {font-size:15.5px!important;line-height:1.58!important;color:#eaf5f6!important}
.hfads-landing .hflp-preview-contents-label {font-size:15px!important;color:#c9e3e5!important}
.hfads-landing .hflp-preview-contents li {font-size:15.5px!important;line-height:1.45!important;color:#e8f0f1!important}
.hfads-landing .hflp-card-price-label {font-size:14px!important}
.hfads-landing .hflp-card-price {font-size:clamp(25px,2vw,31px)!important;color:#56e2df!important}
.hfads-landing .hflp-card-savings,.hfads-landing .hflp-card-gift {font-size:15.5px!important;line-height:1.5!important}
.hfads-landing .hflp-card-price-note {font-size:14px!important;line-height:1.56!important;color:#d6e3e6!important}
.hfads-landing .hflp-open-config,.hfads-landing .hflp-add-package {font-size:16px!important;min-height:50px!important}
.hfads-landing .hflp-package-card.is-expanded {grid-column:1/-1!important}
.hfads-landing .hflp-config-intro p,.hfads-landing .hflp-qty-line,.hfads-landing .hflp-role {font-size:16px!important}
.hfads-landing .hflp-component h4 {font-size:17px!important}
.hfads-landing .woocommerce-variation-availability,.hfads-landing .stock{display:none!important}
.hfads-admin-hint {background:#553f11;color:#fff;padding:15px 20px;border-radius:10px;margin:16px 0;line-height:1.6}.hfads-admin-hint ul{margin:9px 0 0;padding-left:24px;list-style:disc}
.hfads-exit {margin:22px 0 22px;background-color:#0b3440;background-position:center;background-size:cover;border:1px solid #1b6972;border-radius:14px;padding:24px;display:flex;align-items:center;gap:18px;min-width:0;position:relative;isolation:isolate}
.hfads-exit-mark {width:58px;height:58px;border:1px solid #2ec7c6;color:#50d9d5;flex:0 0 auto;border-radius:12px;display:grid;place-items:center;font-size:30px;background:#06303f}
.hfads-exit-copy {min-width:0;flex:1}
.hfads-landing .hfads-exit h2 {font-size:24px;line-height:1.2;margin:0 0 5px;color:#fff}
.hfads-landing .hfads-exit p {font-size:18px;line-height:1.6;margin:0;color:#edf5f6}
.hfads-exit .hfads-button {flex:0 0 auto}
.hfads-trust {border-top:1px solid rgba(58,184,190,.33);background:#05222e;padding:20px 0}
.hfads-trust .hfads-wrap {display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.hfads-trust span {font-size:15px;color:#8fe7e4;display:flex;gap:9px;align-items:center}
.hfads-trust b {color:#e5f2f2;font-weight:750}
@media(max-width:1080px){.hfads-landing .hflp-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hfads-hero-photo{left:var(--hfads-photo-start,43%);background-position:var(--hfads-photo-focus-x,0%) var(--hfads-photo-focus-y,50%)}.hfads-exit{flex-wrap:wrap}.hfads-exit .hfads-button{margin-left:76px}}
@media(max-width:740px){.hfads-landing .hfads-wrap{width:min(100% - 28px,var(--hf-max))}.hfads-hero{min-height:0}.hfads-hero-inner{padding-block:40px 36px}.hfads-hero-photo{left:var(--hfads-photo-mobile-start,0%);right:0;opacity:.60;background-position:var(--hfads-photo-mobile-focus-x,30%) var(--hfads-photo-mobile-focus-y,50%)}.hfads-landing .hfads-hero h1{font-size:clamp(32px,9vw,43px)}.hfads-hero-lead{font-size:17px;max-width:95%}.hfads-actions{display:grid;gap:10px;max-width:100%}.hfads-benefits{gap:16px}.hfads-benefits>div{max-width:none;flex:1 1 220px}.hfads-offers{padding:38px 0 0}.hfads-landing .hflp-package-grid{grid-template-columns:1fr!important}.hfads-landing .hflp-card-gallery{max-height:none!important}.hfads-landing .hflp-card-main{padding:16px!important}.hfads-landing .hflp-preview-contents li{font-size:16px!important}.hfads-landing .hflp-card-price{font-size:27px!important}.hfads-exit{padding:19px;gap:13px}.hfads-exit-mark{height:46px;width:46px}.hfads-exit .hfads-button{margin-left:0;width:100%}.hfads-trust .hfads-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:370px){.hfads-landing .hfads-kicker{letter-spacing:.055em;font-size:14px}.hfads-benefits>div{flex:1 1 100%}.hfads-trust .hfads-wrap{grid-template-columns:1fr}.hfads-landing .hflp-card-price{font-size:24px!important}.hfads-landing .hfads-hero h1{font-size:32px}.hfads-exit-mark{display:none}}
@media(prefers-reduced-motion:reduce){.hfads-landing *{scroll-behavior:auto!important;transition:none!important}}

/* v0.1.1: adaptív csomagszám, kizárólag a mesteroldal kártyarácsára.
 * 1 csomag: középre rendezett, széles, képes ajánlat; 2: két oszlop;
 * 3 vagy több: változatlan eredeti háromoszlopos rács.
 * A megnyitott konfigurátor megtartja a saját teljes szélességű elrendezését.
 * A :has() nélküli régebbi böngészők az eredeti, működő rácsot használják.
 */
@supports selector(.hflp-package-grid:has(> .hflp-package-card:only-child)) {
  .hfads-landing .hflp-package-grid:has(> .hflp-package-card:only-child) {
    grid-template-columns:minmax(0,1fr)!important;
    width:min(100%,960px);
    margin-inline:auto;
  }
  .hfads-landing .hflp-package-grid:has(> .hflp-package-card:nth-child(2):last-child) {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:min(100%,1010px);
    margin-inline:auto;
  }
  @media (min-width:851px) {
    .hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) {
      display:grid!important;
      grid-template-columns:minmax(0,0.88fr) minmax(0,1.12fr);
      align-items:stretch;
    }
    .hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-card-gallery {
      aspect-ratio:1/1!important;
      max-height:none!important;
      min-height:0!important;
      height:auto!important;
      width:calc(100% - 20px);
      align-self:center;
      margin:10px;
      border:1px solid rgba(143,211,214,.20);
      border-radius:12px;
    }
    .hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-gallery-count-2 {
      aspect-ratio:2/1!important;
    }
    .hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-gallery-count-1 {
      aspect-ratio:1/1!important;
    }
    .hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-card-main {
      min-width:0;
      height:100%;
      padding:clamp(22px,2.4vw,30px)!important;
    }
  }
  @media (max-width:850px) {
    .hfads-landing .hflp-package-grid:has(> .hflp-package-card:only-child) {
      width:min(100%,610px);
    }
  }
  @media (max-width:740px) {
    .hfads-landing .hflp-package-grid:has(> .hflp-package-card:nth-child(2):last-child) {
      grid-template-columns:1fr!important;
      width:min(100%,610px);
    }
  }
}

/* v0.1.5: mobilos hero olvashatóság és magasság kontrollja; csak a mesteroldalon. */
@media(max-width:740px){
 .hfads-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,22,31,.76),rgba(3,22,31,.5));pointer-events:none;z-index:0}
 .hfads-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .hfads-benefits>div{max-width:none;min-width:0;flex:none;gap:8px}
 .hfads-benefits>div:last-child{grid-column:1/-1}
 .hfads-benefit-icon{width:36px;height:36px;flex-basis:36px;font-size:18px}
 .hfads-benefits p{font-size:13.5px}
 .hfads-benefits strong{font-size:14px}
}
@media(max-width:370px){
 .hfads-benefits{grid-template-columns:1fr}
 .hfads-benefits>div:last-child{grid-column:auto}
}

/* Configurátor nyitásakor is azonos, áttekinthető montázs marad. */
.hfads-landing .hflp-package-card.is-expanded .hflp-card-gallery {
  height:auto!important;min-height:0!important;max-height:360px!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-auto-rows:minmax(0,1fr)!important;
}
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-2{
  aspect-ratio:6/2.45!important;
}
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-1{
  aspect-ratio:1.08!important;
}

/* v0.1.9 — pontosan körülhatárolt hozzáférhetőségi és megjelenítési javítás.
   A natív <select> menü opcióinak kontrasztja: világos lista, sötét szöveg.
   A zárt mező szándékosan sötét marad, világos felirattal.
   Nem érinti a WooCommerce variációk kiválasztását, csak annak CSS-megjelenését. */
.hfads-landing .hflp-mixed-slots select {
  color-scheme:light!important;
  color:#fff!important;
  background-color:#192331!important;
  border-color:#7d9ba2!important;
}
.hfads-landing .hflp-mixed-slots select option,
.hfads-landing .hflp-mixed-slots select optgroup {
  color:#10242a!important;
  background-color:#fff!important;
}
.hfads-landing .hflp-mixed-slots select option:disabled {
  color:#596b74!important;
}
/* v0.1.10 — visszafogott, egységes termékmontázs.
 * A meleg borostyánszín csak a teljes montázs keretén marad.
 * A képcellák nem kapnak külön narancs keretet vagy sárga árnyékot.
 * Csak a mesteroldal csomaggalériájának megjelenését érinti. */
.hfads-landing .hflp-package-card .hflp-card-gallery {
  border:1px solid rgba(215,165,101,.55)!important;
  border-bottom:2px solid rgba(215,165,101,.72)!important;
  background:linear-gradient(150deg,#eef1ef 0%,#e6ebe9 100%)!important;
  box-shadow:none!important;
  gap:6px!important;
  padding:8px!important;
}
.hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item {
  background:#f9fbfa!important;
  border:1px solid rgba(53,93,99,.09)!important;
  border-radius:7px!important;
  box-shadow:none!important;
}
.hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-card-gallery {
  border:1px solid rgba(215,165,101,.55)!important;
  border-bottom:2px solid rgba(215,165,101,.72)!important;
}

/* v0.1.11 – JÓVÁHAGYOTT 1. koncepció: automatikus, prémium aranynarancs montázs.
 * CSAK mesteroldali CSS: valódi WooCommerce termékképek, változatlan HFLP logika.
 * A keret és a fény a TELJES képmontázst emeli ki, nem a belső képeket.
 * Az 1–6 elemes CSS-grid és a termék képaránya változatlan.
 */
.hfads-landing .hflp-package-card {
  overflow:visible!important; /* a teljes galéria enyhe külső peremfénye ne vágódjon le */
}
.hfads-landing .hflp-package-card .hflp-card-gallery {
  border:2px solid #f5ac32!important;
  border-bottom:2px solid #faab29!important;
  border-radius:15px 15px 13px 13px!important;
  background:radial-gradient(ellipse at 50% 12%,#fff9ed 0%,#fff3df 45%,#f5e5c7 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,249,229,.97),
    inset 0 0 16px rgba(255,192,79,.16),
    0 0 0 1px rgba(255,192,65,.48),
    0 0 7px rgba(255,170,46,.72),
    0 0 17px rgba(247,140,25,.32)!important;
  padding:8px!important;
  gap:6px!important;
  position:relative;
  z-index:1;
  isolation:isolate;
}
.hfads-landing .hflp-package-card .hflp-card-gallery::before {
  content:"";
  display:block;
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  border:1px solid rgba(255,243,201,.91);
  box-shadow:inset 0 1px 7px rgba(255,177,43,.28);
  z-index:2;
}
.hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item {
  background:linear-gradient(160deg,#fffdfa 0%,#fff9ef 100%)!important;
  border:1px solid rgba(255,255,255,.96)!important;
  border-radius:10px!important;
  box-shadow:
    0 2px 6px rgba(87,61,31,.12),
    inset 0 1px 0 rgba(255,255,255,.98)!important;
}
.hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item img {
  /* A termékfotók változatlanok; nincs AI kép, agresszív filter vagy rázoomolás. */
  filter:none!important;
  mix-blend-mode:multiply!important;
}
/* Az egyetlen széles kártyán ugyanilyen aranyszegély legyen (korábbi szabály felülírása). */
.hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-card-gallery {
  border:2px solid #f5ac32!important;
  border-bottom:2px solid #faab29!important;
  border-radius:15px!important;
}
@media (max-width:740px) {
  .hfads-landing .hflp-package-card .hflp-card-gallery {
    box-shadow:inset 0 0 0 1px rgba(255,249,229,.95),0 0 5px rgba(255,170,46,.58),0 0 11px rgba(247,140,25,.23)!important;
    padding:6px!important;
    gap:5px!important;
  }
  .hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item {border-radius:8px!important}
}


/* v0.1.12 — a jóváhagyott "Koncepció 1" montázsának célzott reprodukciója.
 * Referencia: meleg aranykrém képfelület, közel négyzetes két sor,
 * valódi WooCommerce termékképek és fényes, de kizárólag külső borostyánperem.
 * Változatlan: hero, HFLP, ár/kedvezmény/készlet/kosár, tartalom és kártyasorrend.
 */
.hfads-landing .hflp-package-card .hflp-card-gallery {
  border:2px solid #fda31b!important;
  border-bottom:3px solid #ff980c!important;
  border-radius:16px!important;
  background:radial-gradient(ellipse at 50% 12%,#fff9e9 0%,#fff0cb 53%,#f4d79e 100%)!important;
  box-shadow:
    inset 0 0 0 1px rgba(255,252,221,.98),
    inset 0 0 17px 3px rgba(253,162,31,.50),
    0 0 0 1px rgba(255,217,113,.94),
    0 0 7px 2px rgba(255,157,15,.90),
    0 0 17px 4px rgba(255,130,6,.44),
    0 12px 23px rgba(0,0,0,.22)!important;
  gap:6px!important;
  padding:7px!important;
  overflow:hidden!important;
  isolation:isolate;
}
.hfads-landing .hflp-package-card .hflp-card-gallery::before {
  border:1px solid rgba(255,249,208,.90)!important;
  box-shadow:inset 0 1px 9px rgba(255,186,46,.40)!important;
  z-index:2;
}
.hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item {
  background:radial-gradient(ellipse at 50% 30%,#fffdf7 0%,#fff7e6 62%,#ffe9bb 100%)!important;
  border:1px solid rgba(255,250,224,.98)!important;
  border-radius:11px!important;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.96),
    inset 0 -5px 11px rgba(236,159,44,.19),
    0 1px 4px rgba(90,58,19,.12)!important;
}
.hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item img {
  padding:2.5%!important;
  transform:none!important;
  filter:contrast(1.16) saturate(1.04) brightness(.985)!important;
  mix-blend-mode:multiply!important;
}
/* A jelenlegi ötképes montázs hibájának célzott javítása:
   ne legyen üres 1-1 oszlop az első két termék két szélén. */
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-5 {
  aspect-ratio:1.13!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
}
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(1) {grid-column:1/span 3!important;grid-row:1!important}
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(2) {grid-column:4/span 3!important;grid-row:1!important}
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(3) {grid-column:1/span 2!important;grid-row:2!important}
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(4) {grid-column:3/span 2!important;grid-row:2!important}
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(5) {grid-column:5/span 2!important;grid-row:2!important}
/* Négy és hat képnél ugyanaz a magasság és a már működő rács. */
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-4,
.hfads-landing .hflp-package-card:not(.is-expanded) .hflp-gallery-count-6 {
  aspect-ratio:1.13!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
}
/* Széles, egycsomagos kártya: megtartjuk a 0.1.11-es elrendezését,
 * a perem és a belső felületek viszont ugyanilyen melegek. */
.hfads-landing .hflp-package-grid > .hflp-package-card:only-child:not(.is-expanded) .hflp-card-gallery {
  border:2px solid #fda31b!important;
  border-bottom:3px solid #ff980c!important;
}
@media(max-width:740px) {
  .hfads-landing .hflp-package-card .hflp-card-gallery {
    padding:5px!important;
    gap:5px!important;
    box-shadow:
      inset 0 0 0 1px rgba(255,252,221,.98),
      inset 0 0 13px 2px rgba(253,162,31,.37),
      0 0 0 1px rgba(255,217,113,.85),
      0 0 6px 1px rgba(255,157,15,.74),
      0 0 13px 2px rgba(255,130,6,.32)!important;
  }
  .hfads-landing .hflp-package-card .hflp-card-gallery .hflp-card-gallery-item {border-radius:9px!important}
}


/* v0.1.15 — fókuszált csomagösszeállítás kizárólag az Ads mesteroldalon.
 * HFLP 1.0.18 logika érintetlen: a megnyitott kártya nem feszíti szét
 * a három csomagos ajánlati rácsot. A többi csomag bezárásig csak elrejtve van.
 */
@supports selector(.hflp-package-grid:has(> .hflp-package-card.is-expanded)) {
  .hfads-landing .hflp-package-grid:has(> .hflp-package-card.is-expanded) {
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:min(100%,1200px)!important;
    margin-inline:auto!important;
    gap:0!important;
    align-items:start!important;
  }
  .hfads-landing .hflp-package-grid:has(> .hflp-package-card.is-expanded) > .hflp-package-card:not(.is-expanded) {
    display:none!important;
  }
}
.hfads-landing .hflp-package-grid > .hflp-package-card.is-expanded {
  display:grid!important;
  grid-column:1/-1!important;
  grid-template-columns:minmax(0,325px) minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  align-items:start!important;
  min-width:0!important;
  width:100%!important;
  overflow:visible!important;
  scroll-margin-top:110px;
}
.hfads-landing .hflp-package-card.is-expanded > .hflp-card-gallery {
  position:sticky!important;
  top:96px!important;
  width:calc(100% - 20px)!important;
  margin:14px 10px!important;
  max-height:none!important;
  height:auto!important;
  aspect-ratio:1.12!important;
  align-self:start!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
}
.hfads-landing .hflp-package-card.is-expanded .hflp-card-main {
  min-width:0!important;
  padding:clamp(18px,2.4vw,30px)!important;
}
/* Az ötképes fókusznézetben se maradjon két üres szélső oszlop. */
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(1) {grid-column:1/span 3!important;grid-row:1!important}
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(2) {grid-column:4/span 3!important;grid-row:1!important}
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(3) {grid-column:1/span 2!important;grid-row:2!important}
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(4) {grid-column:3/span 2!important;grid-row:2!important}
.hfads-landing .hflp-package-card.is-expanded .hflp-gallery-count-5 .hflp-card-gallery-item:nth-child(5) {grid-column:5/span 2!important;grid-row:2!important}
.hfads-landing .hflp-package-card.is-expanded .hflp-configurator {
  border-top:1px solid rgba(183,219,219,.23);
  padding-top:20px;
}
@media(max-width:1210px) {
  .hfads-landing .hflp-package-card.is-expanded .hflp-component-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:800px) {
  .hfads-landing .hflp-package-grid > .hflp-package-card.is-expanded {
    display:flex!important;
    flex-direction:column!important;
    width:min(100%,620px)!important;
    margin-inline:auto!important;
    scroll-margin-top:82px;
  }
  .hfads-landing .hflp-package-card.is-expanded > .hflp-card-gallery {
    position:relative!important;
    top:auto!important;
    width:calc(100% - 20px)!important;
    margin:10px!important;
    aspect-ratio:1.4!important;
    max-height:350px!important;
    flex:0 0 auto;
  }
  .hfads-landing .hflp-package-card.is-expanded > .hflp-card-main {
    width:100%!important;
  }
}
@media(max-width:400px) {
  .hfads-landing .hflp-package-card.is-expanded > .hflp-card-gallery {
    aspect-ratio:1.25!important;
  }
}

/* v0.1.16 – HFLP 1.0.18 kompatibilis, explicit megnyitási állapot.
 * A .hfads-config-open osztályt a focus.js közvetlenül a valós
 * .hflp-package-card.is-expanded állapotból állítja elő.
 * A korábbi CSS :has() támogatásától független, csak a mesteroldalon él.
 */
.hfads-landing .hflp-package-grid.hfads-config-open {
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
  width:min(100%,1200px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  align-items:start!important;
}
.hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card:not(.is-expanded) {
  display:none!important;
}
.hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded {
  display:grid!important;
  grid-column:1/-1!important;
  grid-template-columns:minmax(0,310px) minmax(0,1fr)!important;
  grid-template-rows:auto!important;
  width:100%!important;
  min-width:0!important;
  align-items:start!important;
  overflow:visible!important;
}
.hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded > .hflp-card-gallery {
  width:calc(100% - 20px)!important;
  margin:14px 10px!important;
  position:sticky!important;
  top:94px!important;
  max-height:330px!important;
  height:auto!important;
  aspect-ratio:1.12!important;
  min-width:0!important;
  align-self:start!important;
}
.hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded > .hflp-card-main {
  min-width:0!important;
  padding:clamp(18px,2.2vw,30px)!important;
}
.hfads-landing .hflp-package-grid.hfads-config-open .hflp-component-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
@media(max-width:1180px) {
  .hfads-landing .hflp-package-grid.hfads-config-open .hflp-component-grid {
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:800px) {
  .hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded {
    display:flex!important;
    flex-direction:column!important;
    width:min(100%,620px)!important;
    margin:0 auto!important;
  }
  .hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded > .hflp-card-gallery {
    position:relative!important;
    top:auto!important;
    width:calc(100% - 20px)!important;
    margin:10px!important;
    max-height:390px!important;
    aspect-ratio:1.4!important;
  }
  .hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded > .hflp-card-main {
    width:100%!important;
  }
}
@media(max-width:400px) {
  .hfads-landing .hflp-package-grid.hfads-config-open > .hflp-package-card.is-expanded > .hflp-card-gallery {
    aspect-ratio:1.2!important;
  }
}


/* v0.1.17 – permanent package collection (scoped, no global Woo/Kadence changes). */
.hfads-index{background:radial-gradient(ellipse at 78% 0%,rgba(13,111,118,.2),transparent 47%),repeating-radial-gradient(ellipse at 10% 20%,transparent 0 60px,rgba(78,206,207,.035) 61px 62px),#041e2a;color:#f6fbfc;padding:clamp(36px,7vw,85px) 20px 90px;min-height:58vh}
.hfads-index *{box-sizing:border-box}
.hfads-index-inner{max-width:1160px;margin:0 auto}
.hfads-index-eyebrow{font-size:13px;font-weight:800;letter-spacing:.13em;color:#71e2df;margin:0 0 14px}
.hfads-index h1{font-size:clamp(30px,4.5vw,54px);line-height:1.12;color:white;font-weight:800;margin:0 0 20px}
.hfads-index h1 span{color:#4cd4d0}
.hfads-index-intro{font-size:clamp(16px,1.75vw,19px);max-width:720px;line-height:1.55;color:#e7f3f4;margin:0 0 38px}
/* v0.1.18 – balanced collection cards, scoped exclusively to the Ads index.
   1 = featured full width, 2 = 2 columns, 3 = 3 columns, 4 = 2x2,
   5 = 3 + 2 centered, 6 and more = 3 columns. No plugin/business logic changed. */
.hfads-index-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px;align-items:stretch}
.hfads-index-grid>.hfads-index-card{grid-column:span 2}
.hfads-index-count-1>.hfads-index-card{grid-column:1/-1}
.hfads-index-count-2>.hfads-index-card,.hfads-index-count-4>.hfads-index-card{grid-column:span 3}
.hfads-index-count-5>.hfads-index-card:nth-child(4){grid-column:2/span 2}
.hfads-index-count-5>.hfads-index-card:nth-child(5){grid-column:4/span 2}
/* Two columns on narrower desktops/tablets; last unpaired card is centered. */
@media(max-width:980px) and (min-width:651px){
  .hfads-index-grid{display:flex;flex-wrap:wrap;justify-content:center}
  .hfads-index-grid>.hfads-index-card{flex:0 1 calc((100% - 22px)/2)}
  .hfads-index-count-1>.hfads-index-card{flex-basis:100%}
}
/* A true single-column mobile layout regardless of package count. */
@media(max-width:650px){
  .hfads-index-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
  .hfads-index-grid>.hfads-index-card{grid-column:1/-1!important;min-width:0}
}
.hfads-index-card{display:flex;flex-direction:column;overflow:hidden;background:#0b2c39;border-radius:14px;border:1px solid rgba(77,208,207,.42);box-shadow:0 18px 34px rgba(0,0,0,.15);min-width:0}
.hfads-index-card-image{height:185px;background-position:center;background-size:cover;background-color:#164353}
.hfads-index-card-placeholder{display:grid;place-items:center;font-size:62px;color:#5bdcd6;background:radial-gradient(circle at 70% 45%,rgba(36,163,164,.25),transparent 60%),#0c3444}
.hfads-index-card-body{display:flex;flex-direction:column;flex:1;padding:22px}
.hfads-index-card-label{color:#68dad7;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin:0 0 9px}
.hfads-index-card h2{color:#fff;font-size:clamp(21px,2vw,26px);line-height:1.23;margin:0 0 12px;font-weight:800}
.hfads-index-card-body>p:not(.hfads-index-card-label){font-size:15px;line-height:1.5;color:#d6e7ea;flex:1;margin:0 0 20px}
.hfads-index-link{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#23c5c7;border-radius:9px;padding:14px 16px;text-decoration:none!important;font-weight:800;color:#03242e!important;transition:background .2s ease}
.hfads-index-link:hover,.hfads-index-link:focus-visible{background:#7ce9e7;color:#03242e!important}
.hfads-index-empty{padding:22px;border:1px dashed rgba(80,211,209,.55);border-radius:12px;color:#f6fbfc}
.hfads-index-admin-note{color:#e9cc8f;font-size:13px;margin-top:15px}
.hfads-back-to-index{padding:20px;background:#041f2a;text-align:center}
.hfads-back-to-index a{color:#83e4e0!important;text-decoration:underline;text-underline-offset:4px;font-weight:700}
.hfads-back-to-index a:hover{color:#fff!important}
@media(max-width:650px){.hfads-index{padding:34px 16px 65px}.hfads-index-card-image{height:165px}}
/* Keep the collection full-width inside Kadence default content wrappers. */
body.hfads-index-page .entry-hero,
body.hfads-index-page article.page .entry-header,
body.hfads-index-page .entry-header.kadence-entry-header {display:none!important}
body.hfads-index-page .content-area .entry-content-wrap {padding:0!important}
body.hfads-index-page .content-area,
body.hfads-index-page #primary {margin-top:0!important;padding-top:0!important}
body.hfads-index-page .entry-content > .wp-block-shortcode{margin-block:0!important}
.hfads-index{position:relative;left:50%;transform:translateX(-50%);width:100vw;max-width:100vw;overflow:hidden}
.hfads-index{box-sizing:border-box}

.hfads-index-card h2,.hfads-index h1{overflow-wrap:anywhere}

/* v0.1.23 – diszkrét kijárat a gyűjtőoldalról a teljes termékkínálatba. */
.hfads-index-shop-exit{margin:32px auto 0;max-width:840px;padding:26px 26px 28px;text-align:center;background:#0b2c39;border:1px solid rgba(77,208,207,.42);border-radius:14px}
.hfads-index-shop-exit h2{font-size:clamp(20px,2.4vw,26px);color:#fff;margin:0 0 12px;line-height:1.25}
.hfads-index-shop-exit p{font-size:15px;line-height:1.55;color:#d8e9eb;margin:0 auto 18px;max-width:610px}
.hfads-index-shop-link{display:inline-flex;align-items:center;gap:14px;border:1px solid #44c9cb;border-radius:8px;padding:12px 20px;max-width:100%;color:#7ce9e7!important;font-weight:800;text-decoration:none!important;line-height:1.4;white-space:normal}
.hfads-index-shop-link:hover,.hfads-index-shop-link:focus-visible{background:#12505a;color:#fff!important}
.hfads-index-shop-link:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:650px){.hfads-index-shop-exit{margin-top:24px;padding:23px 16px}.hfads-index-shop-link{justify-content:center;width:100%}}
