/* AhanTik Home v2 — layout inspired by marketplace home, AhanTik palette */
.h2-page {
  background: var(--ab-page);
  color: var(--ab-text, #0a2749);
  min-height: 100vh;
  padding-bottom: 5.5rem;
}
@media (min-width: 1024px) {
  .h2-page { padding-bottom: 0; }
}

.h2-wrap {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
}

/* ── Header ── */
/* Sticky band is .h2-chrome--v2 in site layout; header itself stays in normal flow inside it */
.h2-header {
  position: relative;
  z-index: 40;
  background: var(--ab-surface);
  border-bottom: 1px solid var(--ab-border);
  box-shadow: 0 1px 0 rgba(10, 39, 73, 0.04);
}
.h2-chrome--v2 {
  position: sticky;
  top: var(--ab-admin-bar-h, 0px);
  z-index: 40;
  background: var(--ab-surface);
  flex-shrink: 0;
  /* Prevent flex column from collapsing sticky chrome to header-only height */
  display: flex;
  flex-direction: column;
}
.h2-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  min-height: 72px;
  padding-block: 0.5rem;
}
.h2-header__row > .h2-logo {
  flex-shrink: 0;
  margin-inline-end: 0.35rem;
}
.h2-header__row > .h2-actions {
  flex-shrink: 0;
  margin-inline-start: 0.35rem;
}
.h2-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.h2-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}
.h2-logo__light { display: block; }
.h2-logo__dark { display: none; }
html[data-theme="dark"] .h2-logo__light { display: none; }
html[data-theme="dark"] .h2-logo__dark { display: block; }
.h2-logo__text {
  display: none;
  flex-direction: column;
  line-height: 1.25;
}
@media (min-width: 640px) {
  .h2-logo__text { display: flex; }
  .h2-logo img { height: 72px; }
}
.h2-logo__name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-logo__name { color: var(--ab-text); }
.h2-logo__phone {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ab-blue);
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  margin-top: 0.1rem;
}

.h2-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .h2-nav { display: flex; }
}
.h2-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ab-muted);
  text-decoration: none;
}
.h2-nav a:hover { color: var(--ab-blue); }

