/* ==========================================================================
   Beny Autótöltő — TERMÉKOLDAL
   --------------------------------------------------------------------------
   Markup: inc/woocommerce-termekoldal.php (shortcode-ok az Elementor sablonban)
   JS:     js/beny-termekoldal.js
   Terv:   latvanytervek/termekoldal-latvanyterv.html
   Csak termékoldalon töltődik be; a színek/betűk a beny.css --beny-* tokenjeire épülnek.

   1. Helyi tokenek, közös elemek
   2. Hős: morzsa, galéria, info
   3. Garancia-doboz és -sáv
   4. Konfigurátor
   5. Vásárlópanel (WooCommerce kosár-űrlap átstílusozva)
   6. Szakasz-navigáció
   7. Funkciók
   8. Adatlap (sötét sáv)
   9. Leírás + videó
  10. Kiegészítők (kártyák)
  11. Mobil vásárlósáv, nagyító
   ========================================================================== */

/* ---- 1. Helyi tokenek, közös elemek ------------------------------------- */

body.single-product {
  overflow-x: clip; /* a teljes szélességű sávok (100vw) miatt */

  --pdp-ink:        var(--beny-dark, #1B2433);
  --pdp-ink-2:      var(--beny-dark-2, #232E41);
  --pdp-blue:       var(--beny-primary, #377DD4);
  --pdp-blue-2:     var(--beny-button-hover, #1363CA);
  --pdp-teal:       var(--beny-secondary, #388883);
  --pdp-teal-lite:  #6FD3C9;
  --pdp-text:       var(--beny-text, #414756);
  --pdp-muted:      #6F7C89;
  --pdp-muted-dark: var(--beny-muted-on-dark, #A9B4C4);
  --pdp-surface:    var(--beny-bg-light, #F3F9FF);
  --pdp-surface-2:  #EAF2FB;
  --pdp-line:       #E2E9F2;
  --pdp-line-dark:  rgba(255, 255, 255, .10);
  --pdp-ok:         #2BD576;
  --pdp-wait:       #F3B23C;
  --pdp-off:        #8A94A3;
  --pdp-grad:       linear-gradient(100deg, #388883 0%, #0089b1 55%, #377dd4 100%);
  --pdp-head:       var(--beny-font-heading, "Urbanist", sans-serif);
  --pdp-body:       var(--beny-font-body, "Raleway", sans-serif);
  --pdp-r:          14px;
  --pdp-r-lg:       22px;
  --pdp-ease:       cubic-bezier(.2, .7, .2, 1);
  --pdp-maxw:       1240px;
}

/* Az Elementor sablon gyökér-konténere: ne adjon saját térközt */
.beny-pdp-root.e-con,
.beny-pdp-root { padding: 0 !important; gap: 0 !important; }
.beny-pdp-root .elementor-widget-shortcode,
.beny-pdp-root .elementor-shortcode { width: 100%; }

.beny-wrap,
.beny-pdp-wrap {
  max-width: var(--pdp-maxw);
  margin-inline: auto;
  padding-inline: 20px;
  box-sizing: border-box;
}
.beny-bleed { width: 100vw; margin-left: calc(50% - 50vw); }

.beny-ico { width: 1em; height: 1em; flex: 0 0 auto; }
.beny-eyebrow {
  font: 700 .74rem/1 var(--pdp-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--pdp-teal);
}
.beny-pdp-wrap h1, .beny-sec h2, .beny-sec h3 {
  font-family: var(--pdp-head);
  color: var(--pdp-ink);
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0;
}
.beny-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  height: 52px; padding: 0 1.4em;
  border: 0; border-radius: 999px;
  background: var(--pdp-grad); color: #fff !important;
  font: 700 1rem var(--pdp-head); text-decoration: none; cursor: pointer;
}
.beny-btn .beny-ico { width: 1.15em; height: 1.15em; }
.beny-btn--sm { height: 38px; padding: 0 1.1em; font-size: .86rem; background: var(--pdp-blue); }
.beny-btn--ghost { background: rgba(255,255,255,.08); border: 1px solid var(--pdp-line-dark); }

.beny-sec { padding-block: clamp(3rem, 6vw, 5rem); scroll-margin-top: 70px; }
.beny-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.beny-sec__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; margin-top: .6rem; }
.beny-sec__head p { margin: 0; max-width: 48ch; color: var(--pdp-muted); }

/* ---- 2. Hős: morzsa, galéria, info -------------------------------------- */

.beny-pdp-wrap .woocommerce-notices-wrapper:not(:empty) { padding-top: 1rem; }

.beny-crumb { display: flex; flex-wrap: wrap; gap: .45rem; padding-block: 1.1rem .9rem; font-size: .8rem; color: var(--pdp-muted); }
.beny-crumb a { color: var(--pdp-muted); text-decoration: none; }
.beny-crumb a:hover { color: var(--pdp-blue); }
.beny-crumb__sep { opacity: .5; }

.beny-pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: start;
  padding-bottom: 3.5rem;
}

/* galéria */
.beny-gal { position: sticky; top: 20px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
.beny-gal.is-single { grid-template-columns: minmax(0, 1fr); }
.beny-gal__stage {
  position: relative; grid-column: 2; aspect-ratio: 1 / 1; max-width: 100%;
  border-radius: var(--pdp-r-lg); overflow: hidden; border: 1px solid var(--pdp-line);
  background:
    radial-gradient(60% 55% at 50% 48%, rgba(55,125,212,.16), rgba(55,125,212,0) 70%),
    radial-gradient(circle, rgba(27,36,51,.09) 1px, transparent 1.2px) 0 0 / 18px 18px,
    linear-gradient(180deg, #F7FAFE, #EEF4FB);
}
.beny-gal.is-single .beny-gal__stage { grid-column: 1; }
.beny-gal__track { position: absolute; inset: 0; }
.beny-gal__item { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .35s var(--pdp-ease); cursor: zoom-in; }
.beny-gal__item.is-on { opacity: 1; visibility: visible; }
.beny-gal__item img { width: 100%; height: 100% !important; max-width: none; display: block; transition: transform .9s var(--pdp-ease); }
.beny-gal__item.is-pack img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; box-sizing: border-box; }
.beny-gal__item.is-life img { object-fit: cover; }
.beny-gal__stage:hover .beny-gal__item.is-on img { transform: scale(1.025); }

.beny-gal__hud { position: absolute; inset: 16px; pointer-events: none; z-index: 1; }
.beny-gal__hud i { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(55,125,212,.55); }
.beny-gal__hud i:nth-child(1) { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 6px; }
.beny-gal__hud i:nth-child(2) { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 6px; }
.beny-gal__hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 6px; }
.beny-gal__hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 6px; }
.beny-gal__stage.is-life .beny-gal__hud { display: none; }

.beny-gal__tags { position: absolute; left: 18px; top: 18px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.beny-tag {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .7rem; border-radius: 999px;
  font: 700 .74rem/1 var(--pdp-head); background: rgba(255,255,255,.94); color: var(--pdp-ink);
  box-shadow: 0 2px 10px -4px rgba(27,36,51,.25);
}
.beny-tag .beny-ico { width: 14px; height: 14px; }
.beny-tag--wty { background: var(--pdp-grad); color: #fff; }

.beny-gal__zoom {
  position: absolute; right: 16px; top: 16px; z-index: 2; width: 42px; height: 42px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--pdp-line) !important; background: rgba(255,255,255,.9) !important; color: var(--pdp-ink) !important;
}
.beny-gal__zoom .beny-ico { width: 18px; height: 18px; }
.beny-gal__count { position: absolute; right: 18px; bottom: 16px; z-index: 2; font: 600 .74rem var(--pdp-head); letter-spacing: .08em; color: var(--pdp-muted); }

.beny-pdp__media { align-self: stretch; } /* a galéria így végig ragadós marad az info mellett */
.beny-gal__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; height: 0; min-height: 100%; overflow-y: auto; scrollbar-width: none; }
.beny-gal__thumbs::-webkit-scrollbar { display: none; }
.beny-gal__thumbs > * {
  position: relative; flex: 0 0 auto; width: 76px; height: 76px; padding: 0; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--pdp-line) !important; background: #F7FAFE !important;
  transition: border-color .2s, box-shadow .2s;
}
.beny-gal__thumbs img { width: 100%; height: 100% !important; object-fit: contain; padding: 6px; box-sizing: border-box; mix-blend-mode: multiply; }
.beny-gal__thumbs .is-life img, .beny-gal__video img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.beny-gal__thumbs .is-on { border-color: var(--pdp-blue) !important; box-shadow: 0 0 0 3px rgba(55,125,212,.18); }
.beny-gal__video span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(27,36,51,.4); color: #fff; }
.beny-gal__video .beny-ico { width: 22px; height: 22px; }

/* info oszlop */
.beny-pdp__info { display: flex; flex-direction: column; gap: 1.15rem; min-width: 0; }
.beny-pdp__top { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1rem; flex-wrap: wrap; }
.beny-code { font: 500 .78rem/1 var(--pdp-body); color: var(--pdp-muted); border: 1px solid var(--pdp-line); border-radius: 6px; padding: .4rem .55rem; }
.beny-code b { font: 700 .82rem/1 var(--pdp-head); color: var(--pdp-ink); letter-spacing: .02em; }
.beny-pdp__title { font-size: clamp(1.75rem, 2.6vw, 2.4rem) !important; font-weight: 700; line-height: 1.12; }
.beny-pdp__lead { color: var(--pdp-text); font-size: .98rem; max-width: 62ch; }
.beny-pdp__lead p { margin: 0; }
.beny-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.beny-pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border-radius: 999px;
  background: var(--pdp-surface); border: 1px solid var(--pdp-surface-2);
  font: 600 .86rem/1 var(--pdp-head); color: var(--pdp-ink);
}
.beny-pill .beny-ico { width: 15px; height: 15px; color: var(--pdp-blue); }

.beny-assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.beny-as { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem; border-radius: var(--pdp-r); background: var(--pdp-surface); text-decoration: none; transition: background .2s; }
a.beny-as:hover { background: var(--pdp-surface-2); }
.beny-as .beny-ico { width: 22px; height: 22px; color: var(--pdp-blue); }
.beny-as b { display: block; font: 700 .88rem/1.2 var(--pdp-head); color: var(--pdp-ink); }
.beny-as small { display: block; margin-top: .15rem; font-size: .75rem; line-height: 1.35; color: var(--pdp-muted); }

/* ---- 3. Garancia-doboz és -sáv ------------------------------------------ */

.beny-wty {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: var(--pdp-r-lg);
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--pdp-grad) border-box;
  box-shadow: 0 14px 34px -22px rgba(55,125,212,.7);
}
.beny-seal {
  position: relative; width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--pdp-grad); color: #fff; box-shadow: inset 0 0 0 4px rgba(255,255,255,.25);
}
.beny-seal::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.55); }
.beny-seal b { display: block; font: 800 1.9rem/.9 var(--pdp-head); letter-spacing: -.03em; }
.beny-seal small { display: block; margin-top: .2rem; font: 700 .62rem/1 var(--pdp-head); letter-spacing: .14em; text-transform: uppercase; }
.beny-wty__title { margin: 0; font: 800 1.12rem/1.2 var(--pdp-head); color: var(--pdp-ink); }
.beny-wty__title span { background: var(--pdp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.beny-wty__text { margin: .3rem 0 .45rem; font-size: .86rem; line-height: 1.45; color: var(--pdp-text); }
.beny-wty__text a { color: var(--pdp-blue); font-weight: 600; }
.beny-wty__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.beny-wty__chips span { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .55rem; border-radius: 999px; background: var(--pdp-surface); font: 600 .72rem/1 var(--pdp-body); color: var(--pdp-ink); }
.beny-wty__chips .beny-ico { width: 13px; height: 13px; color: var(--pdp-teal); }

.beny-band { background: var(--pdp-grad); color: #fff; }
.beny-band__in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.1rem; }
.beny-band__big { display: flex; align-items: center; gap: 1rem; margin: 0; }
.beny-band__big b { font: 800 clamp(2.2rem, 4vw, 3rem)/1 var(--pdp-head); letter-spacing: -.03em; white-space: nowrap; }
.beny-band__big span { font: 700 1.05rem/1.25 var(--pdp-head); }
.beny-band__big small { display: block; font: 500 .85rem var(--pdp-body); opacity: .9; }
.beny-band ul { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 0; padding: 0; list-style: none; font: 600 .88rem var(--pdp-body); }
.beny-band li { display: inline-flex; align-items: center; gap: .45rem; }
.beny-band li .beny-ico { width: 18px; height: 18px; }
.beny-band__link { color: #fff !important; font: 700 .88rem var(--pdp-head); text-decoration: underline; text-underline-offset: 3px; }

/* ---- 4. Konfigurátor ---------------------------------------------------- */

.beny-cfg {
  display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem 1.1rem 1.15rem;
  border: 1px solid var(--pdp-line); border-radius: var(--pdp-r-lg); background: linear-gradient(180deg, #fff, #FAFCFF);
}
.beny-cfg__title { margin: 0; font: 700 1rem var(--pdp-head); color: var(--pdp-ink); }
.beny-cfg__grp { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.beny-cfg__legend { margin: 0; font: 600 .78rem/1 var(--pdp-body); color: var(--pdp-muted); text-transform: uppercase; letter-spacing: .06em; }
.beny-cfg__legend b { margin-left: .35rem; font-weight: 600; color: var(--pdp-ink); text-transform: none; letter-spacing: 0; }
.beny-cfg__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: .5rem; }
.beny-opt {
  position: relative; display: flex; flex-direction: column; gap: .2rem; min-width: 0;
  padding: .65rem 1.4rem .65rem .75rem; border-radius: 12px; border: 1.5px solid var(--pdp-line);
  background: #fff; color: var(--pdp-ink); text-decoration: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.beny-opt:hover { border-color: #B9CDE6; color: var(--pdp-ink); }
.beny-opt__t { font: 700 .92rem/1.2 var(--pdp-head); }
.beny-opt__s { font: 500 .74rem/1.25 var(--pdp-body); color: var(--pdp-muted); }
.beny-opt__dot { position: absolute; right: .6rem; top: .7rem; width: 7px; height: 7px; border-radius: 50%; background: var(--pdp-off); }
.beny-opt.is-on { border-color: var(--pdp-blue); background: var(--pdp-surface); box-shadow: 0 0 0 3px rgba(55,125,212,.14); }
.beny-opt.is-on .beny-opt__t { color: var(--pdp-blue-2); }
.beny-opt.is-alt { border-style: dashed; background: transparent; }
.beny-opt.is-alt .beny-opt__t { color: var(--pdp-off); }
.beny-cfg__key { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .74rem; color: var(--pdp-muted); }
.beny-cfg__key span { display: inline-flex; align-items: center; gap: .4rem; }
.beny-cfg__key i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--pdp-off); }

/* készlet-színek (pötty, LED, kártya-jelvény) */
.is-instock.beny-opt__dot, .beny-cfg__key .is-instock, .beny-card__badge .is-instock { background: var(--pdp-ok); }
.beny-opt__dot.is-instock { box-shadow: 0 0 0 3px rgba(43,213,118,.18); }
.is-made-to-order.beny-opt__dot, .beny-cfg__key .is-made-to-order, .beny-card__badge .is-made-to-order,
.is-onbackorder.beny-opt__dot, .beny-card__badge .is-onbackorder,
.is-preorder.beny-opt__dot, .beny-card__badge .is-preorder { background: var(--pdp-wait); }

/* ---- 5. Vásárlópanel ---------------------------------------------------- */

.beny-buy {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.25rem; border-radius: var(--pdp-r-lg); background: var(--pdp-ink); color: #fff;
}
.beny-buy::before {
  content: ""; position: absolute; top: -40%; right: -20%; width: 70%; height: 140%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(55,125,212,.35), transparent);
}
.beny-buy > * { position: relative; }
.beny-buy__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1rem; }
.beny-buy__price b { display: block; font: 800 clamp(2rem, 3vw, 2.5rem)/1 var(--pdp-head); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.beny-buy__price b del { display: block; margin-bottom: .3rem; font-size: .5em; font-weight: 600; color: var(--pdp-muted-dark); }
.beny-buy__price b ins { text-decoration: none; }
.beny-buy__price b .woocommerce-Price-amount { color: inherit; }
.beny-buy__price small { display: block; margin-top: .45rem; font: 500 .78rem var(--pdp-body); color: var(--pdp-muted-dark); }
.beny-buy__price small .woocommerce-Price-amount { color: #fff; }
.beny-buy__stock { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; text-align: right; }
.beny-buy__st { display: inline-flex; align-items: center; gap: .5rem; font: 700 .9rem var(--pdp-head); }
.beny-buy__stock small { font: 500 .78rem var(--pdp-body); color: var(--pdp-muted-dark); }
.beny-led { position: relative; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--pdp-off); }
.beny-led.is-instock { background: var(--pdp-ok); }
.beny-led.is-instock::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--pdp-ok); opacity: .6;
  animation: beny-ping 2s var(--pdp-ease) infinite;
}
.beny-led.is-made-to-order, .beny-led.is-onbackorder, .beny-led.is-preorder { background: var(--pdp-wait); }
@keyframes beny-ping { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* WooCommerce kosár-űrlap */
.beny-buy__form form.cart { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto; gap: .6rem; margin: 0 !important; }
.beny-buy__form form.cart > *:not(.quantity):not(.single_add_to_cart_button):not(.beny-wish-btn) { grid-column: 1 / -1; }
/* a téma clearfix ál-elemei (::before/::after) a rácsban üres cellát foglalnának */
.beny-buy__form form.cart::before, .beny-buy__form form.cart::after { content: none !important; display: none !important; }
.beny-buy__form .stock { display: none; }
.beny-buy__form .quantity {
  display: inline-flex !important; align-items: center; height: 54px; margin: 0 !important;
  border: 1px solid var(--pdp-line-dark); border-radius: 999px; background: rgba(255,255,255,.04);
}
.beny-buy__form .quantity .beny-q { width: 42px; height: 100%; padding: 0; border: 0; background: none !important; color: var(--pdp-muted-dark) !important; font-size: 1.2rem; cursor: pointer; }
.beny-buy__form .quantity .beny-q:hover { color: #fff !important; }
.beny-buy__form .quantity input.qty {
  width: 34px; height: 100%; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important;
  color: #fff !important; text-align: center; font: 700 1rem var(--pdp-head); -moz-appearance: textfield; appearance: textfield;
}
.beny-buy__form .quantity input.qty::-webkit-inner-spin-button,
.beny-buy__form .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.beny-buy__form .single_add_to_cart_button.button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: .6rem; width: 100%;
  height: 54px; min-height: 0; margin: 0 !important; padding: 0 1.4em !important;
  border: 0 !important; border-radius: 999px !important; background: var(--pdp-grad) !important; color: #fff !important;
  font: 700 1rem var(--pdp-head) !important; letter-spacing: .01em;
  box-shadow: 0 12px 26px -12px rgba(55,125,212,.9);
  transition: transform .2s var(--pdp-ease), box-shadow .2s, filter .2s;
}
.beny-buy__form .single_add_to_cart_button.button:hover { transform: translateY(-1px); filter: saturate(1.15); box-shadow: 0 16px 30px -12px rgba(55,125,212,1); }
.beny-buy__form .single_add_to_cart_button .beny-ico { width: 20px; height: 20px; }
.beny-buy__form .single_add_to_cart_button.loading { opacity: .7; pointer-events: none; }
.beny-buy__form .single_add_to_cart_button.is-added { background: var(--pdp-teal) !important; }
/* a WooCommerce kosárba tétel után „Kosár” linket szúr a gomb mögé — itt a gomb maga jelzi a sikert, a fejléc kosara frissül */
.beny-buy__form .added_to_cart { display: none !important; }
.beny-buy__form .single_add_to_cart_button::after { display: none !important; } /* WooCommerce betöltés-ikon */

/* Kedvencek szív (inc/woocommerce-kedvencek.php) — itt csak ikon */
.beny-buy .beny-wish-btn--single {
  display: grid !important; place-items: center; width: 54px; height: 54px; margin: 0 !important; padding: 0 !important;
  border-radius: 50% !important; border: 1px solid var(--pdp-line-dark) !important;
  background: rgba(255,255,255,.04) !important; color: #fff !important;
}
.beny-buy .beny-wish-btn--single .beny-wish-btn__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.beny-buy .beny-wish-btn--single.is-active { color: #FF6B8A !important; }
.beny-buy .beny-wish-btn--single.is-active svg { fill: currentColor; }

.beny-buy__out { display: flex; gap: .6rem; align-items: center; }
.beny-buy__pay {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem .75rem;
  padding-top: .85rem; border-top: 1px solid var(--pdp-line-dark); font-size: .78rem; color: var(--pdp-muted-dark);
}
.beny-buy__pay span { display: inline-flex; align-items: center; gap: .4rem; }
.beny-buy__pay .beny-ico { width: 15px; height: 15px; color: var(--pdp-ok); }

/* ---- 6. Szakasz-navigáció ----------------------------------------------- */

.beny-secnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-block: 1px solid var(--pdp-line);
}
.admin-bar .beny-secnav { top: 32px; }
.beny-secnav__in { display: flex; align-items: center; gap: 1rem; }
.beny-secnav__links { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.beny-secnav__links a {
  flex: 0 0 auto; padding: 1rem .9rem; margin-bottom: -1px;
  font: 600 .88rem var(--pdp-body); color: var(--pdp-muted); text-decoration: none;
  border-bottom: 2px solid transparent;
}
.beny-secnav__links a.is-on, .beny-secnav__links a:hover { color: var(--pdp-ink); border-bottom-color: var(--pdp-blue); }
.beny-secnav__mini { margin-left: auto; display: flex; align-items: center; gap: .9rem; white-space: nowrap; }
.beny-secnav__mini b { font: 800 1.05rem var(--pdp-head); color: var(--pdp-ink); }
.beny-secnav__mini b del { display: none; }
.beny-secnav__mini b ins { text-decoration: none; }
.beny-secnav__w { display: inline-flex; align-items: center; gap: .35rem; font: 700 .8rem var(--pdp-head); color: var(--pdp-teal); }
.beny-secnav__w .beny-ico { width: 15px; height: 15px; }

/* ---- 7. Funkciók --------------------------------------------------------- */

.beny-feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.beny-feats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.beny-feats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.beny-feat {
  display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem;
  border: 1px solid var(--pdp-line); border-radius: var(--pdp-r-lg); background: #fff;
  transition: transform .3s var(--pdp-ease), box-shadow .3s;
}
.beny-feat:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(27,36,51,.35); }
.beny-feat__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--pdp-surface); color: var(--pdp-blue); }
.beny-feat__ic .beny-ico { width: 24px; height: 24px; }
.beny-feat h3 { font-size: 1.08rem; font-weight: 700; }
.beny-feat p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--pdp-muted); }

