/*
Theme Name: TroveMart
Theme URI: https://thetrovemart.com
Author: TheTroveMart
Description: Minimal, clean, Shopify-style WooCommerce theme for TheTroveMart — a store for clever problem-solving products and everyday essentials.
Version: 2.8.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trovemart
Tags: e-commerce, woocommerce, one-column, custom-menu, translation-ready
*/

/* ============================================================
   TroveMart — Design tokens
   ============================================================ */
:root {
  --tm-bg: #ffffff;
  --tm-bg-soft: #f6f7f5;
  --tm-ink: #101418;
  --tm-ink-soft: #5b6470;
  --tm-line: #e7eae8;
  --tm-accent: #0b6e5c;        /* trove teal */
  --tm-accent-dark: #095a4b;
  --tm-gold: #c99b3f;          /* treasure gold — badges only */
  --tm-danger: #c0392b;
  --tm-radius: 10px;
  --tm-radius-lg: 16px;
  --tm-shadow: 0 1px 2px rgba(16,20,24,.05), 0 8px 24px rgba(16,20,24,.06);
  --tm-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tm-maxw: 1200px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--tm-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--tm-ink);
  background: var(--tm-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tm-accent); text-decoration: none; }
a:hover { color: var(--tm-accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--tm-accent);
  outline-offset: 2px;
  border-radius: 4px;
}
h1, h2, h3, h4, h5 { line-height: 1.25; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.tm-container { max-width: var(--tm-maxw); margin: 0 auto; padding: 0 20px; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}

/* ============================================================
   Buttons
   ============================================================ */
.tm-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  display: inline-block;
  background: var(--tm-accent);
  color: #fff;
  border: none;
  border-radius: var(--tm-radius);
  padding: 13px 26px;
  font-family: var(--tm-font);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, transform .1s ease;
  line-height: 1.2;
}
.tm-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background: var(--tm-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}
.tm-btn--ghost {
  background: transparent;
  color: var(--tm-ink);
  border: 1.5px solid var(--tm-line);
}
.tm-btn--ghost:hover { background: var(--tm-bg-soft); color: var(--tm-ink); }
.tm-btn--light { background: #fff; color: var(--tm-ink); }
.tm-btn--light:hover { background: var(--tm-bg-soft); color: var(--tm-ink); }

/* ============================================================
   Announcement bar
   ============================================================ */
.tm-announce {
  background: var(--tm-ink);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  padding: 9px 16px;
  letter-spacing: .02em;
}
.tm-announce a { color: #fff; text-decoration: underline; }

/* ============================================================
   Header
   ============================================================ */
.tm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tm-line);
}
.tm-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.tm-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tm-ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tm-logo:hover { color: var(--tm-ink); }
.tm-logo__gem {
  width: 12px; height: 12px;
  background: var(--tm-accent);
  transform: rotate(45deg);
  border-radius: 3px;
  flex: none;
}
.tm-logo--custom {
  flex: 0 0 auto;
  min-width: 0;
}
.tm-logo--custom .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  max-width: 220px;
}
.tm-logo--custom .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 48px;
  object-fit: contain;
}


.tm-nav { flex: 1; }
.tm-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.tm-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--tm-ink);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
}
.tm-nav a:hover { background: var(--tm-bg-soft); color: var(--tm-ink); }

.tm-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.tm-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 10px;
  color: var(--tm-ink);
  background: transparent;
  border: none;
  cursor: pointer;
}
.tm-iconbtn:hover { background: var(--tm-bg-soft); color: var(--tm-ink); }
.tm-iconbtn svg { width: 21px; height: 21px; }
.tm-cart-count {
  position: absolute;
  top: 4px; right: 2px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  background: var(--tm-accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile nav */
.tm-menu-toggle { display: none; }
@media (max-width: 900px) {
  .tm-menu-toggle { display: inline-flex; }
  .tm-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--tm-line);
    box-shadow: var(--tm-shadow);
    padding: 10px 16px 16px;
  }
  .tm-nav.is-open { display: block; }
  .tm-nav ul { flex-direction: column; gap: 0; }
  .tm-nav a { padding: 13px 10px; border-bottom: 1px solid var(--tm-bg-soft); }
}

/* ============================================================
   Hero
   ============================================================ */
.tm-hero {
  background: linear-gradient(180deg, #f2f6f4 0%, #ffffff 100%);
  border-bottom: 1px solid var(--tm-line);
}
.tm-hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 72px 0;
}
.tm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tm-accent);
  margin-bottom: 14px;
}
.tm-hero__eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--tm-gold);
  transform: rotate(45deg);
  border-radius: 2px;
}
.tm-hero h1 { margin-bottom: 16px; }
.tm-hero__sub { font-size: 1.1rem; color: var(--tm-ink-soft); max-width: 46ch; margin-bottom: 28px; }
.tm-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.tm-hero__art {
  aspect-ratio: 4 / 3.4;
  border-radius: var(--tm-radius-lg);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(201,155,63,.18), transparent 55%),
    linear-gradient(145deg, #0b6e5c 0%, #0d4f43 100%);
  box-shadow: var(--tm-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tm-hero__art img { width: 100%; height: 100%; object-fit: cover; }
.tm-hero__art-fallback {
  color: rgba(255,255,255,.85);
  text-align: center;
  padding: 24px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.tm-hero__art-fallback span { display: block; font-size: 3rem; margin-bottom: 8px; }
@media (max-width: 860px) {
  .tm-hero__inner { grid-template-columns: 1fr; padding: 48px 0; gap: 28px; }
}

/* ============================================================
   Sections
   ============================================================ */
.tm-section { padding: 64px 0; }
.tm-section--soft { background: var(--tm-bg-soft); }
.tm-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.tm-section__head a { font-weight: 700; font-size: .95rem; white-space: nowrap; }

/* USP strip */
.tm-usps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 0;
}
.tm-usp { display: flex; align-items: center; gap: 12px; }
.tm-usp svg { width: 26px; height: 26px; color: var(--tm-accent); flex: none; }
.tm-usp b { display: block; font-size: .92rem; }
.tm-usp span { font-size: .8rem; color: var(--tm-ink-soft); }
@media (max-width: 860px) { .tm-usps { grid-template-columns: repeat(2, 1fr); } }

/* Category cards */
.tm-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tm-cat {
  position: relative;
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  background: var(--tm-bg-soft);
  border: 1px solid var(--tm-line);
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: flex-end;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tm-cat:hover { transform: translateY(-3px); box-shadow: var(--tm-shadow); }
.tm-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-cat__label {
  position: relative;
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(16,20,24,.72));
  color: #fff;
  font-weight: 700;
}
.tm-cat--empty { align-items: center; justify-content: center; color: var(--tm-ink-soft); font-weight: 600; }
@media (max-width: 860px) { .tm-cats { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Product grid (WooCommerce)
   ============================================================ */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--tm-shadow);
}
.woocommerce ul.products li.product a img {
  margin: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: .98rem;
  font-weight: 700;
  padding: 14px 16px 2px;
  color: var(--tm-ink);
}
.woocommerce ul.products li.product .price {
  color: var(--tm-ink) !important;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 16px 6px;
  margin: 0;
}
.woocommerce ul.products li.product .price del { color: var(--tm-ink-soft); font-weight: 500; opacity: .7; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--tm-accent); }
.woocommerce ul.products li.product .star-rating { margin: 0 16px 4px; }
.woocommerce ul.products li.product .button {
  margin: 8px 16px 16px;
  text-align: center;
}
.woocommerce span.onsale {
  background: var(--tm-gold);
  color: #fff;
  border-radius: 8px;
  min-width: 0;
  min-height: 0;
  line-height: 1;
  padding: 7px 11px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  top: 12px;
  left: 12px;
  margin: 0 !important;
}
.woocommerce .star-rating span::before,
.woocommerce .star-rating::before { color: var(--tm-gold); }
@media (max-width: 1000px) { .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Shop toolbar */
.woocommerce .woocommerce-result-count { color: var(--tm-ink-soft); font-size: .9rem; }
.woocommerce .woocommerce-ordering select {
  border: 1.5px solid var(--tm-line);
  border-radius: var(--tm-radius);
  padding: 9px 12px;
  font-family: var(--tm-font);
  background: #fff;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul { border: none; }
.woocommerce nav.woocommerce-pagination ul li { border: none; margin: 0 3px; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  border-radius: 9px;
  padding: 10px 15px;
  font-weight: 700;
  color: var(--tm-ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--tm-accent);
  color: #fff;
}

/* ============================================================
   Single product
   ============================================================ */
.woocommerce div.product div.images img { border-radius: var(--tm-radius-lg); }
.woocommerce div.product .product_title { font-size: 1.7rem; font-weight: 800; letter-spacing: -.01em; }
.woocommerce div.product p.price {
  color: var(--tm-ink);
  font-size: 1.45rem;
  font-weight: 800;
}
.woocommerce div.product p.price ins { text-decoration: none; color: var(--tm-accent); }
.woocommerce div.product form.cart { margin: 22px 0; }
.woocommerce div.product form.cart .quantity .qty {
  border: 1.5px solid var(--tm-line);
  border-radius: var(--tm-radius);
  padding: 11px 8px;
  width: 74px;
  font-family: var(--tm-font);
  font-weight: 700;
}
.woocommerce div.product form.cart .button { padding: 14px 34px; font-size: 1rem; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  margin-bottom: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--tm-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 700; color: var(--tm-ink-soft); padding: 12px 18px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--tm-ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  box-shadow: inset 0 -2.5px 0 var(--tm-accent);
}
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 22px; }

/* ============================================================
   Cart / Checkout / Forms / Notices
   ============================================================ */
.woocommerce table.shop_table {
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  border-collapse: separate;
  overflow: hidden;
}
.woocommerce table.shop_table th { background: var(--tm-bg-soft); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--tm-line); padding: 14px; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .cart .quantity .qty {
  border: 1.5px solid var(--tm-line);
  border-radius: var(--tm-radius);
  padding: 12px 14px;
  font-family: var(--tm-font);
  background: #fff;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus { border-color: var(--tm-accent); outline: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-radius: var(--tm-radius);
  border-top-width: 3px;
  background: var(--tm-bg-soft);
}
.woocommerce-message { border-top-color: var(--tm-accent); }
.woocommerce-message::before { color: var(--tm-accent); }
.woocommerce-info { border-top-color: var(--tm-gold); }
.woocommerce-info::before { color: var(--tm-gold); }
#add_payment_method .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--tm-accent);
  border-radius: var(--tm-radius);
  font-weight: 800;
}
#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--tm-accent-dark); }

/* ============================================================
   Newsletter band
   ============================================================ */
.tm-news {
  background: var(--tm-ink);
  color: #fff;
  border-radius: var(--tm-radius-lg);
  padding: 44px 40px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: center;
}
.tm-news h2 { color: #fff; margin-bottom: 6px; }
.tm-news p { color: rgba(255,255,255,.72); margin: 0; }
.tm-news form { display: flex; gap: 10px; }
.tm-news input[type="email"] {
  flex: 1;
  border: none;
  border-radius: var(--tm-radius);
  padding: 13px 16px;
  font-family: var(--tm-font);
  font-size: .95rem;
}
@media (max-width: 760px) { .tm-news { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ============================================================
   Footer
   ============================================================ */
.tm-footer {
  border-top: 1px solid var(--tm-line);
  margin-top: 64px;
  background: #fff;
}
.tm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0 36px;
}
.tm-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--tm-ink-soft); margin-bottom: 14px; }
.tm-footer ul { list-style: none; margin: 0; padding: 0; }
.tm-footer li { margin-bottom: 9px; }
.tm-footer a { color: var(--tm-ink); font-weight: 500; font-size: .93rem; }
.tm-footer a:hover { color: var(--tm-accent); }
.tm-footer__about p { color: var(--tm-ink-soft); font-size: .92rem; max-width: 34ch; }
.tm-footer__bottom {
  border-top: 1px solid var(--tm-line);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .85rem;
  color: var(--tm-ink-soft);
  flex-wrap: wrap;
}
@media (max-width: 860px) { .tm-footer__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   Blog / pages
   ============================================================ */
.tm-page { padding: 48px 0 24px; }
.tm-entry { max-width: 760px; }
.tm-entry img { border-radius: var(--tm-radius-lg); }
.tm-archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tm-card {
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tm-card:hover { transform: translateY(-3px); box-shadow: var(--tm-shadow); }
.tm-card__body { padding: 18px; }
.tm-card__body h3 a { color: var(--tm-ink); }
.tm-card__meta { font-size: .82rem; color: var(--tm-ink-soft); margin-bottom: 6px; }
@media (max-width: 860px) { .tm-archive-grid { grid-template-columns: 1fr; } }

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb { color: var(--tm-ink-soft); font-size: .87rem; margin-bottom: 20px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--tm-ink-soft); }

/* ============================================================
   v1.1 — Body lock
   ============================================================ */
body.tm-lock { overflow: hidden; }

/* ============================================================
   Search modal (premium popup)
   ============================================================ */
.tm-search-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
}
.tm-search-modal.is-open { display: block; }
.tm-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 20, 24, .45);
  backdrop-filter: blur(6px);
  animation: tmFade .2s ease;
}
.tm-search-modal__panel {
  position: relative;
  max-width: 640px;
  margin: 9vh auto 0;
  background: #fff;
  border-radius: var(--tm-radius-lg);
  box-shadow: 0 24px 80px rgba(16,20,24,.28);
  overflow: hidden;
  animation: tmSlideDown .25s cubic-bezier(.2,.9,.3,1);
}
@keyframes tmFade { from { opacity: 0; } }
@keyframes tmSlideDown { from { opacity: 0; transform: translateY(-14px); } }
@keyframes tmSlideUp { from { opacity: 0; transform: translateY(10px); } }
.tm-search-modal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--tm-line);
}
.tm-search-modal__bar svg { width: 21px; height: 21px; color: var(--tm-ink-soft); flex: none; }
.tm-search-modal__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--tm-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tm-ink);
  background: transparent;
}
.tm-search-modal__input::placeholder { color: #a6adb6; font-weight: 500; }
.tm-search-modal__close {
  background: var(--tm-bg-soft);
  border: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--tm-ink-soft);
  cursor: pointer;
}
.tm-search-modal__close:hover { background: var(--tm-line); color: var(--tm-ink); }
.tm-search-modal__results {
  max-height: 56vh;
  overflow-y: auto;
  padding: 10px;
}
.tm-sr-hint { color: var(--tm-ink-soft); text-align: center; padding: 26px 16px; margin: 0; font-size: .93rem; }
.tm-sr {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  animation: tmSlideUp .18s ease both;
}
.tm-sr:hover { background: var(--tm-bg-soft); }
.tm-sr img, .tm-sr__ph {
  width: 52px; height: 52px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--tm-bg-soft);
  border: 1px solid var(--tm-line);
  flex: none;
}
.tm-sr__info { flex: 1; min-width: 0; }
.tm-sr__title {
  display: block;
  font-weight: 700;
  color: var(--tm-ink);
  font-size: .95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm-sr__price { display: block; color: var(--tm-accent); font-weight: 700; font-size: .88rem; }
.tm-sr__arrow { color: var(--tm-ink-soft); opacity: 0; transition: opacity .15s, transform .15s; }
.tm-sr:hover .tm-sr__arrow { opacity: 1; transform: translateX(3px); }
.tm-sr-more {
  display: block;
  text-align: center;
  padding: 13px;
  margin: 6px 4px 4px;
  border-top: 1px solid var(--tm-line);
  font-weight: 700;
  font-size: .92rem;
}
.tm-sr-loading { display: flex; gap: 7px; justify-content: center; padding: 30px; }
.tm-sr-loading span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--tm-accent);
  animation: tmBounce .9s infinite ease-in-out;
}
.tm-sr-loading span:nth-child(2) { animation-delay: .12s; }
.tm-sr-loading span:nth-child(3) { animation-delay: .24s; }
@keyframes tmBounce { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
@media (max-width: 700px) {
  .tm-search-modal__panel { margin: 0; border-radius: 0; max-width: none; height: 100%; }
  .tm-search-modal__results { max-height: none; height: calc(100% - 62px); }
}

/* ============================================================
   Cart drawer (Shopify style)
   ============================================================ */
.tm-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 350;
  background: rgba(16,20,24,.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.tm-drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.tm-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 360;
  width: min(400px, 100%);
  background: #fff;
  box-shadow: -18px 0 60px rgba(16,20,24,.18);
  transform: translateX(102%);
  transition: transform .3s cubic-bezier(.25,.9,.3,1);
  display: flex;
  flex-direction: column;
}
.tm-drawer.is-open { transform: translateX(0); }
.tm-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--tm-line);
}
.tm-drawer__head h3 { margin: 0; font-size: 1.1rem; font-weight: 800; }
.tm-drawer__close {
  background: var(--tm-bg-soft);
  border: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--tm-ink-soft);
  cursor: pointer;
}
.tm-drawer__close:hover { background: var(--tm-line); color: var(--tm-ink); }
.tm-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 22px;
}
.tm-ditem {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--tm-bg-soft);
  transition: opacity .15s;
}
.tm-ditem.is-busy { opacity: .45; pointer-events: none; }
.tm-ditem__img img {
  width: 74px; height: 74px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--tm-line);
}
.tm-ditem__info { flex: 1; min-width: 0; }
.tm-ditem__name {
  display: block;
  font-weight: 700;
  font-size: .93rem;
  color: var(--tm-ink);
  line-height: 1.35;
  margin-bottom: 3px;
}
.tm-ditem__price { font-weight: 700; color: var(--tm-accent); font-size: .9rem; margin-bottom: 8px; }
.tm-ditem__row { display: flex; align-items: center; justify-content: space-between; }
.tm-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--tm-line);
  border-radius: 999px;
  overflow: hidden;
}
.tm-qty button {
  width: 30px; height: 30px;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--tm-ink);
  cursor: pointer;
}
.tm-qty button:hover { background: var(--tm-bg-soft); }
.tm-qty__num { min-width: 26px; text-align: center; font-weight: 700; font-size: .9rem; }
.tm-remove {
  background: none;
  border: none;
  color: var(--tm-ink-soft);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}
