/* Match-Trade–style product page layout */
.mt-product {
  --mt-dark: #15151a;
  --mt-hero: #2b3c47;
  --mt-ink: #15151a;
  --mt-muted: #4b4b55;
  --mt-band: #f1f1f2;
  --mt-card: #f1f1f1;
  --mt-contact: #0a1326;
  --mt-contact-grad: #0f0f1b;
  --mt-map: #f6f6f6;
  --mt-accent: #00a896;
  --mt-max: 1280px;
  color: var(--mt-ink);
  background: #fff;
  margin: 0;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}
.mt-product *, .mt-product *::before, .mt-product *::after { box-sizing: border-box; }
.mt-product a { text-decoration: none; }

/* —— Hero —— */
.mt-product .subpage-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
  padding: 120px 24px 140px;
  color: #fff;
  overflow: hidden;
  background-color: var(--mt-hero);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.mt-product .subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(43,60,71,.92) 0%, rgba(43,60,71,.78) 42%, rgba(43,60,71,.35) 100%);
  z-index: 0;
}
.mt-product .subpage-hero .hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--mt-max);
  margin: 0 auto;
}
.mt-product .yoast-breadcrumbs,
.mt-product .mt-breadcrumbs {
  font-size: 14px;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
}
.mt-product .mt-breadcrumbs a { color: rgba(255,255,255,.78); }
.mt-product .mt-breadcrumbs a:hover { color: #fff; }
.mt-product .mt-breadcrumbs .sep { margin: 0 .35rem; opacity: .7; }
.mt-product .subhero-description { max-width: 520px; }
.mt-product .subhero-description h1,
.mt-product .subhero-description h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 18px;
  color: #fff;
  letter-spacing: -0.02em;
}
.mt-product .subhero-description p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
  margin: 0 0 28px;
  max-width: 34rem;
}
.mt-product .wp-block-button__link,
.mt-product .mt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 28px;
  background: var(--mt-accent);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.mt-product .wp-block-button__link:hover,
.mt-product .mt-btn:hover { filter: brightness(1.05); }
.mt-product .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.mt-product .wp-block-button__link.is-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.85);
  color: #fff !important;
}
.mt-product .wp-block-button__link.is-outline:hover {
  background: rgba(255,255,255,.12);
  filter: none;
}

/* —— Product gallery —— */
.mt-product .product-gallery-band {
  background: #fff;
  padding: 56px 24px 40px;
}
.mt-product .product-gallery-band .inner {
  max-width: var(--mt-max);
  margin: 0 auto;
}
.mt-product .product-gallery-band h2 {
  text-align: center;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--mt-ink);
}
.mt-product .product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mt-product .product-gallery figure {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #0f1419;
  box-shadow: 0 10px 28px rgba(15, 20, 25, 0.12);
}
.mt-product .product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
@media (max-width: 699px) {
  .mt-product .product-gallery { grid-template-columns: 1fr; }
}

/* —— Key features band —— */
.mt-product .product-features {
  position: relative;
  z-index: 2;
  margin-top: -85px;
  padding: 48px 24px 28px;
  background: var(--mt-band);
}
.mt-product .product-features .inner,
.mt-product .home-faq .inner,
.mt-product .our-products .inner,
.mt-product .contact-map-and-counter .inner {
  max-width: var(--mt-max);
  margin: 0 auto;
}
.mt-product .header-small {
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--mt-ink);
  margin: 0 0 8px;
  font-family: Helvetica, Arial, sans-serif;
}
.mt-product .product-features h2,
.mt-product .home-faq h2,
.mt-product .our-products h2 {
  text-align: center;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 0 0 36px;
  color: var(--mt-ink);
}
.mt-product .feature-columns,
.mt-product .product-features .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
}
.mt-product .feature-columns > *,
.mt-product .product-features .wp-block-column {
  flex: 1 1 280px;
  max-width: 380px;
  background: var(--mt-card);
  padding: 56px 28px 28px 24px;
  position: relative;
}
.mt-product .icon-group {
  margin-bottom: 14px;
}
.mt-product .icon-group img,
.mt-product .feature-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.mt-product .product-features h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--mt-ink);
}
.mt-product .product-features p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mt-muted);
  margin: 0;
}

