@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/manrope-700.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/manrope-800.ttf") format("truetype");
}

:root {
  --tmx-green: #073d32;
  --tmx-ink: #173d34;
  --tmx-gold: #b29459;
  --tmx-ivory: #f6f5f0;
  --tmx-white: #ffffff;
  --tmx-muted: #697367;
  --tmx-line: #dadfd6;
  --tmx-soft-green: #e7ebe4;
  --tmx-deep: #052f28;
  --tmx-shadow: 0 24px 70px rgba(7, 61, 50, 0.12);
}

html {
  scroll-behavior: smooth;
}

body.tmx-preview {
  margin: 0;
  background: var(--tmx-ivory);
  color: var(--tmx-ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tmx-preview *,
.tmx-product-page *,
.tmx-preview *::before,
.tmx-preview *::after,
.tmx-product-page *::before,
.tmx-product-page *::after {
  box-sizing: border-box;
}

.tmx-product-page {
  overflow-x: clip;
  background: var(--tmx-ivory);
  color: var(--tmx-ink);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.tmx-product-page img,
.tmx-preview img {
  display: block;
  max-width: 100%;
}

.tmx-product-page a,
.tmx-preview a {
  color: inherit;
}

.tmx-shell {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: clamp(18px, 4.7vw, 76px);
}

.tmx-demo-announcement {
  padding: 9px 18px;
  background: var(--tmx-green);
  color: var(--tmx-white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.tmx-demo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(7, 61, 50, 0.1);
  background: rgba(246, 245, 240, 0.94);
  backdrop-filter: blur(14px);
}

.tmx-demo-header__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tmx-wordmark {
  color: var(--tmx-green);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1;
  text-decoration: none;
}

.tmx-demo-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 36px);
}

.tmx-demo-nav a {
  position: relative;
  padding-block: 6px;
  color: #3a4a3e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.tmx-demo-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--tmx-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.tmx-demo-nav a:hover::after,
.tmx-demo-nav a:focus-visible::after {
  transform: scaleX(1);
}

.tmx-demo-contact {
  padding: 9px 14px !important;
  border-radius: 2px;
  background: var(--tmx-green);
  color: var(--tmx-white) !important;
}

.tmx-breadcrumbs {
  padding-block: clamp(20px, 3vw, 34px) 14px;
  color: var(--tmx-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tmx-breadcrumbs a {
  text-decoration: none;
}

.tmx-breadcrumbs a:hover {
  color: var(--tmx-green);
}

.tmx-breadcrumbs__sep {
  margin-inline: 9px;
  color: var(--tmx-gold);
}

.tmx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(340px, 0.78fr);
  gap: clamp(34px, 5vw, 82px);
  align-items: start;
  padding-bottom: clamp(64px, 9vw, 118px);
}

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

.tmx-gallery__stage {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(49, 102, 83, 0.96) 0%, rgba(23, 75, 61, 0.98) 38%, var(--tmx-deep) 100%);
  border-radius: 4px;
}

.tmx-gallery__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.35' d='M0 0h160v160H0z'/%3E%3C/svg%3E");
}

.tmx-gallery__stage::before {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(218, 223, 214, 0.18);
  border-radius: 50%;
}

.tmx-gallery__main-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(18px 24px 22px rgba(0, 0, 0, 0.25));
  transition: opacity 0.18s ease;
}

.tmx-gallery__stage:hover .tmx-gallery__main-image {
  transform: none;
}

.tmx-gallery__zoom {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(5, 47, 40, 0.78);
  color: white;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tmx-gallery__zoom:hover {
  background: var(--tmx-gold);
  border-color: var(--tmx-gold);
}

.tmx-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.tmx-gallery__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #ecebe5;
  cursor: pointer;
  transition: border-color 0.18s ease, opacity 0.18s ease;
}

.tmx-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tmx-gallery__thumb:not(.is-active) {
  opacity: 0.68;
}

.tmx-gallery__thumb:hover,
.tmx-gallery__thumb.is-active {
  border-color: var(--tmx-gold);
  opacity: 1;
}

.tmx-summary {
  position: sticky;
  top: 104px;
  padding-top: clamp(8px, 1vw, 18px);
}

.tmx-eyebrow {
  margin: 0 0 14px;
  color: var(--tmx-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tmx-title {
  max-width: 700px;
  margin: 0;
  color: var(--tmx-green);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.tmx-title--product {
  font-size: clamp(36px, 4vw, 58px);
}

.tmx-sku {
  margin-top: 17px;
  color: var(--tmx-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tmx-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.tmx-product-meta span + span {
  padding-left: 18px;
  border-left: 1px solid var(--tmx-line);
}

.tmx-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: #3a4a3e;
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.8;
}

.tmx-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  border: 1px solid var(--tmx-line);
  background: var(--tmx-line);
}

.tmx-fact {
  min-height: 93px;
  padding: 17px 16px;
  background: var(--tmx-ivory);
}

.tmx-fact__label {
  display: block;
  margin-bottom: 8px;
  color: var(--tmx-muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tmx-fact__value {
  color: var(--tmx-green);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 21px;
  line-height: 1.2;
}

.tmx-purchase {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--tmx-line);
}

.tmx-price,
.tmx-product-page .price {
  display: block;
  margin: 0 0 18px !important;
  color: var(--tmx-green) !important;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(26px, 2.6vw, 38px) !important;
  line-height: 1.1;
}

.tmx-price__note {
  display: block;
  margin-top: 6px;
  color: var(--tmx-muted);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tmx-product-page form.cart,
.tmx-demo-cart {
  display: flex !important;
  gap: 10px;
  margin: 0 !important;
}

.tmx-product-page form.cart .quantity,
.tmx-demo-quantity {
  flex: 0 0 74px;
}

.tmx-product-page form.cart .qty,
.tmx-demo-quantity input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--tmx-line);
  border-radius: 2px;
  background: transparent;
  color: var(--tmx-green);
  font-family: inherit;
  font-size: 13px;
  text-align: center;
}

.tmx-product-page form.cart .single_add_to_cart_button,
.tmx-demo-add-to-cart,
.tmx-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--tmx-green) !important;
  border-radius: 2px !important;
  background: var(--tmx-green) !important;
  color: var(--tmx-white) !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tmx-product-page form.cart .single_add_to_cart_button,
.tmx-demo-add-to-cart {
  flex: 1 1 auto;
}

.tmx-product-page form.cart .single_add_to_cart_button:hover,
.tmx-demo-add-to-cart:hover,
.tmx-button:hover {
  border-color: #145645 !important;
  background: #145645 !important;
}

.tmx-button--outline {
  border-color: var(--tmx-line) !important;
  background: transparent !important;
  color: var(--tmx-green) !important;
}

.tmx-button--outline:hover {
  border-color: var(--tmx-green) !important;
  background: transparent !important;
}

.tmx-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.tmx-disclosure {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 15px;
  border-left: 2px solid var(--tmx-gold);
  background: rgba(178, 148, 89, 0.075);
  color: #4c5e53;
  font-size: 11px;
  line-height: 1.65;
}

.tmx-disclosure svg {
  flex: 0 0 17px;
  margin-top: 2px;
  color: var(--tmx-gold);
}

.tmx-section {
  padding-block: clamp(72px, 10vw, 136px);
}

.tmx-section--green {
  background: var(--tmx-green);
  color: var(--tmx-white);
}

.tmx-section--white {
  background: var(--tmx-white);
}

.tmx-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 84px);
  align-items: end;
  margin-bottom: clamp(38px, 6vw, 76px);
}

.tmx-section__head .tmx-title {
  max-width: 900px;
}

.tmx-section--green .tmx-title {
  color: var(--tmx-white);
}

.tmx-section__intro {
  max-width: 560px;
  margin: 0;
  color: #4c5e53;
  font-size: 14px;
  line-height: 1.8;
}

.tmx-section--green .tmx-section__intro {
  color: rgba(255, 255, 255, 0.68);
}

.tmx-detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}

