/* AAVELONE × ThemeREX Pharma design system
   Tokens from https://pharma.themerex.net/ */

:root {
  --bg: #ffffff;
  --bg-2: #f2f8fa;
  --bd: #d7e9ef;
  --title: #02086a;
  --text: #3a4f66;
  --meta: #8fadc3;
  --accent: #05c9f5;
  --accent-hover: #04b9e2;
  --success: #0ea472;
  --warning: #e8a317;
  --danger: #e23b4a;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(2, 8, 106, 0.08);
  --shadow-sm: 0 8px 24px rgba(2, 8, 106, 0.06);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Instrument Sans", "DM Sans", system-ui, sans-serif;
  --container: 1200px;
  --header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.trx-theme {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: var(--header-h);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

.trx-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
  box-sizing: border-box;
}

.trx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trx-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h1,
h2,
h3,
.trx-title {
  font-family: var(--font-display);
  color: var(--title);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.trx-lead {
  font-size: 1.1rem;
  color: var(--text);
  max-width: 38rem;
}

.trx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.trx-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(5, 201, 245, 0.28);
}

.trx-btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

.trx-btn-ghost {
  background: transparent;
  color: var(--title);
  border: 1.5px solid var(--bd);
}

.trx-btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.trx-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Header — fixed so overflow-x:hidden on html/body does not break it */
.trx-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trx-header.is-scrolled {
  border-bottom-color: var(--bd);
  box-shadow: var(--shadow-sm);
}

.trx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.trx-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--title);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.trx-header .trx-logo img,
.trx-footer .trx-logo img {
  display: block;
  height: 58px;
  width: auto;
  max-width: min(200px, 58vw);
  object-fit: contain;
}

.trx-nav {
  display: none;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.trx-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--title);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.2rem;
}

.trx-nav a:hover,
.trx-nav a.is-active,
.trx-nav-item.is-active > .trx-nav-link {
  color: var(--accent);
}

.trx-nav-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  margin-top: 2px;
}

.trx-nav-item {
  position: relative;
}

.trx-submenu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: min(34rem, 72vw);
  padding: 1rem;
  border: 1px solid var(--bd);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 70;
}

.trx-nav-item:hover > .trx-submenu,
.trx-nav-item:focus-within > .trx-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.trx-submenu-all {
  display: inline-flex;
  margin: 0 0 0.75rem 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trx-submenu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.75rem;
}

.trx-submenu-grid a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  color: var(--title);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.trx-submenu-grid a:hover {
  background: var(--bg-2);
  color: var(--accent);
}

.trx-header-cta {
  display: none;
}

.trx-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bd);
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.trx-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--title);
  border-radius: 2px;
}

.trx-mobile-nav {
  display: none;
  padding: 0 0 1.25rem;
}

.trx-mobile-nav.is-open {
  display: block;
}

.trx-mobile-nav > a,
.trx-mobile-row > a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--bd);
  color: var(--title);
  font-weight: 600;
}

.trx-mobile-nav > a.is-active,
.trx-mobile-row > a.is-active {
  color: var(--accent);
}

.trx-mobile-item {
  border-bottom: 1px solid var(--bd);
}

.trx-mobile-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trx-mobile-row > a {
  flex: 1;
  border-bottom: 0;
  padding-block: 0.9rem;
}

.trx-mobile-toggle {
  width: 40px;
  height: 40px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  background: #fff;
  color: var(--title);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.trx-mobile-toggle span {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.18s ease;
}

.trx-mobile-has-sub.is-open > .trx-mobile-row .trx-mobile-toggle span {
  transform: rotate(180deg);
}

.trx-mobile-sub {
  display: none;
  padding: 0 0 0.65rem;
}

.trx-mobile-has-sub.is-open > .trx-mobile-sub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.15rem 0.75rem;
}

.trx-mobile-sub a {
  display: block;
  padding: 0.55rem 0.25rem;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 0;
}

.trx-mobile-sub a:hover {
  color: var(--accent);
}

@media (max-width: 959px) {
  .trx-mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 60;
    display: block;
    padding: 0.35rem 0 1rem;
    background: #fff;
    border-bottom: 1px solid var(--bd);
    box-shadow: var(--shadow);
    max-height: min(78vh, 36rem);
    overflow-y: auto;
    transform: translateY(-0.5rem);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }

  .trx-mobile-nav.is-open {
    display: block;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .trx-mobile-nav > a,
  .trx-mobile-item,
  .trx-mobile-row,
  .trx-mobile-sub {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 0.85rem;
    box-sizing: border-box;
  }

  body.trx-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(2, 8, 106, 0.28);
  }
}

@media (min-width: 960px) {
  .trx-nav,
  .trx-header-cta {
    display: flex;
  }

  .trx-burger {
    display: none;
  }
}

@media (min-width: 1100px) {
  .trx-submenu {
    width: min(42rem, 70vw);
  }

  .trx-submenu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Hero */
.trx-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(circle at 85% 15%, rgba(5, 201, 245, 0.18), transparent 42%),
    radial-gradient(circle at 10% 80%, rgba(2, 8, 106, 0.06), transparent 40%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
}

.trx-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 960px) {
  .trx-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.trx-hero-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 28px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trx-hero-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(5, 201, 245, 0.35), transparent 70%);
  pointer-events: none;
}

.trx-hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(2, 8, 106, 0.85), rgba(5, 201, 245, 0.55)),
    url("/wp-content/uploads/Aavelone-Pharma-1-1024x768.webp") center / cover;
}

.trx-hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.trx-hero-meta div {
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.7rem;
  text-align: center;
}