/* —— Alternating description blocks —— */
.mt-product .product-description {
  padding: 70px 24px;
  background: #fff;
}
.mt-product .product-description .inner,
.mt-product .product-description .wp-block-group__inner-container {
  max-width: var(--mt-max);
  margin: 0 auto;
}
.mt-product .product-description .wp-block-columns,
.mt-product .split-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 48px;
}
.mt-product .product-description.rl .wp-block-columns,
.mt-product .product-description.rl .split-row { flex-direction: row; }
.mt-product .product-description .description,
.mt-product .product-description .wp-block-column.description {
  flex: 1 1 340px;
  min-width: 280px;
}
.mt-product .product-description .image,
.mt-product .product-description .wp-block-column.image {
  flex: 1 1 320px;
  min-width: 260px;
  text-align: center;
}
.mt-product .product-description h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--mt-ink);
  text-align: left;
}
.mt-product .product-description p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mt-muted);
  margin: 0 0 16px;
}
.mt-product .product-description ul,
.mt-product .wp-block-list {
  margin: 0 0 24px;
  padding-left: 1.15rem;
  color: var(--mt-muted);
}
.mt-product .product-description li { margin-bottom: 8px; line-height: 1.55; }
.mt-product .product-description img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.mt-product .show-on-mobile { display: none !important; }
.mt-product .show-on-desktop { display: block !important; }

/* —— Accordions —— */
.mt-product .c-accordion__item {
  border-bottom: 1px solid #e5e5e8;
}
.mt-product .c-accordion__title {
  margin: 0;
  padding: 18px 36px 18px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--mt-ink);
  cursor: pointer;
  position: relative;
  list-style: none;
  user-select: none;
}
.mt-product .c-accordion__title::-webkit-details-marker { display: none; }
.mt-product .c-accordion__title::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--mt-accent);
}
.mt-product .c-accordion__item.is-open > .c-accordion__title::after,
.mt-product details[open] > .c-accordion__title::after { content: "–"; }
.mt-product .c-accordion__content {
  display: none;
  padding: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--mt-muted);
}
.mt-product .c-accordion__item.is-open > .c-accordion__content,
.mt-product details[open] > .c-accordion__content { display: block; }
.mt-product .c-accordion__content p { margin: 0 0 8px; }

/* —— FAQ —— */
.mt-product .home-faq {
  padding: 50px 24px 90px;
  background: #fff;
}
.mt-product .home-faq .c-accordion__item {
  max-width: 820px;
  margin: 0 auto;
}

/* —— Related products —— */
.mt-product .our-products.related {
  padding: 40px 24px 80px;
  background: #fff;
}
.mt-product .related-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.mt-product .related-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  background: #f7f7f8;
  border: 1px solid #ececee;
  padding: 28px 24px;
  min-height: 200px;
  transition: border-color .2s ease, box-shadow .2s ease;
  color: inherit;
  display: block;
}
.mt-product .related-card:hover {
  border-color: var(--mt-accent);
  box-shadow: 0 12px 28px rgba(21,21,26,.06);
}
.mt-product .related-card .our-products-small-header {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--mt-accent);
  margin: 0 0 10px;
  font-weight: 700;
}
.mt-product .related-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--mt-ink);
  line-height: 1.3;
}
.mt-product .related-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mt-muted);
  margin: 0;
}