.h2-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.h2-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  border: 1px solid var(--ab-border, #e2e8f0);
  background: var(--ab-surface, #fff);
  color: var(--ab-navy, #0a2749);
  cursor: pointer;
}
.h2-theme-toggle:hover {
  border-color: var(--ab-blue);
  color: var(--ab-blue);
}
html[data-theme="dark"] .h2-theme-toggle {
  background: var(--ab-surface-2, #152238);
  border-color: rgba(255,255,255,.12);
  color: #e8eef8;
}
.h2-phone-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.65rem;
  background: linear-gradient(180deg, var(--ab-blue), var(--ab-blue-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) {
  .h2-phone-pill { display: inline-flex; }
}
.h2-login {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ab-muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
}
.h2-login:hover { color: var(--ab-blue); }
.h2-menu-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  border: 1px solid var(--ab-border);
  background: var(--ab-surface-2);
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-menu-btn { color: var(--ab-text); }
@media (min-width: 1024px) {
  .h2-menu-btn { display: none; }
}

/* Override app.css fixed bottom #momentNews — on v2 it sits under header */
.h2-page #momentNews.h2-ticker {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 30;
  height: auto !important;
  min-height: 42px;
  margin: 0 !important;
  background: var(--ab-navy) !important;
  border-top: 0 !important;
  border-bottom: 2px solid var(--ab-yellow);
  box-shadow: none;
}
/* Sticky header + ticker as one chrome band */
.h2-page .h2-header {
  margin-bottom: 0 !important;
  border-bottom-color: transparent;
  box-shadow: none;
}
.h2-page .h2-chrome--v2 .h2-header {
  position: relative;
  top: auto;
}
@media (max-width: 1023px) {
  .h2-page #momentNews.h2-ticker {
    bottom: auto;
  }
  .h2-page .h2-chrome--v2 .ab-mobile-topbar {
    border-bottom: 0;
  }
}

/* ── News ticker (moment news content, not blog titles) ── */
.h2-ticker {
  background: var(--ab-navy);
  color: #fff;
  overflow: hidden;
}
.h2-ticker__inner {
  display: flex;
  align-items: stretch;
  min-height: 46px;
}
.h2-ticker__label {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.35rem 1rem;
  background: var(--ab-blue);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.25;
}
.h2-ticker__label span {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.75;
}
.h2-ticker__track-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
/* Two equal segs; gap lives inside each seg so translateX(-50%) seams cleanly. */
.h2-ticker__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: max-content;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  direction: ltr;
  animation: h2-marquee 40s linear infinite;
  will-change: transform;
}
.h2-ticker__seg {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  gap: 2.5rem;
  padding-inline-end: 2.5rem;
}
.h2-ticker__track:hover { animation-play-state: paused; }
.h2-ticker__item {
  white-space: nowrap;
  font-weight: 600;
  unicode-bidi: plaintext;
}
.h2-ticker__item a {
  text-decoration: none;
  color: inherit;
}
.h2-ticker__item a:hover { color: var(--ab-yellow); }
.h2-ticker__up { color: #6ee7b7; }
.h2-ticker__down { color: #fca5a5; }
.h2-ticker__flat { color: #e2e8f0; }
@media (prefers-reduced-motion: reduce) {
  .h2-ticker__track {
    animation: none !important;
    transform: none !important;
  }
  .h2-ticker__seg[aria-hidden="true"] {
    display: none;
  }
}
/* keyframes defined once at end of file */

/* ── Hero ── */
.h2-hero {
  position: relative;
  padding: 2.5rem 0 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 87, 184, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(202, 164, 93, 0.15), transparent 50%),
    linear-gradient(165deg, var(--ab-surface) 0%, var(--ab-page) 100%);
  overflow: hidden;
}
html[data-theme="dark"] .h2-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 87, 184, 0.25), transparent 55%),
    linear-gradient(165deg, var(--ab-navy-deep) 0%, var(--ab-navy) 100%);
}
.h2-hero__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
@media (min-width: 900px) {
  .h2-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
}
.h2-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ab-blue);
  letter-spacing: 0.02em;
}
.h2-hero h1 {
  margin-top: 0.5rem;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-hero h1 { color: var(--ab-text); }
.h2-hero__lead {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--ab-muted);
  max-width: 34rem;
}
.h2-hero__cta {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.h2-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem;
  border-radius: 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.h2-btn--primary {
  background: linear-gradient(180deg, var(--ab-blue), var(--ab-blue-dark));
  color: #fff;
}
.h2-btn--ghost {
  background: var(--ab-surface);
  color: var(--ab-navy);
  border: 1px solid var(--ab-border);
}
html[data-theme="dark"] .h2-btn--ghost {
  background: var(--ab-surface-2);
  color: var(--ab-text);
}
.h2-hero__visual {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--ab-border);
  box-shadow: 0 18px 40px rgba(10, 39, 73, 0.12);
  aspect-ratio: 16 / 10;
  background: var(--ab-navy);
}
.h2-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Category cards ── */
.h2-section {
  padding: 2.25rem 0;
}
.h2-section__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.h2-section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
}
.h2-section__head--row .h2-news-card__more {
  flex-shrink: 0;
  margin: 0;
}
.h2-section__head h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ab-blue);
}
.h2-section__head p {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--ab-muted);
}

.h2-cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .h2-cats { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .h2-cats { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}

.h2-cat {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 132px;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.h2-cat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ab-blue) 40%, var(--ab-border));
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.12);
}
.h2-cat__media {
  width: 46%;
  flex-shrink: 0;
  background: var(--ab-surface-2);
  display: grid;
  place-items: center;
  padding: 0.75rem;
}
.h2-cat__media img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}
.h2-cat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.9rem 1rem;
  gap: 0.35rem;
}
.h2-cat__body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-cat__body h3 { color: var(--ab-text); }
.h2-cat__body p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--ab-muted);
}
.h2-cat__cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ab-blue);
}