/* ---- 8. Adatlap (sötét sáv) --------------------------------------------- */

.beny-dark { position: relative; overflow: hidden; background: var(--pdp-ink); color: var(--pdp-muted-dark); }
.beny-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 85% 10%, rgba(55,125,212,.22), transparent 70%),
    radial-gradient(35% 50% at 5% 90%, rgba(56,136,131,.20), transparent 70%);
}
.beny-dark .beny-wrap { position: relative; }
.beny-dark h2, .beny-dark h3 { color: #fff; }
.beny-dark .beny-eyebrow { color: var(--pdp-teal-lite); }

.beny-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 1.5rem; border: 1px solid var(--pdp-line-dark); border-radius: var(--pdp-r-lg); overflow: hidden; }
.beny-kpis--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.beny-kpis--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.beny-kpis--1 { grid-template-columns: minmax(0, 1fr); }
.beny-kpi { padding: 1.4rem 1.3rem; border-right: 1px solid var(--pdp-line-dark); background: rgba(255,255,255,.02); }
.beny-kpi:last-child { border-right: 0; }
.beny-kpi b { display: block; font: 800 clamp(2rem, 3.6vw, 2.9rem)/1 var(--pdp-head); letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.beny-kpi b small { margin-left: .2em; font: 700 .45em var(--pdp-head); letter-spacing: 0; color: var(--pdp-teal-lite); }
.beny-kpi span { display: block; margin-top: .55rem; font: 600 .74rem var(--pdp-head); letter-spacing: .08em; text-transform: uppercase; }

.beny-spec-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.beny-spec-grid.is-solo { grid-template-columns: minmax(0, 1fr); }
.beny-spec { border: 1px solid var(--pdp-line-dark); border-radius: var(--pdp-r-lg); overflow: hidden; background: var(--pdp-ink-2); }
.beny-spec h3 { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.25rem; font-size: 1rem; border-bottom: 1px solid var(--pdp-line-dark); }
.beny-spec h3 span { font: 600 .74rem var(--pdp-head); letter-spacing: .04em; color: var(--pdp-muted-dark); }
.beny-spec dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); margin: 0; }
.beny-spec dt, .beny-spec dd { margin: 0; padding: .8rem 1.25rem; border-bottom: 1px solid var(--pdp-line-dark); font-size: .9rem; }
.beny-spec dt { color: var(--pdp-muted-dark); }
.beny-spec dd { color: #fff; font: 600 .95rem var(--pdp-head); }
.beny-spec dl > :nth-last-child(-n + 2) { border-bottom: 0; }

.beny-spec-side { display: flex; flex-direction: column; gap: 1rem; }
.beny-box { padding: 1.2rem 1.25rem; border: 1px solid var(--pdp-line-dark); border-radius: var(--pdp-r-lg); background: rgba(255,255,255,.03); }
.beny-box h3 { margin-bottom: .8rem; font-size: 1rem; }
.beny-inbox { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.beny-inbox li { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: #DCE3EC; }
.beny-inbox .beny-ico { width: 18px; height: 18px; color: var(--pdp-teal-lite); }
.beny-dl { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: var(--pdp-r); background: rgba(255,255,255,.06); color: #fff !important; text-decoration: none; transition: background .2s; }
.beny-dl:hover { background: rgba(255,255,255,.1); }
.beny-dl__ft { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 10px; background: rgba(255,107,107,.14); color: #FF8A8A; font: 800 .7rem var(--pdp-head); }
.beny-dl b { display: block; font: 700 .94rem var(--pdp-head); }
.beny-dl small { display: block; font-size: .74rem; color: var(--pdp-muted-dark); word-break: break-all; }
.beny-dl > .beny-ico { margin-left: auto; width: 18px; height: 18px; color: var(--pdp-muted-dark); }
.beny-wbox { display: flex; align-items: center; gap: 1rem; }
.beny-wbox__ring { position: relative; width: 68px; height: 68px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--pdp-grad); }
.beny-wbox__ring::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--pdp-ink-2); }
.beny-wbox__ring b { position: relative; z-index: 1; font: 800 .95rem var(--pdp-head); color: #fff; white-space: nowrap; }
.beny-wbox p { margin: 0; font-size: .86rem; }
.beny-wbox strong { display: block; font: 700 .98rem var(--pdp-head); color: #fff; }

/* ---- 9. Leírás + videó --------------------------------------------------- */

.beny-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.beny-about.is-solo { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.beny-about__txt h2 { margin: .6rem 0 1.1rem !important; font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; }
.beny-about__body { max-width: 64ch; color: var(--pdp-text); }
.beny-about__body p { margin: 0 0 1rem; }
.beny-about__body > p:first-child { font-size: 1.08rem; color: var(--pdp-ink); }
.beny-about__body h3, .beny-about__body h4 { margin: 1.4rem 0 .6rem; font-size: 1.15rem; }
.beny-about__body.is-clamped { max-height: 22rem; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.beny-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; padding: 0; border: 0; background: none !important; color: var(--pdp-blue) !important; font: 700 .95rem var(--pdp-head); cursor: pointer; }
.beny-more .beny-ico { width: 16px; height: 16px; }

.beny-video {
  position: relative; display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden;
  border: 0; border-radius: var(--pdp-r-lg); background: var(--pdp-ink); cursor: pointer;
}
.beny-video img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1s var(--pdp-ease); }
.beny-video:hover img { transform: scale(1.04); }
.beny-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,36,51,0) 40%, rgba(27,36,51,.75)); }
.beny-video__pb {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.94); color: var(--pdp-blue); box-shadow: 0 0 0 10px rgba(255,255,255,.18);
}
.beny-video__pb .beny-ico { width: 28px; height: 28px; margin-left: 4px; }
.beny-video__cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; color: #fff; text-align: left; }
.beny-video__cap b { font: 700 1.05rem var(--pdp-head); }
.beny-video__cap span { font-size: .74rem; opacity: .8; }
.beny-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.beny-video.is-playing::after, .beny-video.is-playing > :not(iframe) { display: none; }
.beny-life { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.beny-life img { width: 100%; aspect-ratio: 16 / 10; height: auto !important; object-fit: cover; border-radius: var(--pdp-r); }
.beny-life img:only-child { grid-column: 1 / -1; }

/* ---- 10. Kiegészítők (kártyák) ------------------------------------------- */

.beny-acc-sec { background: var(--pdp-surface); }
/* a hasonló termékek közvetlenül a kiegészítők alatt: egy blokknak hasson (Elementorban külön widgetek) */
.elementor-widget:has(#kiegeszitok) + .elementor-widget .beny-rel-sec,
.beny-acc-sec + .beny-rel-sec { padding-top: 0; }
.beny-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.beny-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pdp-line); border-radius: var(--pdp-r-lg); background: #fff; transition: box-shadow .3s, transform .3s var(--pdp-ease); }
.beny-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(27,36,51,.35); }
.beny-card__im { position: relative; display: block; aspect-ratio: 1 / 1; background: linear-gradient(180deg, #F7FAFE, #EEF4FB); }
.beny-card__im img { width: 100%; height: 100% !important; object-fit: contain; padding: 12%; box-sizing: border-box; mix-blend-mode: multiply; }
.beny-card__badge {
  position: absolute; left: .75rem; top: .75rem; z-index: 1; display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .55rem; border-radius: 999px; background: #fff; color: var(--pdp-ink);
  font: 600 .72rem/1 var(--pdp-body); box-shadow: 0 2px 8px -4px rgba(27,36,51,.3);
}
.beny-card__badge i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--pdp-off); }
.beny-card__bd { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: 1rem 1.1rem 1.1rem; }
.beny-card h3 { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.beny-card h3 a { color: inherit; text-decoration: none; }
.beny-card h3 a:hover { color: var(--pdp-blue); }
.beny-card__ft { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.beny-card__ft b { font: 800 1.08rem var(--pdp-head); color: var(--pdp-ink); font-variant-numeric: tabular-nums; }
.beny-card__ft b del { display: block; font-size: .75em; font-weight: 600; color: var(--pdp-muted); }
.beny-card__ft b ins { text-decoration: none; }
.beny-card__add {
  flex: 0 0 auto; width: 42px; height: 42px; display: grid !important; place-items: center; padding: 0 !important;
  border-radius: 50% !important; background: var(--pdp-blue) !important; color: #fff !important;
  transition: background .2s, transform .2s;
}
.beny-card__add:hover { background: var(--pdp-blue-2) !important; transform: scale(1.05); }
.beny-card__add .beny-ico { width: 18px; height: 18px; }
.beny-card__add.is-arrow { background: var(--pdp-surface) !important; color: var(--pdp-blue) !important; }
.beny-card__add.loading { opacity: .6; }
.beny-card__add.added::after, .beny-card + .added_to_cart, .beny-card__ft .added_to_cart { display: none !important; }

/* ---- 11. Mobil vásárlósáv, nagyító ------------------------------------- */

.beny-stickybuy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  display: none; align-items: center; gap: .75rem;
  padding: .65rem 16px calc(.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(27,36,51,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff;
  transform: translateY(110%); transition: transform .3s var(--pdp-ease);
}
.beny-stickybuy.is-on { transform: none; }
.beny-stickybuy > div { flex: 1; min-width: 0; }
.beny-stickybuy b { display: block; font: 800 1.1rem var(--pdp-head); }
.beny-stickybuy b del { display: none; }
.beny-stickybuy b ins { text-decoration: none; }
.beny-stickybuy small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .74rem; color: var(--pdp-muted-dark); }
.beny-stickybuy .beny-btn { height: 46px; }

.beny-lb { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: rgba(15,20,30,.94); }
.beny-lb[hidden] { display: none; }
.beny-lb img { max-width: 92vw; max-height: 86vh; object-fit: contain; background: #fff; border-radius: 12px; }
.beny-lb__btn {
  position: absolute; width: 48px; height: 48px; padding: 0; display: grid; place-items: center;
  border: 0 !important; border-radius: 50% !important; background: rgba(255,255,255,.12) !important; color: #fff !important; cursor: pointer;
}
.beny-lb__btn:hover { background: rgba(255,255,255,.22) !important; }
.beny-lb__btn .beny-ico { width: 22px; height: 22px; }
.beny-lb__close { top: 18px; right: 18px; }
.beny-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.beny-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.beny-lb__count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 600 .85rem var(--pdp-head); color: #fff; letter-spacing: .08em; }

/* ---- Reszponzív ----------------------------------------------------------- */

@media (max-width: 1024px) {
  .beny-feats, .beny-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .beny-pdp { grid-template-columns: minmax(0, 1fr); }
  .beny-gal { position: static; grid-template-columns: minmax(0, 1fr); }
  .beny-gal__stage { grid-column: 1; }
  .beny-pdp__media { align-self: start; }
  .beny-gal__thumbs { grid-row: auto; flex-direction: row; height: auto; min-height: 0; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; }
  .beny-gal__thumbs > * { width: 64px; height: 64px; }
  .beny-spec-grid, .beny-about { grid-template-columns: minmax(0, 1fr); }
  .beny-secnav__mini { display: none; }
}

@media (max-width: 767px) {
  .beny-wrap, .beny-pdp-wrap { padding-inline: 16px; }
  .beny-kpis, .beny-kpis--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beny-kpi:nth-child(2n) { border-right: 0; }
  .beny-kpi:nth-child(-n + 2) { border-bottom: 1px solid var(--pdp-line-dark); }
  .beny-kpis--2 .beny-kpi:nth-child(-n + 2) { border-bottom: 0; }
  .beny-assure { grid-template-columns: minmax(0, 1fr); }
  .beny-spec dl { grid-template-columns: minmax(0, 1fr); }
  .beny-spec dt { padding-bottom: 0; border-bottom: 0; font-size: .78rem; }
  .beny-spec dd { padding-top: .2rem; }
  .beny-spec dl > dt:nth-last-child(2) { border-bottom: 0; }
  .beny-stickybuy { display: flex; }
  .admin-bar .beny-secnav { top: 0; }
}

@media (max-width: 520px) {
  .beny-feats, .beny-feats--2, .beny-feats--3 { grid-template-columns: minmax(0, 1fr); }
  .beny-wty { grid-template-columns: minmax(0, 1fr); }
  .beny-seal { width: 66px; height: 66px; }
  /* mobilon is egy sor: mennyiség · Kosárba · szív — kicsit kompaktabb méretekkel */
  .beny-buy__form form.cart { gap: .5rem; }
  .beny-buy__form .quantity { height: 50px; }
  .beny-buy__form .quantity .beny-q { width: 34px; }
  .beny-buy__form .quantity input.qty { width: 28px; }
  .beny-buy__form .single_add_to_cart_button.button { height: 50px; padding: 0 .9em !important; gap: .45rem; }
  .beny-buy .beny-wish-btn--single { width: 50px; height: 50px; }
  .beny-buy__stock { align-items: flex-start; text-align: left; }
}

@media (max-width: 359px) {
  .beny-buy__form .quantity .beny-q { width: 28px; }
  .beny-buy__form .single_add_to_cart_button .beny-ico { display: none; }
  .beny-buy .beny-wish-btn--single { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .beny-pdp-wrap *, .beny-sec *, .beny-stickybuy { animation: none !important; transition: none !important; }
}