.tm-remove:hover { color: var(--tm-danger); }
.tm-drawer__empty { text-align: center; padding: 60px 20px; }
.tm-drawer__empty p { color: var(--tm-ink-soft); margin-bottom: 18px; }
.tm-drawer__gem {
  display: inline-block;
  width: 22px; height: 22px;
  background: var(--tm-line);
  border-radius: 5px;
  transform: rotate(45deg);
  margin-bottom: 16px;
}
.tm-drawer__foot {
  border-top: 1px solid var(--tm-line);
  padding: 18px 22px 22px;
  background: #fff;
}
.tm-drawer__row {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.tm-drawer__total { color: var(--tm-ink); }
.tm-drawer__note { font-size: .8rem; color: var(--tm-ink-soft); margin-bottom: 14px; }
.tm-drawer__checkout {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 15px;
}
.tm-drawer__viewcart {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--tm-ink);
  text-decoration: underline;
}

/* ============================================================
   Premium product detail page
   ============================================================ */
.single-product div.product {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: start;
}
.single-product div.product div.images,
.single-product div.product div.summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
.single-product div.product div.summary {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  padding: 30px 32px;
  box-shadow: 0 1px 2px rgba(16,20,24,.04);
}
.single-product div.product .woocommerce-tabs,
.single-product div.product .related.products,
.single-product div.product .up-sells,
.single-product div.product .woocommerce-message,
.single-product div.product .woocommerce-info,
.single-product div.product .woocommerce-error {
  grid-column: 1 / -1;
  width: 100% !important;
  float: none !important;
}
.single-product div.product .woocommerce-product-rating { margin-bottom: 8px !important; }
.single-product div.product p.price { margin: 10px 0 4px; }
.single-product div.product .woocommerce-product-details__short-description {
  color: var(--tm-ink-soft);
  border-top: 1px solid var(--tm-bg-soft);
  padding-top: 16px;
  margin-top: 12px;
}
.single-product div.product .stock.in-stock {
  display: inline-block;
  background: rgba(11,110,92,.1);
  color: var(--tm-accent);
  font-weight: 700;
  font-size: .82rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.single-product div.product .stock.out-of-stock {
  display: inline-block;
  background: rgba(192,57,43,.08);
  color: var(--tm-danger);
  font-weight: 700;
  font-size: .82rem;
  padding: 5px 12px;
  border-radius: 999px;
}
.single-product div.product form.cart {
  display: flex;
  gap: 12px;
  align-items: stretch;
  border-top: 1px solid var(--tm-bg-soft);
  padding-top: 20px;
  flex-wrap: wrap;
}
.single-product div.product form.cart .quantity { display: flex; }
.single-product div.product form.cart .quantity .qty {
  height: 100%;
  min-height: 50px;
  border-radius: 12px;
  text-align: center;
}
.single-product div.product form.cart .button {
  flex: 1;
  min-height: 50px;
  border-radius: 12px;
  letter-spacing: .01em;
}
.single-product div.product form.cart .button.loading { opacity: .7; }
.single-product div.product form.cart.variations_form { display: block; }
.single-product div.product form.cart .variations td, 
.single-product div.product form.cart .variations th { padding: 6px 0; }
.single-product div.product form.cart .variations select {
  border: 1.5px solid var(--tm-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: var(--tm-font);
}
.tm-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--tm-bg-soft);
}
.tm-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  color: var(--tm-ink-soft);
  background: var(--tm-bg-soft);
  border-radius: 12px;
  padding: 12px 8px;
}
.tm-trust__item svg { width: 22px; height: 22px; color: var(--tm-accent); }
.single-product div.product .product_meta {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--tm-ink-soft);
}
.single-product div.product .product_meta > span { display: block; margin-bottom: 4px; }
.single-product .related.products > h2,
.single-product .up-sells > h2 {
  font-size: 1.5rem;
  margin: 40px 0 24px;
}
.single-product .woocommerce-tabs { margin-top: 40px; }
@media (max-width: 900px) {
  .single-product div.product { grid-template-columns: 1fr; gap: 28px; }
  .single-product div.product div.summary { position: static; padding: 24px 20px; }
}

/* ============================================================
   v1.3 — Product page: fixed template structure
   ============================================================ */
/* Neutralise old grid on div.product — layout now comes from
   .tm-single__grid in the overridden template. */
.single-product div.product.tm-single { display: block; }
.tm-single__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: start;
}
.tm-single__media { min-width: 0; position: relative; }
.tm-single__grid > .summary {
  min-width: 0;
  position: sticky;
  top: 96px;
}
.tm-single__extras { margin-top: 52px; }
.tm-single__extras .woocommerce-tabs { margin-top: 0; }
.tm-single__media .woocommerce-product-gallery { width: 100% !important; float: none !important; }
.tm-single__media .woocommerce-product-gallery .flex-viewport { height: auto !important; }
.tm-single__media .woocommerce-product-gallery__image img,
.tm-single__media .woocommerce-product-gallery__image a img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}
.tm-single__media span.onsale { top: 14px; left: 14px; z-index: 5; }
@media (max-width: 900px) {
  .tm-single__grid { grid-template-columns: 1fr; gap: 26px; }
  .tm-single__grid > .summary { position: static; }
  .tm-single__extras { margin-top: 34px; }
}

/* ============================================================
   v1.3 — Checkout: exact Shopify look
   ============================================================ */
/* Page shell: no big title, wide container, full-height split */
body.woocommerce-checkout { background: #fff; }
body.woocommerce-checkout:not(.woocommerce-order-received) .tm-page { padding: 0; }
body.woocommerce-checkout:not(.woocommerce-order-received) .tm-container { max-width: 1100px; padding: 0 24px; }
.woocommerce-checkout .tm-entry { max-width: none; }
body.woocommerce-checkout:not(.woocommerce-order-received) .tm-entry > h1 { display: none; }

/* Minimal checkout header / footer */
.tm-checkout-header {
  border-bottom: 1px solid var(--tm-line);
  background: #fff;
  position: relative;
  z-index: 5;
}
.tm-checkout-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tm-checkout-header .tm-iconbtn { color: var(--tm-accent); }
.tm-checkout-footer {
  border-top: 1px solid var(--tm-line);
  background: #fff;
  position: relative;
  z-index: 5;
}
.tm-checkout-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.tm-checkout-footer a {
  font-size: .82rem;
  color: var(--tm-ink-soft);
  text-decoration: underline;
}
.tm-checkout-footer a:hover { color: var(--tm-ink); }

/* The split: right side grey, extends to the screen edge */
.tm-checkout {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 0;
  align-items: stretch;
  border: none;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  min-height: calc(100vh - 110px);
}
.tm-checkout__main {
  grid-column: 1;
  padding: 40px 44px 60px 0;
  min-width: 0;
  background: #fff;
}
.tm-checkout__side {
  grid-column: 2;
  background: var(--tm-bg-soft);
  border-left: 1px solid #e3e5e4;
  border-radius: 0;
  padding: 40px 0 60px 38px;
  min-width: 0;
}
.tm-checkout__sidein { position: sticky; top: 30px; }

/* Any notice WooCommerce prepends into the form must span full width */
.tm-checkout > .woocommerce-error,
.tm-checkout > .woocommerce-message,
.tm-checkout > .woocommerce-info,
.tm-checkout > .woocommerce-NoticeGroup,
.tm-checkout > .woocommerce-notices-wrapper {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: start;
  margin: 24px 0 0;
  z-index: 2;
}
.tm-checkout > .woocommerce-NoticeGroup { background: #fff; }
.tm-checkout:has(> .woocommerce-error) .tm-checkout__main,
.tm-checkout:has(> .woocommerce-NoticeGroup) .tm-checkout__main { grid-row: 2; }
.tm-checkout:has(> .woocommerce-error) .tm-checkout__side,
.tm-checkout:has(> .woocommerce-NoticeGroup) .tm-checkout__side { grid-row: 2; }

/* Shopify-style error box */
.woocommerce-checkout ul.woocommerce-error {
  list-style: none;
  background: #fff5f5;
  border: 1px solid #f3c2c2;
  border-radius: 10px;
  padding: 16px 18px 16px 46px;
  position: relative;
  color: #b02a2a;
  font-size: .9rem;
}
.woocommerce-checkout ul.woocommerce-error::before {
  content: "!";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 20px; height: 20px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce-checkout ul.woocommerce-error li { margin-bottom: 4px; }
.woocommerce-checkout ul.woocommerce-error li:last-child { margin-bottom: 0; }
.woocommerce-checkout ul.woocommerce-error li strong { color: #8f1f1f; }

/* Left column: sections & fields */
.tm-checkout .col2-set { width: 100%; }
.tm-checkout .col2-set .col-1,
.tm-checkout .col2-set .col-2 { float: none; width: 100%; }
.tm-checkout .woocommerce-billing-fields h3,
.tm-checkout .woocommerce-shipping-fields h3,
.tm-checkout #ship-to-different-address,
.tm-checkout .woocommerce-additional-fields h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.tm-checkout form .form-row { margin-bottom: 10px; padding: 0; }
/* Hide labels — placeholder text sits inside fields (Shopify style).
   Country/state selects keep their labels for clarity. */
.tm-checkout p.form-row:not(#billing_country_field):not(#billing_state_field):not(#shipping_country_field):not(#shipping_state_field) > label:not(.woocommerce-form__label-for-checkbox) {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
.tm-checkout #billing_country_field > label,
.tm-checkout #billing_state_field > label,
.tm-checkout #shipping_country_field > label,
.tm-checkout #shipping_state_field > label {
  font-size: .78rem;
  color: var(--tm-ink-soft);
  font-weight: 600;
  margin-bottom: 2px;
  display: block;
}
.tm-checkout form .form-row .required { color: transparent; }
.tm-checkout form .form-row input.input-text,
.tm-checkout form .form-row textarea,
.tm-checkout form .form-row select,
.tm-checkout .select2-container--default .select2-selection--single {
  width: 100%;
  border: 1px solid #d0d5d9;
  border-radius: 8px;
  padding: 13px 14px;
  min-height: 48px;
  background: #fff;
  font-size: .95rem;
  font-family: var(--tm-font);
  box-shadow: none;
}
.tm-checkout form .form-row input.input-text::placeholder,
.tm-checkout form .form-row textarea::placeholder { color: #8a929b; }
.tm-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 22px; padding-left: 0; }
.tm-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; }
.tm-checkout form .form-row input.input-text:focus,
.tm-checkout form .form-row textarea:focus,
.tm-checkout form .form-row select:focus {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 3px rgba(11,110,92,.13);
  outline: none;
}
.tm-checkout .woocommerce-invalid input.input-text { border-color: #c0392b !important; }
.tm-checkout .woocommerce-form__label-for-checkbox { font-size: .9rem; }

/* Payment (left) */
.tm-pay-title { font-size: 1.15rem; font-weight: 800; margin: 28px 0 2px; }
.tm-pay-sub { font-size: .85rem; color: var(--tm-ink-soft); margin-bottom: 12px; }
.tm-checkout #payment { background: transparent; border-radius: 0; }
.tm-checkout #payment ul.payment_methods { border: none; padding: 0; margin-bottom: 16px; }
.tm-checkout #payment ul.payment_methods li {
  border: 1px solid #d0d5d9;
  border-radius: 10px;
  padding: 15px 16px;
  margin-bottom: 8px;
  background: #fff;
  transition: border-color .15s, background .15s;
}
.tm-checkout #payment ul.payment_methods li:has(input:checked) {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 1px var(--tm-accent);
  background: rgba(11,110,92,.03);
}
.tm-checkout #payment ul.payment_methods li label { font-weight: 700; font-size: .93rem; display: inline; }
.tm-checkout #payment ul.payment_methods li input[type="radio"] { accent-color: var(--tm-accent); margin-right: 6px; }
.tm-checkout #payment div.payment_box {
  background: var(--tm-bg-soft);
  border-radius: 8px;
  font-size: .87rem;
  margin: 12px 0 0;
  color: var(--tm-ink-soft);
}
.tm-checkout #payment div.payment_box::before { display: none; }
.tm-checkout #payment div.form-row.place-order { padding: 8px 0 0; margin: 0; }
.tm-checkout #payment #place_order {
  display: block;
  width: 100%;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px;
  border-radius: 10px;
}
.tm-checkout .woocommerce-terms-and-conditions-wrapper { font-size: .85rem; color: var(--tm-ink-soft); }