.trx-hero-meta strong {
  display: block;
  color: var(--title);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.trx-hero-meta span {
  color: var(--meta);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Home Cooper-style sliders */
.trx-home-hero-slider {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.5rem 0.5rem 0.65rem;
  background: var(--bg-2);
  border-bottom: 1px solid rgba(215, 233, 239, 0.35);
  max-width: 100%;
  overflow-x: clip;
}

.trx-home-hero-track {
  position: relative;
}

.trx-home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.trx-home-hero-slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.trx-home-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  min-height: 0;
  border-radius: 18px;
  overflow: hidden;
  align-items: stretch;
  max-width: 100%;
}

.trx-home-hero-content {
  position: relative;
  z-index: 2;
  order: 2;
  display: flex;
  align-items: flex-start;
  padding: 1rem 1rem 1.05rem;
  border-radius: 0;
  background:
    linear-gradient(165deg, #01053f 0%, #02086a 55%, #03106f 100%);
  box-shadow: none;
}

.trx-home-hero-content::after {
  display: none;
  content: "";
  position: absolute;
  top: 8%;
  right: 0;
  width: 1px;
  height: 84%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  pointer-events: none;
}

.trx-home-hero-content-inner {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  color: #fff;
}

.trx-home-hero-content-inner::before {
  content: "";
  display: block;
  width: 32px;
  height: 4px;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(5, 201, 245, 0.35));
}

.trx-home-hero-eyebrow {
  color: rgba(157, 220, 240, 0.92);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.trx-home-hero-eyebrow::before {
  display: none;
}

.trx-home-hero-content-inner h1 {
  color: #fff;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  margin: 0 0 0.9rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.trx-home-hero-content-inner .trx-lead {
  display: none;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 1.65rem;
}

.trx-home-hero-content .trx-btn-group {
  width: 100%;
  flex-direction: row;
  gap: 0.55rem;
}

.trx-home-hero-content .trx-btn {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  border-radius: 11px;
  flex: 1 1 0;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.trx-home-hero-content .trx-btn-primary {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(5, 201, 245, 0.24);
}

.trx-home-hero-content .trx-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(5, 201, 245, 0.32);
}

.trx-home-hero-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.trx-home-hero-ghost:hover {
  border-color: rgba(255, 255, 255, 0.38) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.trx-home-hero-media {
  position: relative;
  order: 1;
  display: block;
  overflow: hidden;
  min-height: 0;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 0;
  padding: 0;
  background: linear-gradient(180deg, #081454 0%, #0a1548 100%);
  box-shadow: none;
}

.trx-home-hero-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  box-shadow: none;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: none;
}

.trx-home-hero-product-card {
  display: none;
  position: absolute;
  right: clamp(1.75rem, 4vw, 2.75rem);
  bottom: clamp(2rem, 5vw, 3rem);
  width: min(42%, 220px);
  padding: 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 16px 40px rgba(2, 8, 106, 0.22),
    0 0 0 1px rgba(2, 8, 106, 0.04);
}

.trx-home-hero-product-card img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
}

.trx-home-hero-nav {
  position: absolute;
  top: min(22vw, 7.5rem);
  z-index: 5;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: var(--title);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(2, 8, 106, 0.16);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.trx-home-hero-nav:hover {
  background: var(--title);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 12px 28px rgba(2, 8, 106, 0.24);
}

.trx-home-hero-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.trx-home-hero-nav--prev {
  left: 0.65rem;
}

.trx-home-hero-nav--next {
  right: 0.65rem;
}

.trx-home-hero-toolbar {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: linear-gradient(180deg, #02086a 0%, #03106f 100%);
  box-shadow: 0 10px 28px rgba(2, 8, 106, 0.18);
  max-width: 100%;
}

.trx-home-hero-toolbar-inner {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding-block: 0.35rem;
  justify-content: space-between;
}

.trx-home-hero-counter {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  min-width: 0;
  padding: 0 0.55rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.88);
  text-transform: uppercase;
}

.trx-home-hero-counter-sep {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 400;
}

.trx-home-hero-thumbs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex: 1;
  overflow: visible;
  padding: 0;
  min-width: 0;
}

.trx-home-hero-thumb {
  flex: 0 0 auto;
  display: block;
  width: 9px;
  height: 9px;
  min-width: 0;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    width 0.2s ease;
}

.trx-home-hero-thumb img,
.trx-home-hero-thumb-label {
  display: none;
}

.trx-home-hero-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: none;
}

.trx-home-hero-thumb[aria-current="true"] {
  width: 20px;
  background: var(--accent);
  box-shadow: none;
  border: 0;
}

.trx-home-hero-thumb[aria-current="true"] .trx-home-hero-thumb-label {
  color: #fff;
}

.trx-home-hero-thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Desktop hero — enhance from mobile-first base */
@media (min-width: 980px) {
  .trx-home-hero-slider {
    gap: 0.85rem;
    padding: 1rem 1rem 1.15rem;
  }

  .trx-home-hero-layout {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    grid-template-rows: none;
    gap: 0.85rem;
    min-height: clamp(24rem, 52vh, 34rem);
    border-radius: 0;
    overflow: visible;
  }

  .trx-home-hero-content {
    order: 0;
    padding: clamp(2rem, 3.8vw, 2.85rem) clamp(1.6rem, 3.5vw, 2.75rem) 2rem;
    border-radius: 28px;
    box-shadow: 0 12px 32px rgba(2, 8, 106, 0.12);
  }

  .trx-home-hero-content::after {
    display: block;
  }

  .trx-home-hero-content-inner::before {
    width: 52px;
    margin-bottom: 1.35rem;
  }

  .trx-home-hero-content-inner .trx-lead {
    display: block;
  }

  .trx-home-hero-content .trx-btn-group {
    width: auto;
    gap: 0.75rem;
  }

  .trx-home-hero-content .trx-btn {
    min-height: 50px;
    padding: 0.82rem 1.55rem;
    border-radius: 16px;
    flex: 0 1 auto;
    font-size: 0.92rem;
  }

  .trx-home-hero-media {
    order: 0;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: clamp(0.75rem, 1.6vw, 1.15rem);
    border-radius: 28px;
    box-shadow: 0 12px 32px rgba(2, 8, 106, 0.1);
  }

  .trx-home-hero-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 48px rgba(2, 8, 106, 0.28);
  }

  .trx-home-hero-product-card {
    display: block;
  }

  .trx-home-hero-nav {
    top: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.45rem;
  }

  .trx-home-hero-nav--prev {
    left: calc(42% - 25px);
  }

  .trx-home-hero-nav--next {
    right: 1.15rem;
  }

  .trx-home-hero-toolbar {
    border-radius: 22px;
    margin-top: 0;
  }

  .trx-home-hero-toolbar-inner {
    min-height: 4.75rem;
    gap: 1rem;
    padding-block: 0.75rem;
  }

  .trx-home-hero-counter {
    min-width: 4.75rem;
    padding: 0 0.85rem;
    font-size: 0.76rem;
  }

  .trx-home-hero-thumbs {
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.15rem 0.25rem 0.15rem 0;
  }

  .trx-home-hero-thumbs::-webkit-scrollbar {
    display: none;
  }

  .trx-home-hero-thumb {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
    width: auto;
    height: auto;
    min-width: 168px;
    max-width: 200px;
    padding: 0.35rem 0.7rem 0.35rem 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
  }

  .trx-home-hero-thumb img {
    display: block;
    width: 64px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
  }

  .trx-home-hero-thumb-label {
    display: -webkit-box;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.68);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .trx-home-hero-thumb:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
  }

  .trx-home-hero-thumb[aria-current="true"] {
    width: auto;
    border-color: rgba(5, 201, 245, 0.55);
    background: rgba(5, 201, 245, 0.1);
    box-shadow: 0 8px 20px rgba(5, 201, 245, 0.12);
  }

  .trx-home-hero-thumb[aria-current="true"] .trx-home-hero-thumb-label {
    color: #fff;
  }
}

