.lgt-product, .lgt-product * { box-sizing: border-box; }

    .lgt-product { width: 100%; max-width: 1376px; margin: 0 auto; overflow-wrap: anywhere; }

    /* Breadcrumb */
    .lgt-product__breadcrumbs {
      font-size: 12px; font-weight: 700; letter-spacing: 0.03em;
      text-transform: uppercase; color: #33312A; margin: 0 0 18px 0;
      overflow-wrap: anywhere; word-break: break-word;
    }
    .lgt-product__breadcrumbs a { color: #33312A; text-decoration: none; }
    .lgt-product__breadcrumbs a:hover { text-decoration: underline; }
    .lgt-product__crumb-sep { color: #FFCB05; font-weight: 900; margin: 0 7px; }
    .lgt-product__crumb-current { color: #8b8b8b; }

    /* Elrendezés */
    .lgt-product__layout {
      display: grid;
      grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
      gap: 48px; align-items: start;
    }

    /* ---------- Galéria ---------- */
    .lgt-product__gallery { min-width: 0; }
    .lgt-product__stage {
      width: 100%;
      aspect-ratio: 580 / 400;
      background: #fff;
      border: 1px solid #939598;
      border-radius: 10px;
      overflow: hidden;
    }
    /* Fő kép: TÖLTSE KI a keretet a borderig (cover, nincs padding) */
    .lgt-product .lgt-product__main,
    .lgt-product .lgt-product__stage > img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}
    .lgt-product__thumbsrow {
      display: flex; align-items: center; justify-content: center;
      gap: 12px; margin: 16px 0 0 0;
    }
    .lgt-product__nav {
      flex: 0 0 auto; width: 30px; height: 40px; border: 0;
      background: transparent; color: #FFCB05; font-size: 30px; line-height: 1;
      font-weight: 900; cursor: pointer; padding: 0;
    }
    .lgt-product__nav:disabled { opacity: 0.3; cursor: default; }
    /* Thumbnailek KÖZÉPRE zárva */
    .lgt-product__thumbs {
      display: flex; gap: 11px; justify-content: center;
      overflow-x: auto; scrollbar-width: thin;
      flex: 0 1 auto; min-width: 0; max-width: 100%; padding: 2px;
    }
    .lgt-product__thumb {
      flex: 0 0 auto; width: 70px; height: 70px; padding: 0;
      border: 1px solid #939598; border-radius: 7px; background: #fff;
      overflow: hidden; cursor: pointer;
    }
    .lgt-product__thumb.is-active { border: 2px solid #3BB3F6; }
    .lgt-product__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

    /* ---------- Összefoglaló ---------- */
    .lgt-product__summary { min-width: 0; }
    .lgt-product__title {
      display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px;
      margin: 0 0 18px 0; color: #33312A;
      font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.2;
      text-transform: uppercase;
    }
    .lgt-product__title-brand { color: #ffcb05; }
    .lgt-product__title-separator { color: #a5a9b0; }
    .lgt-product__title-model { overflow-wrap: anywhere; }
    .lgt-product__desc { margin: 0 0 20px 0; color: #4f4c45; font-size: 15px; line-height: 1.6; }
    .lgt-product__desc p { margin: 0 0 10px 0; }
    .lgt-product__desc p:last-child { margin-bottom: 0; }

    .lgt-product__quote { margin: 0 0 18px 0; font-size: 15px; color: #33312A; }
    .lgt-product__quote-link {
      border: 0; background: none; padding: 0; margin: 0; font: inherit;
      font-weight: 800; color: #0D47A1; text-decoration: underline; cursor: pointer;
    }
    .lgt-product__quote-link:hover { color: #FFCB05; }

    .lgt-product__price-notice {
      margin: -6px 0 18px 0; padding: 13px 16px; border: 1px solid rgba(255, 203, 5, 0.62);
      border-left: 5px solid #FFCB05; border-radius: 8px; background: rgba(255, 203, 5, 0.14);
      color: #33312A; font-size: 14px; font-weight: 700; line-height: 1.5;
    }
    .lgt-product__price-notice strong { font-weight: 900; }

    .lgt-product__meta { margin: 0 0 10px 0; font-size: 15px; color: #4f4c45; }
    .lgt-product__meta strong { color: #33312A; }
    .lgt-product__stock { font-weight: 800; }
    .lgt-product__stock--in { color: #2e9b57; }
    .lgt-product__stock--out { color: #c0392b; }
    .lgt-product__stock-ic { display: inline-block; width: 15px; height: 15px; vertical-align: -2px; margin-right: 3px; }

    /* ---------- Állapotválasztó ---------- */
    .lgt-product__conditions {
      margin: 20px 0 24px; border: 0; border-radius: 0; background: transparent; overflow: visible;
    }
    .lgt-product__conditions:empty { display: none; }
    .lgt-product__conditions-list { display: grid; gap: 10px; padding: 0; }
    .lgt-product__cond {
      position: relative; min-width: 0; text-align: left; border: 1px solid #8c93a0; border-radius: 5px;
      background: #fff; padding: 12px 13px; cursor: pointer;
      transition: border-color 0.15s ease, background 0.15s ease;
      display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 11px;
    }
    .lgt-product__cond:hover { border-color: #3BB3F6; }
    .lgt-product__cond.is-active { border-color: #3BB3F6; background: #f2faff; box-shadow: none; }
    .lgt-product__cond-radio {
      width: 21px; height: 21px; border: 2px solid #8c93a0; border-radius: 50%; background: #fff;
      box-shadow: inset 0 0 0 5px #fff;
    }
    .lgt-product__cond.is-active .lgt-product__cond-radio { border-color: #3BB3F6; background: #3BB3F6; }
    .lgt-product__cond.is-repair .lgt-product__cond-radio { border-color: #657084; }
    .lgt-product__cond-body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
    .lgt-product__cond-head { font-size: 14px; font-weight: 900; color: #33312A; align-self: flex-start; }
    .lgt-product__cond.is-active .lgt-product__cond-head {
      padding: 4px 9px; border-radius: 3px; background: #3BB3F6; color: #fff; line-height: 1.2;
    }
    .lgt-product__cond-badge {
      display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 3px 8px;
      border: 1px solid #cfe99b; border-radius: 3px; background: #eaffbd; color: #3e6b19;
      font-size: 10px; font-weight: 900; line-height: 1.3;
    }
    .lgt-product__cond-desc { font-size: 12px; line-height: 1.4; color: #687186; }
    .lgt-product__cond-delivery { display: block; margin-top: 4px; color: #475467; font-size: 12px; font-weight: 700; line-height: 1.35; }
    .lgt-product__cond-meta { min-width: 156px; display: flex; align-items: flex-end; flex-direction: column; gap: 3px; text-align: right; }
    .lgt-product__cond-meta small { max-width: 150px; color: #687186; line-height: 1.25; }
    .lgt-product__cond-available { color: #2e8b4e; font-size: 12px; font-weight: 900; }
    .lgt-product__cond-price { display: block; width: 100%; color: #171b2d; font-size: 14px; font-weight: 900; white-space: nowrap; text-align: right; }
    .lgt-product__cond-price .amount { color: #171b2d; font-size: 14px; font-weight: 900; }
    .lgt-product__cond-price .lgt-partner-price { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; width: 100%; }
    .lgt-product__cond-price .lgt-partner-price small { flex-basis: auto; max-width: none; }
    .lgt-product__cond-price .lgt-partner-price del,
    .lgt-product__cond-price .lgt-partner-price del *,
    .lgt-product__price .lgt-partner-price del,
    .lgt-product__price .lgt-partner-price del * {
      color: #7F8798 !important; text-decoration-color: #7F8798 !important;
      font-weight: 500; opacity: 1;
    }
    /* Elfogyott állapot: nem választható, árajánlat-link */
    .lgt-product__cond.is-oos { cursor: default; opacity: 0.72; background: #fafafa; }
    .lgt-product__cond.is-oos:hover { border-color: #939598; }
    .lgt-product__cond-quote {
      align-self: flex-end; border: 0; background: none; padding: 0; margin: 0;
      font: inherit; font-weight: 800; color: #0D47A1; text-decoration: underline; cursor: pointer;
    }
    .lgt-product__cond-quote:hover { color: #1E63C7; }

    /* ---------- Ár + mennyiség + kosár ---------- */
    .lgt-product__pricerow {
      display: flex; align-items: center; justify-content: flex-start;
      gap: 12px; flex-wrap: nowrap; margin: 6px 0 0 0;
    }
    .lgt-product__pricerow--guest { justify-content: flex-start; margin-top: 10px; }
    .lgt-product__pricewrap { display: inline-flex !important; align-items: baseline; justify-content: flex-start; flex-wrap: nowrap; gap: 7px; flex: 0 1 auto; width: auto !important; min-width: 0; }
    /* Ár SÁRGÁN, arányosan kisebb */
    .lgt-product__price { display: inline-flex; flex: 0 1 auto; width: auto; font-size: 22px; font-weight: 900; line-height: 1.1; color: #FFCB05; white-space: nowrap; }
    .lgt-product__price .amount,
    .lgt-product__price .woocommerce-Price-amount,
    .lgt-product__price bdi { color: #33312A; font-weight: 900; }
    .lgt-product__vat { font-size: 14px; font-weight: 900; color: #FFCB05; white-space: nowrap; }
    .lgt-product__price .lgt-partner-price { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 8px; }
    .lgt-product__price .lgt-partner-price small { grid-column: 1 / -1; flex-basis: auto; }
    .lgt-price-hidden { color: #33312A; font-size: 15px; font-weight: 800; line-height: 1.35; white-space: normal; }

    /* Mennyiség + kosár együtt, jobb szélen (kompakt, BeTheme input-felülírással) */
    .lgt-product__buy { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }

    .lgt-product .lgt-product__qty {
      display: inline-flex; align-items: center; flex: 0 0 auto; width: auto;
      height: 46px; border: 1px solid #939598; border-radius: 8px; overflow: hidden; background: #fff;
    }
    .lgt-product .lgt-product__qty-btn {
  flex: 0 0 36px; width: 36px !important; height: 100%; border: 0; background: #EDEDEE;
  border-radius: 0 !important;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
  font-size: 20px; font-weight: 900; color: #33312A; cursor: pointer; padding: 0;
}
/* a + jel sárga */
.lgt-product .lgt-product__qty-btn[data-dir="1"] { color: #FFCB05; }
    .lgt-product .lgt-product__qty-btn:hover { background: #e2e2e2; }
    .lgt-product .lgt-product__qty-input {
      flex: 0 0 44px; width: 44px !important; max-width: 44px !important; min-width: 0; height: 100%; border-color: transparent!important;
      border: 0; border-left: 1px solid #ededee; border-right: 1px solid #ededee;
      text-align: center; font-size: 16px; font-weight: 800; color: #33312A;
      -moz-appearance: textfield; background: #fff; padding: 0 !important; padding-top: 20px !important;
    }
    .lgt-product .lgt-product__qty-input::-webkit-outer-spin-button,
    .lgt-product .lgt-product__qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

    /* Custom KOSÁRBA gomb (shop designhoz igazítva) */
    .lgt-product .lgt-product__addtocart {
      flex: 0 0 auto; height: 46px; min-width: 170px; border: 0; border-radius: 9px;
      background: #FFCB05; color: #33312A; font-size: 15px; font-weight: 900;
      text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; padding: 0 26px; white-space: nowrap;
    }
    .lgt-product .lgt-product__addtocart:hover { filter: brightness(0.96); }
    .lgt-product .lgt-product__addtocart:disabled { opacity: 0.45; cursor: not-allowed; }

    /* Vendég: bejelentkezés-link a kosár helyett */
    .lgt-product__login { flex: 0 0 auto; }
    .lgt-product__login-link {
      display: inline-flex; align-items: center; justify-content: center;
      height: 46px; padding: 0 26px; border-radius: 9px;
      background: #FFCB05; color: #33312A; font-size: 15px; font-weight: 900;
      text-transform: uppercase; letter-spacing: 0.03em; text-decoration: none; white-space: nowrap;
    }
    .lgt-product__login-link:hover { filter: brightness(0.96); color: #33312A; text-decoration: none; }

    /* A WooCommerce valódi formja: funkcionálisan él, vizuálisan rejtve */
    .lgt-product__wc {
      position: absolute; width: 1px; height: 1px; overflow: hidden;
      clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
    }

    /* ---------- RESPONSIVE ---------- */

    /* Tablet: galéria fölé, összefoglaló alá */
    @media (max-width: 1240px) {
      .lgt-product__layout { grid-template-columns: 1fr; gap: 28px; }
      .lgt-product__stage { aspect-ratio: 16 / 10; }
    }

    /* Telefon: minden egymás alá, semmi ne csússzon ki a képből */
    @media (max-width: 700px) {
      .lgt-section__title { margin-top: 40px; }

      .lgt-product__conditions-list { padding: 0; }
      .lgt-product__cond { grid-template-columns: 24px minmax(0, 1fr); padding: 12px; }
      .lgt-product__cond-meta { grid-column: 2; align-items: flex-start; text-align: left; min-width: 0; }
      .lgt-product__cond-badge { margin-top: 2px; }
      .lgt-product__cond-price,
      .lgt-product__cond-price .lgt-partner-price { text-align: left; align-items: flex-start; }

      /* Ár és kosár egymás alá */
      .lgt-product__pricerow { flex-direction: column; align-items: stretch; gap: 14px; }
      .lgt-product__pricewrap { justify-content: flex-start; }
      .lgt-product__price, .lgt-product__vat { white-space: normal; }

      /* Mennyiség + kosár egy sorban, a kosár kitölti a maradékot */
      .lgt-product__buy { width: 100%; justify-content: flex-start; gap: 10px; margin-left: 0; }
      .lgt-product .lgt-product__addtocart { flex: 1 1 auto; min-width: 0; padding: 0 16px; }

      /* Népszerű termékek: kisebb köz */
      .lgt-related__track { gap: 16px; }
    }

    /* Kis telefon: extra szűkítés, hogy biztosan beférjen */
    @media (max-width: 380px) {
      .lgt-product .lgt-product__qty-btn { flex-basis: 34px; width: 34px !important; }
      .lgt-product .lgt-product__addtocart { font-size: 14px; letter-spacing: 0.02em; }
    }
    /* ---------- Szekciócím (kétszínű) ---------- */
    .lgt-section__title {
      margin: 56px 0 24px 0;
      font-size: clamp(22px, 2.6vw, 30px);
      font-weight: 900;
      line-height: 1.15;
      text-transform: uppercase;
      letter-spacing: 0.01em;
      color: #33312A;
    }
    .lgt-section__title span { color: #33312A; -webkit-text-fill-color: #33312A; }
    .lgt-section__title .lgt-section__title--accent { color: #FFCB05; -webkit-text-fill-color: #FFCB05; }

    /* ---------- Paraméterek ---------- */
    .lgt-product__specifications { margin-top: 52px; }
    .lgt-product__specifications .lgt-section__title { margin: 0 0 24px; }
    .lgt-product__specbox {
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px;
      border: 1px solid #b8bac0; border-radius: 6px; padding: 18px 28px; background: #fff;
    }
    .lgt-product__specbox.is-single { grid-template-columns: minmax(0, 1fr); }
    .lgt-product__speccol { min-width: 0; margin: 0; }
    .lgt-product__speccol + .lgt-product__speccol { border-left: 1px solid #FFCB05; padding-left: 40px; }
    .lgt-product__specrow {
      display: grid; grid-template-columns: minmax(110px, 0.85fr) minmax(0, 1.15fr); gap: 18px;
      align-items: start; padding: 13px 8px; border-bottom: 1px solid #d6d7da;
    }
    .lgt-product__specrow:last-child { border-bottom: 0; }
    .lgt-product__specrow dt { min-width: 0; color: #33312A; font-size: 13px; font-weight: 800; line-height: 1.45; }
    .lgt-product__specrow dd {
      min-width: 0; margin: 0; color: #4f4c45; font-size: 13px; line-height: 1.45;
      text-align: right; overflow-wrap: anywhere;
    }

    @media (max-width: 700px) {
      .lgt-product__specifications { margin-top: 40px; }
      .lgt-product__specbox { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 18px; }
      .lgt-product__speccol + .lgt-product__speccol {
        border-top: 1px solid #FFCB05; border-left: 0; padding-top: 0; padding-left: 0;
      }
      .lgt-product__specrow { grid-template-columns: minmax(100px, 0.8fr) minmax(0, 1.2fr); gap: 14px; padding: 12px 2px; }
    }

    /* ---------- További termékleírás ---------- */
    .lgt-product__longdesc { color: #4f4c45; font-size: 15px; line-height: 1.7; max-width: 980px; }
    .lgt-product__longdesc p { margin: 0 0 12px 0; }
    .lgt-product__longdesc p:last-child { margin-bottom: 0; }
    .lgt-product__longdesc ul, .lgt-product__longdesc ol { margin: 0 0 12px 22px; }
    .lgt-product__longdesc table { width: 100%; border-collapse: collapse; margin: 0 0 12px 0; }
    .lgt-product__longdesc th, .lgt-product__longdesc td { border: 1px solid #e2e2e2; padding: 8px 10px; text-align: left; }

    /* ---------- Népszerű termékek (carousel) ---------- */
    .lgt-related { margin-top: 8px; }
    .lgt-related__viewport { width: 100%; }
    .lgt-related__track {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
      padding: 4px;
    }
    .lgt-related__track::-webkit-scrollbar { display: none; }

    .lgt-rc {
      flex: 0 0 calc((100% - 72px) / 4);  /* 4 kártya / nézet, 3×24px köz */
      scroll-snap-align: start;
      min-width: 0;
      display: flex;
      flex-direction: column;
      border: 1px solid #e3e3e3;
      border-radius: 12px;
      padding: 16px;
      background: #fff;
    }
    .lgt-rc__image {
      display: flex; align-items: center; justify-content: center;
      width: 100%; aspect-ratio: 1 / 1;
      background: #f7f7f7; border: 1px solid #ededee; border-radius: 8px;
      overflow: hidden; text-decoration: none; margin: 0 0 14px 0;
    }
    .lgt-rc__image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; display: block; }
    .lgt-rc__brand {
      margin: 0 0 6px 0; color: #FFCB05; font-size: 13px; font-weight: 900;
      text-transform: uppercase; letter-spacing: 0.03em; line-height: 1;
    }
    .lgt-rc__title {
      margin: 0 0 10px 0; color: #33312A; font-size: 14px; font-weight: 700;
      line-height: 1.3; text-decoration: none; overflow-wrap: anywhere;
    }
    .lgt-rc__title:hover { text-decoration: underline; }
    .lgt-rc__price { margin: auto 0 0 0; color: #111; font-size: 17px; font-weight: 900; line-height: 1.2; }
    .lgt-rc__price .amount { font-weight: 900; }

    .lgt-related__dots {
      display: flex; align-items: center; justify-content: center;
      gap: 9px; margin: 24px 0 0 0;
    }
    .lgt-related__dot {
      width: 14px; height: 14px; padding: 0;
      border: 1px solid #939598; border-radius: 3px; background: #fff;
      cursor: pointer;
    }
    .lgt-related__dot.is-active { background: #FFCB05; border-color: #FFCB05; }

    @media (max-width: 1100px) { .lgt-rc { flex-basis: calc((100% - 48px) / 3); } }
    @media (max-width: 760px)  { .lgt-rc { flex-basis: calc((100% - 24px) / 2); } }
    @media (max-width: 480px)  { .lgt-rc { flex-basis: 82%; } }


    /* Ajánlatkérő linkek hover: nincs sárga háttér, a szín csak világosodik */
.lgt-product .lgt-product__quote-link:hover,
.lgt-product .lgt-product__quote-link:focus-visible {
  color: #1E63C7 !important;
  background: none !important;
  background-color: transparent !important;
  text-decoration: underline !important;
}
.lgt-product .lgt-product__vat[hidden] { display: none !important; }