/* Right column: order summary */
.tm-checkout__side #order_review_heading { font-size: 1.05rem; font-weight: 800; margin: 0 0 16px; }
.tm-checkout__side table.shop_table { background: transparent; border: none; margin: 0; width: 100%; }
.tm-checkout__side table.shop_table thead { display: none; }
.tm-checkout__side table.shop_table th,
.tm-checkout__side table.shop_table td {
  background: transparent;
  border: none;
  padding: 10px 2px;
  font-size: .92rem;
  vertical-align: middle;
}
.tm-checkout__side table.shop_table tbody td.product-name { padding-bottom: 16px; }
.tm-checkout__side table.shop_table tfoot th { color: var(--tm-ink-soft); font-weight: 600; border-top: 1px solid #e3e5e4; }
.tm-checkout__side table.shop_table tfoot td { text-align: right; border-top: 1px solid #e3e5e4; font-weight: 700; }
.tm-checkout__side table.shop_table tr.order-total th { color: var(--tm-ink); font-size: 1.05rem; font-weight: 800; }
.tm-checkout__side table.shop_table tr.order-total td { font-size: 1.15rem; font-weight: 800; }
.tm-checkout__side .product-quantity { display: none; }
.tm-checkout__side td.product-total { text-align: right; font-weight: 700; }
.tm-rev-item { display: flex; align-items: center; gap: 12px; }
.tm-rev-thumb { position: relative; flex: none; }
.tm-rev-thumb img {
  width: 58px !important;
  height: 58px !important;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid #e0e2e1;
  background: #fff;
}
.tm-rev-qty {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: #444b52;
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-rev-name { font-weight: 600; font-size: .9rem; line-height: 1.35; }

/* Discount code: always visible, Shopify style */
.tm-checkout__side .woocommerce-form-coupon-toggle { display: none; }
.tm-checkout__side form.checkout_coupon {
  display: flex !important;
  gap: 8px;
  align-items: stretch;
  border: none;
  padding: 0;
  margin: 0 0 18px;
  background: transparent;
}
.tm-checkout__side form.checkout_coupon > p:first-child { display: none; } /* helper sentence */
.tm-checkout__side form.checkout_coupon p { margin: 0; padding: 0; }
.tm-checkout__side form.checkout_coupon .form-row-first { flex: 1; width: auto; float: none; }
.tm-checkout__side form.checkout_coupon .form-row-last { width: auto; float: none; }
.tm-checkout__side form.checkout_coupon input.input-text {
  width: 100%;
  border: 1px solid #d0d5d9;
  border-radius: 8px;
  padding: 12px 14px;
  min-height: 48px;
  background: #fff;
  font-family: var(--tm-font);
}
.tm-checkout__side form.checkout_coupon input.input-text:focus {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 3px rgba(11,110,92,.13);
  outline: none;
}
.tm-checkout__side form.checkout_coupon .button {
  min-height: 48px;
  padding: 12px 22px;
  background: #e8eaec;
  color: var(--tm-ink-soft);
  font-weight: 700;
}
.tm-checkout__side form.checkout_coupon .button:hover { background: var(--tm-accent); color: #fff; }

/* Mobile: summary on top, minimal padding */
@media (max-width: 900px) {
  .tm-checkout { display: flex; flex-direction: column; min-height: 0; }
  .tm-checkout__side {
    order: 1;
    border-left: none;
    border-bottom: 1px solid #e3e5e4;
    padding: 24px 0;
    margin-bottom: 8px;
  }
  .tm-checkout__main { order: 2; padding: 20px 0 40px; box-shadow: none; }
  .tm-checkout__sidein { position: static; }
  .tm-checkout > .woocommerce-error,
  .tm-checkout > .woocommerce-NoticeGroup { order: 0; }
}

/* ============================================================
   v1.4 — Shop layout: filters + grid
   ============================================================ */
.tm-shop-layout {
  display: grid;
  grid-template-columns: 244px 1fr;
  gap: 36px;
  align-items: start;
}
.tm-shop-main { min-width: 0; }
.tm-filters {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  padding: 20px;
}
.tm-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.tm-filters__head h3 { margin: 0; font-size: 1rem; font-weight: 800; }
.tm-filters__clear {
  background: none;
  border: none;
  color: var(--tm-ink-soft);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.tm-filters__clear:hover { color: var(--tm-accent); }
.tm-fgroup { border-top: 1px solid var(--tm-bg-soft); padding: 14px 0 4px; }
.tm-fgroup h4 {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tm-ink-soft);
  margin-bottom: 10px;
}
.tm-fscroll { max-height: 220px; overflow-y: auto; padding-right: 4px; }
.tm-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  cursor: pointer;
  font-size: .9rem;
}
.tm-check input { accent-color: var(--tm-accent); width: 16px; height: 16px; flex: none; }
.tm-check span { flex: 1; }
.tm-check em { font-style: normal; font-size: .78rem; color: var(--tm-ink-soft); }
.tm-price-range input[type="range"] {
  width: 100%;
  accent-color: var(--tm-accent);
  margin: 4px 0 6px;
}
.tm-price-labels {
  display: flex;
  justify-content: space-between;
  font-size: .84rem;
  font-weight: 700;
  color: var(--tm-ink-soft);
}
.tm-price-out { color: var(--tm-accent); }
.tm-filters-toggle { display: none; }
@media (max-width: 900px) {
  .tm-shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .tm-filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 340;
    width: min(310px, 88%);
    border-radius: 0;
    border: none;
    box-shadow: 14px 0 50px rgba(16,20,24,.2);
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .28s cubic-bezier(.25,.9,.3,1);
  }
  .tm-filters.is-open { transform: translateX(0); }
  .tm-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid var(--tm-line);
    border-radius: var(--tm-radius);
    padding: 11px 16px;
    font-family: var(--tm-font);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    margin-bottom: 4px;
  }
  .tm-filters-toggle svg { width: 18px; height: 18px; }
}

/* Toolbar + chips */
.woocommerce .woocommerce-result-count { margin: 0; font-weight: 600; }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.tm-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--tm-bg-soft);
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: var(--tm-font);
  font-size: .82rem;
  font-weight: 600;
  color: var(--tm-ink);
  cursor: pointer;
}
.tm-chip span { color: var(--tm-ink-soft); font-size: 1rem; line-height: 1; }
.tm-chip:hover { border-color: var(--tm-accent); color: var(--tm-accent); }

/* Load more + skeleton + empty */
.tm-loadmore-wrap { text-align: center; padding: 26px 0 8px; }
.tm-loadmore { min-width: 220px; }
.tm-loadmore[hidden] { display: none; }
.tm-skel { list-style: none; }
.tm-skel span { display: block; border-radius: 10px; background: linear-gradient(90deg, #eef0ef 25%, #f7f8f7 50%, #eef0ef 75%); background-size: 200% 100%; animation: tmShimmer 1.3s infinite; }
.tm-skel__img { aspect-ratio: 1 / 1; border-radius: var(--tm-radius-lg); margin-bottom: 12px; }
.tm-skel__l { height: 13px; width: 85%; margin-bottom: 8px; }
.tm-skel__s { height: 13px; width: 45%; }
@keyframes tmShimmer { to { background-position: -200% 0; } }
.tm-noresults {
  grid-column: 1 / -1;
  list-style: none;
  text-align: center;
  color: var(--tm-ink-soft);
  padding: 50px 20px;
  background: var(--tm-bg-soft);
  border-radius: var(--tm-radius-lg);
}

/* ============================================================
   v1.4 — Product card
   ============================================================ */
.woocommerce ul.products li.product.tm-card-product { padding: 0; }
.tm-cardp__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--tm-radius-lg) var(--tm-radius-lg) 0 0;
  background: var(--tm-bg-soft);
}
.tm-cardp__link { display: block; position: relative; }
.woocommerce ul.products li.product .tm-cardp__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity .35s ease, transform .5s ease;
  margin: 0;
}
.tm-cardp__img--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.tm-card-product:hover .tm-cardp__img--hover { opacity: 1; }
.tm-card-product:hover .tm-cardp__link .tm-cardp__img { transform: scale(1.04); }
.tm-cardp__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.tm-badge {
  display: inline-block;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #fff;
}
.tm-badge--sale { background: var(--tm-gold); }
.tm-badge--out { background: #6b7280; }
.tm-qv-btn {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--tm-ink);
  font-family: var(--tm-font);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, max-width .28s ease;
  box-shadow: 0 2px 10px rgba(16,20,24,.12);
}
.tm-qv-btn svg { width: 18px; height: 18px; flex: none; }
.tm-qv-btn span { padding-left: 8px; }
.tm-card-product:hover .tm-qv-btn { opacity: 1; transform: translateY(0); }
.tm-qv-btn:hover { max-width: 150px; }
.tm-cardp__hovercart {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .22s ease, transform .22s ease;
}
.tm-card-product:hover .tm-cardp__hovercart { opacity: 1; transform: translateY(0); }
.woocommerce ul.products li.product .tm-cardp__hovercart .button {
  display: block;
  width: 100%;
  margin: 0;
  text-align: center;
  padding: 12px;
  font-size: .9rem;
  box-shadow: 0 4px 16px rgba(16,20,24,.18);
}
.woocommerce ul.products li.product .tm-cardp__hovercart .added_to_cart { display: none; }
.tm-cardp__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 5px; }
.tm-cardp__body .star-rating { margin: 0 0 2px; font-size: .78em; }
.tm-cardp__title {
  font-weight: 700;
  font-size: .96rem;
  line-height: 1.4;
  color: var(--tm-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-cardp__title:hover { color: var(--tm-accent); }
.tm-cardp__price { font-weight: 800; font-size: 1rem; color: var(--tm-ink); }
.tm-cardp__price del { color: var(--tm-ink-soft); font-weight: 500; opacity: .65; margin-right: 6px; }
.tm-cardp__price ins { text-decoration: none; color: var(--tm-accent); }
.tm-card-product.outofstock .tm-cardp__media { opacity: .72; }
@media (max-width: 900px) {
  .tm-cardp__hovercart, .tm-qv-btn { opacity: 1; transform: none; }
  .tm-qv-btn span { display: none; }
}

/* ============================================================
   v1.4 — Quick view modal
   ============================================================ */
.tm-qv-modal { position: fixed; inset: 0; z-index: 320; display: none; }
.tm-qv-modal.is-open { display: block; }
.tm-qv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16,20,24,.5);
  backdrop-filter: blur(5px);
  animation: tmFade .2s ease;
}
.tm-qv-modal__panel {
  position: relative;
  max-width: 860px;
  margin: 7vh auto 0;
  background: #fff;
  border-radius: var(--tm-radius-lg);
  box-shadow: 0 26px 80px rgba(16,20,24,.3);
  animation: tmSlideUp .25s cubic-bezier(.2,.9,.3,1);
  max-height: 82vh;
  overflow-y: auto;
}
.tm-qv-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 4;
  width: 36px; height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--tm-bg-soft);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--tm-ink-soft);
  cursor: pointer;
}
.tm-qv-modal__close:hover { background: var(--tm-line); color: var(--tm-ink); }
.tm-qv { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.tm-qv__media { background: var(--tm-bg-soft); border-radius: var(--tm-radius-lg) 0 0 var(--tm-radius-lg); }
.tm-qv__media img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--tm-radius-lg) 0 0 var(--tm-radius-lg); }
.tm-qv__info { padding: 34px 32px; }
.tm-qv__title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.tm-qv__price { font-size: 1.35rem; font-weight: 800; margin: 8px 0 12px; }
.tm-qv__price ins { text-decoration: none; color: var(--tm-accent); }
.tm-qv__desc { color: var(--tm-ink-soft); font-size: .92rem; margin-bottom: 16px; }
.tm-qv__info form.cart { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.tm-qv__info form.cart .button { flex: 1; }
.tm-qv__info .tm-buynow { display: none; }
.tm-qv__full { font-weight: 700; font-size: .9rem; }
@media (max-width: 760px) {
  .tm-qv { grid-template-columns: 1fr; }
  .tm-qv__media img, .tm-qv__media { border-radius: var(--tm-radius-lg) var(--tm-radius-lg) 0 0; }
  .tm-qv__info { padding: 24px 20px; }
  .tm-qv-modal__panel { margin: 0; border-radius: 0; max-height: 100vh; height: 100%; }
}

/* ============================================================
   v1.4 — Single product extras
   ============================================================ */
.tm-single__grid form.cart { align-items: center; }
.tm-single__grid form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--tm-line);
  border-radius: 12px;
  overflow: hidden;
  height: 52px;
}
.tm-single__grid form.cart .quantity input.qty,
.tm-qv__info form.cart .quantity input.qty {
  border: none !important;
  min-height: 0 !important;
  width: 46px;
  text-align: center;
  font-weight: 700;
  padding: 0;
  background: transparent;
  -moz-appearance: textfield;
}
.tm-single__grid form.cart .quantity input.qty::-webkit-outer-spin-button,
.tm-single__grid form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tm-qstep {
  width: 40px;
  height: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tm-ink);
  cursor: pointer;
}
.tm-qstep:hover { background: var(--tm-bg-soft); }
.tm-qv__info form.cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--tm-line);
  border-radius: 12px;
  overflow: hidden;
  height: 48px;
}
.single-product .single_add_to_cart_button { flex: 1 1 200px; }
.tm-buynow {
  flex: 1 1 100%;
  background: var(--tm-ink) !important;
  min-height: 52px;
  border-radius: 12px;
  font-size: 1rem;
}
.tm-buynow:hover { background: #000 !important; }
.tm-urgency {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: #b45309;
  margin: 12px 0 4px;
}
.tm-urgency__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  animation: tmPulse 1.6s infinite;
}
@keyframes tmPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(245,158,11,.55); } 60% { box-shadow: 0 0 0 7px rgba(245,158,11,0); } }
.tm-delivery {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: var(--tm-ink-soft);
  margin: 6px 0 0;
}
.tm-delivery svg { width: 19px; height: 19px; color: var(--tm-accent); flex: none; }
.tm-paycards { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.tm-paycard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 46px;
  height: 29px;
  padding: 0 9px;
  border: 1px solid var(--tm-line);
  border-radius: 6px;
  background: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: #4b5563;
}
.tm-paycard--visa { color: #1a1f71; }
.tm-paycard--mc i { width: 13px; height: 13px; border-radius: 50%; display: block; }
.tm-paycard--mc i:first-child { background: #eb001b; margin-right: -5px; }
.tm-paycard--mc i:last-child { background: #f79e1b; opacity: .85; }

/* Sale countdown timer */
.tm-countdown {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fdecea;
  color: var(--tm-danger);
  border: 1px solid rgba(192,57,43,.18);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: .86rem;
  font-weight: 700;
  margin: 10px 0 4px;
}
.tm-countdown__icon { font-size: .95rem; }
.tm-countdown__time {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: .02em;
  background: rgba(192,57,43,.1);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Social proof: recently sold / viewing now */
.tm-socialproof {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}
.tm-socialproof__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--tm-ink-soft);
}

/* Review photo upload field + display */
.tm-review-photo-field { display: flex; flex-direction: column; gap: 6px; }
.tm-review-photo-field label { font-weight: 700; font-size: .9rem; color: var(--tm-ink); }
.tm-review-photo-field input[type="file"] {
  font-size: .85rem;
  padding: 8px 0;
}
.tm-review-photo-name { display: block; font-size: .8rem; color: var(--tm-ink-soft); margin-top: 4px; }
.tm-review-photo { margin-top: 10px; }
.tm-review-photo__img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--tm-line);
}