/* ── Knowledge ── */
.h2-news {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .h2-news { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .h2-news { grid-template-columns: repeat(4, 1fr); }
}
.h2-news-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.h2-news-card:hover { box-shadow: 0 10px 24px rgba(10, 39, 73, 0.1); }
.h2-news-card__media {
  display: block;
  overflow: hidden;
}
.h2-news-card__img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--ab-surface-2);
  transition: transform 0.25s ease;
}
.h2-news-card:hover .h2-news-card__img { transform: scale(1.03); }
.h2-news-card__body h3 a {
  color: inherit;
  text-decoration: none;
}
.h2-news-card__body {
  padding: 0.9rem 1rem 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.h2-news-card__body h3 {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1.55;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-news-card__body h3 { color: var(--ab-text); }
.h2-news-card__body p {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--ab-muted);
  flex: 1;
}
.h2-news-card__more {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ab-blue);
}

/* ── About band ── */
.h2-about {
  background: linear-gradient(135deg, var(--ab-navy) 0%, var(--ab-navy-deep) 55%, #003f87 100%);
  color: #e8eef5;
  padding: 2.75rem 0;
  margin-top: 0.5rem;
}
.h2-about h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}
.h2-about__brand {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ab-yellow);
}
.h2-about p {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.95;
  color: rgba(232, 238, 245, 0.85);
  max-width: 42rem;
  text-align: justify;
}
.h2-about__features {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.h2-about__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ── Footer ── */
.h2-footer {
  background: var(--ab-surface);
  border-top: 1px solid var(--ab-border);
  padding: 2rem 0 1.25rem;
}
.h2-footer__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .h2-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.h2-footer h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-footer h3 { color: var(--ab-text); }
.h2-footer p, .h2-footer a {
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--ab-muted);
  text-decoration: none;
}
.h2-footer a:hover { color: var(--ab-blue); }
.h2-footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}
.h2-footer__copy {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ab-border);
  text-align: center;
  font-size: 0.72rem;
  color: var(--ab-muted);
}

.h2-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ab-blue);
  text-decoration: none;
}

/* ── Header top row ── */
.h2-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  border-bottom: 1px solid var(--ab-border);
  min-height: 40px;
}
.h2-toplinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.h2-toplinks a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ab-muted);
  text-decoration: none;
}
.h2-toplinks a:hover,
.h2-toplinks__alt {
  color: var(--ab-blue);
}
.h2-header__tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
/* Pivan-style sales phone: icon + bold fanum + caption */
.h2-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--ab-blue);
  line-height: 1.15;
}
.h2-phone-link i,
.h2-phone-link svg {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  color: var(--ab-blue);
  stroke-width: 2;
}
.h2-phone-link__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
}
.h2-phone-link__num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ab-blue);
  direction: ltr;
  unicode-bidi: isolate;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  font-family: Vazirmatn, ui-sans-serif, system-ui, sans-serif;
}
.h2-phone-link__label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ab-muted, #64748b);
  direction: rtl;
}
.h2-phone-link:hover,
.h2-phone-link:hover .h2-phone-link__num {
  color: var(--ab-blue-dark, #003f87);
}
.h2-phone-link:hover .h2-phone-link__label {
  color: var(--ab-navy, #0a2749);
}

/* ── Category icon nav ── */
.h2-catnav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
  min-width: 0;
  padding-inline: 0.75rem;
}
.h2-catnav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 4.25rem;
  padding: 0.4rem 0.45rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: var(--ab-navy);
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.15s;
}
html[data-theme="dark"] .h2-catnav a { color: var(--ab-text); }
.h2-catnav a:hover { background: var(--ab-surface-2); }
.h2-catnav img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
@media (max-width: 1100px) {
  .h2-catnav {
    gap: 0.35rem;
    padding-inline: 0.35rem;
  }
  .h2-catnav a {
    min-width: 3.6rem;
    font-size: 0.65rem;
    padding: 0.3rem 0.25rem;
  }
  .h2-catnav img {
    width: 34px;
    height: 34px;
  }
}

