:root {
  --hx-navy: #0b3153;
  --hx-navy-2: #0b3b61;
  --hx-blue: #17618f;
  --hx-text: #334155;
  --hx-muted: #64748b;
  --hx-border: #dbe3ea;
  --hx-surface: #f5f7f9;
  --hx-white: #fff;
  --hx-radius: 10px;
  --hx-shadow: 0 12px 30px rgba(11, 49, 83, .07);
}

.hx-product-page,
.hx-archive-page {
  /* Woodmart .wd-content-layout is a 12-column CSS grid.
     The plugin root must span the full grid, otherwise it occupies only one column. */
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: none;
  background: #fff;
  color: var(--hx-text);
  padding: 22px 0 64px;
}

/* Explicit Woodmart guard: keeps both archive and single templates full-width
   inside the theme content grid without breaking non-Woodmart themes. */
.wd-content-layout > .hx-product-page,
.wd-content-layout > .hx-archive-page {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0;
}

.hx-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hx-breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 28px;
  color: #8a98a7;
  font-size: 13px;
}

.hx-breadcrumbs a {
  color: #778596;
  text-decoration: none;
}

.hx-breadcrumbs a:hover { color: var(--hx-navy); }

.hx-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: 48px;
  padding: 4px 0 42px;
}

.hx-hero h1 {
  margin: 0 0 8px;
  color: var(--hx-hero-heading-color);
  font-size: var(--hx-hero-heading-size);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.hx-subtitle {
  margin: 0 0 22px;
  color: var(--hx-hero-heading-color);
  font-size: calc(var(--hx-hero-text-size) * 1.35);
  font-weight: 500;
}

.hx-intro {
  max-width: 650px;
  margin: 0 0 28px;
  color: var(--hx-hero-text-color);
  font-size: var(--hx-hero-text-size);
  line-height: 1.6;
}

.hx-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.hx-btn:hover { transform: translateY(-1px); }

.hx-btn-primary {
  background: var(--hx-navy-2);
  color: #fff !important;
}

.hx-btn-primary:hover { background: var(--hx-blue); }

.hx-btn-secondary {
  background: #f5f7fa;
  border-color: #ccd6df;
  color: var(--hx-navy) !important;
}

.hx-btn-secondary:hover { background: #e9eff4; }

.hx-gallery { min-width: 0; }

.hx-gallery-main-link {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 410px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  background: radial-gradient(circle at 50% 45%, #fff 0, #fff 42%, #f3f5f7 100%);
  cursor: zoom-in;
}


.hx-gallery-main {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 410px;
  object-fit: contain;
}

/* Responsive product thumbnail carousel */
.hx-gallery-carousel {
  position: relative;
  margin-top: 18px;
  padding: 0 42px;
}

.hx-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 2px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}
.hx-gallery-thumbs::-webkit-scrollbar { display: none; }

.hx-gallery-thumb {
  appearance: none;
  display: flex;
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  align-items: center;
  justify-content: center;
  height: 96px;
  padding: 5px;
  border: 1px solid var(--hx-border);
  border-radius: 7px;
  background: #f7f9fb;
  cursor: pointer;
  scroll-snap-align: start;
}
.hx-gallery-thumb.is-active { border-color: #7fa2bd; box-shadow: inset 0 0 0 1px #7fa2bd; }
.hx-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }

.hx-gallery-carousel-nav {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: flex;
  width: 34px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dbe4ec;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 14px rgba(11,49,83,.10);
  transform: translateY(-50%);
  cursor: pointer;
}
.hx-gallery-carousel-nav img { display:block; width: 16px; height:16px; }
.hx-gallery-carousel-prev { left: 0; }
.hx-gallery-carousel-next { right: 0; }
.hx-gallery-carousel-nav:disabled { opacity: .28; cursor: default; box-shadow: none; }
.hx-gallery-carousel-nav:not(:disabled):hover { background: #f4f8fb; border-color: #b9cad8; }

.hx-section {
  margin-top: 26px;
  padding-top: 26px;
}

.hx-section > h2 {
  margin: 0 0 24px;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.hx-description > h2 { color: var(--hx-description-heading-color); font-size: var(--hx-description-heading-size); }
.hx-description,
.hx-description .hx-richtext { color: var(--hx-description-text-color); font-size: var(--hx-description-text-size); }
.hx-description .hx-richtext { line-height: 1.75; max-width: 900px; }
.hx-description .hx-richtext > :first-child { margin-top: 0; }
.hx-description .hx-richtext > :last-child { margin-bottom: 0; }

.hx-features > h2 { color: var(--hx-features-heading-color); font-size: var(--hx-features-heading-size); }
.hx-features { color: var(--hx-features-text-color); font-size: var(--hx-features-text-size); }

.hx-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 54px;
}

.hx-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 16px;
}

.hx-feature-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--hx-feature-media-size) + 16px);
  height: calc(var(--hx-feature-media-size) + 16px);
  min-width: calc(var(--hx-feature-media-size) + 16px);
}

.hx-feature-media img {
  max-width: var(--hx-feature-media-size);
  max-height: var(--hx-feature-media-size);
  width: auto;
  height: auto;
  object-fit: contain;
}