/* Accordion */
.tm-acc { border-top: 1px solid var(--tm-line); }
.tm-acc__item { border-bottom: 1px solid var(--tm-line); }
.tm-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 4px;
  background: none;
  border: none;
  font-family: var(--tm-font);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--tm-ink);
  cursor: pointer;
  text-align: left;
}
.tm-acc__head svg { width: 20px; height: 20px; color: var(--tm-ink-soft); transition: transform .22s ease; flex: none; }
.tm-acc__item.is-open .tm-acc__head svg { transform: rotate(180deg); }
.tm-acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.tm-acc__item.is-open .tm-acc__panel { grid-template-rows: 1fr; }
.tm-acc__inner { overflow: hidden; }
.tm-acc__item.is-open .tm-acc__inner { padding-bottom: 22px; }
.tm-acc__inner > *:first-child { margin-top: 0; }
.tm-acc__inner h2 { display: none; }
.tm-acc__inner table.shop_attributes { border: none; }
.tm-acc__inner table.shop_attributes th, .tm-acc__inner table.shop_attributes td { border: none; border-bottom: 1px solid var(--tm-bg-soft); padding: 9px 4px; }

/* Sticky add-to-cart bar */
.tm-stickybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--tm-line);
  transform: translateY(105%);
  transition: transform .28s cubic-bezier(.25,.9,.3,1);
  box-shadow: 0 -6px 30px rgba(16,20,24,.08);
}
.tm-stickybar.is-on { transform: translateY(0); }
.tm-stickybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 20px;
}
.tm-stickybar__info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tm-stickybar__info img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; border: 1px solid var(--tm-line); }
.tm-stickybar__info strong { display: block; font-size: .92rem; line-height: 1.3; }
.tm-stickybar__info span { font-size: .88rem; font-weight: 700; color: var(--tm-accent); }
.tm-stickybar__btn { min-width: 190px; }
@media (max-width: 640px) {
  .tm-stickybar__info img { display: none; }
  .tm-stickybar__btn { min-width: 140px; }
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb {
  font-size: .84rem;
  padding: 4px 0 18px;
  color: var(--tm-ink-soft);
}
.woocommerce .woocommerce-breadcrumb a:hover { color: var(--tm-accent); }

/* ============================================================
   v1.4 — Free shipping progress (drawer)
   ============================================================ */
.tm-freeship { padding: 16px 22px 4px; }
.tm-freeship--off { display: none; }
.tm-freeship__msg { font-size: .86rem; margin: 0 0 8px; color: var(--tm-ink-soft); }
.tm-freeship__msg strong { color: var(--tm-ink); }
.tm-freeship__msg--done { color: var(--tm-accent); font-weight: 700; }
.tm-freeship__track {
  height: 7px;
  border-radius: 999px;
  background: var(--tm-bg-soft);
  overflow: hidden;
}
.tm-freeship__track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--tm-accent), var(--tm-gold));
  transition: width .4s ease;
}

/* ============================================================
   v1.4 — Back to top + reveal
   ============================================================ */
.tm-totop {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  width: 44px; height: 44px;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: #fff;
  color: var(--tm-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s;
  box-shadow: var(--tm-shadow);
}
.tm-totop.is-on { opacity: 1; pointer-events: auto; transform: translateY(0); }
.tm-totop:hover { border-color: var(--tm-accent); color: var(--tm-accent); }
.tm-totop svg { width: 20px; height: 20px; }
body.single-product .tm-totop { bottom: 88px; }
.tm-revealed { animation: tmReveal .5s ease both; }
@keyframes tmReveal { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .tm-revealed { animation: none; } }

/* ============================================================
   v1.4 — Thank you page & My account
   ============================================================ */
.woocommerce-order {
  max-width: 780px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.woocommerce-order .woocommerce-notice--success {
  background: rgba(11,110,92,.07);
  border: 1px solid rgba(11,110,92,.25);
  border-radius: var(--tm-radius-lg);
  color: var(--tm-accent);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 22px 24px;
  text-align: center;
  margin-bottom: 26px;
}
.woocommerce-order .woocommerce-notice--success::before { display: none; }
.woocommerce ul.order_details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.order_details li {
  float: none;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius);
  padding: 14px 16px;
  margin: 0;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--tm-ink-soft);
}
.woocommerce ul.order_details li strong {
  display: block;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--tm-ink);
  margin-top: 4px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--tm-ink);
  font-weight: 600;
  font-size: .93rem;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--tm-bg-soft); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--tm-accent); }
.woocommerce-account form.login,
.woocommerce-account form.register {
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  padding: 26px;
}
.woocommerce-account form .form-row input.input-text {
  border: 1px solid #d0d5d9;
  border-radius: 9px;
  padding: 12px 14px;
  min-height: 46px;
  width: 100%;
}

/* Recently viewed spacing */
.tm-recent { padding: 40px 0 0; }

/* ============================================================
   v1.5 — Brand typography
   ============================================================ */
:root { --tm-display: 'Plus Jakarta Sans', sans-serif; }
h1, h2, h3,
.tm-logo,
.tmE-title, .tmA-hero h1,
.tm-pagehead__title,
.tm-cardp__title,
.tm-acc__head {
  font-family: var(--tm-display);
}
.tm-logo { letter-spacing: -.02em; }

/* ============================================================
   v1.5 — Shop layout fix + premium page head
   ============================================================ */
.tm-shop-layout--full { grid-template-columns: 1fr; }
.tm-shop-layout--full .tm-filters,
.tm-shop-layout--full .tm-filters-toggle { display: none; }

.tm-page { padding-top: 26px; }
.tm-crumb { padding: 2px 0 14px; }
.tm-pagehead {
  position: relative;
  padding: 8px 0 30px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--tm-line);
}
.tm-pagehead__crumb { margin-bottom: 12px; }
.tm-pagehead .woocommerce-breadcrumb { margin: 0; padding: 0; font-size: .82rem; }
.tm-pagehead__title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tm-pagehead__title::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 3px;
  background: var(--tm-gold);
  transform: rotate(45deg);
}
.tm-pagehead__desc {
  color: var(--tm-ink-soft);
  max-width: 56ch;
  margin: 0;
  font-size: .98rem;
}
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 16px; }
@media (max-width: 700px) {
  .tm-page { padding-top: 16px; }
  .tm-pagehead { padding-bottom: 20px; margin-bottom: 18px; }
}

/* ============================================================
   v1.5 — Premium search popup
   ============================================================ */
.tm-search-modal__panel { max-width: 860px; }
.tm-search-modal__results { max-height: 62vh; padding: 6px 22px 22px; }
.tm-sgroup { padding-top: 18px; }
.tm-sgroup__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.tm-sgroup__head h4 {
  margin: 0;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tm-ink-soft);
  font-family: var(--tm-font);
  font-weight: 700;
}
.tm-sgroup__more { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.tm-sgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tm-scard { display: block; animation: tmSlideUp .2s ease both; }
.tm-scard__img {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tm-bg-soft);
  border: 1px solid var(--tm-line);
  margin-bottom: 9px;
}
.tm-scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tm-scard:hover .tm-scard__img img { transform: scale(1.06); }
.tm-scard__sale {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--tm-gold);
  color: #fff;
  font-size: .64rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
}
.tm-scard__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: .87rem;
  font-weight: 600;
  color: var(--tm-ink);
  line-height: 1.35;
}
.tm-scard__price { display: block; font-size: .87rem; font-weight: 800; color: var(--tm-accent); margin-top: 2px; }
.tm-spills { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-spills a {
  background: var(--tm-bg-soft);
  border: 1px solid var(--tm-line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--tm-ink);
}
.tm-spills a:hover { border-color: var(--tm-accent); color: var(--tm-accent); }
@media (max-width: 760px) {
  .tm-sgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tm-search-modal__results { padding: 6px 16px 20px; }
}

/* ============================================================
   v1.5 — Mobile menu drawer
   ============================================================ */
.tm-mob-overlay {
  position: fixed;
  inset: 0;
  z-index: 330;
  background: rgba(16,20,24,.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.tm-mob-overlay.is-open { opacity: 1; pointer-events: auto; }
.tm-mob {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 340;
  width: min(340px, 90%);
  background: #fff;
  transform: translateX(-102%);
  transition: transform .3s cubic-bezier(.25,.9,.3,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 18px 0 60px rgba(16,20,24,.2);
}
.tm-mob.is-open { transform: translateX(0); }
.tm-mob__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--tm-line);
}
.tm-mob__close {
  background: var(--tm-bg-soft);
  border: none;
  width: 36px; height: 36px;
  border-radius: 10px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--tm-ink-soft);
  cursor: pointer;
}
.tm-mob__search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 20px 4px;
  padding: 12px 15px;
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  background: var(--tm-bg-soft);
  font-family: var(--tm-font);
  font-size: .93rem;
  font-weight: 600;
  color: var(--tm-ink-soft);
  cursor: pointer;
  width: calc(100% - 40px);
}
.tm-mob__search svg { width: 18px; height: 18px; }
.tm-mob__nav ul { list-style: none; margin: 10px 0 0; padding: 0 12px; }
.tm-mob__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 12px;
  font-family: var(--tm-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--tm-ink);
  border-bottom: 1px solid var(--tm-bg-soft);
}
.tm-mob__nav a::after { content: "\2192"; color: var(--tm-line); font-size: 1rem; }
.tm-mob__nav a:hover { color: var(--tm-accent); }
.tm-mob__nav a:hover::after { color: var(--tm-accent); }
.tm-mob__group { padding: 20px 24px 4px; }
.tm-mob__group h4 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tm-ink-soft);
  font-family: var(--tm-font);
  margin-bottom: 10px;
}
.tm-mob__pills { display: flex; flex-wrap: wrap; gap: 7px; }
.tm-mob__pills a {
  background: var(--tm-bg-soft);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--tm-ink);
}
.tm-mob__foot { margin-top: auto; padding: 22px 24px 26px; }
.tm-mob__cta { display: block; text-align: center; }
.tm-mob__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.tm-mob__links a { font-size: .87rem; font-weight: 600; color: var(--tm-ink-soft); text-decoration: underline; }
.tm-mob__note { font-size: .76rem; color: var(--tm-ink-soft); margin: 14px 0 0; }
@media (min-width: 901px) { .tm-mob, .tm-mob-overlay { display: none; } }

/* ============================================================
   v1.5 — About template
   ============================================================ */
.tmA-hero { padding: 74px 0 54px; border-bottom: 1px solid var(--tm-line); }
.tmA-hero--tight { padding: 56px 0 40px; }
.tmA-hero__inner { max-width: 800px; }
.tmA-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -.025em; margin-bottom: 16px; }
.tmA-hero p { font-size: 1.06rem; color: var(--tm-ink-soft); max-width: 58ch; margin: 0; }

.tmA-stats { border-bottom: 1px solid var(--tm-line); }
.tmA-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.tmA-stats__grid > div { padding: 30px 20px; text-align: center; border-right: 1px solid var(--tm-line); }
.tmA-stats__grid > div:last-child { border-right: none; }
.tmA-stats strong { display: block; font-family: var(--tm-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; }
.tmA-stats span { font-size: .84rem; color: var(--tm-ink-soft); }
@media (max-width: 760px) {
  .tmA-stats__grid { grid-template-columns: 1fr 1fr; }
  .tmA-stats__grid > div:nth-child(2) { border-right: none; }
  .tmA-stats__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--tm-line); }
}

.tmA-story { padding: 70px 0; }
.tmA-story__inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.tmA-story__media img { width: 100%; border-radius: var(--tm-radius-lg); aspect-ratio: 4/5; object-fit: cover; }
.tmA-story__media .tmE-hero__ph { border-radius: var(--tm-radius-lg); aspect-ratio: 4/5; }
.tmA-story__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; margin-bottom: 14px; }
.tmA-story__text p { color: var(--tm-ink-soft); }
@media (max-width: 860px) { .tmA-story__inner { grid-template-columns: 1fr; gap: 28px; } }

.tmA-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tmA-value {
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  padding: 28px 26px;
  background: #fff;
}
.tmA-value__icon { color: var(--tm-gold); font-size: 1.1rem; display: block; margin-bottom: 12px; }
.tmA-value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tmA-value p { color: var(--tm-ink-soft); font-size: .93rem; margin: 0; }
@media (max-width: 860px) { .tmA-values { grid-template-columns: 1fr; } }

/* ============================================================
   v1.5 — Contact template
   ============================================================ */