@media (max-width: 759px) {
  .trx-home-hero-content-inner h1 {
    font-size: clamp(1.25rem, 5.4vw, 1.55rem);
    margin-bottom: 0.75rem;
  }

  .trx-home-hero-content-inner .trx-lead {
    display: none;
  }

  .trx-home-hero-content .trx-btn {
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border-radius: 11px;
    flex: 1 1 0;
    font-size: 0.82rem;
  }

  .trx-home-hero-content .trx-btn-group {
    width: 100%;
    flex-direction: row;
    gap: 0.55rem;
  }

  .trx-section {
    padding: 2.25rem 0;
  }

  .trx-feature {
    padding: 1.15rem;
  }

  .trx-btn-group {
    width: 100%;
  }

  .trx-btn-group .trx-btn {
    flex: 1 1 auto;
  }
}

.trx-home-products-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.trx-home-products-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.trx-home-products-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--bd);
  border-radius: 999px;
  background: #fff;
  color: var(--title);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.trx-home-products-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.trx-home-products-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.35rem;
}

.trx-home-products-viewport::-webkit-scrollbar {
  display: none;
}

.trx-home-products-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 280px);
  gap: 1rem;
}

.trx-home-product-slide {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.trx-home-product-slide:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 201, 245, 0.35);
  box-shadow: var(--shadow);
  color: inherit;
}

.trx-home-product-slide-media {
  aspect-ratio: 1;
  background: var(--bg-2);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.trx-home-product-slide-media img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.trx-home-product-slide-body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trx-home-product-slide-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--title);
}

.trx-home-product-slide-body p {
  margin: 0 0 0.85rem;
  color: var(--text);
  font-size: 0.92rem;
  flex: 1;
}

.trx-home-product-slide-link {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

.trx-home-categories-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.trx-home-categories-all {
  flex-shrink: 0;
}

.trx-home-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 168px;
  gap: 0.85rem;
}

.trx-home-category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: #0a1a4a;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.trx-home-category-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.trx-home-category-card--wide {
  grid-column: span 2;
}

.trx-home-category-card--tall {
  grid-row: span 2;
}

.trx-home-category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trx-home-category-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(2, 8, 106, 0.05) 0%,
    rgba(2, 8, 106, 0.15) 40%,
    rgba(2, 8, 106, 0.72) 100%
  );
  z-index: 1;
  transition: background 0.3s ease;
}

.trx-home-category-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.05rem;
}

.trx-home-category-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(2, 8, 106, 0.35);
}

.trx-home-category-card--featured .trx-home-category-title {
  font-size: 1.55rem;
}

.trx-home-category-card--wide .trx-home-category-title,
.trx-home-category-card--tall .trx-home-category-title {
  font-size: 1.2rem;
}

.trx-home-category-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-size: 1rem;
  line-height: 1;
  opacity: 0.85;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.trx-home-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(2, 8, 106, 0.18);
  color: #fff;
}

.trx-home-category-card:hover img {
  transform: scale(1.06);
}

.trx-home-category-card:hover .trx-home-category-veil {
  background: linear-gradient(
    165deg,
    rgba(2, 8, 106, 0.08) 0%,
    rgba(2, 8, 106, 0.28) 45%,
    rgba(2, 8, 106, 0.82) 100%
  );
}

.trx-home-category-card:hover .trx-home-category-arrow {
  opacity: 1;
  transform: translateX(0);
  background: var(--accent);
}

@media (max-width: 1099px) {
  .trx-home-categories-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 150px;
  }
}

@media (max-width: 759px) {
  .trx-home-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 132px;
    gap: 0.65rem;
  }

  /* Uniform tiles on phones — no jagged masonry spans */
  .trx-home-category-card--featured,
  .trx-home-category-card--wide,
  .trx-home-category-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .trx-home-category-caption {
    padding: 0.7rem 0.75rem 0.75rem;
  }

  .trx-home-category-title,
  .trx-home-category-card--featured .trx-home-category-title,
  .trx-home-category-card--wide .trx-home-category-title,
  .trx-home-category-card--tall .trx-home-category-title {
    font-size: 0.9rem;
  }

  .trx-home-category-arrow {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }

  .trx-home-categories-head {
    flex-direction: column;
    align-items: stretch;
  }

  .trx-home-categories-all {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 479px) {
  .trx-home-categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 120px;
  }
}