.hx-feature h3 {
  margin: 2px 0 4px;
  color: var(--hx-navy);
  font-size: 1em;
  line-height: 1.25;
}

.hx-feature p {
  margin: 0;
  line-height: 1.45;
}

.hx-specs {
  margin-top: 38px;
  padding: 30px;
  border-radius: 10px;
  background: linear-gradient(110deg, #f5f7f9 0%, #f7f9fb 55%, #fff 100%);
}

.hx-specs > h2 { color: var(--hx-specs-heading-color); font-size: var(--hx-specs-heading-size); }
.hx-specs { color: var(--hx-specs-text-color); font-size: var(--hx-specs-text-size); }

.hx-specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 46px;
  align-items: start;
}

.hx-specs-layout-table-only { grid-template-columns: 1fr; }

.hx-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e0e6ec;
  font-size: inherit;
}

.hx-spec-table th,
.hx-spec-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e3e8ed;
  text-align: left;
  vertical-align: top;
}

.hx-spec-table th {
  width: 38%;
  color: #334155;
  font-weight: 600;
}

.hx-spec-table tr:nth-child(even) th,
.hx-spec-table tr:nth-child(even) td { background: #f1f4f6; }
.hx-spec-table tr:last-child th,
.hx-spec-table tr:last-child td { border-bottom: 0; }

.hx-drawings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.hx-drawing {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 12px;
  background: rgba(255,255,255,.65);
}

.hx-drawing img { width: 100%; height: auto; max-height: 380px; object-fit: contain; }

.hx-docs > h2 { color: var(--hx-docs-heading-color); font-size: var(--hx-docs-heading-size); }
.hx-docs { color: var(--hx-docs-text-color); font-size: var(--hx-docs-text-size); }

.hx-doc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hx-doc-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  min-height: 86px;
  padding: 16px 18px;
  border: 1px solid #e3e8ed;
  border-radius: 6px;
  background: #f4f6f8;
  color: var(--hx-navy) !important;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.hx-doc-card:hover { background: #edf2f6; border-color: #c8d4de; transform: translateY(-1px); }

.hx-doc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 48px;
  border: 2px solid #7b9db9;
  border-radius: 3px;
  color: var(--hx-navy);
  font-size: 11px;
  font-weight: 800;
}

.hx-doc-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hx-doc-copy strong { font-size: 1em; line-height: 1.25; }
.hx-doc-copy small { color: #5f6f7f; font-size: .9em; }

.hx-warranty > h2 { color: var(--hx-warranty-heading-color); font-size: var(--hx-warranty-heading-size); }
.hx-warranty { color: var(--hx-warranty-text-color); font-size: var(--hx-warranty-text-size); }

.hx-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hx-check-list li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5;
}

.hx-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--hx-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hx-related > h2 { color: var(--hx-related-heading-color); font-size: var(--hx-related-heading-size); }
.hx-related { color: var(--hx-related-text-color); font-size: var(--hx-related-text-size); }

.hx-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hx-related-card {
  overflow: hidden;
  border: 1px solid #e2e8ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(13, 42, 67, .05);
}

.hx-related-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 245px;
  padding: 18px;
  background: #f6f8fa;
}

.hx-related-image img { width: 100%; height: 100%; object-fit: contain; }
.hx-related-copy { padding: 20px; }
.hx-related-copy h3 { margin: 0 0 8px; font-size: 1.15em; }
.hx-related-copy h3 a { color: var(--hx-navy); text-decoration: none; }
.hx-related-copy p { margin: 0 0 14px; line-height: 1.5; }
.hx-text-link { color: var(--hx-navy); font-weight: 700; text-decoration: none; }

.hx-cta {
  min-height: 190px;
  margin-top: 42px;
  padding: 28px 34px;
  border-radius: 8px;
  background-color: #eef2f5;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
}