/* ── Price tabs + table ── */
.h2-section--soft {
  background: var(--ab-surface);
  border-block: 1px solid var(--ab-border);
}
.h2-price-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none; /* Firefox — بدون نوار کاروسل */
  -ms-overflow-style: none; /* legacy Edge */
}
.h2-price-tabs::-webkit-scrollbar {
  display: none; /* Chrome/Safari — بدون نوار کاروسل */
  width: 0;
  height: 0;
}
.h2-price-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  border-radius: 0.7rem;
  border: 1px solid var(--ab-border);
  background: var(--ab-surface);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ab-muted);
  cursor: pointer;
  font-family: inherit;
  scroll-snap-align: start;
}
.h2-price-tabs button img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.h2-price-tabs button.is-active {
  background: linear-gradient(180deg, var(--ab-blue), var(--ab-blue-dark));
  border-color: var(--ab-blue-dark);
  color: #fff;
}
.h2-price-panel[hidden] { display: none; }
.h2-table-scroll {
  overflow-x: auto;
  border: 1px solid var(--ab-border);
  border-radius: 0.9rem;
  background: var(--ab-surface);
}
.h2-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.8rem;
}
@media (max-width: 767px) {
  .h2-table-scroll {
    overflow-x: hidden;
  }

  .h2-price-table {
    min-width: 0 !important;
    width: 100%;
    table-layout: fixed;
  }

  .h2-price-table th,
  .h2-price-table td {
    white-space: nowrap;
    padding: 0.6rem 0.4rem;
    font-size: 0.75rem;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* سایز | کارخانه | قیمت | تغییر — عنوان و اقدام مخفی‌اند (app.css) */
  .h2-price-table th:nth-child(2),
  .h2-price-table td:nth-child(2) {
    width: 16%;
    text-align: center;
    font-weight: 800;
  }

  .h2-price-table th:nth-child(3),
  .h2-price-table td:nth-child(3) {
    width: 34%;
    text-align: right;
  }

  .h2-price-table th:nth-child(4),
  .h2-price-table td:nth-child(4) {
    width: 30%;
    text-align: center;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
  }

  .h2-price-table th:nth-child(5),
  .h2-price-table td:nth-child(5) {
    width: 20%;
    text-align: center;
  }

  .h2-price-table .h2-row-cta {
    display: none !important;
  }
}
.h2-price-table th,
.h2-price-table td {
  padding: 0.75rem 0.85rem;
  text-align: right;
  border-bottom: 1px solid var(--ab-border);
  white-space: nowrap;
}
.h2-price-table th {
  background: var(--ab-surface-2);
  font-weight: 800;
  color: var(--ab-navy);
  font-size: 0.72rem;
}
html[data-theme="dark"] .h2-price-table th { color: var(--ab-text); }
.h2-price-table tbody tr:hover { background: color-mix(in srgb, var(--ab-blue) 6%, transparent); }
.h2-price-table tbody tr:last-child td { border-bottom: none; }
.h2-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
}
.h2-badge--up { background: #dcfce7; color: #15803d; }
.h2-badge--down { background: #fee2e2; color: #b91c1c; }
.h2-badge--flat { background: var(--ab-surface-2); color: var(--ab-muted); }
html[data-theme="dark"] .h2-badge--up { background: rgba(22, 163, 74, 0.2); color: #6ee7b7; }
html[data-theme="dark"] .h2-badge--down { background: rgba(185, 28, 28, 0.25); color: #fca5a5; }
.h2-row-cta {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 0.45rem;
  background: linear-gradient(180deg, var(--ab-blue), var(--ab-blue-dark));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.h2-price-more {
  margin-top: 1rem;
  text-align: center;
}
.h2-price-more a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ab-blue);
  text-decoration: none;
}
.h2-price-more a:hover { text-decoration: underline; }

/* ── Tools ── */
.h2-tools {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .h2-tools { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .h2-tools { grid-template-columns: repeat(4, 1fr); }
}
.h2-tool {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--ab-border);
  background: var(--ab-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.h2-tool:hover {
  border-color: color-mix(in srgb, var(--ab-blue) 45%, var(--ab-border));
  box-shadow: 0 8px 20px rgba(0, 87, 184, 0.1);
}
.h2-tool i { color: var(--ab-blue); }
.h2-tool strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-tool strong { color: var(--ab-text); }
.h2-tool span {
  font-size: 0.72rem;
  color: var(--ab-muted);
  line-height: 1.6;
}

/* RTL marquee: scroll toward the left visually */
@keyframes h2-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1023px) {
  .h2-header { border-bottom: none; }
}

/* ── Title with center line ── */
.h2-title-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ab-navy);
  text-align: center;
}
html[data-theme="dark"] .h2-title-line { color: var(--ab-text); }
.h2-title-line::before,
.h2-title-line::after {
  content: "";
  flex: 1;
  max-width: 180px;
  height: 1px;
  background: var(--ab-border);
}

/* ── Hero banner (Ahanland-style blue plane) ── */
.h2-hero--banner {
  padding: 1.5rem 0 2rem;
  background: var(--ab-page);
}
/* Mobile: sit flush under ticker — less empty grey band */
@media (max-width: 1023px) {
  .h2-hero--banner {
    padding: 0.65rem 0 1.25rem;
  }
  .h2-hero__banner {
    border-radius: 1rem;
    min-height: 280px;
    padding: 1.35rem 1.15rem 1.75rem;
  }
}
.h2-hero__banner-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 960px) {
  .h2-hero__banner-grid {
    grid-template-columns: 1.25fr 0.85fr;
    gap: 1.5rem;
  }
}
.h2-hero__banner {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  padding: 2rem 1.5rem 2.25rem;
  min-height: 320px;
  background: linear-gradient(135deg, var(--ab-blue) 0%, var(--ab-blue-dark) 55%, var(--ab-navy) 100%);
  color: #fff;
}
.h2-hero__banner--has-slider {
  padding: 0;
  min-height: 340px;
  display: grid;
  align-items: stretch;
}
.h2-hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.h2-hero__slider-viewport {
  position: absolute;
  inset: 0;
}
.h2-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.h2-hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.h2-hero__slide-link,
.h2-hero__slide picture,
.h2-hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Compact readable panel over busy banner creatives (no full-bleed text clash) */
.h2-hero__banner-panel {
  position: absolute;
  z-index: 2;
  inset-inline-end: 1.1rem;
  inset-block-end: 1.1rem;
  max-width: min(22rem, calc(100% - 2rem));
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: 1rem;
  background: rgba(10, 39, 73, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  color: #fff;
}
.h2-hero__banner-panel-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.55;
  color: #fff;
  max-width: none;
}
.h2-hero__banner-panel-lead {
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}
.h2-hero__banner-panel .h2-hero__cta {
  margin-top: 0.85rem;
}
.h2-hero__slider-nav {
  z-index: 3;
}
.h2-hero__slider-dots {
  z-index: 3;
  bottom: 0.85rem;
  inset-inline-start: 1rem;
  justify-content: flex-start;
}
@media (max-width: 700px) {
  .h2-hero__banner-panel {
    inset: auto 0.65rem 0.65rem;
    max-width: none;
  }
}
.h2-hero__banner .h2-hero__eyebrow {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
}
.h2-hero__banner h1 {
  color: #fff;
  margin-top: 0.6rem;
  max-width: 22rem;
  position: relative;
  z-index: 2;
}
.h2-hero__banner .h2-hero__lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 22rem;
  position: relative;
  z-index: 2;
}
.h2-hero__banner .h2-hero__cta {
  position: relative;
  z-index: 2;
}
.h2-btn--light {
  background: #fff;
  color: var(--ab-blue-dark);
}
.h2-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.h2-btn--outline {
  background: var(--ab-surface);
  color: var(--ab-blue);
  border: 1.5px solid var(--ab-blue);
}
html[data-theme="dark"] .h2-btn--outline {
  background: transparent;
  color: #fff;
  border-color: var(--ab-blue);
}
.h2-hero__banner-art {
  position: absolute;
  left: -2%;
  bottom: -8%;
  width: min(52%, 380px);
  pointer-events: none;
  opacity: 0.95;
}
.h2-hero__banner-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
}
.h2-hero__banner-art-2 {
  position: absolute;
  left: 45%;
  bottom: 12%;
  width: 42% !important;
  opacity: 0.85;
}
@media (max-width: 700px) {
  .h2-hero__banner-art { width: 42%; opacity: 0.55; }
}