/* Sections */
.trx-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.trx-section-alt {
  background: var(--bg-2);
}

.trx-section-head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.trx-features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .trx-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trx-features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trx-feature {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trx-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.trx-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, rgba(5, 201, 245, 0.2), rgba(5, 201, 245, 0.05));
  color: var(--accent);
  font-size: 1.35rem;
}

.trx-feature p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

/* Split / journey */
.trx-split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .trx-split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.trx-panel {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 28px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.trx-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trx-stat {
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.trx-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--title);
  letter-spacing: -0.03em;
}

.trx-stat span {
  color: var(--meta);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Category / service cards */
.trx-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .trx-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trx-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.trx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--bd);
  background: #fff;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.trx-card:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(5, 201, 245, 0.45);
}

.trx-card h3 {
  margin-bottom: 0.5rem;
}

.trx-card p {
  margin: 0;
  flex: 1;
  font-size: 0.95rem;
}

.trx-card-link {
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

/* CTA band */
.trx-cta {
  background:
    linear-gradient(135deg, #02086a 0%, #053a8c 55%, #0578b8 100%);
  color: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 860px) {
  .trx-cta {
    grid-template-columns: 1.4fr auto;
  }
}

.trx-cta h2,
.trx-cta p {
  color: #fff;
}

.trx-cta p {
  opacity: 0.88;
  margin: 0;
  max-width: 36rem;
}

.trx-cta .trx-btn-primary {
  background: #fff;
  color: var(--title);
  box-shadow: none;
}

.trx-cta .trx-btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

/* FAQ */
.trx-faq {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
}

.trx-faq details {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

.trx-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--title);
  font-family: var(--font-display);
  list-style: none;
}

.trx-faq summary::-webkit-details-marker {
  display: none;
}

.trx-faq p {
  margin: 0.85rem 0 0.2rem;
  color: var(--text);
}

/* Footer */
.trx-footer {
  background: var(--title);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.trx-footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .trx-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.trx-footer h3,
.trx-footer .trx-logo {
  color: #fff;
}

.trx-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.trx-footer a:hover {
  color: var(--accent);
}

.trx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trx-footer li + li {
  margin-top: 0.55rem;
}

.trx-footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
}

.trx-footer-payments li {
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 36px;
  padding: 0.3rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.trx-footer-payments img {
  display: block;
  width: auto;
  height: 22px;
  max-width: 42px;
  object-fit: contain;
}

.trx-footer-whatsapp {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.trx-footer-whatsapp a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  background: rgba(37, 211, 102, 0.92);
  transition: transform 0.2s ease, background 0.2s ease;
}

.trx-footer-whatsapp a:hover {
  color: #fff;
  background: #25d366;
  transform: translateY(-2px);
}

.trx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.trx-footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.trx-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.trx-footer-social a:hover {
  color: var(--title);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.trx-footer-copy {
  margin-left: auto;
}

/* Verification page */
.trx-verify-page {
  min-height: calc(100vh - var(--header-h));
  background:
    radial-gradient(circle at 80% 0%, rgba(5, 201, 245, 0.14), transparent 35%),
    var(--bg-2);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.trx-verify-shell {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding-inline: 0.75rem;
  box-sizing: border-box;
}

.trx-verify-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  animation: trx-rise 0.45s ease both;
}

@keyframes trx-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.trx-status {
  padding: 1.5rem 1.5rem 0.5rem;
}

.trx-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

.trx-status-ok {
  background: rgba(14, 164, 114, 0.12);
  color: var(--success);
}

.trx-status-warn {
  background: rgba(232, 163, 23, 0.14);
  color: #b97800;
}

.trx-status-fail {
  background: rgba(226, 59, 74, 0.12);
  color: var(--danger);
}

.trx-status h1 {
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin: 1rem 0 0.4rem;
}

.trx-status p {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--text);
}

.trx-product-media {
  padding: 1rem 1.5rem 0;
}

.trx-product-media img {
  margin: 0 auto;
  max-height: 280px;
  object-fit: contain;
}

.trx-product-name {
  margin: 0.5rem 0 0;
  font-size: 1.55rem;
}

.trx-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.trx-spec {
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
}

.trx-spec span {
  display: block;
  color: var(--meta);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.trx-spec strong {
  color: var(--title);
  font-size: 0.98rem;
  word-break: break-word;
}

.trx-spec.wide {
  grid-column: 1 / -1;
}

.trx-progress {
  padding: 0 1.5rem 0.5rem;
  text-align: left;
}

.trx-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 0.5rem;
}

.trx-progress-track {
  height: 10px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}

.trx-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--success));
  border-radius: inherit;
  transition: width 0.4s ease;
}

.trx-verify-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 1.5rem 1.75rem;
}

.trx-note {
  margin: 0 1.5rem 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(232, 163, 23, 0.12);
  border: 1px dashed var(--warning);
  color: var(--title);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
}

.trx-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.trx-trust-strip span {
  background: #fff;
  border: 1px solid var(--bd);
  color: var(--meta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Mirrored BeTheme / WooCommerce content inside ThemeREX shell */
.trx-mirror {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg-2);
}

.trx-mirror-inner {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
}

.trx-mirror #Content,
.trx-mirror .content_wrapper,
.trx-mirror .sections_group {
  background: transparent !important;
  color: var(--text) !important;
}

.trx-mirror #Header_wrapper,
.trx-mirror #Footer,
.trx-mirror footer#Footer,
.trx-mirror #Side_slide,
.trx-mirror .mfn-header-overlay,
.trx-mirror #mfn-header-template {
  display: none !important;
}

.trx-mirror h1,
.trx-mirror h2,
.trx-mirror h3,
.trx-mirror h4,
.trx-mirror .title,
.trx-mirror .heading,
.trx-mirror .product_title,
.trx-mirror .woocommerce-products-header__title {
  font-family: var(--font-display) !important;
  color: var(--title) !important;
}