.tmx-detail-card {
  overflow: hidden;
  background: var(--tmx-white);
  border: 1px solid rgba(7, 61, 50, 0.09);
  border-radius: 4px;
}

.tmx-detail-card--wide {
  grid-column: span 7;
}

.tmx-detail-card--narrow {
  grid-column: span 5;
}

.tmx-detail-card__image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ecebe5;
}

.tmx-detail-card--wide .tmx-detail-card__image {
  aspect-ratio: 6 / 5;
}

.tmx-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tmx-detail-card:hover .tmx-detail-card__image img {
  transform: scale(1.025);
}

.tmx-detail-card__body {
  padding: clamp(22px, 3vw, 38px);
}

.tmx-detail-card__body h3 {
  margin: 0 0 13px;
  color: var(--tmx-green);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(25px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.tmx-detail-card__body p {
  margin: 0;
  color: #4c5e53;
  font-size: 13px;
  line-height: 1.8;
}

.tmx-qc-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(36px, 6vw, 94px);
  align-items: start;
}

.tmx-qc-copy {
  position: sticky;
  top: 104px;
}

.tmx-qc-copy .tmx-title {
  color: var(--tmx-white);
}

.tmx-qc-copy p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.85;
}

.tmx-qc-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tmx-qc-list li {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) 1.2fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.tmx-qc-list strong {
  color: var(--tmx-white);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tmx-qc-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.tmx-qc-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tmx-qc-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #0b493c;
  border-radius: 3px;
}

.tmx-qc-gallery figure:first-child {
  grid-column: 1 / -1;
}