.tmC-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.tmC-form { min-width: 0; }
.tmC-intro { color: var(--tm-ink-soft); margin-bottom: 20px; }
.tmC-fields { display: flex; flex-direction: column; gap: 16px; }
.tmC-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tmC-fields label { display: block; }
.tmC-fields label > span {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--tm-ink-soft);
  margin-bottom: 6px;
}
.tmC-fields input[type="text"],
.tmC-fields input[type="email"],
.tmC-fields select,
.tmC-fields textarea {
  width: 100%;
  border: 1px solid #d0d5d9;
  border-radius: 10px;
  padding: 13px 15px;
  min-height: 50px;
  font-family: var(--tm-font);
  font-size: .95rem;
  background: #fff;
  color: var(--tm-ink);
}
.tmC-fields textarea { min-height: 140px; resize: vertical; }
.tmC-fields input:focus, .tmC-fields select:focus, .tmC-fields textarea:focus {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 3px rgba(11,110,92,.13);
  outline: none;
}
.tmC-fields .tm-btn { align-self: flex-start; min-width: 190px; }
.tmC-hp { position: absolute; left: -9999px; }
.tmC-alert {
  border-radius: var(--tm-radius);
  padding: 15px 18px;
  margin-bottom: 20px;
  font-size: .93rem;
  font-weight: 600;
}
.tmC-alert--ok { background: rgba(11,110,92,.08); color: var(--tm-accent); border: 1px solid rgba(11,110,92,.25); }
.tmC-alert--bad { background: #fff5f5; color: #b02a2a; border: 1px solid #f3c2c2; }
.tmC-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.tmC-card {
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  padding: 22px 24px;
}
.tmC-card--soft { background: var(--tm-bg-soft); }
.tmC-card h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--tm-ink-soft); font-family: var(--tm-font); margin-bottom: 8px; }
.tmC-card p { font-size: 1.02rem; font-weight: 700; margin: 0 0 3px; }
.tmC-card > span { font-size: .82rem; color: var(--tm-ink-soft); }
.tmC-faq { border-top: none; margin-top: 4px; }
.tmC-faq .tm-acc__head { padding: 13px 0; font-size: .93rem; }
.tmC-faq .tm-acc__inner p { font-size: .88rem; color: var(--tm-ink-soft); }
.tmC-faq .tm-acc__item:last-child { border-bottom: none; }
@media (max-width: 900px) {
  .tmC-grid { grid-template-columns: 1fr; gap: 30px; }
  .tmC-side { position: static; }
  .tmC-row { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.5 — Responsive polish
   ============================================================ */
@media (max-width: 900px) {
  .tm-header__inner { gap: 12px; min-height: 60px; }
  .tm-logo { font-size: 1.15rem; }
  .tm-logo--custom .custom-logo-link { max-width: 165px; }
  .tm-logo--custom .custom-logo { max-width: 165px; max-height: 40px; }
  .tm-announce { font-size: .76rem; padding: 8px 14px; }
  .tm-hero__inner { padding: 38px 0; }
  .tm-section { padding: 44px 0; }
  .tmE-section { padding: 48px 0; }
  .tmE-cta, .tmE-quote, .tmE-feature { padding: 48px 0; }
  .tm-footer__grid { padding: 36px 0 26px; }
}
@media (max-width: 560px) {
  .tm-container { padding: 0 16px; }
  .woocommerce ul.products { gap: 12px; }
  .tm-cardp__body { padding: 12px 12px 15px; }
  .tm-cardp__title { font-size: .88rem; }
  .tm-hero__cta .tm-btn { flex: 1; text-align: center; }
  .tm-news { padding: 26px 20px; }
  .tm-news form { flex-direction: column; }
  .tm-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .tmE-cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   v1.6 — Cart page (Shopify-style line items)
   ============================================================ */
.tm-cart {
  display: grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 44px;
  align-items: start;
}
.tm-cart__main { min-width: 0; }
.tm-cart__head {
  display: grid;
  grid-template-columns: 88px 1fr 130px 110px 34px;
  gap: 18px;
  align-items: center;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--tm-line);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tm-ink-soft);
  font-family: var(--tm-font);
}
.tm-cart__head span:first-child { grid-column: 1 / 3; }
.tm-cart__head span:nth-child(2) { text-align: center; }
.tm-cart__head span:last-child { text-align: right; }
.tm-citem {
  display: grid;
  grid-template-columns: 88px 1fr 130px 110px 34px;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--tm-bg-soft);
}
.tm-citem__media img {
  width: 88px; height: 88px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--tm-line);
}
.tm-citem__info { min-width: 0; }
.tm-citem__name {
  display: block;
  font-family: var(--tm-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--tm-ink);
  margin-bottom: 4px;
}
.tm-citem__name:hover { color: var(--tm-accent); }
.tm-citem__unit { font-size: .84rem; color: var(--tm-ink-soft); }
.tm-citem__unit .amount { font-weight: 700; color: var(--tm-ink); }
.tm-citem__info .variation { font-size: .82rem; color: var(--tm-ink-soft); margin: 4px 0 0; }
.tm-citem__info .variation dt, .tm-citem__info .variation dd { display: inline; margin: 0; }
.tm-citem__qty { display: flex; justify-content: center; }
.woocommerce .tm-citem__qty .quantity {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--tm-line);
  border-radius: 999px;
  overflow: hidden;
  height: 44px;
}
.woocommerce .tm-citem__qty .quantity input.qty {
  border: none !important;
  width: 44px;
  min-height: 0;
  text-align: center;
  font-weight: 700;
  padding: 0;
  background: transparent;
  -moz-appearance: textfield;
}
.tm-citem__qty input.qty::-webkit-outer-spin-button,
.tm-citem__qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tm-citem__total { text-align: right; font-weight: 800; font-size: 1.02rem; }
.tm-citem__remove { text-align: right; }
.woocommerce .tm-citem__remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--tm-bg-soft);
  color: var(--tm-ink-soft) !important;
  font-size: 1.1rem;
  line-height: 1;
}
.woocommerce .tm-citem__remove a.remove:hover { background: #fdecec; color: var(--tm-danger) !important; }
.tm-cart__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 22px 0 4px;
}
.tm-cart__coupon { display: flex; gap: 8px; flex: 1; min-width: 260px; }
.woocommerce .tm-cart__coupon input.input-text {
  flex: 1;
  border: 1px solid #d0d5d9;
  border-radius: 10px;
  padding: 12px 15px;
  min-height: 48px;
  font-family: var(--tm-font);
  width: auto;
}
.woocommerce .tm-cart__coupon input.input-text:focus { border-color: var(--tm-accent); outline: none; }
.woocommerce .tm-cart__coupon .tm-btn { min-height: 48px; }
.woocommerce button.tm-cart__update {
  background: transparent;
  color: var(--tm-ink-soft);
  border: 1px solid var(--tm-line);
  border-radius: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-weight: 700;
}
.woocommerce button.tm-cart__update:hover { background: var(--tm-bg-soft); color: var(--tm-ink); }
.tm-cart__continue {
  display: inline-block;
  margin-top: 22px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--tm-ink);
}
.tm-cart__continue:hover { color: var(--tm-accent); }

/* Totals card */
.tm-cart__side { position: sticky; top: 96px; }
.woocommerce .tm-cart__side .cart-collaterals { width: 100%; float: none; }
.woocommerce .tm-cart__side .cart_totals {
  float: none;
  width: 100% !important;
  background: var(--tm-bg-soft);
  border-radius: var(--tm-radius-lg);
  padding: 26px 24px;
}
.woocommerce .tm-cart__side .cart_totals h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 14px;
  font-family: var(--tm-display);
}
.woocommerce .tm-cart__side table.shop_table {
  background: transparent;
  border: none;
  margin: 0;
  border-radius: 0;
}
.woocommerce .tm-cart__side table.shop_table th,
.woocommerce .tm-cart__side table.shop_table td {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--tm-line);
  padding: 12px 2px;
  font-size: .93rem;
}
.woocommerce .tm-cart__side table.shop_table th { color: var(--tm-ink-soft); font-weight: 600; }
.woocommerce .tm-cart__side tr.order-total th,
.woocommerce .tm-cart__side tr.order-total td { border-bottom: none; font-size: 1.1rem; font-weight: 800; padding-top: 16px; }
.woocommerce .tm-cart__side .wc-proceed-to-checkout { padding: 16px 0 0; }
.woocommerce .tm-cart__side .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  padding: 16px;
  margin: 0;
  border-radius: 10px;
}
.woocommerce .tm-cart__side .shipping-calculator-button { font-size: .86rem; }
.woocommerce .cross-sells { margin-top: 54px; }
.woocommerce .cross-sells > h2 { font-size: 1.4rem; margin-bottom: 20px; }

@media (max-width: 980px) {
  .tm-cart { grid-template-columns: 1fr; gap: 28px; }
  .tm-cart__side { position: static; }
}
@media (max-width: 700px) {
  .tm-cart__head { display: none; }
  .tm-citem {
    grid-template-columns: 74px 1fr 34px;
    grid-template-areas: "media info remove" "media qty total";
    row-gap: 12px;
    column-gap: 14px;
    align-items: start;
  }
  .tm-citem__media { grid-area: media; }
  .tm-citem__media img { width: 74px; height: 74px; }
  .tm-citem__info { grid-area: info; }
  .tm-citem__qty { grid-area: qty; justify-content: flex-start; }
  .tm-citem__total { grid-area: total; text-align: right; align-self: center; }
  .tm-citem__remove { grid-area: remove; }
  .tm-cart__coupon { min-width: 100%; }
  .woocommerce button.tm-cart__update { width: 100%; }
}

/* ============================================================
   v1.6 — Checkout fixes (white column, no stuck loader)
   ============================================================ */
.woocommerce-checkout .blockUI.blockOverlay {
  background: rgba(255,255,255,.55) !important;
  opacity: 1 !important;
}
.woocommerce-checkout .blockUI.blockOverlay::before {
  width: 26px; height: 26px;
  border: 2.5px solid var(--tm-line);
  border-top-color: var(--tm-accent);
  border-radius: 50%;
  background: none !important;
  animation: tmSpin .7s linear infinite;
  margin: -13px 0 0 -13px;
}
@keyframes tmSpin { to { transform: rotate(360deg); } }
.tm-checkout__main {
  background: #fff !important;
  position: relative;
  z-index: 1;
}
.tm-checkout__side { position: relative; z-index: 0; }

@media (max-width: 900px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) { background: var(--tm-bg-soft); }
  .tm-checkout__main { padding: 26px 0 44px !important; }
  .tm-checkout__side {
    padding: 22px 0 26px;
    margin-bottom: 0;
    border-bottom: 1px solid #e3e5e4;
  }
  .tm-checkout-header__inner { min-height: 56px; }
}

/* ============================================================
   v1.6 — Premium homepage (slider template)
   ============================================================ */
.tmS-eyebrow {
  display: inline-block;
  font-family: var(--tm-font);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--tm-accent);
  margin-bottom: 10px;
}
.tmS-eyebrow--light { color: var(--tm-gold); }

/* ---- Hero slider ---- */
.tmS-hero {
  position: relative;
  height: min(86vh, 760px);
  min-height: 480px;
  overflow: hidden;
  background: var(--tm-ink);
}
.tmS-hero__slides { position: absolute; inset: 0; }
.tmS-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.tmS-slide.is-active { opacity: 1; visibility: visible; }
.tmS-slide__bg { position: absolute; inset: 0; }
.tmS-slide__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 9s ease-out;
}
.tmS-slide.is-active .tmS-slide__bg img { transform: scale(1); }
.tmS-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,14,17,.86) 0%, rgba(9,14,17,.6) 45%, rgba(9,14,17,.15) 100%),
    linear-gradient(0deg, rgba(9,14,17,.5), transparent 55%);
}
.tmS-slide__inner { position: relative; z-index: 2; width: 100%; }
.tmS-slide__text { max-width: 620px; color: #fff; }
.tmS-slide.is-active .tmS-slide__text > * { animation: tmSlideIn .8s cubic-bezier(.2,.8,.3,1) both; }
.tmS-slide.is-active .tmS-slide__text > *:nth-child(2) { animation-delay: .1s; }
.tmS-slide.is-active .tmS-slide__text > *:nth-child(3) { animation-delay: .2s; }
.tmS-slide.is-active .tmS-slide__text > *:nth-child(4) { animation-delay: .3s; }
@keyframes tmSlideIn { from { opacity: 0; transform: translateY(24px); } }
.tmS-kick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--tm-font);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--tm-gold);
  margin-bottom: 18px;
}
.tmS-kick::before { content: ""; width: 34px; height: 1.5px; background: var(--tm-gold); }
.tmS-h {
  font-family: var(--tm-display);
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}
.tmS-sub {
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  max-width: 46ch;
  margin-bottom: 30px;
}
.tmS-btn { padding: 15px 34px; font-size: 1rem; border-radius: 999px; }
.tmS-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.tmS-arrow:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.tmS-arrow svg { width: 22px; height: 22px; }
.tmS-arrow--prev { left: 24px; }
.tmS-arrow--next { right: 24px; }
.tmS-dots {
  position: absolute;
  left: 0; right: 0; bottom: 30px;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.tmS-dot {
  width: 42px; height: 4px;
  padding: 10px 0;
  border: none;
  background: none;
  cursor: pointer;
  display: block;
}
.tmS-dot i {
  display: block;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.4);
  transition: background .25s;
}
.tmS-dot.is-active i { background: var(--tm-gold); }
@media (max-width: 900px) {
  .tmS-hero { height: auto; min-height: 0; }
  .tmS-slide { position: relative; display: none; }
  .tmS-slide.is-active { display: flex; }
  .tmS-hero__slides { position: relative; }
  .tmS-slide__inner { padding-top: 90px; padding-bottom: 110px; }
  .tmS-slide__bg { position: absolute; }
  .tmS-arrow { display: none; }
  .tmS-dots { bottom: 22px; }
}

/* ---- Trust strip ---- */
.tmS-trust { background: var(--tm-ink); color: #fff; }
.tmS-trust__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 18px 20px;
}
.tmS-trust__inner > div { display: flex; align-items: center; justify-content: center; gap: 10px; }
.tmS-trust svg { width: 21px; height: 21px; color: var(--tm-gold); flex: none; }
.tmS-trust span { font-size: .84rem; font-weight: 600; }
@media (max-width: 860px) {
  .tmS-trust__inner { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .tmS-trust span { font-size: .76rem; }
}

/* ---- Sections ---- */
.tmS-section { padding: 78px 0; }
.tmS-section--soft { background: var(--tm-bg-soft); }
.tmS-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.tmS-head--center { justify-content: center; text-align: center; margin-bottom: 44px; }
.tmS-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -.025em;
  margin: 0;
}
.tmS-more {
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  border-bottom: 2px solid var(--tm-gold);
  padding-bottom: 3px;
  color: var(--tm-ink);
}
.tmS-more:hover { color: var(--tm-accent); border-color: var(--tm-accent); }