.hx-cta-copy { width: min(560px, 100%); }
.hx-cta h2 { margin: 0 0 8px; color: var(--hx-cta-heading-color); font-size: var(--hx-cta-heading-size); }
.hx-cta p { margin: 0 0 22px; color: var(--hx-cta-text-color); font-size: var(--hx-cta-text-size); line-height: 1.5; }
.hx-cta-button { background: var(--hx-cta-button); color: #fff !important; gap: 18px; }
.hx-cta-button:hover { background: var(--hx-cta-button-hover); }

/* Archive */
.hx-archive-header {
  max-width: 800px;
  margin-bottom: 42px;
}

.hx-eyebrow {
  margin: 0 0 8px;
  color: #5c7b93;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hx-archive-header h1 {
  margin: 0 0 12px;
  color: var(--hx-navy);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.hx-archive-header > p:last-child {
  max-width: 760px;
  margin: 0;
  color: #526273;
  font-size: 18px;
  line-height: 1.6;
}

.hx-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.hx-product-card {
  overflow: hidden;
  border: 1px solid #e0e6ec;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--hx-shadow);
}

.hx-product-card-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 24px;
  background: linear-gradient(160deg,#fbfcfd 0%,#f1f4f6 100%);
}

.hx-product-card-image img { width: 100%; height: 280px; object-fit: contain; }
.hx-product-card-placeholder { width: 120px; height: 160px; background: #e5ebf0; border-radius: 6px; }

.hx-product-card-copy { padding: 24px; }
.hx-product-card-copy h2 { margin: 0 0 7px; font-size: 25px; line-height: 1.15; }
.hx-product-card-copy h2 a { color: var(--hx-navy); text-decoration: none; }
.hx-card-subtitle { margin: 0 0 14px !important; color: var(--hx-navy) !important; font-weight: 650; }
.hx-product-card-copy p { margin: 0 0 18px; color: #5c6b78; line-height: 1.55; }

.hx-pagination { margin-top: 38px; }
.hx-pagination .nav-links { display: flex; gap: 8px; }
.hx-pagination .page-numbers { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid #dae2e9; border-radius: 5px; text-decoration: none; }
.hx-pagination .page-numbers.current { background: var(--hx-navy); color: #fff; border-color: var(--hx-navy); }

@media (max-width: 1050px) {
  .hx-hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hx-gallery-main-link { min-height: 350px; }
  .hx-gallery-main { max-height: 350px; }
  .hx-specs-layout { grid-template-columns: 1fr; }
  .hx-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .hx-product-page,
  .hx-archive-page { padding-top: 18px; }
  .hx-container { width: min(100% - 28px, 1180px); }
  .hx-breadcrumbs { margin-bottom: 20px; }
  .hx-hero { grid-template-columns: 1fr; padding-bottom: 18px; }
  .hx-hero h1 { font-size: var(--hx-hero-heading-size-mobile); }
  .hx-hero-copy { order: 1; }
  .hx-gallery { order: 2; }
  .hx-gallery-main-link { min-height: 300px; }
  .hx-gallery-main { max-height: 300px; }
  .hx-gallery-carousel { margin-top: 14px; padding: 0; }
  .hx-gallery-thumbs { gap: 8px; padding: 2px 14px 4px 0; scroll-snap-type: x mandatory; }
  .hx-gallery-thumb { flex-basis: calc((100% - 16px) / 2.65); height: 78px; }
  .hx-gallery-carousel-nav { display: none; }
  .hx-feature-grid { grid-template-columns: 1fr; gap: 24px; }
  .hx-specs { padding: 24px 18px; }
  .hx-drawings { grid-template-columns: 1fr; }
  .hx-doc-grid { grid-template-columns: 1fr; }
  .hx-related-grid { grid-template-columns: 1fr; }
  .hx-cta { min-height: 240px; padding: 28px 22px; background-position: 65% center; }
  .hx-product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hx-hero-actions { display: grid; grid-template-columns: 1fr; }
  .hx-btn { width: 100%; }
  .hx-spec-table th,
  .hx-spec-table td { display: block; width: 100%; }
  .hx-spec-table th { padding-bottom: 4px; }
  .hx-spec-table td { padding-top: 4px; }
}

/* A Hyginox adatlap saját H1-et használ; a téma külön oldalcíme ne duplikálódjon. */
.hyginox-product-single .page-title,
.hyginox-product-archive .page-title {
  display: none;
}


/* 0.1.1 – reszponzív tipográfia */
@media (max-width: 1050px) {
  .hx-hero h1 { font-size: var(--hx-hero-heading-size-tablet); }
  .hx-subtitle { font-size: calc(var(--hx-hero-text-size-tablet) * 1.3); }
  .hx-intro { font-size: var(--hx-hero-text-size-tablet); }

  .hx-description > h2 { font-size: var(--hx-description-heading-size-tablet); }
  .hx-description,
  .hx-description .hx-richtext { font-size: var(--hx-description-text-size-tablet); }

  .hx-features > h2 { font-size: var(--hx-features-heading-size-tablet); }
  .hx-features { font-size: var(--hx-features-text-size-tablet); }

  .hx-specs > h2 { font-size: var(--hx-specs-heading-size-tablet); }
  .hx-specs { font-size: var(--hx-specs-text-size-tablet); }

  .hx-docs > h2 { font-size: var(--hx-docs-heading-size-tablet); }
  .hx-docs { font-size: var(--hx-docs-text-size-tablet); }

  .hx-warranty > h2 { font-size: var(--hx-warranty-heading-size-tablet); }
  .hx-warranty { font-size: var(--hx-warranty-text-size-tablet); }

  .hx-related > h2 { font-size: var(--hx-related-heading-size-tablet); }
  .hx-related { font-size: var(--hx-related-text-size-tablet); }

  .hx-cta h2 { font-size: var(--hx-cta-heading-size-tablet); }
  .hx-cta p { font-size: var(--hx-cta-text-size-tablet); }
}

@media (max-width: 780px) {
  .hx-hero h1 { font-size: var(--hx-hero-heading-size-mobile); }
  .hx-subtitle { font-size: calc(var(--hx-hero-text-size-mobile) * 1.25); }
  .hx-intro { font-size: var(--hx-hero-text-size-mobile); }

  .hx-description > h2 { font-size: var(--hx-description-heading-size-mobile); }
  .hx-description,
  .hx-description .hx-richtext { font-size: var(--hx-description-text-size-mobile); }

  .hx-features > h2 { font-size: var(--hx-features-heading-size-mobile); }
  .hx-features { font-size: var(--hx-features-text-size-mobile); }

  .hx-specs > h2 { font-size: var(--hx-specs-heading-size-mobile); }
  .hx-specs { font-size: var(--hx-specs-text-size-mobile); }

  .hx-docs > h2 { font-size: var(--hx-docs-heading-size-mobile); }
  .hx-docs { font-size: var(--hx-docs-text-size-mobile); }

  .hx-warranty > h2 { font-size: var(--hx-warranty-heading-size-mobile); }
  .hx-warranty { font-size: var(--hx-warranty-text-size-mobile); }

  .hx-related > h2 { font-size: var(--hx-related-heading-size-mobile); }
  .hx-related { font-size: var(--hx-related-text-size-mobile); }

  .hx-cta h2 { font-size: var(--hx-cta-heading-size-mobile); }
  .hx-cta p { font-size: var(--hx-cta-text-size-mobile); }
}

/* Lightbox */
html.hx-lightbox-open,
body.hx-lightbox-open { overflow: hidden; }

.hx-lightbox[hidden] { display: none !important; }
.hx-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hx-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 17, 28, .88);
  backdrop-filter: blur(4px);
}

.hx-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  padding: 18px 72px 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.hx-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}

.hx-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 250px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.hx-lightbox-close,
.hx-lightbox-nav,
.hx-lightbox-thumb {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.hx-lightbox-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef2f5;
  color: var(--hx-navy);
  font-size: 30px;
  line-height: 1;
}

.hx-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 64px;
  margin-top: -32px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #eef2f5;
  color: var(--hx-navy);
  font-size: 42px;
  line-height: 1;
}
.hx-lightbox-prev { left: 14px; }
.hx-lightbox-next { right: 14px; }
.hx-lightbox-close:hover,
.hx-lightbox-nav:hover { background: #dfe8ef; }

.hx-lightbox-counter {
  padding: 10px 0 8px;
  color: #607284;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.hx-lightbox-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 2px;
}

.hx-lightbox-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 62px;
  padding: 4px;
  border: 1px solid #dbe3ea;
  border-radius: 5px;
  background: #f6f8fa;
}
.hx-lightbox-thumb.is-active { border-color: #557d9b; box-shadow: inset 0 0 0 1px #557d9b; }
.hx-lightbox-thumb img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 780px) {
  .hx-lightbox { padding: 10px; }
  .hx-lightbox-dialog {
    width: 100%;
    max-height: calc(100vh - 20px);
    padding: 56px 12px 14px;
  }
  .hx-lightbox-image { max-height: calc(100vh - 220px); }
  .hx-lightbox-nav {
    top: auto;
    bottom: 86px;
    width: 42px;
    height: 48px;
    margin: 0;
    background: rgba(238,242,245,.95);
    font-size: 34px;
  }
  .hx-lightbox-prev { left: 12px; }
  .hx-lightbox-next { right: 12px; }
  .hx-lightbox-thumb { flex-basis: 58px; width: 58px; height: 52px; }
}

/* Hyginox cost calculator */
.hx-calculator{background:#f6f9fb;border:1px solid #dfe8ef;border-radius:16px;padding:30px}.hx-calc-intro{max-width:760px;margin:0 0 24px;color:#526273}.hx-calc-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr);gap:24px;align-items:start}.hx-calc-input-panel,.hx-calc-results{background:#fff;border:1px solid #dbe4ec;border-radius:12px;padding:22px}.hx-calc-panel-head{display:flex;align-items:center;gap:10px;margin:0 0 18px;color:#0b3153;font-size:17px}.hx-calc-step{display:inline-flex;width:28px;height:28px;align-items:center;justify-content:center;border-radius:50%;background:#0b3153;color:#fff;font-size:13px}.hx-calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.hx-calc-fields label{display:flex;flex-direction:column;gap:7px;font-weight:600;color:#0b3153}.hx-calc-fields input,.hx-calc-fields select{width:100%;min-height:48px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:10px 12px;color:#172033;box-shadow:none}.hx-calc-fields input:focus,.hx-calc-fields select:focus{outline:2px solid rgba(11,49,83,.14);border-color:#0b3153}.hx-calc-advanced{margin-top:20px;border-top:1px solid #e7edf2;padding-top:16px}.hx-calc-advanced summary{cursor:pointer;color:#0b3153;font-weight:700}.hx-calc-advanced>p{margin:10px 0 16px;color:#64748b;font-size:13px}.hx-calc-result-row{display:flex;justify-content:space-between;gap:20px;padding:13px 0;border-bottom:1px solid #edf2f7}.hx-calc-result-row span{color:#526273}.hx-calc-result-row strong{color:#0b3153;text-align:right}.hx-calc-saving{margin:12px -8px 0;padding:18px 10px;border:0;background:#eaf7f1;border-radius:9px}.hx-calc-saving strong{font-size:1.35em}.hx-calc-note{font-size:13px;line-height:1.55;color:#64748b;margin:18px 0}.hx-calculator-section .hx-calculator{margin-top:18px}@media(max-width:780px){.hx-calculator{padding:18px}.hx-calc-grid,.hx-calc-fields{grid-template-columns:1fr}.hx-calc-input-panel,.hx-calc-results{padding:18px}.hx-calc-result-row{align-items:flex-start;flex-direction:column;gap:4px}.hx-calc-result-row strong{text-align:left}}

/* v0.1.7 – gallery controls + multilingual calculator field alignment */
.hx-lightbox-dialog{padding-top:64px}
.hx-lightbox-close{top:14px;right:16px;display:flex;align-items:center;justify-content:center;width:44px;height:44px}
.hx-lightbox-close img{display:block;width:20px;height:20px}
.hx-lightbox-nav{display:flex;align-items:center;justify-content:center;width:56px;height:72px;margin-top:-36px}
.hx-lightbox-nav img{display:block;width:24px;height:24px}
.hx-lightbox-prev{left:16px}.hx-lightbox-next{right:16px}
.hx-lightbox-stage{position:relative;overflow:auto;cursor:zoom-in}
.hx-lightbox-zoom{position:absolute;z-index:4;top:10px;right:10px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 2px 12px rgba(0,0,0,.16);cursor:pointer}
.hx-lightbox-zoom img{width:22px;height:22px;display:block}
.hx-lightbox.is-zoomed .hx-lightbox-stage{align-items:flex-start;justify-content:flex-start;cursor:zoom-out}
.hx-lightbox.is-zoomed .hx-lightbox-image{max-width:none;max-height:none;width:auto;height:auto;cursor:zoom-out}
.hx-calc-fields label{display:grid;grid-template-rows:minmax(44px,auto) 48px;align-content:start;gap:7px}
.hx-calc-fields label>input,.hx-calc-fields label>select{height:48px;min-height:48px;align-self:end}
@media(max-width:780px){.hx-lightbox-dialog{padding-top:58px}.hx-lightbox-nav{width:46px;height:54px}.hx-lightbox-nav img{width:20px;height:20px}.hx-calc-fields label{grid-template-rows:auto 48px}}

/* v0.1.9 – isolated gallery/lightbox controls + dynamic calculator units */
.hx-product-page .hx-gallery-main-link{position:relative;overflow:hidden}
.hx-product-page .hx-gallery-zoom-badge{position:absolute!important;right:16px!important;bottom:16px!important;z-index:4!important;display:flex!important;align-items:center!important;justify-content:center!important;width:46px!important;height:46px!important;padding:0!important;border:1px solid rgba(11,49,83,.14)!important;border-radius:999px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 5px 18px rgba(11,49,83,.16)!important;pointer-events:none!important}
.hx-product-page .hx-gallery-zoom-badge img{display:block!important;width:21px!important;height:21px!important;max-width:none!important;margin:0!important;padding:0!important}
.hx-product-page .hx-gallery-carousel-nav,.hx-lightbox .hx-lightbox-close,.hx-lightbox .hx-lightbox-nav,.hx-lightbox .hx-lightbox-zoom{box-sizing:border-box!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;text-indent:0!important;line-height:1!important;transform:none!important}
.hx-product-page .hx-gallery-carousel-nav{top:50%!important;width:42px!important;height:42px!important;border:1px solid #d4e0e9!important;border-radius:999px!important;background:#fff!important;box-shadow:0 5px 16px rgba(11,49,83,.14)!important;transform:translateY(-50%)!important}
.hx-product-page .hx-gallery-carousel-nav img,.hx-lightbox .hx-lightbox-close img,.hx-lightbox .hx-lightbox-nav img,.hx-lightbox .hx-lightbox-zoom img{display:block!important;max-width:none!important;margin:0!important;padding:0!important;filter:none!important}
.hx-product-page .hx-gallery-carousel-nav img{width:17px!important;height:17px!important}
.hx-lightbox .hx-lightbox-dialog{box-sizing:border-box!important;width:min(1180px,calc(100vw - 48px))!important;height:min(900px,calc(100vh - 48px))!important;max-height:none!important;padding:70px 82px 18px!important;border-radius:14px!important;overflow:hidden!important;background:#fff!important}
.hx-lightbox .hx-lightbox-close{position:absolute!important;top:16px!important;right:18px!important;left:auto!important;bottom:auto!important;z-index:20!important;display:flex!important;width:46px!important;height:46px!important;align-items:center!important;justify-content:center!important;border:1px solid #dbe4ec!important;border-radius:999px!important;background:#f4f7f9!important;box-shadow:0 3px 12px rgba(11,49,83,.10)!important}
.hx-lightbox .hx-lightbox-close img{width:19px!important;height:19px!important}
.hx-lightbox .hx-lightbox-nav{position:absolute!important;top:50%!important;bottom:auto!important;z-index:20!important;display:flex!important;width:52px!important;height:52px!important;align-items:center!important;justify-content:center!important;border:1px solid #dbe4ec!important;border-radius:999px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 5px 18px rgba(11,49,83,.15)!important;transform:translateY(-50%)!important}
.hx-lightbox .hx-lightbox-prev{left:18px!important}.hx-lightbox .hx-lightbox-next{right:18px!important}
.hx-lightbox .hx-lightbox-nav img{width:20px!important;height:20px!important}
.hx-lightbox .hx-lightbox-stage{position:relative!important;min-height:0!important;height:100%!important;overflow:auto!important}
.hx-lightbox .hx-lightbox-image{max-width:100%!important;max-height:100%!important;margin:auto!important}
.hx-lightbox .hx-lightbox-zoom{position:absolute!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;z-index:15!important;display:flex!important;width:46px!important;height:46px!important;align-items:center!important;justify-content:center!important;border:1px solid #dbe4ec!important;border-radius:999px!important;background:rgba(255,255,255,.97)!important;box-shadow:0 4px 14px rgba(11,49,83,.14)!important}
.hx-lightbox .hx-lightbox-zoom img{width:21px!important;height:21px!important}
.hx-lightbox .hx-lightbox-counter{padding:9px 0 7px!important}
.hx-lightbox .hx-lightbox-thumbs{min-height:68px!important;padding:3px 0!important}
.hx-lightbox .hx-lightbox-thumb{box-sizing:border-box!important;margin:0!important}
.hx-calc-field-label [data-hx-unit]{white-space:nowrap}
@media(max-width:780px){.hx-product-page .hx-gallery-zoom-badge{right:12px!important;bottom:12px!important;width:42px!important;height:42px!important}.hx-lightbox{padding:8px!important}.hx-lightbox .hx-lightbox-dialog{width:100%!important;height:calc(100vh - 16px)!important;padding:62px 14px 14px!important}.hx-lightbox .hx-lightbox-nav{top:50%!important;width:44px!important;height:44px!important}.hx-lightbox .hx-lightbox-prev{left:10px!important}.hx-lightbox .hx-lightbox-next{right:10px!important}.hx-lightbox .hx-lightbox-close{top:10px!important;right:10px!important;width:42px!important;height:42px!important}.hx-lightbox .hx-lightbox-zoom{top:8px!important;right:8px!important;width:42px!important;height:42px!important}.hx-lightbox .hx-lightbox-thumb{flex-basis:58px!important;width:58px!important;height:52px!important}}

/* v0.1.10 – row-aware calculator alignment */
@media (min-width:781px){
  .hx-calc-fields{align-items:stretch}
  .hx-calc-fields label{display:flex;flex-direction:column;height:100%;gap:7px}
  .hx-calc-fields label>input,.hx-calc-fields label>select{height:48px;min-height:48px;margin-top:auto;align-self:stretch}
}
@media (max-width:780px){
  .hx-calc-fields label{display:flex;flex-direction:column;height:auto;gap:7px}
  .hx-calc-fields label>input,.hx-calc-fields label>select{margin-top:0}
}


/* v0.1.11 – gallery arrows on main image edges; lightbox zoom control removed */
.hx-product-page .hx-gallery-main-stage{position:relative}
.hx-product-page .hx-gallery-carousel{padding:0}
.hx-product-page .hx-gallery-main-stage .hx-gallery-carousel-nav{position:absolute!important;top:50%!important;bottom:auto!important;z-index:8!important;display:flex!important;width:44px!important;height:44px!important;align-items:center!important;justify-content:center!important;transform:translateY(-50%)!important}
.hx-product-page .hx-gallery-main-stage .hx-gallery-carousel-prev{left:14px!important;right:auto!important}
.hx-product-page .hx-gallery-main-stage .hx-gallery-carousel-next{right:14px!important;left:auto!important}
.hx-lightbox .hx-lightbox-zoom{display:none!important}
@media(max-width:780px){
 .hx-product-page .hx-gallery-main-stage .hx-gallery-carousel-nav{display:flex!important;width:40px!important;height:40px!important}
 .hx-product-page .hx-gallery-main-stage .hx-gallery-carousel-prev{left:8px!important}
 .hx-product-page .hx-gallery-main-stage .hx-gallery-carousel-next{right:8px!important}
}

/* 0.1.13 section icon system */
.hx-section-heading{display:flex;align-items:center;gap:12px}.hx-section-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center}.hx-section-icon svg,.hx-section-icon img{display:block;width:100%;height:100%;object-fit:contain}.hx-custom-content .hx-richtext>:first-child{margin-top:0}.hx-custom-content .hx-richtext>:last-child{margin-bottom:0}
@media(max-width:767px){.hx-section-heading{gap:10px}.hx-section-icon{max-width:42px;max-height:42px}}
.hx-section-icon-mask{background:currentColor;-webkit-mask-image:var(--hx-icon-url);mask-image:var(--hx-icon-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}


/* v0.1.14 – configurable product archive */
.hx-archive-page .hx-archive-header{box-sizing:border-box;width:100%;max-width:var(--hx-archive-header-width,800px);padding:var(--hx-archive-header-pt,0) 24px var(--hx-archive-header-pb,0);margin-left:-24px;margin-bottom:42px;background:var(--hx-archive-header-bg,#fff);text-align:var(--hx-archive-align,left)}
.hx-archive-page .hx-eyebrow{color:var(--hx-archive-eyebrow-color,#5c7b93);font-size:var(--hx-archive-eyebrow-d,13px);font-weight:var(--hx-archive-eyebrow-weight,800)}
.hx-archive-page .hx-archive-header h1{color:var(--hx-archive-title-color,#0b3153);font-size:var(--hx-archive-title-d,54px);font-weight:var(--hx-archive-title-weight,700);line-height:var(--hx-archive-title-lh,1.04)}
.hx-archive-page .hx-archive-intro{max-width:var(--hx-archive-intro-width,760px);color:var(--hx-archive-intro-color,#526273);font-size:var(--hx-archive-intro-d,18px);line-height:var(--hx-archive-intro-lh,1.6)}
.hx-archive-page .hx-archive-intro>*:first-child{margin-top:0}.hx-archive-page .hx-archive-intro>*:last-child{margin-bottom:0}
.hx-archive-page .hx-product-grid{grid-template-columns:repeat(var(--hx-grid-d,3),minmax(0,1fr));gap:var(--hx-grid-gap,28px)}
.hx-archive-page .hx-product-card{border-radius:var(--hx-card-radius,10px)}
.hx-archive-page .hx-product-card-copy h2{font-size:var(--hx-card-title-size,25px)}.hx-archive-page .hx-product-card-copy h2 a{color:var(--hx-card-title-color,#0b3153)}
.hx-archive-page .hx-product-card-copy p{color:var(--hx-card-text-color,#5c6b78);font-size:var(--hx-card-text-size,16px)}
@media(max-width:1050px){.hx-archive-page .hx-product-grid{grid-template-columns:repeat(var(--hx-grid-t,2),minmax(0,1fr))}.hx-archive-page .hx-eyebrow{font-size:var(--hx-archive-eyebrow-t,13px)}.hx-archive-page .hx-archive-header h1{font-size:var(--hx-archive-title-t,44px)}.hx-archive-page .hx-archive-intro{font-size:var(--hx-archive-intro-t,17px)}}
@media(max-width:780px){.hx-archive-page .hx-product-grid{grid-template-columns:repeat(var(--hx-grid-m,1),minmax(0,1fr))}.hx-archive-page .hx-eyebrow{font-size:var(--hx-archive-eyebrow-m,12px)}.hx-archive-page .hx-archive-header h1{font-size:var(--hx-archive-title-m,34px)}.hx-archive-page .hx-archive-intro{font-size:var(--hx-archive-intro-m,16px)}}

/* v0.1.16 – integrated product quote form */
html{scroll-behavior:smooth}.hx-cta-with-form{display:grid;grid-template-columns:minmax(260px,.78fr) minmax(0,1.22fr);gap:36px;align-items:start;background-size:cover;background-position:center}.hx-cta-form-column{background:rgba(255,255,255,.96);border:1px solid #dbe4ec;border-radius:14px;padding:24px;box-shadow:0 12px 34px rgba(11,49,83,.08)}.hx-lead-calc-card{white-space:pre-line;background:#f0f7fb;border:1px solid #d4e5ef;border-radius:10px;padding:14px 16px;margin-bottom:16px;color:#334155}.hx-lead-calc-card strong{display:block;color:#0b3153;margin-bottom:7px}.hx-lead-share{border:0;padding:0;margin:0 0 8px}.hx-lead-share legend{font-weight:700;color:#0b3153;margin-bottom:8px}.hx-lead-share label{display:inline-flex;align-items:center;gap:6px;margin-right:18px}.hx-lead-privacy{font-size:12px;line-height:1.5;color:#64748b;margin:8px 0 18px}.hx-cta.is-highlighted .hx-cta-form-column{box-shadow:0 0 0 4px rgba(11,49,83,.12),0 12px 34px rgba(11,49,83,.10);transition:box-shadow .25s ease}.hx-gf-wrap .gform_wrapper{margin:0}@media(max-width:900px){.hx-cta-with-form{grid-template-columns:1fr;gap:20px}.hx-cta-form-column{padding:18px}}


/* v0.1.20 – B2B ajánlatkérő: kiegyensúlyozott kétoszlopos layout + GF design */
.hx-product-page .hx-cta-with-form{display:block!important;padding:34px!important;background-position:center;background-size:cover}
.hx-product-page .hx-cta-with-form .hx-cta-copy{max-width:900px;margin:0 0 26px}
.hx-product-page .hx-cta-with-form .hx-cta-copy h2{margin-bottom:8px}
.hx-product-page .hx-cta-with-form .hx-cta-copy p{max-width:760px;margin-bottom:0}
.hx-product-page .hx-cta-form-column{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.hx-product-page .hx-lead-form{display:grid;grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);grid-template-areas:"side form" "actions form";gap:18px 28px;align-items:start}
.hx-product-page .hx-lead-side{grid-area:side}
.hx-product-page .hx-lead-side-actions{grid-area:actions;background:#fff;border:1px solid #dbe4ec;border-radius:14px;padding:20px 22px;box-shadow:0 10px 28px rgba(11,49,83,.06)}
.hx-product-page .hx-gf-wrap{grid-area:form;background:#fff;border:1px solid #dbe4ec;border-radius:16px;padding:26px 28px;box-shadow:0 14px 38px rgba(11,49,83,.08)}
.hx-product-page .hx-lead-calc-card,.hx-product-page .hx-lead-benefits{background:#f4f9fc;border:1px solid #d4e5ef;border-radius:16px;padding:24px;margin:0;color:#334155;box-shadow:0 10px 28px rgba(11,49,83,.05)}
.hx-product-page .hx-lead-calc-card strong,.hx-product-page .hx-lead-benefits strong{display:block;color:#0b3153;font-size:20px;line-height:1.25;margin-bottom:14px}
.hx-product-page .hx-lead-calc-card [data-hx-lead-calc-summary]{white-space:pre-line;line-height:1.7}
.hx-product-page .hx-lead-benefits p{margin:0 0 16px;line-height:1.6}
.hx-product-page .hx-lead-benefits ul{list-style:none;margin:0;padding:0}
.hx-product-page .hx-lead-benefits li{position:relative;padding:8px 0 8px 27px;border-top:1px solid rgba(11,49,83,.08)}
.hx-product-page .hx-lead-benefits li:before{content:"✓";position:absolute;left:2px;font-weight:800;color:#0b3153}
.hx-product-page .hx-lead-share legend{font-size:17px;line-height:1.35;margin-bottom:12px}
.hx-product-page .hx-lead-share label{padding:5px 0;margin-right:20px}
.hx-product-page .hx-lead-privacy{margin:12px 0 0;font-size:12px;line-height:1.55}
.hx-product-page .hx-gf-wrap .gform_wrapper{margin:0}
.hx-product-page .hx-gf-wrap .gform_fields{row-gap:18px}
.hx-product-page .hx-gf-wrap .gfield_label{color:#0b3153;font-weight:700;margin-bottom:7px}
.hx-product-page .hx-gf-wrap input[type=text],.hx-product-page .hx-gf-wrap input[type=email],.hx-product-page .hx-gf-wrap input[type=tel],.hx-product-page .hx-gf-wrap input[type=url],.hx-product-page .hx-gf-wrap input[type=number],.hx-product-page .hx-gf-wrap select,.hx-product-page .hx-gf-wrap textarea{width:100%;min-height:48px;border:1px solid #cbd5e1!important;border-radius:9px!important;background:#fff!important;padding:10px 13px!important;box-shadow:none!important;transition:border-color .18s ease,box-shadow .18s ease}
.hx-product-page .hx-gf-wrap textarea{min-height:130px;resize:vertical}
.hx-product-page .hx-gf-wrap input:focus,.hx-product-page .hx-gf-wrap select:focus,.hx-product-page .hx-gf-wrap textarea:focus{border-color:#0b3153!important;box-shadow:0 0 0 3px rgba(11,49,83,.10)!important;outline:0}
.hx-product-page .hx-gf-wrap .gfield_description{color:#64748b;font-size:12px;line-height:1.45}
.hx-product-page .hx-gf-wrap .gform_footer{margin-top:20px;padding:0}
.hx-product-page .hx-gf-wrap .gform_button,.hx-product-page .hx-gf-wrap input[type=submit]{min-height:50px;border:0!important;border-radius:9px!important;background:#0b3153!important;color:#fff!important;font-weight:700!important;padding:12px 26px!important;box-shadow:none!important;cursor:pointer;transition:transform .15s ease,background .15s ease}
.hx-product-page .hx-gf-wrap .gform_button:hover,.hx-product-page .hx-gf-wrap input[type=submit]:hover{background:#17618f!important;transform:translateY(-1px)}
.hx-product-page .hx-gf-wrap .gfield_required{color:#b42318}
.hx-product-page .hx-cta.is-highlighted .hx-gf-wrap{box-shadow:0 0 0 4px rgba(11,49,83,.10),0 14px 38px rgba(11,49,83,.10)}
@media(max-width:900px){.hx-product-page .hx-cta-with-form{padding:24px!important}.hx-product-page .hx-lead-form{grid-template-columns:1fr;grid-template-areas:"side" "actions" "form";gap:16px}.hx-product-page .hx-gf-wrap{padding:20px}.hx-product-page .hx-lead-side-actions{padding:18px 20px}}
@media(max-width:600px){.hx-product-page .hx-cta-with-form{padding:18px!important}.hx-product-page .hx-gf-wrap{padding:17px}.hx-product-page .hx-lead-calc-card,.hx-product-page .hx-lead-benefits{padding:19px}.hx-product-page .hx-lead-share label{margin-right:14px}}

/* v0.1.21 – Gravity Forms select: visible chevron + vertically centered value */
.hx-product-page .hx-gf-wrap select{
  height:48px!important;
  min-height:48px!important;
  padding:0 44px 0 13px!important;
  line-height:48px!important;
  -webkit-appearance:none!important;
  appearance:none!important;
  background-color:#fff!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230b3153' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:18px 18px!important;
  cursor:pointer;
}
.hx-product-page .hx-gf-wrap select::-ms-expand{display:none}