/* Search card */
.h2-search-card {
  background: var(--ab-surface);
  border: 1px solid var(--ab-border);
  border-radius: 1.15rem;
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: 0 14px 36px rgba(10, 39, 73, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.h2-search-card h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ab-navy);
  margin: 0 0 0.15rem;
  line-height: 1.6;
}
html[data-theme="dark"] .h2-search-card h2 { color: var(--ab-text); }
.h2-search-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}
.h2-search-field {
  display: block;
  margin: 0;
}
.h2-search-field select,
.h2-search-field--static {
  width: 100%;
  appearance: none;
  border: none;
  border-radius: 0.65rem;
  background: var(--ab-surface-2);
  color: var(--ab-muted);
  font: inherit;
  font-size: 0.8rem;
  padding: 0.85rem 0.95rem;
  line-height: 1.4;
  box-sizing: border-box;
}
.h2-search-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.85rem center;
  padding-left: 2rem;
  cursor: pointer;
}
.h2-search-actions {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.35rem;
  align-items: stretch;
}
.h2-search-actions__main {
  flex: 1;
  justify-content: center;
}
.h2-search-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0 0.75rem;
  border-radius: 0.65rem;
  background: var(--ab-navy);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

/* Active tab: no extra chevron badge (product icon + label only) */

/* ── Steps ── */
.h2-steps {
  list-style: none;
  margin: 0;
  padding: 1.35rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--ab-blue), var(--ab-blue-dark));
  color: #fff;
}
.h2-steps > li:not(.h2-steps__arrow) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 92px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
  padding: 0.35rem;
}
.h2-steps__arrow {
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
}
@media (max-width: 720px) {
  .h2-steps__arrow { display: none; }
  .h2-steps { gap: 0.85rem; }
  .h2-steps > li:not(.h2-steps__arrow) { min-width: 42%; }
}