/* ---- Category showcase ---- */
.tmS-cats {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}
.tmS-cat {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  background: var(--tm-bg-soft);
  isolation: isolate;
}
.tmS-cat--big { grid-row: span 1; min-height: 430px; }
.tmS-cat img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .7s cubic-bezier(.2,.8,.3,1);
}
.tmS-cat:hover img { transform: scale(1.07); }
.tmS-cat__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(9,14,17,.82) 0%, rgba(9,14,17,.25) 50%, transparent 100%);
}
.tmS-cat__body { padding: 26px 26px 24px; color: #fff; width: 100%; }
.tmS-cat__name {
  display: block;
  font-family: var(--tm-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: 3px;
}
.tmS-cat--big .tmS-cat__name { font-size: 1.85rem; }
.tmS-cat__count { display: block; font-size: .82rem; color: rgba(255,255,255,.7); margin-bottom: 12px; }
.tmS-cat__go {
  display: inline-block;
  font-size: .84rem;
  font-weight: 700;
  color: var(--tm-gold);
  transform: translateX(0);
  transition: transform .2s;
}
.tmS-cat:hover .tmS-cat__go { transform: translateX(5px); }
@media (max-width: 900px) {
  .tmS-cats { grid-template-columns: 1fr 1fr; }
  .tmS-cat--big { grid-column: 1 / -1; min-height: 300px; }
  .tmS-cat { min-height: 240px; }
}
@media (max-width: 560px) { .tmS-cats { grid-template-columns: 1fr; } }

/* ---- Split promo ---- */
.tmS-promo { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.tmS-promo__media { position: relative; min-height: 460px; background: var(--tm-bg-soft); }
.tmS-promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tmS-promo__body {
  background: linear-gradient(140deg, var(--tm-accent) 0%, #0a4a3e 100%);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 60px clamp(24px, 5vw, 70px);
}
.tmS-promo__inner { max-width: 480px; }
.tmS-promo__body h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.tmS-promo__body p { color: rgba(255,255,255,.8); margin-bottom: 20px; }
.tmS-promo__meta { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.tmS-promo__price { font-size: 1.5rem; font-weight: 800; }
.tmS-promo__price del { opacity: .55; font-weight: 500; font-size: 1.1rem; }
.tmS-promo__price ins { text-decoration: none; color: var(--tm-gold); }
.tmS-promo__rating .star-rating { color: var(--tm-gold); }
@media (max-width: 900px) {
  .tmS-promo { grid-template-columns: 1fr; }
  .tmS-promo__media { min-height: 300px; }
  .tmS-promo__body { padding: 42px 20px; }
}

/* ---- Steps ---- */
.tmS-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.tmS-steps li {
  background: #fff;
  border: 1px solid var(--tm-line);
  border-radius: var(--tm-radius-lg);
  padding: 30px 28px;
}
.tmS-steps__n {
  display: block;
  font-family: var(--tm-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--tm-gold);
  line-height: 1;
  margin-bottom: 14px;
}
.tmS-steps h3 { font-size: 1.12rem; margin-bottom: 7px; }
.tmS-steps p { color: var(--tm-ink-soft); font-size: .94rem; margin: 0; }
@media (max-width: 860px) { .tmS-steps { grid-template-columns: 1fr; gap: 16px; } }

/* ---- Testimonials ---- */
.tmS-quotes { background: var(--tm-ink); color: #fff; padding: 78px 0; text-align: center; }
.tmS-quote-track { position: relative; min-height: 200px; margin-top: 10px; }
.tmS-quote {
  position: absolute;
  inset: 0;
  margin: 0;
  max-width: 780px;
  margin-inline: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease, visibility .5s;
}
.tmS-quote.is-active { opacity: 1; visibility: visible; transform: translateY(0); }
.tmS-stars { color: var(--tm-gold); letter-spacing: .18em; margin-bottom: 18px; }
.tmS-quote p {
  font-family: var(--tm-display);
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.42;
  font-weight: 500;
  margin-bottom: 20px;
}
.tmS-quote cite {
  font-style: normal;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.tmS-qdots { display: flex; justify-content: center; gap: 9px; margin-top: 10px; }
.tmS-qdot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  padding: 0;
}
.tmS-qdot.is-active { background: var(--tm-gold); }
@media (max-width: 700px) { .tmS-quote-track { min-height: 260px; } }

/* ---- Closing CTA ---- */
.tmS-cta {
  background: linear-gradient(135deg, var(--tm-accent) 0%, #0a4a3e 100%);
  color: #fff;
  padding: 68px 0;
}
.tmS-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.tmS-cta h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  margin: 0 0 8px;
  max-width: 22ch;
}
.tmS-cta p { color: rgba(255,255,255,.78); margin: 0; max-width: 50ch; }
@media (max-width: 700px) { .tmS-cta__inner { flex-direction: column; align-items: flex-start; } }

/* ============================================================
   v1.6 — Shared placeholder + about/contact bridges
   ============================================================ */
.tmS-ph {
  width: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--tm-accent), #0a4a3e);
  color: rgba(255,255,255,.5);
  font-size: 3rem;
  border-radius: var(--tm-radius-lg);
}
.tmA-story__media .tmS-ph { aspect-ratio: 4/5; min-height: 0; }
.tmS-head h2 { font-family: var(--tm-display); }
.tmA-hero .tmS-eyebrow { margin-bottom: 14px; }

/* ============================================================
   v1.7 — Checkout full-bleed done safely (no overlay bug)
   ============================================================ */
.tm-checkout__main { background: transparent !important; z-index: auto; }
.tm-checkout__side {
  background: transparent;
  position: relative;
  z-index: auto;
}
.tm-checkout__side::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 100vw;
  background: var(--tm-bg-soft);
  border-left: 1px solid #e3e5e4;
  z-index: -1;
}
.tm-checkout__sidein { position: sticky; top: 30px; z-index: 1; }

@media (max-width: 900px) {
  body.woocommerce-checkout:not(.woocommerce-order-received) { background: #fff; }
  .tm-checkout__side::before {
    left: 50%;
    transform: translateX(-50%);
    border-left: none;
    border-bottom: 1px solid #e3e5e4;
  }
  .tm-checkout__side { border-bottom: none; padding: 24px 0 26px; }
  .tm-checkout__main { padding: 26px 0 44px !important; }
}

/* ============================================================
   v1.7 — Home hero buttons: no text wrapping
   ============================================================ */
.tm-hero__cta { gap: 10px; }
.tm-hero__cta .tm-btn { white-space: nowrap; }
@media (max-width: 560px) {
  .tm-hero__cta .tm-btn { flex: 0 1 auto; padding: 13px 20px; font-size: .92rem; }
}
.tmS-btn { white-space: nowrap; }

/* ============================================================
   v1.7 — Product page: modern gallery + airy summary
   ============================================================ */
/* Gallery: vertical thumbnail rail on desktop */
.tm-single__media .woocommerce-product-gallery {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
}
.tm-single__media .woocommerce-product-gallery > .flex-viewport,
.tm-single__media .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
  border-radius: var(--tm-radius-lg);
  overflow: hidden;
  border: 1px solid var(--tm-line);
  background: var(--tm-bg-soft);
}
.tm-single__media ol.flex-control-thumbs {
  flex: 0 0 88px;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.tm-single__media ol.flex-control-thumbs li { margin: 0 !important; width: 100% !important; float: none !important; }
.tm-single__media ol.flex-control-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid var(--tm-line);
  opacity: .78;
  cursor: pointer;
  transition: opacity .18s, border-color .18s, transform .18s;
}
.tm-single__media ol.flex-control-thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.tm-single__media ol.flex-control-thumbs img.flex-active {
  opacity: 1;
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 2px rgba(11,110,92,.16);
}
.tm-single__media .woocommerce-product-gallery__trigger {
  top: 14px;
  right: 14px;
  z-index: 6;
  background: rgba(255,255,255,.95) !important;
  border-radius: 999px;
  width: 40px; height: 40px;
  box-shadow: 0 2px 10px rgba(16,20,24,.12);
}
@media (max-width: 900px) {
  .tm-single__media .woocommerce-product-gallery { flex-direction: column; gap: 14px; }
  .tm-single__media ol.flex-control-thumbs {
    flex: none;
    width: 100%;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px !important;
  }
}

/* Summary: open, airy, editorial — not a boxed card */
.single-product div.product div.summary,
.tm-single__grid > .summary {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 4px 0 0 8px !important;
  top: 100px;
}
.tm-single__grid > .summary .tm-eyebrow-cat {
  display: inline-block;
  font-family: var(--tm-font);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--tm-accent);
  margin-bottom: 10px;
}
.single-product div.product .product_title {
  font-family: var(--tm-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin-bottom: 12px;
}
.single-product div.product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px !important;
}
.single-product div.product .woocommerce-product-rating .star-rating { color: var(--tm-gold); margin: 0; float: none; }
.single-product div.product .woocommerce-review-link { color: var(--tm-ink-soft); font-size: .85rem; }
.single-product div.product p.price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 4px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--tm-line);
}
.single-product div.product p.price del { font-size: 1.15rem; font-weight: 500; opacity: .55; }
.single-product div.product p.price ins { text-decoration: none; color: var(--tm-accent); }
.single-product div.product .woocommerce-product-details__short-description {
  border-top: none;
  padding-top: 16px;
  margin-top: 0;
  font-size: .96rem;
  line-height: 1.65;
}
.single-product div.product form.cart {
  border-top: 1px solid var(--tm-line);
  padding-top: 22px;
  margin: 20px 0 0;
  gap: 10px;
}
.single-product div.product form.cart .quantity { height: 54px; border-radius: 14px; }
.single-product .single_add_to_cart_button {
  min-height: 54px;
  border-radius: 14px;
  font-size: 1rem;
  letter-spacing: .01em;
}
.tm-buynow {
  min-height: 54px;
  border-radius: 14px;
  background: var(--tm-ink) !important;
  letter-spacing: .01em;
}
.tm-trust {
  gap: 8px;
  margin-top: 22px;
  padding-top: 20px;
}
.tm-trust__item { background: transparent; border: 1px solid var(--tm-line); border-radius: 14px; padding: 14px 8px; }
.tm-single__grid > .summary .product_meta {
  border-top: 1px solid var(--tm-line);
  padding-top: 16px;
  margin-top: 20px;
}
.tm-single__grid > .summary .product_meta a { color: var(--tm-ink); font-weight: 600; }
.tm-single__grid { gap: 56px; }
@media (max-width: 900px) {
  .tm-single__grid { gap: 24px; }
  .single-product div.product div.summary,
  .tm-single__grid > .summary { padding: 0 !important; }
}

/* Accordion: give it room and a section title */
.tm-single__extras { margin-top: 64px; }
.tm-acc { border-top: 2px solid var(--tm-ink); }
.tm-acc__head { padding: 22px 4px; font-size: 1.05rem; }

/* ============================================================
   v2.1 — Meson-inspired premium single-product refinement
   ============================================================ */
body.single-product .tm-page {
  padding-top: 28px;
}
.single-product .tm-container {
  max-width: 1440px;
}
.single-product div.product.tm-single {
  overflow: visible;
}
.tm-single__grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: start;
  overflow: visible;
}

/* Sticky gallery — the media column stays visible while the purchase panel scrolls. */
.tm-single__media {
  position: sticky;
  top: 104px;
  align-self: start;
  min-width: 0;
  z-index: 2;
}
.tm-single__grid > .summary,
.single-product div.product div.summary {
  position: static !important;
  top: auto !important;
  align-self: start;
  padding: 0 !important;
}

/* Gallery refinement. */
.tm-single__media .woocommerce-product-gallery {
  gap: 18px;
}
.tm-single__media .woocommerce-product-gallery > .flex-viewport,
.tm-single__media .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
  border: 0;
  border-radius: 2px;
  background: #f7f7f5;
}
.tm-single__media .woocommerce-product-gallery__image img,
.tm-single__media .woocommerce-product-gallery__image a img {
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #f7f7f5;
}
.tm-single__media ol.flex-control-thumbs {
  flex-basis: 78px;
  gap: 12px !important;
}
.tm-single__media ol.flex-control-thumbs img {
  border-radius: 2px;
  border: 1px solid #e5e5e2;
  background: #f7f7f5;
  opacity: 1;
  object-fit: contain;
  padding: 3px;
  transform: none !important;
}
.tm-single__media ol.flex-control-thumbs img.flex-active {
  border-color: #111;
  box-shadow: none;
}
.tm-single__media .woocommerce-product-gallery__trigger {
  border: 1px solid rgba(17,17,17,.1);
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

/* Premium, restrained summary typography. */
.single-product div.product .product_title {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.07;
  letter-spacing: -.045em;
  font-weight: 500;
  margin: 0 0 18px;
}
.single-product div.product .woocommerce-product-rating {
  margin-bottom: 20px !important;
}
.single-product div.product p.price {
  font-size: clamp(1.75rem, 2.2vw, 2.35rem);
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 18px;
}
.single-product div.product .woocommerce-product-details__short-description {
  color: #5c5c5c;
  line-height: 1.75;
  font-size: 1rem;
  padding-top: 0;
  margin-bottom: 26px;
}
.single-product div.product form.cart {
  border-top: 1px solid #e6e6e3;
  padding-top: 26px;
}
.tm-trust__item {
  border-radius: 2px;
  background: #fff;
}

/* Full-width product information area. */
.tm-single__extras {
  clear: both;
  width: 100%;
  margin-top: clamp(72px, 8vw, 126px);
}
.single-product .woocommerce-tabs {
  margin: 0;
  border-top: 0;
}
.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  align-items: flex-end;
  gap: clamp(28px, 3.5vw, 62px);
  overflow-x: auto;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid #dededb;
  list-style: none;
  scrollbar-width: none;
}
.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.single-product .woocommerce-tabs ul.tabs::before,
.single-product .woocommerce-tabs ul.tabs::after,
.single-product .woocommerce-tabs ul.tabs li::before,
.single-product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}
.single-product .woocommerce-tabs ul.tabs li {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.single-product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0 0 17px !important;
  color: #999 !important;
  font-family: var(--tm-display);
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.15;
  font-weight: 400 !important;
  white-space: nowrap;
  text-transform: capitalize;
  border-bottom: 3px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.single-product .woocommerce-tabs ul.tabs li:hover a {
  color: #333 !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a {
  color: #222 !important;
  border-bottom-color: #111;
}
.single-product .woocommerce-tabs .panel {
  max-width: none;
  margin: 0 !important;
  padding: clamp(38px, 4.6vw, 68px) 0 10px !important;
  color: #292929;
  font-size: clamp(1rem, 1.25vw, 1.23rem);
  line-height: 1.72;
}
.single-product .woocommerce-tabs .panel > * {
  max-width: 1180px;
}
.single-product .woocommerce-tabs .panel p {
  margin: 0 0 1.15em;
}
.single-product .woocommerce-tabs .panel h2,
.single-product .woocommerce-tabs .panel h3 {
  font-family: var(--tm-display);
  font-weight: 500;
  letter-spacing: -.02em;
}
.single-product .woocommerce-tabs table.shop_attributes {
  max-width: 900px;
  border: 0;
}
.single-product .woocommerce-tabs table.shop_attributes th,
.single-product .woocommerce-tabs table.shop_attributes td {
  border: 0;
  border-bottom: 1px solid #ececea;
  background: transparent !important;
  padding: 15px 0;
  font-style: normal;
  text-align: left;
}
.single-product .woocommerce-tabs table.shop_attributes th {
  width: 285px;
  padding-right: 36px;
  font-weight: 500;
}
.tm-tab-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 70px;
  max-width: 1000px !important;
}
.tm-tab-copy__section h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.single-product .related.products,
.single-product .up-sells {
  margin-top: 78px;
  padding-top: 60px;
  border-top: 1px solid #e6e6e3;
}