/* —— Contact band —— */
.mt-product .contactus-on-products {
  position: relative;
  background: var(--mt-contact);
  color: #fff;
  padding: 70px 24px 80px;
  overflow: hidden;
}
.mt-product .contactus-on-products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--mt-contact-grad) 0%, transparent 70%);
  pointer-events: none;
}
.mt-product .contactus-on-products .inner {
  position: relative;
  z-index: 1;
  max-width: var(--mt-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 960px) {
  .mt-product .contactus-on-products .inner {
    grid-template-columns: minmax(320px, 1fr) minmax(280px, .85fr);
  }
}
.mt-product .contactus-on-products h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}
.mt-product .contactus-on-products > .inner > .description > p,
.mt-product .contactus-on-products .form-intro {
  color: rgba(255,255,255,.72);
  margin: 0 0 28px;
  line-height: 1.6;
}
.mt-product .mt-contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 18px;
}
@media (min-width: 720px) {
  .mt-product .mt-contact-form { grid-template-columns: 1fr 1fr; }
}
.mt-product .mt-contact-form .full { grid-column: 1 / -1; }
.mt-product .mt-contact-form input,
.mt-product .mt-contact-form select,
.mt-product .mt-contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: #fff;
  padding: 12px 0;
  font-size: 15px;
  outline: none;
  border-radius: 0;
}
.mt-product .mt-contact-form input::placeholder,
.mt-product .mt-contact-form textarea::placeholder { color: rgba(255,255,255,.45); }
.mt-product .mt-contact-form select option { color: #111; }
.mt-product .mt-contact-form label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 6px;
}
.mt-product .mt-contact-form .roles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}
.mt-product .mt-contact-form .roles label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  margin: 0;
  cursor: pointer;
}
.mt-product .contact-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin: 8px 0 0;
}
.mt-product .contact-disclaimer a { color: rgba(255,255,255,.8); text-decoration: underline; }
.mt-product .contact-side {
  min-height: 220px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.mt-product .contact-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
  opacity: .85;
}

/* —— Global stats —— */
.mt-product .contact-map-sub-products {
  background: var(--mt-map);
  padding: 70px 24px 100px;
}
.mt-product .contact-map-and-counter .wp-block-columns,
.mt-product .stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  max-width: var(--mt-max);
  margin: 0 auto;
}
.mt-product .stats-copy { flex: 1 1 320px; }
.mt-product .stats-copy h2 {
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 700;
  margin: 0 0 28px;
  color: var(--mt-ink);
  max-width: 18ch;
  text-align: left;
}
.mt-product #counter,
.mt-product .mt-counter {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 40px;
}
.mt-product .mt-counter .box { min-width: 140px; }
.mt-product .counter-value {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--mt-ink);
  line-height: 1;
  margin-bottom: 8px;
}
.mt-product .mt-counter .txt {
  font-size: 14px;
  color: var(--mt-muted);
  line-height: 1.4;
  max-width: 14ch;
}
.mt-product .contect-map,
.mt-product .stats-map {
  flex: 1 1 280px;
  min-height: 220px;
  background: linear-gradient(160deg, #e8eef3 0%, #dfe7ee 100%);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.mt-product .stats-map a {
  color: var(--mt-ink);
  font-size: 14px;
  font-weight: 600;
}
.mt-product .stats-map a:hover { color: var(--mt-accent); }

/* Generic HTML body fallback when admin pastes simpler markup */
.mt-product .mt-html-body {
  max-width: var(--mt-max);
  margin: 0 auto;
  padding: 40px 24px 60px;
}
.mt-product .mt-html-body:empty { display: none; }
.mt-product .mt-html-body h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.mt-product .mt-html-body .feature-grid,
.mt-product .feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 1.5rem 0;
}
.mt-product .mt-html-body .feature-card,
.mt-product .feature-card {
  flex: 1 1 260px;
  background: var(--mt-card);
  padding: 28px 24px;
}
.mt-product .mt-html-body .feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.mt-product .mt-html-body .feature-card p { margin: 0; font-size: 14px; color: var(--mt-muted); }
.mt-product .section-label {
  display: block;
  text-align: center;
  font-size: 15px;
  margin-bottom: 8px;
}

@media (max-width: 899px) {
  .mt-product .subpage-hero {
    min-height: auto;
    padding: 100px 20px 120px;
    background-position: center;
  }
  .mt-product .subpage-hero::before {
    background: rgba(43,60,71,.88);
  }
  .mt-product .product-features { margin-top: -60px; padding-top: 36px; }
  .mt-product .show-on-mobile { display: block !important; }
  .mt-product .show-on-desktop { display: none !important; }
  .mt-product .product-description.rl .wp-block-columns,
  .mt-product .product-description.rl .split-row { flex-direction: column; }
  .mt-product .contact-map-sub-products.hide-on-mobile { display: none; }
}

/* Hide site canvas mesh behind this full-bleed page */
body:has(.mt-product) .crypto-bg { opacity: 0; pointer-events: none; }
body:has(.mt-product) .crypto-mobile-buy-bar { display: none !important; }