.tmx-qc-gallery img {
  display: block;
  width: 100%;
  height: clamp(220px, 24vw, 360px);
  padding: clamp(8px, 1.2vw, 16px);
  box-sizing: border-box;
  object-fit: contain;
  object-position: center;
  background: #073d32;
}

.tmx-qc-gallery figure:first-child img {
  height: clamp(360px, 42vw, 620px);
  object-fit: contain;
  object-position: center;
}

.tmx-qc-gallery figcaption {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  line-height: 1.5;
}

.tmx-accordion {
  border-top: 1px solid var(--tmx-line);
}

.tmx-accordion details {
  border-bottom: 1px solid var(--tmx-line);
}

.tmx-accordion summary {
  position: relative;
  padding: 22px 46px 22px 0;
  color: var(--tmx-green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.tmx-accordion summary::-webkit-details-marker {
  display: none;
}

.tmx-accordion summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  color: var(--tmx-gold);
  font-size: 22px;
  font-weight: 400;
  transform: translateY(-50%);
}

.tmx-accordion details[open] summary::after {
  content: "−";
}

.tmx-accordion__content {
  max-width: 840px;
  padding: 0 46px 23px 0;
  color: #4c5e53;
  font-size: 13px;
  line-height: 1.8;
}

.tmx-footer {
  padding-block: 34px;
  border-top: 1px solid rgba(7, 61, 50, 0.1);
  background: var(--tmx-ivory);
}

.tmx-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--tmx-muted);
  font-size: 10px;
  line-height: 1.6;
}

.tmx-lightbox {
  width: min(900px, calc(100% - 32px));
  max-height: 92dvh;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--tmx-deep);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.tmx-lightbox::backdrop {
  background: rgba(3, 30, 25, 0.82);
  backdrop-filter: blur(5px);
}

.tmx-lightbox img {
  width: 100%;
  max-height: 88dvh;
  object-fit: contain;
}

.tmx-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(5, 47, 40, 0.8);
  color: var(--tmx-white);
  font-size: 23px;
  cursor: pointer;
}

.tmx-product-page :focus-visible,
.tmx-preview :focus-visible {
  outline: 3px solid var(--tmx-gold);
  outline-offset: 4px;
}

.tmx-screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1080px) {
  .tmx-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 38px;
  }

  .tmx-gallery__stage {
    min-height: 460px;
  }

  .tmx-title--product {
    font-size: clamp(34px, 4.5vw, 50px);
  }
}

@media (max-width: 840px) {
  .tmx-demo-nav a:not(.tmx-demo-contact) {
    display: none;
  }

  .tmx-demo-header__inner {
    min-height: 64px;
  }

  .tmx-hero-grid,
  .tmx-qc-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tmx-summary,
  .tmx-qc-copy {
    position: static;
  }

  .tmx-summary {
    padding-top: 0;
  }

  .tmx-section__head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tmx-detail-card--wide,
  .tmx-detail-card--narrow {
    grid-column: span 6;
  }

  .tmx-detail-card--wide .tmx-detail-card__image,
  .tmx-detail-card__image {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 560px) {
  .tmx-demo-announcement {
    padding-inline: 12px;
    letter-spacing: 0.1em;
  }

  .tmx-demo-contact {
    padding: 8px 10px !important;
  }

  .tmx-breadcrumbs {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .tmx-hero-grid {
    gap: 30px;
    padding-bottom: 70px;
  }

  .tmx-gallery__stage {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .tmx-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 7px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--tmx-line) transparent;
  }

  .tmx-gallery__thumb {
    flex: 0 0 68px;
    scroll-snap-align: start;
  }

  .tmx-title--product {
    font-size: clamp(34px, 10.2vw, 44px);
  }

  .tmx-facts {
    grid-template-columns: 1fr 1fr;
  }

  .tmx-fact {
    min-height: 84px;
    padding: 14px 12px;
  }

  .tmx-fact__value {
    font-size: 18px;
  }

  .tmx-product-page form.cart,
  .tmx-demo-cart {
    flex-wrap: wrap;
  }

  .tmx-product-page form.cart .quantity,
  .tmx-demo-quantity {
    flex-basis: 66px;
  }

  .tmx-contact-row {
    grid-template-columns: 1fr;
  }

  .tmx-detail-grid {
    gap: 18px;
  }

  .tmx-detail-card--wide,
  .tmx-detail-card--narrow {
    grid-column: 1 / -1;
  }

  .tmx-qc-list li {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .tmx-qc-gallery {
    gap: 8px;
  }

  .tmx-qc-gallery img {
    height: 240px;
    padding: 8px;
  }

  .tmx-qc-gallery figure:first-child img {
    height: 360px;
  }

  .tmx-product-meta {
    gap: 6px 12px;
  }

  .tmx-product-meta span + span {
    padding-left: 12px;
  }

  .tmx-qc-gallery figcaption {
    padding: 10px;
    font-size: 9px;
  }

  .tmx-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .tmx-product-page *,
  .tmx-preview * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