@media (max-width: 1024px) {
  .tm-single__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .88fr);
    gap: 34px;
  }
  .tm-single__media { top: 88px; }
}
@media (max-width: 900px) {
  .tm-single__grid { grid-template-columns: 1fr; }
  .tm-single__media { position: static; top: auto; }
  .tm-single__media .woocommerce-product-gallery { flex-direction: column; }
  .tm-single__media ol.flex-control-thumbs {
    display: flex !important;
    width: 100%;
    overflow-x: auto;
  }
  .tm-single__media ol.flex-control-thumbs li { min-width: 72px; }
  .tm-single__extras { margin-top: 56px; }
  .single-product .woocommerce-tabs ul.tabs { gap: 28px; }
  .single-product .woocommerce-tabs ul.tabs li a { font-size: 1.15rem; padding-bottom: 14px !important; }
  .tm-tab-copy { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  body.single-product .tm-page { padding-top: 16px; }
  .single-product div.product .product_title { font-size: 1.85rem; }
  .single-product .woocommerce-tabs .panel { padding-top: 30px !important; font-size: .98rem; }
  .single-product .woocommerce-tabs table.shop_attributes th { width: 42%; padding-right: 16px; }
}

/* ============================================================
   v2.2 — Approved product-page polish
   ============================================================ */
body.single-product .tm-page { padding-top: 12px; }
.single-product .woocommerce-breadcrumb {
  margin: 0 0 26px !important;
  padding: 0 !important;
  font-size: .82rem;
  line-height: 1.45;
}
.single-product .tm-single__grid { margin-top: 0; }
.single-product div.product .product_title {
  font-size: clamp(1.65rem, 2.15vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.single-product div.product .product_meta { display: none !important; }

/* Keep the complete gallery column sticky on desktop. */
@media (min-width: 901px) {
  .tm-single__media {
    position: sticky !important;
    top: 92px !important;
    align-self: start !important;
  }
}

/* Product video appears as part of the gallery thumbnail rail. */
.tm-gallery-video-trigger {
  flex: 0 0 78px;
  width: 78px;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px 0 0;
  padding: 8px;
  border: 1px solid #e5e5e2;
  border-radius: 3px;
  background: #f7f7f5;
  color: #111;
  font: inherit;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
}
.tm-gallery-video-trigger:hover { border-color: var(--tm-accent); }
.tm-gallery-video-trigger__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding-left: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  font-size: .82rem;
}
.tm-video-modal { position: fixed; inset: 0; z-index: 99999; display: none; }
.tm-video-modal.is-open { display: block; }
.tm-video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.76); }
.tm-video-modal__dialog {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(920px, calc(100vw - 40px));
  transform: translate(-50%, -50%);
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.tm-video-modal__media { aspect-ratio: 16 / 9; }
.tm-video-modal__media iframe,
.tm-video-modal__media video { width: 100%; height: 100%; border: 0; display: block; }
.tm-video-modal__close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Neater, smaller editorial tabs. */
.single-product .woocommerce-tabs ul.tabs { gap: clamp(24px, 3vw, 48px); }
.single-product .woocommerce-tabs ul.tabs li a {
  font-family: var(--tm-font);
  font-size: clamp(.92rem, 1.15vw, 1.08rem);
  font-weight: 500 !important;
  padding-bottom: 13px !important;
  border-bottom-width: 2px;
}
.single-product .woocommerce-tabs .panel {
  padding-top: clamp(28px, 3.2vw, 44px) !important;
  font-size: clamp(.94rem, 1vw, 1.05rem);
}

/* Clean, stable 404 layout. */
.error404 .tm-page { padding: clamp(54px, 8vw, 110px) 0; }
.error404 .tm-404 {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 68px) 24px;
  text-align: center;
}
.error404 .tm-404__mark { justify-content: center; }
.error404 .tm-404__num { font-size: clamp(4rem, 10vw, 8rem); line-height: .9; }
.error404 .tm-404 h1 { max-width: 620px; margin: 22px auto 12px; }
.error404 .tm-404__sub { max-width: 590px; margin: 0 auto 28px; }
.error404 .tm-404__search { max-width: 570px; margin: 0 auto 18px; }
.error404 .tm-404__actions { justify-content: center; }
.error404 .tm-section { margin-top: clamp(48px, 7vw, 90px); }

@media (max-width: 900px) {
  body.single-product .tm-page { padding-top: 8px; }
  .single-product .woocommerce-breadcrumb { margin-bottom: 18px !important; font-size: .76rem; }
  .tm-single__media .woocommerce-product-gallery { gap: 10px; }
  .tm-single__media ol.flex-control-thumbs {
    display: flex !important;
    width: calc(100vw - 32px);
    max-width: 100%;
    gap: 10px !important;
    padding: 0 2px 6px !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .tm-single__media ol.flex-control-thumbs::-webkit-scrollbar { display: none; }
  .tm-single__media ol.flex-control-thumbs li {
    flex: 0 0 68px !important;
    width: 68px !important;
    min-width: 68px !important;
    scroll-snap-align: start;
  }
  .tm-single__media ol.flex-control-thumbs img { width: 68px; height: 68px; }
  .tm-gallery-video-trigger {
    flex: 0 0 68px;
    width: 68px;
    min-height: 68px;
    margin: 0;
    align-self: flex-start;
  }
  .single-product .woocommerce-tabs ul.tabs {
    width: 100%;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .single-product .woocommerce-tabs ul.tabs li { scroll-snap-align: start; }
  .single-product .woocommerce-tabs ul.tabs li a {
    font-size: .84rem;
    padding-bottom: 11px !important;
  }
}
@media (max-width: 560px) {
  .single-product div.product .product_title { font-size: 1.55rem; line-height: 1.16; }
  .single-product .woocommerce-tabs ul.tabs { gap: 20px; }
  .single-product .woocommerce-tabs ul.tabs li a { font-size: .78rem; }
  .single-product .woocommerce-tabs .panel { padding-top: 24px !important; font-size: .92rem; }
  .tm-video-modal__dialog { width: calc(100vw - 20px); }
  .error404 .tm-404__search { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .error404 .tm-404__actions { display: grid; grid-template-columns: 1fr; }
}
.tm-single__media ol.flex-control-thumbs li.tm-gallery-video-item { width: 100% !important; margin: 0 !important; }
.tm-single__media ol.flex-control-thumbs li.tm-gallery-video-item .tm-gallery-video-trigger { width: 100%; margin: 0; }
@media (max-width: 900px) {
  .tm-single__media ol.flex-control-thumbs li.tm-gallery-video-item { flex: 0 0 68px !important; width: 68px !important; min-width: 68px !important; }
}

/* ==============================================================
   v2.3 — Premium 404 and reliable gallery video thumbnail
   ============================================================ */
.tm-single__media > .tm-gallery-video-trigger {
  display: flex;
  margin: 12px 0 0 0;
}
.tm-gallery-video-trigger {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  background: linear-gradient(145deg, #111820, #25313b);
  color: #fff;
  border: 1px solid rgba(0,0,0,.08);
}
.tm-gallery-video-trigger__preview {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #111;
  box-shadow: 0 7px 24px rgba(0,0,0,.22);
}
.tm-gallery-video-trigger__label { font-size: .68rem; line-height: 1; }
.tm-gallery-video-trigger:hover { transform: translateY(-1px); border-color: var(--tm-accent); }
.tm-gallery-video-item .tm-gallery-video-trigger { height: 100%; }

.tm-404-page {
  padding: clamp(34px, 5vw, 76px) 0 clamp(64px, 8vw, 112px) !important;
  background:
    radial-gradient(circle at 92% 10%, rgba(11,110,92,.09), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fbfcfb 100%);
}
.error404 .tm-404 {
  max-width: none;
  min-height: 520px;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  overflow: hidden;
  text-align: left;
  border: 1px solid #e7eae7;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(18,30,24,.08);
}
.tm-404__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 88px);
}
.tm-404__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 22px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #eaf5f0;
  color: var(--tm-accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.error404 .tm-404 h1 {
  max-width: 680px;
  margin: 0 0 18px;
  font-size: clamp(2.45rem, 4.8vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.error404 .tm-404__sub {
  max-width: 610px;
  margin: 0 0 30px;
  color: #5c6460;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.75;
}
.error404 .tm-404__search {
  width: min(100%, 590px);
  max-width: none;
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  padding: 7px;
  border: 1px solid #dfe5e1;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18,30,24,.06);
}
.error404 .tm-404__search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}
.error404 .tm-404__search .tm-btn { min-width: 118px; border-radius: 10px; }
.error404 .tm-404__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
}
.tm-404__home {
  color: #131814;
  font-weight: 700;
  text-decoration: none;
}
.tm-404__home span { display: inline-block; transition: transform .2s ease; }
.tm-404__home:hover span { transform: translateX(4px); }
.tm-404__visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.04), rgba(255,255,255,0)),
    linear-gradient(145deg, #072f27 0%, #0b6e5c 58%, #109271 100%);
}
.tm-404__code {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #fff;
  font-size: clamp(7rem, 15vw, 14rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: 1;
  text-shadow: 0 16px 45px rgba(0,0,0,.17);
}
.tm-404__orb,
.tm-404__diamond { position: absolute; display: block; }
.tm-404__orb { border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.tm-404__orb--one { width: 360px; height: 360px; right: -120px; top: -90px; background: rgba(255,255,255,.08); }
.tm-404__orb--two { width: 220px; height: 220px; left: -70px; bottom: -55px; background: rgba(0,0,0,.07); }
.tm-404__diamond {
  width: 72px;
  height: 72px;
  transform: rotate(45deg);
  border-radius: 14px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}
.tm-404__diamond--one { top: 18%; left: 15%; }
.tm-404__diamond--two { right: 13%; bottom: 18%; width: 44px; height: 44px; }
.tm-404-products { margin-top: clamp(54px, 7vw, 88px); }

@media (max-width: 900px) {
  .error404 .tm-404 { grid-template-columns: 1fr; min-height: 0; }
  .tm-404__content { padding: 46px 30px; }
  .tm-404__visual { min-height: 300px; grid-row: 1; }
  .tm-404__code { font-size: clamp(6.5rem, 27vw, 10rem); }
}
@media (max-width: 560px) {
  .tm-404-page { padding-top: 20px !important; }
  .error404 .tm-404 { border-radius: 20px; }
  .tm-404__visual { min-height: 220px; }
  .tm-404__content { padding: 34px 20px 38px; }
  .error404 .tm-404 h1 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .error404 .tm-404__search { grid-template-columns: 1fr; padding: 6px; }
  .error404 .tm-404__search .tm-btn { width: 100%; }
  .error404 .tm-404__actions { align-items: flex-start; gap: 18px; }
}


/* ============================================================
   v2.4 — Continuous announcement ticker + Add to cart nudge
   ============================================================ */
.tm-announce--ticker {
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: #111827;
  color: #fff;
  border: 0;
}
.tm-announce__viewport {
  width: 100%;
  overflow: hidden;
}
.tm-announce__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: tmAnnouncementMarquee var(--tm-ticker-speed, 24s) linear infinite;
}
.tm-announce__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.tm-announce__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  min-height: 46px;
  padding: 0 54px;
  white-space: nowrap;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .085em;
  line-height: 1;
  text-transform: uppercase;
}
.tm-announce__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #ffd400;
  box-shadow: 0 0 0 1px rgba(255,212,0,.12);
}
.tm-announce__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: #fff;
  opacity: .85;
}
.tm-announce__badge svg { width: 100%; height: 100%; }
@keyframes tmAnnouncementMarquee {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}

/* Applied briefly by JS instead of vibrating continuously. */
.tm-cart-nudge {
  animation: tmCartNudge .62s cubic-bezier(.36,.07,.19,.97) both;
  transform-origin: center;
}
@keyframes tmCartNudge {
  0%,100% { transform: translate3d(0,0,0) rotate(0); }
  18% { transform: translate3d(-2px,0,0) rotate(-.45deg); }
  36% { transform: translate3d(3px,0,0) rotate(.55deg); }
  54% { transform: translate3d(-2px,0,0) rotate(-.35deg); }
  72% { transform: translate3d(1.5px,0,0) rotate(.25deg); }
}
@media (max-width: 767px) {
  .tm-announce__item {
    min-height: 38px;
    padding: 0 30px;
    gap: 18px;
    font-size: .71rem;
    letter-spacing: .07em;
  }
  .tm-announce__dot { width: 6px; height: 6px; flex-basis: 6px; }
  .tm-announce__badge { width: 17px; height: 17px; flex-basis: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-announce__track { animation: none; }
  .tm-cart-nudge { animation: none !important; }
}


/* ============================================================
   v2.5 — Full-width cart, automatic category imagery, mobile footer accordion
   ============================================================ */
body.woocommerce-cart .tm-entry { width: 100%; max-width: none; }
body.woocommerce-cart .tm-entry > h1 { margin-bottom: 30px; }
body.woocommerce-cart .woocommerce { width: 100%; max-width: none; }
body.woocommerce-cart .tm-cart { width: 100%; grid-template-columns: minmax(0, 1.75fr) minmax(310px, .8fr); gap: clamp(30px, 4vw, 64px); }
body.woocommerce-cart .tm-cart__side { min-width: 0; }
.tm-cat > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tm-footer__toggle { appearance: none; -webkit-appearance: none; display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
.tm-footer__chev { display: none; }
.tm-footer__panel { display: block; }
@media (max-width: 980px) { body.woocommerce-cart .tm-cart { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 700px) { body.woocommerce-cart .tm-page { padding-top: 28px; } body.woocommerce-cart .tm-entry > h1 { margin-bottom: 22px; } body.woocommerce-cart .tm-cart { width: 100%; } }
@media (max-width: 560px) {
  .tm-footer { margin-top: 44px; }
  .tm-footer__grid { display: block; padding: 34px 0 22px; }
  .tm-footer__about { padding-bottom: 24px; }
  .tm-footer__about p { margin-bottom: 0; }
  .tm-footer__accordion { border-top: 1px solid var(--tm-line); }
  .tm-footer__accordion:last-child { border-bottom: 1px solid var(--tm-line); }
  .tm-footer__accordion h4 { margin: 0; }
  .tm-footer__toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 58px; cursor: pointer; color: var(--tm-ink); font-size: .78rem; font-weight: 800; }
  .tm-footer__chev { position: relative; display: block; width: 18px; height: 18px; flex: 0 0 18px; }
  .tm-footer__chev::before, .tm-footer__chev::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); transition: transform .2s ease, opacity .2s ease; }
  .tm-footer__chev::after { transform: translate(-50%, -50%) rotate(90deg); }
  .tm-footer__toggle[aria-expanded="true"] .tm-footer__chev::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
  .tm-footer__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
  .tm-footer__panel > * { overflow: hidden; }
  .tm-footer__accordion.is-open .tm-footer__panel { grid-template-rows: 1fr; padding-bottom: 18px; }
  .tm-footer__accordion .tm-footer__panel ul { padding: 0 0 2px; }
  .tm-footer__accordion .tm-footer__panel li { margin-bottom: 12px; }
  .tm-footer__accordion .tm-footer__panel a { font-size: .96rem; }
  .tm-footer__bottom { padding-top: 18px; display: grid; gap: 8px; }
}