/* ── Experts ── */
.h2-expert-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.h2-expert-tabs button {
  border: 1px solid var(--ab-border);
  background: var(--ab-surface-2);
  color: var(--ab-navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
  border-radius: 0.7rem;
  cursor: pointer;
}
html[data-theme="dark"] .h2-expert-tabs button { color: var(--ab-text); }
.h2-expert-tabs button.is-active {
  background: linear-gradient(180deg, var(--ab-blue), var(--ab-blue-dark));
  border-color: var(--ab-blue-dark);
  color: #fff;
}
.h2-expert-panel[hidden] { display: none; }
.h2-experts {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .h2-experts { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .h2-experts { grid-template-columns: repeat(4, 1fr); }
}
.h2-expert {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.h2-expert__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 260px;
  padding: 0.75rem 0.5rem 0;
  border-radius: 1rem;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ab-blue) 14%, #f3f4f6), #eef1f5);
  overflow: hidden;
}
html[data-theme="dark"] .h2-expert__head {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ab-blue) 28%, var(--ab-surface-2)), var(--ab-surface-2));
}
.h2-expert__head img {
  width: auto;
  max-width: 72%;
  height: 260px;
  object-fit: contain;
  object-position: bottom center;
  margin-inline-start: auto;
  display: block;
}
.h2-expert__social {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
  z-index: 1;
}
.h2-expert__social a {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ab-muted);
  box-shadow: 0 2px 8px rgba(10, 39, 73, 0.12);
  text-decoration: none;
}
.h2-expert__social a:hover { color: var(--ab-blue); }
.h2-expert__meta,
.h2-expert__contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  background: var(--ab-surface-2);
  border-radius: 0.55rem;
  margin-top: 0.45rem;
  font-size: 0.8rem;
}
.h2-expert__meta strong {
  font-weight: 800;
  color: var(--ab-navy);
}
html[data-theme="dark"] .h2-expert__meta strong { color: var(--ab-text); }
.h2-expert__meta span,
.h2-expert__contact span {
  color: var(--ab-muted);
  font-size: 0.75rem;
}
.h2-expert__contact a {
  font-weight: 800;
  color: var(--ab-navy);
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
html[data-theme="dark"] .h2-expert__contact a { color: var(--ab-text); }

/* Trust bar above footer — 2×2 mobile, 4-col desktop, centered cards */
.h2-trust-bar {
  background: linear-gradient(135deg, var(--ab-blue), var(--ab-blue-dark));
  color: #fff;
  padding: 1.25rem 0 1.4rem;
}
.h2-trust-bar__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 1024px) {
  .h2-trust-bar__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
.h2-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.4rem;
  padding: 0.7rem 0.45rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-height: 100%;
}
.h2-trust-item i,
.h2-trust-item svg {
  width: 1.55rem;
  height: 1.55rem;
  color: var(--ab-yellow);
  flex-shrink: 0;
  stroke-width: 2;
}
.h2-trust-item > div {
  min-width: 0;
}
.h2-trust-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}
.h2-trust-item span {
  display: block;
  font-size: 0.68rem;
  opacity: 0.88;
  margin-top: 0.2rem;
  line-height: 1.45;
}
@media (min-width: 1024px) {
  .h2-trust-item {
    flex-direction: row;
    align-items: center;
    text-align: start;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    background: transparent;
    border-color: transparent;
  }
  .h2-trust-item i,
  .h2-trust-item svg {
    width: 1.75rem;
    height: 1.75rem;
  }
  .h2-trust-item strong { font-size: 0.85rem; }
  .h2-trust-item span { font-size: 0.72rem; }
}

/* Dark footer */
/* Minimal chrome variants (page-builder choices) */
.ab-header--minimal {
  background: var(--ab-surface, #fff);
  border-bottom: 1px solid var(--ab-border, #e2e8f0);
}
.ab-footer--minimal {
  background: #0a2749;
  border-top: 1px solid rgba(255,255,255,.08);
}
.ab-footer--minimal a { color: #cbd5e1; text-decoration: none; }
.ab-footer--minimal a:hover { color: #fff; }

.h2-footer--dark {
  background: var(--ab-navy-deep);
  border-top: none;
  color: rgba(232, 238, 245, 0.85);
}
.h2-footer--dark h3 { color: #fff; }
.h2-footer--dark p,
.h2-footer--dark a { color: rgba(232, 238, 245, 0.75); }
.h2-footer--dark a:hover { color: #fff; }
.h2-footer__tag {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ab-yellow) !important;
}
.h2-footer__list--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 1rem;
}
.h2-footer--dark .h2-footer__copy {
  border-top-color: rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}
.h2-trust-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.h2-trust-badge {
  flex: 1;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 0.75rem;
}
.h2-trust-badge span {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}
.h2-trust-badge small {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ab-yellow);
}
