.tmt-ordering-wrap { position: relative; }
.tmt-ordering-scroll { overflow-x: auto; }
.tmt-ordering-table { width: 100%; border-collapse: collapse; margin: 0; }
.tmt-ordering-table th,
.tmt-ordering-table td { padding: 14px 12px; border-bottom: 1px solid #dfe7e3; text-align: left; vertical-align: middle; }
.tmt-ordering-table th { color: #073f32; font-weight: 700; text-transform: uppercase; font-size: 12px; letter-spacing: .03em; }
.tmt-ordering-table tbody tr:hover { background: #f4f8f6; }
.tmt-copy-sku { border: 0; background: transparent; color: #075b46; font: inherit; font-weight: 700; padding: 4px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; }
.tmt-copy-sku:hover,
.tmt-copy-sku:focus { color: #00a875; outline: none; }
.tmt-copy-sku.is-copied { color: #00a875; }
.tmt-copy-icon { font-size: 15px; line-height: 1; }
.tmt-copy-notice { position: fixed; right: 24px; bottom: 24px; z-index: 99999; background: #073f32; color: #fff; padding: 11px 15px; border-radius: 4px; opacity: 0; transform: translateY(10px); pointer-events: none; transition: .2s ease; }
.tmt-copy-notice.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 767px) {
  .tmt-ordering-table { min-width: 720px; }
  .tmt-copy-notice { left: 16px; right: 16px; bottom: 16px; text-align: center; }
}

.tmt-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 18px;
}
.tmt-product-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 6px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tmt-product-action:hover,
.tmt-product-action:focus-visible { transform: translateY(-2px); }
.tmt-product-action--primary {
  background: #9de7cd;
  border: 1px solid #9de7cd;
  color: #043b31 !important;
}
.tmt-product-action--primary:hover,
.tmt-product-action--primary:focus-visible {
  background: #b5efd9;
  border-color: #b5efd9;
}
.tmt-product-action--secondary {
  background: #043b31;
  border: 1px solid #043b31;
  color: #fff !important;
}
.tmt-product-action--secondary:hover,
.tmt-product-action--secondary:focus-visible {
  background: #075846;
  border-color: #075846;
}
@media (max-width: 560px) {
  .tmt-product-actions { display: grid; grid-template-columns: 1fr; }
  .tmt-product-action { width: 100%; }
}
.tmt-colour-tabs { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 20px; }
.tmt-colour-tab {
  min-width:76px;
  min-height:44px;
  border:2px solid var(--tmt-colour-border, #cfded8);
  background:var(--tmt-colour, #fff);
  color:var(--tmt-colour-text, #073f32);
  border-radius:6px;
  padding:9px 14px;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(7,63,50,.08);
  transition:transform .18s ease, box-shadow .18s ease, outline-color .18s ease, filter .18s ease;
}
.tmt-colour-tab:hover,
.tmt-colour-tab:focus-visible {
  transform:translateY(-2px);
  filter:saturate(1.06) brightness(.98);
  box-shadow:0 5px 13px rgba(7,63,50,.17);
  outline:2px solid #8be0c5;
  outline-offset:2px;
}
.tmt-colour-tab.is-active {
  transform:translateY(-1px);
  outline:3px solid #073f32;
  outline-offset:3px;
  box-shadow:0 5px 14px rgba(7,63,50,.22);
}
.tmt-colour-tab[data-colour="black"].is-active,
.tmt-colour-tab[data-colour="blue"].is-active,
.tmt-colour-tab[data-colour="green"].is-active,
.tmt-colour-tab[data-colour="red"].is-active,
.tmt-colour-tab[data-colour="violet"].is-active,
.tmt-colour-tab[data-colour="purple"].is-active {
  outline-color:#55d5ad;
}
.tmt-colour-panel { display:none; }
.tmt-colour-panel.is-active { display:block; }
.tmt-patch-cord-table { min-width:0; }
.tmt-patch-cord-table th:first-child,
.tmt-patch-cord-table td:first-child { width:38%; }
@media (max-width:767px){
  .tmt-colour-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .tmt-colour-tab{width:100%;}
  .tmt-patch-cord-table{min-width:0;}
}


/* v1.8.2: hard colour classes override WoodMart button styles. */
.woocommerce-tabs .tmt-patch-cord-ordering .tmt-colour-tabs .tmt-colour-tab,
.woocommerce-Tabs-panel .tmt-patch-cord-ordering .tmt-colour-tabs .tmt-colour-tab {
  background-image: none !important;
  opacity: 1 !important;
}
.woocommerce-tabs .tmt-colour-tab.tmt-colour-aqua,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-aqua { background-color:#45c9a5 !important; border-color:#2aa987 !important; color:#073f32 !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-black,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-black { background-color:#050505 !important; border-color:#050505 !important; color:#ffffff !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-blue,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-blue { background-color:#293bd4 !important; border-color:#1f2cac !important; color:#ffffff !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-green,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-green { background-color:#35b83b !important; border-color:#278f2c !important; color:#ffffff !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-grey,
.woocommerce-tabs .tmt-colour-tab.tmt-colour-gray,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-grey,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-gray { background-color:#b8b8b8 !important; border-color:#929292 !important; color:#171717 !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-orange,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-orange { background-color:#ef8d2c !important; border-color:#cf6f12 !important; color:#171717 !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-red,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-red { background-color:#e63235 !important; border-color:#bd2225 !important; color:#ffffff !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-violet,
.woocommerce-tabs .tmt-colour-tab.tmt-colour-purple,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-violet,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-purple { background-color:#8325df !important; border-color:#6517b7 !important; color:#ffffff !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-white,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-white { background-color:#f0f0f0 !important; border-color:#cfcfcf !important; color:#171717 !important; }
.woocommerce-tabs .tmt-colour-tab.tmt-colour-yellow,
.woocommerce-Tabs-panel .tmt-colour-tab.tmt-colour-yellow { background-color:#f4df00 !important; border-color:#c7b500 !important; color:#171717 !important; }
.woocommerce-tabs .tmt-colour-tab.is-active,
.woocommerce-Tabs-panel .tmt-colour-tab.is-active {
  outline:3px solid #073f32 !important;
  outline-offset:3px !important;
  box-shadow:0 5px 14px rgba(7,63,50,.24) !important;
}

/* v1.10.0 expanded patch-cord ordering information */
.tmt-patch-cord-table{min-width:1050px}
.tmt-patch-cord-table th,.tmt-patch-cord-table td{vertical-align:middle;white-space:nowrap}
.tmt-patch-cord-table .tmt-qr-cell{text-align:center;width:78px}
.tmt-patch-cord-table .tmt-qr-cell img{display:block;width:54px;height:54px;padding:3px;background:#fff;border:1px solid #d9e3df;border-radius:4px}
.tmt-patch-cord-table .tmt-qr-cell a{display:inline-block}
.tmt-patch-cord-table tr:target{outline:2px solid #0b5a47;outline-offset:-2px;background:#eef8f4}
@media(max-width:767px){
  .tmt-patch-cord-table{min-width:0}
  .tmt-patch-cord-table thead{display:none}
  .tmt-patch-cord-table,.tmt-patch-cord-table tbody,.tmt-patch-cord-table tr,.tmt-patch-cord-table td{display:block;width:100%}
  .tmt-patch-cord-table tr{padding:10px 12px;border-bottom:1px solid #dbe5e1}
  .tmt-patch-cord-table td{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:7px 0!important;border:0!important;white-space:normal}
  .tmt-patch-cord-table td:before{content:attr(data-label);font-weight:700;color:#0b4f3f}
}

/* v1.18.1 universal styling for pasted WooCommerce technical tables. */
.tmt-rich-content .tmt-table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0 16px;
}
.tmt-rich-content table.tmt-technical-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: auto;
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  color: #1d2522;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.tmt-rich-content .tmt-technical-table th,
.tmt-rich-content .tmt-technical-table td {
  border: 1px solid #cfd8d4;
  padding: 6px 8px;
  vertical-align: top;
  text-align: left;
  white-space: normal;
  word-break: normal;
  overflow-wrap: anywhere;
  background: transparent;
  color: #1d2522;
  font-family: inherit;
}
.tmt-rich-content .tmt-technical-table thead th,
.tmt-rich-content .tmt-technical-table thead td,
.tmt-rich-content .tmt-technical-table .tmt-header-row > th,
.tmt-rich-content .tmt-technical-table .tmt-header-row > td {
  background: #0f5b46;
  color: #fff;
  font-weight: 700;
}
.tmt-rich-content .tmt-technical-table tbody th {
  background: #eef3f1;
  color: #1d2522;
  font-weight: 700;
}
.tmt-rich-content .tmt-technical-table tbody tr:nth-child(even):not(.tmt-header-row):not(.tmt-section-row) > td {
  background: #f3f6f5;
}
.tmt-rich-content .tmt-technical-table .tmt-section-row > th,
.tmt-rich-content .tmt-technical-table .tmt-section-row > td {
  background: #147a5c;
  color: #fff;
  font-weight: 800;
  border-top: 2px solid #0f5b46;
  border-bottom: 2px solid #0f5b46;
  padding-top: 8px;
  padding-bottom: 8px;
}
.tmt-rich-content .tmt-technical-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 18px;
  color: #0f5b46;
  margin-bottom: 6px;
}
.tmt-rich-content table.tmt-wide-table {
  min-width: 680px;
  table-layout: fixed;
  font-size: 13px;
}
.tmt-rich-content .tmt-wide-table th,
.tmt-rich-content .tmt-wide-table td {
  padding: 5px 6px;
}
@media (max-width: 767px) {
  .tmt-rich-content table.tmt-technical-table { font-size: 13px; }
  .tmt-rich-content .tmt-technical-table th,
  .tmt-rich-content .tmt-technical-table td { padding: 5px 6px; }
}
@media print {
  .tmt-rich-content .tmt-table-scroll { overflow: visible; }
  .tmt-rich-content table.tmt-technical-table { width: 100%; font-size: 8pt; }
  .tmt-rich-content .tmt-technical-table th,
  .tmt-rich-content .tmt-technical-table td { padding: 3px 5px; }
  .tmt-rich-content .tmt-technical-table thead { display: table-header-group; }
  .tmt-rich-content .tmt-technical-table tfoot { display: table-footer-group; }
  .tmt-rich-content .tmt-technical-table tr,
  .tmt-rich-content .tmt-technical-table th,
  .tmt-rich-content .tmt-technical-table td { break-inside: avoid; page-break-inside: avoid; }
}