.trx-mirror p,
.trx-mirror li,
.trx-mirror .desc,
.trx-mirror .entry-content,
.trx-mirror .the_content {
  color: var(--text) !important;
}

.trx-mirror a:not(.button):not(.trx-btn) {
  color: var(--accent);
}

.trx-mirror .button,
.trx-mirror .button_theme,
.trx-mirror .single_add_to_cart_button,
.trx-mirror .woocommerce-button,
.trx-mirror input[type="submit"] {
  background: var(--accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.75rem 1.4rem !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(5, 201, 245, 0.22) !important;
}

.trx-mirror .button:hover,
.trx-mirror .button_theme:hover,
.trx-mirror .single_add_to_cart_button:hover {
  background: var(--accent-hover) !important;
}

.trx-mirror ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trx-mirror ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--radius);
  padding: 1rem;
}

.trx-mirror ul.products li.product .woocommerce-loop-product__title,
.trx-mirror ul.products li.product h2,
.trx-mirror ul.products li.product h3 {
  font-size: 1rem !important;
  margin: 0.75rem 0 0.35rem !important;
}

.trx-mirror .price,
.trx-mirror .woocommerce-Price-amount {
  color: var(--title) !important;
  font-weight: 700;
}

.trx-mirror .woocommerce-product-gallery,
.trx-mirror .summary,
.trx-mirror .product .images {
  max-width: 100%;
}

.trx-mirror .woocommerce-tabs,
.trx-mirror .woocommerce-Tabs-panel,
.trx-mirror .post-wrapper-content,
.trx-mirror .mfn-builder-content,
.trx-mirror .section {
  background: transparent !important;
}

.trx-mirror .woocommerce-pagination,
.trx-mirror .pagination,
.trx-mirror .pager {
  margin-top: 2rem;
}

.trx-mirror .woocommerce-pagination ul,
.trx-mirror .pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.trx-mirror .woocommerce-pagination a,
.trx-mirror .woocommerce-pagination span,
.trx-mirror .pagination a,
.trx-mirror .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--bd);
  color: var(--title);
  background: #fff;
}

.trx-mirror .woocommerce-pagination span.current,
.trx-mirror .pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.trx-mirror img {
  border-radius: 12px;
}

.trx-mirror .blog_wrapper,
.trx-mirror .posts_group,
.trx-mirror .post-item,
.trx-mirror article.post {
  background: transparent !important;
}

.trx-mirror .post-item,
.trx-mirror article.post {
  border-bottom: 1px solid var(--bd);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.trx-mirror .wpcf7 form,
.trx-mirror form.contact-form {
  display: grid;
  gap: 1rem;
}

.trx-mirror input[type="text"],
.trx-mirror input[type="email"],
.trx-mirror input[type="tel"],
.trx-mirror textarea,
.trx-mirror select {
  width: 100%;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--title);
  background: #fff;
}

.trx-mirror--product .trx-mirror-inner,
.trx-mirror--products .trx-mirror-inner,
.trx-mirror--category .trx-mirror-inner {
  padding-top: 1.75rem;
}

@media (max-width: 767px) {
  .trx-mirror-inner {
    border-radius: 18px;
    padding: 1rem;
  }

  .trx-mirror ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

/* Blog — ThemeREX magazine layout */
.trx-blog {
  background: var(--bg-2);
}

.trx-blog-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2rem;
  background:
    radial-gradient(circle at 85% 10%, rgba(5, 201, 245, 0.16), transparent 40%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
}

.trx-blog-hero h1 {
  max-width: 16ch;
}

.trx-blog-grid-section {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}

.trx-blog-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .trx-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trx-blog-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }

  .trx-blog-card--featured .trx-blog-card-media {
    min-height: 320px;
  }
}

@media (min-width: 1100px) {
  .trx-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trx-blog-card--featured {
    grid-column: 1 / -1;
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.trx-blog-card {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.trx-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(5, 201, 245, 0.45);
}

.trx-blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}

.trx-blog-card--featured .trx-blog-card-media {
  aspect-ratio: auto;
}

.trx-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.35s ease;
}

.trx-blog-card:hover .trx-blog-card-media img {
  transform: scale(1.04);
}

.trx-blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(2, 8, 106, 0.08), rgba(5, 201, 245, 0.18));
}

.trx-blog-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trx-blog-card-date {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.trx-blog-card-body h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.trx-blog-card-body h2 a {
  color: var(--title);
  text-decoration: none;
}

.trx-blog-card-body h2 a:hover {
  color: var(--accent);
}

.trx-blog-card-body p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
  flex: 1;
}

.trx-blog-card-link {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.trx-blog-card-link:hover {
  color: var(--accent-hover);
}

.trx-blog-pagination {
  margin-top: 2.5rem;
}

.trx-blog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.trx-blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--title);
  font-weight: 700;
  text-decoration: none;
}

.trx-blog-pagination a.is-current,
.trx-blog-pagination a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.trx-blog-single {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.trx-blog-single-shell {
  max-width: 860px;
}

.trx-blog-single-head {
  margin-bottom: 1.5rem;
}

.trx-blog-single-head h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
}

.trx-blog-single-hero {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--bd);
  box-shadow: var(--shadow-sm);
}

.trx-blog-single-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 0;
}

.trx-blog-single-content {
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  line-height: 1.8;
}

.trx-blog-single-content h2,
.trx-blog-single-content h3,
.trx-blog-single-content h4 {
  font-family: var(--font-display);
  color: var(--title);
  margin: 2rem 0 0.85rem;
  line-height: 1.25;
}

.trx-blog-single-content p,
.trx-blog-single-content li {
  color: var(--text);
}

.trx-blog-single-content ul,
.trx-blog-single-content ol {
  padding-left: 1.25rem;
}

.trx-blog-single-content img {
  border-radius: 16px;
  margin: 1.25rem 0;
}