/* ============================================================
   v2.6 — Full banner slider + mobile filter drawer controls
   ============================================================ */
.tm-filters__head-actions { display:flex; align-items:center; gap:12px; }
.tm-filters__close {
  display:none; width:38px; height:38px; padding:0; border:1px solid var(--tm-line);
  border-radius:50%; background:#fff; color:var(--tm-ink); font-size:28px; line-height:1;
  align-items:center; justify-content:center; cursor:pointer;
}
.tm-filters-overlay { display:none; }

@media (max-width:900px) {
  .tm-filters { z-index: 362; padding-top:16px; }
  .tm-filters__close { display:inline-flex; }
  .tm-filters-overlay {
    display:block; position:fixed; inset:0; z-index:361; background:rgba(10,14,18,.48);
    backdrop-filter:blur(2px); opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .25s ease, visibility .25s ease;
  }
  .tm-filters-overlay.is-open { opacity:1; visibility:visible; pointer-events:auto; }
  body.tm-filter-open { overflow:hidden; touch-action:none; }
}

/* Full-banner mode keeps artwork itself as the hero, with separate mobile artwork support. */
.tmS-hero.tmS-hero--banner {
  height:auto; min-height:0; background:#0f1317;
}
.tmS-hero--banner .tmS-hero__slides { position:relative; }
.tmS-hero--banner .tmS-slide {
  position:absolute; inset:0; display:block; opacity:0; visibility:hidden;
}
.tmS-hero--banner .tmS-slide.is-active { position:relative; opacity:1; visibility:visible; }
.tmS-hero--banner .tmS-slide__bg { position:relative; inset:auto; }
.tmS-hero--banner .tmS-slide__bg::after { display:none; }
.tmS-hero--banner .tmS-slide__bg picture,
.tmS-hero--banner .tmS-slide__bg a { display:block; }
.tmS-hero--banner .tmS-slide__bg img {
  display:block; width:100%; height:auto; max-height:none; object-fit:contain; transform:none !important;
}
.tmS-hero--banner .tmS-slide__inner { display:none; }
.tmS-hero--banner .tmS-arrow { width:44px; height:44px; background:rgba(15,19,23,.35); }
.tmS-hero--banner .tmS-dots { bottom:18px; }
@media (max-width:900px) {
  .tmS-hero--banner .tmS-slide { display:none; }
  .tmS-hero--banner .tmS-slide.is-active { display:block; }
  .tmS-hero--banner .tmS-slide__bg img { width:100%; height:auto; object-fit:contain; }
  .tmS-hero--banner .tmS-dots { bottom:12px; }
}


/* ============================================================
   v2.8 — Mobile shop cleanup, infinite scroll, product accordions
   ============================================================ */
.tm-infinite-wrap {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 0 8px;
  color: var(--tm-ink-soft);
  font-size: .9rem;
}
.tm-infinite-status { display: inline-flex; align-items: center; gap: 10px; }
.tm-infinite-status[hidden], .tm-infinite-end[hidden] { display: none !important; }
.tm-infinite-spinner {
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--tm-line); border-top-color: var(--tm-accent);
  animation: tmInfiniteSpin .7s linear infinite;
}
@keyframes tmInfiniteSpin { to { transform: rotate(360deg); } }

.tm-product-accordions {
  margin-top: 26px;
  border-top: 1px solid #d9ddda;
}
.tm-product-accordion { border-bottom: 1px solid #d9ddda; }
.tm-product-accordion__toggle {
  width: 100%; min-height: 66px; padding: 18px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 0; background: transparent; color: var(--tm-ink);
  font: 500 1rem/1.35 var(--tm-font); text-align: left; cursor: pointer;
}
.tm-product-accordion__icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.tm-product-accordion__icon::before,
.tm-product-accordion__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 15px; height: 1.5px; background: currentColor; transform: translate(-50%,-50%);
  transition: transform .2s ease, opacity .2s ease;
}
.tm-product-accordion__icon::after { transform: translate(-50%,-50%) rotate(90deg); }
.tm-product-accordion__toggle[aria-expanded="true"] .tm-product-accordion__icon::after { opacity: 0; transform: translate(-50%,-50%) rotate(0); }
.tm-product-accordion__panel { overflow: hidden; }
.tm-product-accordion__content { padding: 0 0 22px; color: var(--tm-ink-soft); font-size: .94rem; line-height: 1.7; }
.tm-product-accordion__content > *:last-child { margin-bottom: 0; }
.tm-product-accordion__content table.shop_attributes { width: 100%; margin: 0; border: 0; }
.tm-product-accordion__content table.shop_attributes th,
.tm-product-accordion__content table.shop_attributes td { border: 0; border-bottom: 1px solid #eceeec; padding: 10px 0; background: transparent !important; text-align: left; font-style: normal; }
.tm-product-accordion__content table.shop_attributes th { width: 42%; padding-right: 16px; font-weight: 600; color: var(--tm-ink); }

/* Native product tabs are intentionally disabled in v2.8. */
.single-product .tm-single__extras > .woocommerce-tabs { display: none !important; }
.single-product .tm-single__extras { margin-top: 46px; }

@media (max-width: 900px) {
  /* Keep mobile product cards clean: no add-to-cart overlay on product images. */
  .tm-cardp__hovercart { display: none !important; }
  .tm-qv-btn { width: 34px; height: 34px; max-width: 34px; padding: 0; justify-content: center; }
  .tm-qv-btn svg { width: 17px; height: 17px; }
}

@media (max-width: 700px) {
  body.woocommerce-shop .tm-page,
  body.post-type-archive-product .tm-page,
  body.tax-product_cat .tm-page,
  body.tax-product_tag .tm-page { padding-top: 8px; }

  .tm-pagehead { padding: 0 0 12px; margin-bottom: 10px; }
  .tm-pagehead__crumb { margin-bottom: 5px; }
  .tm-pagehead .woocommerce-breadcrumb { font-size: .78rem; line-height: 1.35; }
  .tm-pagehead__title { font-size: 2rem; margin-bottom: 4px; gap: 10px; }
  .tm-pagehead__title::after { width: 8px; height: 8px; }
  .tm-pagehead__desc { font-size: .9rem; line-height: 1.48; max-width: 100%; }
  .tm-shop-layout { gap: 8px; }
  .tm-filters-toggle { width: 100%; justify-content: flex-start; margin: 0 0 8px; padding: 10px 14px; }
  .tm-chips { margin: 0 0 10px; }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering { margin-bottom: 10px; }
  .woocommerce .woocommerce-result-count { font-size: .84rem; }
  .woocommerce .woocommerce-ordering select { padding: 8px 10px; font-size: .88rem; }
  .tm-infinite-wrap { min-height: 48px; padding-top: 12px; }

  .tm-product-accordions { margin-top: 20px; }
  .tm-product-accordion__toggle { min-height: 58px; padding: 15px 0; font-size: .95rem; }
  .tm-product-accordion__content { font-size: .9rem; padding-bottom: 18px; }
}

/* ============================================================
   v2.8.1 — Floating WhatsApp button
   ============================================================ */
.tm-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: #25d366;
  color: #fff;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.tm-whatsapp-float:hover,
.tm-whatsapp-float:focus-visible {
  background: #20bd5a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(37,211,102,.48), 0 3px 8px rgba(0,0,0,.14);
}
.tm-whatsapp-float__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
.tm-whatsapp-float__icon svg { width: 100%; height: 100%; }
.tm-whatsapp-float__text { white-space: nowrap; }

/* Sit above the mobile menu/search bar, and stay clear of drawers & modals. */
body.woocommerce-cart .tm-whatsapp-float,
body.woocommerce-checkout .tm-whatsapp-float { z-index: 60; }

@media (max-width: 560px) {
  .tm-whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: .8rem;
    gap: 8px;
  }
  .tm-whatsapp-float__icon { width: 18px; height: 18px; flex-basis: 18px; }
}

/* ============================================================
   v2.9 — Home Two template: circular categories, reviews strip, trust grid
   ============================================================ */

/* ---- Shop by category (circular badges) ---- */
.tmH2-cats-section { text-align: center; }
.tmH2-cats-section .tmS-head--center { margin-bottom: 46px; }
.tmH2-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px 32px;
}
.tmH2-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 200px;
  padding-top: 22px;
  text-decoration: none;
  color: var(--tm-ink);
}
.tmH2-cat__ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed var(--tm-gold);
  pointer-events: none;
  transition: transform .25s ease;
}
.tmH2-cat__ring--outer { width: 212px; height: 212px; top: 0; left: 50%; transform: translateX(-50%); opacity: .9; }
.tmH2-cat__ring--inner { width: 190px; height: 190px; top: 11px; left: 50%; transform: translateX(-50%); opacity: .5; }
.tmH2-cat__img {
  position: relative;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--tm-ink);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(16,20,24,.12);
}
.tmH2-cat__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.tmH2-cat:hover .tmH2-cat__img img { transform: scale(1.08); }
.tmH2-cat__label {
  font-weight: 700;
  font-size: .96rem;
  color: var(--tm-ink);
}
.tmH2-cat:hover .tmH2-cat__ring--outer { transform: translateX(-50%) rotate(20deg); }
.tmH2-cat:hover .tmH2-cat__ring--inner { transform: translateX(-50%) rotate(-16deg); }
@media (max-width: 700px) {
  .tmH2-cats { gap: 30px 20px; }
  .tmH2-cat { width: 140px; gap: 12px; padding-top: 16px; }
  .tmH2-cat__img { width: 116px; height: 116px; }
  .tmH2-cat__ring--outer { width: 148px; height: 148px; }
  .tmH2-cat__ring--inner { width: 132px; height: 132px; top: 8px; }
  .tmH2-cat__label { font-size: .82rem; }
}

/* ---- Reviews / stats strip ---- */
.tmH2-reviews {
  position: relative;
  background: var(--tm-ink);
  color: #fff;
  padding: 0 0 64px;
  text-align: center;
  overflow: hidden;
}
.tmH2-wave { position: relative; width: 100%; line-height: 0; margin-top: -1px; }
.tmH2-wave svg { display: block; width: 100%; height: 90px; }
.tmH2-reviews .tm-container { position: relative; padding-top: 6px; }
.tmH2-reviews__eyebrow { display: block; margin-bottom: 16px; }
.tmH2-reviews__stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.tmH2-reviews__stars svg { width: 26px; height: 26px; color: var(--tm-gold); }
.tmH2-reviews__stars span {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin-left: 6px;
}
.tmH2-reviews__sub {
  max-width: 620px;
  margin: 0 auto 48px;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
}
.tmH2-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 7vw, 90px);
  flex-wrap: wrap;
}
.tmH2-stat { display: flex; flex-direction: column; gap: 6px; position: relative; padding: 0 4px; }
.tmH2-stat--divider::before,
.tmH2-stat--divider::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(255,255,255,.16);
}
.tmH2-stat--divider::before { left: calc(clamp(28px, 7vw, 90px) / -2); }
.tmH2-stat--divider::after { right: calc(clamp(28px, 7vw, 90px) / -2); }
.tmH2-stat b { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; color: var(--tm-gold); }
.tmH2-stat span { color: rgba(255,255,255,.7); font-size: .88rem; }

/* ---- Trusted by thousands (testimonial grid) ---- */
.tmH2-trust {
  background: var(--tm-ink);
  color: #fff;
  padding: 10px 0 80px;
}
.tmH2-trust__head { margin-bottom: 44px; }
.tmH2-trust__head h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.tmH2-trust__head p { color: rgba(255,255,255,.6); font-size: .95rem; margin: 8px 0 0; }
.tmH2-trustgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tmH2-trustcard {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--tm-radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tmH2-trustcard:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-3px);
}
.tmH2-trustcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tmH2-trustcard__stars { color: var(--tm-gold); font-size: .95rem; letter-spacing: 1px; }
.tmH2-trustcard__verified {
  display: inline-flex;
  align-items: center;
  background: #1fbf6b;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.tmH2-trustcard h3 { font-size: 1.05rem; font-weight: 800; margin: 6px 0 0; }
.tmH2-trustcard p { color: rgba(255,255,255,.72); font-size: .9rem; line-height: 1.55; margin: 0; }
.tmH2-trustcard__name { color: rgba(255,255,255,.5); font-size: .85rem; }
.tmH2-trustcard__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tmH2-trustcard__cod {
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tmH2-trustcard__thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.85);
  display: block;
}
.tmH2-trustcard__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tmH2-trustcard__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tm-accent), var(--tm-gold));
}
@media (max-width: 980px) {
  .tmH2-trustgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tmH2-reviews { padding-bottom: 48px; }
  .tmH2-stats { gap: 26px 34px; }
  .tmH2-stat--divider::before,
  .tmH2-stat--divider::after { display: none; }
  .tmH2-trust { padding-bottom: 56px; }
  .tmH2-trustgrid { grid-template-columns: 1fr; }
}