.trx-blog-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.trx-blog-single-content th,
.trx-blog-single-content td {
  border: 1px solid var(--bd);
  padding: 0.75rem 0.85rem;
  text-align: left;
}

.trx-blog-single-content th {
  background: var(--bg-2);
  color: var(--title);
}

.trx-blog-single-content hr {
  border: 0;
  border-top: 1px solid var(--bd);
  margin: 2rem 0;
}

.trx-blog-single-content a {
  color: var(--accent);
  font-weight: 600;
}

.trx-blog-single-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-2);
  border-radius: 0 12px 12px 0;
}

.trx-blog-single-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

@media (max-width: 759px) {
  .trx-blog-card--featured {
    display: flex;
  }
}

/* Shared page chrome */
.trx-page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%);
}

.trx-page-hero h1 {
  max-width: 16ch;
  margin-bottom: 0.75rem;
}

.trx-breadcrumbs {
  padding: 0.85rem 0 0;
  border-bottom: 1px solid var(--bd);
  background: #fff;
}

.trx-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  list-style: none;
  margin: 0 auto;
  padding: 0 1.25rem 0.85rem;
  width: 100%;
  max-width: var(--container);
  box-sizing: border-box;
  font-size: 0.88rem;
}

.trx-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--meta);
}

.trx-breadcrumbs a {
  color: var(--meta);
  text-decoration: none;
  font-weight: 600;
}

.trx-breadcrumbs a:hover {
  color: var(--accent);
}

.trx-breadcrumbs span {
  color: var(--title);
  font-weight: 700;
}

.trx-pagination,
.trx-blog-pagination {
  margin-top: 2.5rem;
}

.trx-pagination ul,
.trx-blog-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.trx-pagination a,
.trx-blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--bd);
  background: #fff;
  color: var(--title);
  font-weight: 700;
  text-decoration: none;
}

.trx-pagination a.is-current,
.trx-pagination a:hover,
.trx-blog-pagination a.is-current,
.trx-blog-pagination a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Shop category rail */
.trx-shop-cats {
  padding: clamp(1.25rem, 3vw, 1.75rem) 0 0;
  background:
    linear-gradient(180deg, rgba(242, 248, 250, 0.95) 0%, rgba(255, 255, 255, 0) 100%);
}

.trx-shop-cats-shell {
  position: relative;
}

.trx-shop-cats-bar {
  display: grid;
  gap: 0.85rem;
}

.trx-shop-cats-kicker {
  margin: 0;
  color: var(--title);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.trx-shop-cats-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding-bottom: 1.35rem;
}

@media (min-width: 560px) {
  .trx-shop-cats-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .trx-shop-cats-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
  }
}

@media (min-width: 1024px) {
  .trx-shop-cats-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: 1.5rem;
  }
}

.trx-shop-cats-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 4.75rem;
  min-height: 4.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(215, 233, 239, 0.95);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(2, 8, 106, 0.03);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.trx-shop-cats-mark {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(143, 173, 195, 0.45);
  transition: background 0.22s ease;
}

.trx-shop-cats-name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--title);
}

.trx-shop-cats-item:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 201, 245, 0.35);
  background: #fff;
  box-shadow: 0 10px 24px rgba(2, 8, 106, 0.06);
}

.trx-shop-cats-item:hover .trx-shop-cats-mark {
  background: var(--accent);
}

.trx-shop-cats-item.is-active {
  border-color: var(--title);
  background: var(--title);
  box-shadow: 0 14px 30px rgba(2, 8, 106, 0.16);
}

.trx-shop-cats-item.is-active .trx-shop-cats-mark {
  background: var(--accent);
}

.trx-shop-cats-item.is-active .trx-shop-cats-name {
  color: #fff;
}

.trx-shop-cats-item.is-active:hover {
  transform: translateY(-2px);
  background: #03107e;
  border-color: #03107e;
}

.trx-shop-section {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.trx-shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.trx-shop-count {
  margin: 0;
  color: var(--meta);
  font-weight: 600;
}

.trx-product-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 720px) {
  .trx-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .trx-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trx-product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trx-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trx-product-card-media {
  display: block;
  aspect-ratio: 1;
  background: var(--bg-2);
  overflow: hidden;
}

.trx-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.trx-product-card:hover .trx-product-card-media img {
  transform: scale(1.04);
}

.trx-product-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-2), #fff);
}

.trx-product-card-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.trx-product-card-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
}

.trx-product-card-body h3 a {
  color: var(--title);
  text-decoration: none;
}

.trx-product-card-body h3 a:hover {
  color: var(--accent);
}

.trx-product-price {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.trx-product-price--lg {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.trx-product-card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.trx-product-card-link:hover {
  color: var(--accent-hover);
}

.trx-product-single {
  padding: clamp(1.5rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem);
}

.trx-product-single-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .trx-product-single-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.trx-product-gallery-main {
  border: 1px solid var(--bd);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.trx-product-gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.trx-product-gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.trx-product-gallery-thumbs img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  background: #fff;
}

.trx-product-gallery-thumbs img.is-active,
.trx-product-gallery-thumbs img:hover {
  border-color: var(--accent);
}

.trx-product-summary h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}

.trx-product-short {
  margin: 1rem 0;
  color: var(--text);
  line-height: 1.7;
}

.trx-product-meta {
  margin: 0.5rem 0;
  color: var(--meta);
  font-size: 0.92rem;
}

.trx-product-cats a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.trx-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trx-trust-strip--inline {
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.trx-product-content,
.trx-page-content {
  margin-top: 2.5rem;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  line-height: 1.8;
}

.trx-product-content h2,
.trx-product-content h3,
.trx-page-content h2,
.trx-page-content h3 {
  font-family: var(--font-display);
  color: var(--title);
  margin: 2rem 0 0.85rem;
}

.trx-product-content p,
.trx-product-content li,
.trx-page-content p,
.trx-page-content li {
  color: var(--text);
}

.trx-product-content img,
.trx-page-content img {
  border-radius: 16px;
  max-width: 100%;
  height: auto;
}

.trx-related {
  margin-top: 3rem;
}

.trx-related .trx-section-head {
  margin-bottom: 1.5rem;
}

/* Static pages */
.trx-page-section {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.trx-page-shell {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .trx-page-shell {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
    gap: 2rem;
  }
}

.trx-page-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trx-checklist {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.trx-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text);
}

.trx-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.trx-contact-layout {
  display: grid;
  gap: 1.25rem;
}

.trx-contact-agent {
  display: grid;
  gap: 1.15rem;
  padding: 1rem;
  overflow: hidden;
}

.trx-contact-agent-media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  max-width: 11rem;
}

.trx-contact-agent-media img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
}

.trx-contact-agent-body h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
}

.trx-contact-agent-role {
  margin: 0 0 0.75rem;
  color: var(--meta);
  font-weight: 600;
}

.trx-contact-phone {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.trx-contact-phone:hover {
  color: var(--accent-hover);
}

.trx-contact-agent-actions {
  margin-top: 0.25rem;
}

.trx-contact-channels {
  display: grid;
  gap: 1rem;
}

.trx-contact-channel h3 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.trx-contact-channel p {
  margin: 0 0 0.55rem;
}

.trx-contact-channel a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.trx-contact-meta {
  color: var(--meta);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.trx-contact-form-wrap h3 {
  margin-top: 0;
}

.trx-contact-form-note {
  margin: 0 0 1rem;
  color: var(--text);
}

.trx-contact-form-actions {
  margin-top: 0.35rem;
}

.trx-contact-form-actions .trx-btn {
  justify-content: center;
}

.trx-contact-form {
  display: grid;
  gap: 0.85rem;
}

.trx-contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--title);
  font-size: 0.9rem;
  font-weight: 600;
}

.trx-contact-form input[type="text"],
.trx-contact-form input[type="email"],
.trx-contact-form input[type="tel"],
.trx-contact-form textarea,
.trx-contact-form select {
  width: 100%;
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--title);
  background: #fff;
  box-sizing: border-box;
}

.trx-contact-form .wpcf7-form p {
  margin-bottom: 0.85rem;
}

.trx-contact-form .wpcf7-submit,
.trx-contact-form input[type="submit"] {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

.trx-page-panel {
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

@media (min-width: 640px) {
  .trx-contact-agent {
    grid-template-columns: 10.5rem minmax(0, 1fr);
    align-items: center;
    padding: 1.25rem;
  }

  .trx-contact-agent-media {
    max-width: none;
  }

  .trx-contact-channels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .trx-contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 1.5rem;
    align-items: start;
  }

  .trx-contact-agent {
    grid-column: 1 / -1;
    grid-template-columns: 12rem minmax(0, 1fr);
    padding: 1.5rem;
  }

  .trx-contact-channels {
    grid-template-columns: 1fr;
  }

  .trx-contact-form-wrap {
    grid-row: 2 / span 2;
  }
}

@media (min-width: 1100px) {
  .trx-contact-channels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 1 / -1;
  }

  .trx-contact-form-wrap {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

.trx-page-content .mfn-header-tmpl-menu-sidebar,
.trx-page-content .column_header_burger,
.trx-page-content .column_header_logo,
.trx-page-content .column_header_icon,
.trx-page-content .mfn-header-mobile-section,
.trx-page-content .mcb-header-section {
  display: none !important;
}

.trx-page-content .section {
  margin-bottom: 1.5rem;
}

.trx-page-content .column_heading h2,
.trx-page-content .column_heading h3 {
  color: var(--title);
}

@media (max-width: 759px) {
  .trx-product-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Mobile / responsive hardening ===== */
html {
  -webkit-text-size-adjust: 100%;
}

body.trx-theme.trx-nav-open {
  overflow: hidden;
}

.trx-header {
  background: #fff;
}

.trx-header.is-scrolled {
  background: #fff;
}

.trx-page-content,
.trx-product-content,
.trx-blog-single-content,
.trx-contact-info {
  overflow-x: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.trx-page-content *,
.trx-product-content *,
.trx-blog-single-content * {
  max-width: 100%;
}

.trx-page-content p,
.trx-page-content h1,
.trx-page-content h2,
.trx-page-content h3,
.trx-page-content h4,
.trx-page-content li,
.trx-product-content p,
.trx-product-content h1,
.trx-product-content h2,
.trx-product-content h3 {
  text-align: left !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.trx-page-content table,
.trx-product-content table,
.trx-blog-single-content table {
  display: block;
  width: 100% !important;
  overflow-x: auto;
}

.trx-page-content img,
.trx-product-content img,
.trx-blog-single-content img,
.trx-page-content iframe,
.trx-product-content iframe {
  max-width: 100% !important;
  height: auto !important;
}

.trx-page-content .section,
.trx-page-content .wrap,
.trx-page-content .mcb-wrap,
.trx-page-content .mcb-column,
.trx-page-content .column,
.trx-page-content [class*="one-"],
.trx-page-content [class*="two-"],
.trx-page-content [class*="three-"],
.trx-page-content [class*="four-"],
.trx-page-content [class*="five-"],
.trx-page-content [data-desktop-col] {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
  clear: both !important;
  left: auto !important;
  right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.trx-page-content [style*="color:#fff"],
.trx-page-content [style*="color: #fff"],
.trx-page-content [style*="color:#ffffff"],
.trx-page-content [style*="color: #ffffff"] {
  color: var(--title) !important;
}

.trx-page-content h1,
.trx-page-content .title {
  font-size: clamp(1.35rem, 5vw, 1.85rem) !important;
  line-height: 1.25 !important;
  color: var(--title) !important;
  margin: 0 0 1rem !important;
  text-align: left !important;
}

@media (max-width: 759px) {
  :root {
    --header-h: 72px;
  }

  body.trx-theme {
    font-size: 16px;
  }

  .trx-container {
    padding-inline: 0.85rem;
  }

  .trx-header .trx-logo img {
    height: 46px;
    max-width: min(168px, 58vw);
  }

  .trx-header-inner {
    min-height: var(--header-h);
    gap: 0.65rem;
  }

  h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
  }

  .trx-lead {
    font-size: 1rem;
  }

  .trx-page-hero h1,
  .trx-blog-hero h1 {
    max-width: none;
  }

  .trx-breadcrumbs ol {
    padding-inline: 0.85rem;
  }

  .trx-specs {
    grid-template-columns: 1fr;
  }

  .trx-product-actions .trx-btn,
  .trx-verify-actions .trx-btn,
  .trx-cta .trx-btn {
    width: 100%;
  }

  .trx-home-categories-all,
  .trx-home-products-nav {
    width: 100%;
  }

  .trx-home-products-nav {
    justify-content: space-between;
  }

  .trx-cta {
    border-radius: 22px;
    padding: 1.5rem;
  }

  .trx-mobile-nav {
    max-height: min(78vh, 36rem);
    overflow-y: auto;
  }

  .trx-mobile-nav > a,
  .trx-mobile-row > a {
    padding: 0.95rem 0.85rem;
    font-size: 1.05rem;
  }

  .trx-verify-shell {
    padding-inline: 0.5rem;
  }

  .trx-status h1 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    overflow-wrap: anywhere;
  }

  .trx-footer .trx-logo img {
    height: 48px;
  }

  .trx-shop-cats-item {
    height: auto;
    min-height: 3.35rem;
    padding: 0.75rem 0.85rem;
  }

  .trx-shop-cats-name {
    font-size: 0.88rem;
  }

  .trx-page-hero {
    padding: 1.5rem 0 1rem;
  }

  .trx-page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .trx-product-card-body {
    padding: 0.9rem 0.9rem 1rem;
  }

  .trx-product-card-body h3 {
    font-size: 0.92rem;
  }

  .trx-product-actions {
    display: grid;
    gap: 0.65rem;
  }

  .trx-product-actions .trx-btn,
  .trx-contact-agent-actions .trx-btn,
  .trx-contact-form .trx-btn {
    width: 100%;
    justify-content: center;
  }

  .trx-product-single {
    padding-top: 1rem;
  }

  .trx-product-summary h1 {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }

  .trx-trust-strip--inline {
    flex-wrap: wrap;
    gap: 0.45rem;
  }

  .trx-pagination,
  .trx-blog-pagination {
    margin-top: 1.75rem;
  }

  .trx-pagination ul,
  .trx-blog-pagination ul {
    gap: 0.4rem;
  }

  .trx-pagination a,
  .trx-blog-pagination a {
    min-width: 40px;
    min-height: 40px;
    font-size: 0.9rem;
  }

  .trx-contact-agent {
    justify-items: start;
  }

  .trx-contact-agent-media {
    max-width: 8.5rem;
  }
}

@media (min-width: 960px) {
  .trx-mobile-nav,
  .trx-mobile-nav.is-open {
    display: none !important;
  }
}

/* Final mobile overflow lock — prevents centered wide-layout clipping */
.trx-home,
.trx-home-hero-slider,
.trx-home-hero-track,
.trx-home-hero-layout,
.trx-home-hero-toolbar,
.trx-section,
.trx-shop,
.trx-page,
.trx-blog,
.trx-product-single,
.trx-contact-layout,
main {
  max-width: 100%;
}

h1,
h2,
h3,
.trx-lead,
.trx-title,
.trx-home-hero-content-inner {
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}

.trx-product-grid,
.trx-shop-cats-rail,
.trx-contact-channels,
.trx-blog-grid {
  min-width: 0;
}

.trx-product-card,
.trx-panel,
.trx-contact-agent,
.trx-contact-form-wrap {
  max-width: 100%;
  min-width: 0;
}




/* ---- Search + contact form (added for standalone site) ---- */
.trx-header-search {
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: .25rem .35rem .25rem .75rem;
}
.trx-header-search input {
  width: 9.5rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .85rem;
  outline: none;
}
.trx-header-search input::placeholder { color: rgba(255, 255, 255, .6); }
.trx-header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: inherit;
  background: rgba(255, 255, 255, .12);
}
.trx-header-search button:hover { background: rgba(255, 255, 255, .22); }

.trx-mobile-search { display: flex; gap: .5rem; padding: .75rem 0; }
.trx-mobile-search input {
  flex: 1;
  min-width: 0;
  padding: .7rem .9rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .6rem;
  font: inherit;
}

.trx-search-form { display: flex; gap: .6rem; margin: 0 0 2rem; flex-wrap: wrap; }
.trx-search-form input {
  flex: 1 1 18rem;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .6rem;
  font: inherit;
}
.trx-search-heading { margin: 2rem 0 1rem; font-size: 1.25rem; }
.trx-search-empty { margin: 0 0 2rem; }
.trx-search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.trx-search-list li {
  padding: .9rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: .75rem;
}
.trx-search-list li a { font-weight: 600; }
.trx-search-list li span { display: block; margin-top: .3rem; font-size: .9rem; opacity: .75; }

.trx-contact-form { display: grid; gap: .9rem; }
.trx-contact-form label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; }
.trx-contact-form input,
.trx-contact-form textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: .6rem;
  font: inherit;
  font-weight: 400;
  resize: vertical;
}
.trx-contact-form button { justify-self: start; }
.trx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.trx-form-note { padding: .8rem 1rem; border-radius: .6rem; margin: 0 0 1rem; font-size: .92rem; }
.trx-form-note--ok { background: rgba(31, 170, 122, .14); border: 1px solid rgba(31, 170, 122, .4); }
.trx-form-note--err { background: rgba(229, 115, 115, .14); border: 1px solid rgba(229, 115, 115, .4); }

@media (max-width: 1100px) {
  .trx-header-search { display: none; }
}
