/*
Theme Name: The Herb Centre
Theme URI: https://theherbcentrecanada.co
Author: The Herb Centre
Author URI: https://theherbcentrecanada.co
Description: A high-performance WooCommerce theme for The Herb Centre, a Canadian online magic mushroom dispensary. Includes an AJAX cart drawer, custom cart & checkout, hard-coded Bitcoin (15% off) and Interac e-Transfer payment methods, tiered Canadian shipping, an SEO engine with province/city content seeding, sitemap generation, and a resumable product importer.
Version: 5.2.0
Requires at least: 6.2
Tested up to: 6.7
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: herbcentre
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
WC requires at least: 7.0
WC tested up to: 9.5
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  /* The Herb Centre palette — sky blue + slate, matching the source storefront. */
  --thc-green: #38bdf8;          /* primary accent (legacy var name kept) */
  --thc-primary: #38bdf8;
  --thc-green-dark: #1ea4c3;
  --thc-green-bright: #7dd3fc;
  --thc-green-soft: #e6f6fd;
  --thc-forest: #111827;         /* darkest slate, utility bar */
  --thc-gold: #cf4762;           /* secondary accent (rose) */
  --thc-gold-dark: #a8354c;
  --thc-orange: #1ea4c3;
  --thc-orange-dark: #17809a;
  --thc-orange-soft: #e6f6fd;
  --thc-ink: #111827;
  --thc-ink-soft: #64748b;
  --thc-dark: #1f2937;
  --thc-dark-2: #111827;
  --thc-line: #e5e7eb;
  --thc-bg: #ffffff;
  --thc-bg-alt: #f7fafc;
  --thc-success: #16a34a;
  --thc-danger: #dc2626;
  --thc-radius: 8px;
  --thc-radius-lg: 16px;
  --thc-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
  --thc-shadow-lg: 0 18px 48px rgba(17, 24, 39, 0.14);
  --thc-header-h: 84px;
  --thc-max: 1360px;
  --thc-font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --thc-font-body: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
}


/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--thc-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--thc-ink);
  background: var(--thc-bg);
}

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

a { color: var(--thc-ink); text-decoration: none; }
a:hover { color: var(--thc-orange); }

h1, h2, h3, h4, h5 {
  font-family: var(--thc-font);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.1em; }

.thc-container {
  width: 100%;
  max-width: var(--thc-max);
  margin: 0 auto;
  padding: 0 20px;
}

.thc-section { padding: 56px 0; }
.thc-section--alt { background: var(--thc-bg-alt); }
.thc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--thc-orange);
  margin-bottom: 6px;
}
.thc-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.thc-section-head h2 { margin: 0; }

/* Buttons */
.thc-btn,
.button,
button.button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--thc-orange);
  color: #fff;
  border: 1px solid var(--thc-orange);
  border-radius: var(--thc-radius);
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.thc-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--thc-orange-dark);
  border-color: var(--thc-orange-dark);
  color: #fff;
}
.thc-btn--ghost,
.woocommerce a.button.thc-btn--ghost {
  background: transparent;
  color: var(--thc-ink);
  border-color: var(--thc-line);
  box-shadow: none;
}
.thc-btn--ghost:hover { background: var(--thc-bg-alt); color: var(--thc-ink); }

/* Ensure ghost buttons are always visible in the AJAX cart drawer.
   Uses ID + double class + !important to beat any skin/plugin override. */
#thc-drawer .thc-drawer__foot .thc-btn.thc-btn--ghost,
#thc-drawer .thc-drawer__foot .woocommerce a.button.thc-btn--ghost {
  background: transparent !important;
  color: var(--thc-ink) !important;
  border: 2px solid var(--thc-line) !important;
  box-shadow: none !important;
}
#thc-drawer .thc-drawer__foot .thc-btn.thc-btn--ghost:hover,
#thc-drawer .thc-drawer__foot .woocommerce a.button.thc-btn--ghost:hover {
  background: var(--thc-ink) !important;
  color: #fff !important;
  border-color: var(--thc-ink) !important;
}
.thc-btn--block { width: 100%; }
.thc-btn--lg { padding: 16px 30px; font-size: 0.95rem; }

/* ==========================================================================
   3. Announcement + header
   ========================================================================== */
.thc-announce {
  background: var(--thc-ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
}
.thc-announce strong { color: var(--thc-orange); }

.thc-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 1px solid var(--thc-line);
}
.thc-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--thc-header-h);
}
.thc-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; }
.thc-logo img { max-height: 46px; width: auto; }
.thc-nav { display: flex; flex: 1; }
.thc-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.thc-nav a {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.thc-nav a:hover,
.thc-nav .current-menu-item > a { border-bottom-color: var(--thc-orange); }
.thc-nav li.menu-item-has-children { position: relative; }
.thc-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--thc-line);
  box-shadow: var(--thc-shadow);
  padding: 10px 0;
  display: none;
  flex-direction: column;
  gap: 0;
}
.thc-nav li:hover > .sub-menu { display: flex; }
.thc-nav .sub-menu a { padding: 8px 18px; border: 0; display: block; }
.thc-nav .sub-menu a:hover { background: var(--thc-orange-soft); }

.thc-header__actions { display: flex; align-items: center; gap: 14px; }
.thc-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--thc-ink);
  padding: 8px;
}
.thc-icon-btn:hover { color: var(--thc-orange); }
.thc-cart-btn { position: relative; }
.thc-cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--thc-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.thc-burger { display: none; }

/* Mobile nav */
@media (max-width: 1024px) {
  .thc-burger { display: inline-flex; }
  .thc-nav {
    position: fixed;
    inset: 0 30% 0 0;
    background: #fff;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 980;
    padding: 80px 24px;
    overflow-y: auto;
    box-shadow: var(--thc-shadow-lg);
  }
  .thc-nav.is-open { transform: none; }
  .thc-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .thc-nav .sub-menu { position: static; display: flex; border: 0; box-shadow: none; padding-left: 12px; }
}

/* ==========================================================================
   4. Hero + home sections
   ========================================================================== */
.thc-hero {
  background: linear-gradient(180deg, var(--thc-orange-soft), #fff);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--thc-line);
}
.thc-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.thc-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.thc-hero p.thc-lede { font-size: 1.1rem; color: var(--thc-ink-soft); max-width: 46ch; }
.thc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.thc-hero__trust {
  display: flex;
  gap: 26px;
  margin-top: 30px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--thc-ink-soft);
}
.thc-hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.thc-hero__shot {
  margin: 0;
  background: #fff;
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  overflow: hidden;
  box-shadow: var(--thc-shadow);
}
.thc-hero__shot:nth-child(odd) { transform: translateY(-14px); }
.thc-hero__shot img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #f7f7f5; padding: 10px; }
.thc-hero__shot figcaption { padding: 10px 12px 14px; border-top: 1px solid var(--thc-line); }
.thc-hero__shot strong { display: block; font-size: 0.9rem; line-height: 1.25; }
.thc-hero__shot span { display: block; font-size: 0.76rem; color: var(--thc-ink-soft); margin-top: 4px; }
.thc-hero__media .thc-hero__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  margin: 0; z-index: 2; box-shadow: var(--thc-shadow-lg); background: var(--thc-orange); color: #fff;
  font-size: 0.85rem; padding: 10px 16px;
}

.thc-section__lede { max-width: 78ch; color: var(--thc-ink-soft); margin: -8px 0 24px; }

.thc-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.thc-cat-tile {
  display: block; background: #fff; border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg); padding: 14px; text-align: center; transition: 0.15s;
}
.thc-cat-tile:hover { border-color: var(--thc-orange); box-shadow: var(--thc-shadow-lg); transform: translateY(-2px); }
.thc-cat-tile__img { display: block; background: #f7f7f5; border-radius: var(--thc-radius); overflow: hidden; margin-bottom: 12px; }
.thc-cat-tile__img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 12px; }
.thc-cat-tile strong { display: block; font-size: 1rem; }
.thc-cat-tile__cta { display: block; font-size: 0.8rem; font-weight: 700; color: var(--thc-orange); margin-top: 4px; }

.thc-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.thc-shelf__card { background: #fff; border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg); overflow: hidden; transition: 0.15s; }
.thc-shelf__card:hover { border-color: var(--thc-orange); box-shadow: var(--thc-shadow-lg); }
.thc-shelf__card a { display: block; padding: 14px; }
.thc-shelf__img { display: block; background: #f7f7f5; border-radius: var(--thc-radius); overflow: hidden; margin-bottom: 12px; }
.thc-shelf__img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 12px; }
.thc-shelf__brand { display: block; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--thc-ink-soft); }
.thc-shelf__card strong { display: block; font-size: 0.96rem; margin: 4px 0 6px; line-height: 1.25; }
.thc-shelf__meta { display: block; font-size: 0.78rem; color: var(--thc-ink-soft); }
.thc-shelf__price { display: block; font-weight: 800; margin-top: 8px; }

@media (max-width: 900px) {
  .thc-cat-grid, .thc-shelf { grid-template-columns: repeat(2, 1fr); }
  .thc-hero__shot:nth-child(odd) { transform: none; }
}
@media (max-width: 900px) {
  .thc-hero__grid { grid-template-columns: 1fr; gap: 28px; }
}

.thc-usp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--thc-line);
  border-block: 1px solid var(--thc-line);
}
.thc-usp__item { background: #fff; padding: 22px 18px; text-align: center; }
.thc-usp__item strong { display: block; font-size: 0.95rem; }
.thc-usp__item span { font-size: 0.82rem; color: var(--thc-ink-soft); }
@media (max-width: 780px) { .thc-usp { grid-template-columns: repeat(2, 1fr); } }

.thc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.thc-chip {
  border: 1px solid var(--thc-line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.87rem;
  font-weight: 700;
  background: #fff;
}
.thc-chip:hover { border-color: var(--thc-orange); color: var(--thc-orange); }

.thc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.thc-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* Payments panel */
.thc-pay {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.thc-pay__card {
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  padding: 24px;
  background: #fff;
}
.thc-pay__card--featured { border-color: var(--thc-orange); background: var(--thc-orange-soft); }
.thc-pay__badge {
  display: inline-block;
  background: var(--thc-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 10px;
}
@media (max-width: 780px) { .thc-pay { grid-template-columns: 1fr; } }

/* ==========================================================================
   5. Products
   ========================================================================== */
.woocommerce ul.products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.woocommerce ul.products li.product,
ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
ul.products li.product:hover { box-shadow: var(--thc-shadow-lg); transform: translateY(-2px); }
ul.products li.product a img { margin: 0; aspect-ratio: 1; object-fit: cover; background: var(--thc-bg-alt); }
ul.products li.product .thc-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.95rem !important;
  font-weight: 700;
  padding: 0 !important;
  margin: 0;
  line-height: 1.3;
}
.thc-card-meta { font-size: 0.76rem; color: var(--thc-ink-soft); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.thc-card-thc { display: flex; gap: 10px; font-size: 0.78rem; font-weight: 700; color: var(--thc-ink-soft); }
ul.products li.product .price {
  color: var(--thc-ink) !important;
  font-weight: 800;
  font-size: 1.05rem;
  margin-top: auto;
}
ul.products li.product .price del { color: var(--thc-ink-soft); font-weight: 500; font-size: 0.85em; }
ul.products li.product .price ins { text-decoration: none; color: var(--thc-danger); }
ul.products li.product .button { width: 100%; margin-top: 10px; }
.woocommerce span.onsale,
span.onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--thc-ink);
  color: #fff;
  border-radius: var(--thc-radius);
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 800;
  min-height: 0;
  line-height: 1.4;
  margin: 0;
}

.thc-shop-hero { background: var(--thc-bg-alt); padding: 40px 0; border-bottom: 1px solid var(--thc-line); }
.thc-shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 34px; padding: 40px 0; }
@media (max-width: 900px) { .thc-shop-layout { grid-template-columns: 1fr; } }
.thc-sidebar h3 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; }
.thc-sidebar ul { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.thc-sidebar a { font-size: 0.92rem; }

.thc-seo-copy { border-top: 1px solid var(--thc-line); padding-top: 30px; margin-top: 40px; color: var(--thc-ink-soft); }
.thc-seo-copy h2, .thc-seo-copy h3 { color: var(--thc-ink); }

/* Single product */
.thc-product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 40px 0; }
@media (max-width: 900px) { .thc-product-layout { grid-template-columns: 1fr; gap: 24px; } }
.woocommerce div.product div.images img { border-radius: var(--thc-radius-lg); }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--thc-ink); font-size: 1.8rem; font-weight: 800; }
.woocommerce div.product form.cart .button { padding: 16px 30px; }
.thc-product-perks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.thc-product-perks li::before { content: "✓"; color: var(--thc-success); font-weight: 900; margin-right: 8px; }

/* ==========================================================================
   6. Cart drawer
   ========================================================================== */
.thc-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(53, 53, 53, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 995;
}
.thc-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.thc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 92vw;
  background: #fff;
  z-index: 1000;
  transform: translateX(105%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--thc-shadow-lg);
}
.thc-drawer.is-open { transform: none; }
.thc-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--thc-line);
}
.thc-drawer__title { margin: 0; font-size: 1.2rem; font-weight: 800; }
.thc-drawer__close { background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--thc-ink); }
.thc-drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.thc-drawer__foot { border-top: 1px solid var(--thc-line); padding: 18px 22px 24px; background: var(--thc-bg-alt); }
.thc-drawer.is-loading .thc-drawer__body { opacity: 0.45; pointer-events: none; }

.thc-mini-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--thc-line); }
.thc-mini-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--thc-radius); }
.thc-mini-item__name { font-weight: 700; font-size: 0.92rem; }
.thc-mini-item__meta { font-size: 0.8rem; color: var(--thc-ink-soft); }
.thc-qty { display: inline-flex; align-items: center; border: 1px solid var(--thc-line); border-radius: var(--thc-radius); overflow: hidden; margin-top: 8px; }
.thc-qty button { background: #fff; border: 0; width: 30px; height: 30px; font-size: 1rem; cursor: pointer; }
.thc-qty button:hover { background: var(--thc-orange-soft); }
.thc-qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 0.9rem; }
.thc-mini-remove { background: none; border: 0; cursor: pointer; color: var(--thc-ink-soft); font-size: 0.78rem; text-decoration: underline; padding: 0; }
.thc-mini-item__price { font-weight: 800; }

.thc-progress { margin-bottom: 16px; }
.thc-progress__bar { height: 8px; border-radius: 999px; background: var(--thc-line); overflow: hidden; }
.thc-progress__fill { height: 100%; background: var(--thc-orange); transition: width 0.3s ease; }
.thc-progress__label { font-size: 0.82rem; font-weight: 600; margin-bottom: 8px; }

.thc-totals-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 4px 0; }
.thc-totals-row--total { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--thc-line); margin-top: 8px; padding-top: 10px; }
.thc-drawer__note { font-size: 0.78rem; color: var(--thc-ink-soft); margin-top: 10px; text-align: center; }
.thc-empty { text-align: center; padding: 50px 10px; color: var(--thc-ink-soft); }

/* ==========================================================================
   7. Cart + checkout pages
   ========================================================================== */
.thc-cart-page { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; padding: 40px 0 60px; align-items: start; }
@media (max-width: 900px) { .thc-cart-page { grid-template-columns: 1fr; } }
.thc-panel { border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg); background: #fff; padding: 24px; }
.thc-panel--sticky { position: sticky; top: calc(var(--thc-header-h) + 20px); }
.thc-panel > .thc-block-title { font-size: 1.2rem; }

.woocommerce table.shop_table { border: 0; border-radius: 0; }
.woocommerce table.shop_table th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--thc-ink-soft); }
.woocommerce-cart table.cart img { width: 76px; border-radius: var(--thc-radius); }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single,
input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], textarea, select {
  width: 100%;
  border: 1px solid var(--thc-line);
  background: #fff;
  border-radius: var(--thc-radius);
  padding: 12px 14px;
  font: inherit;
  color: var(--thc-ink);
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--thc-orange); outline-offset: 1px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 0.86rem; margin-bottom: 5px; display: block; }

.thc-checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; padding: 34px 0 60px; align-items: start; }
@media (max-width: 900px) { .thc-checkout { grid-template-columns: 1fr; } }
.thc-steps { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--thc-ink-soft); margin-bottom: 22px; }
.thc-steps span.is-active { color: var(--thc-orange); }

.woocommerce-checkout #payment { background: transparent; border-radius: 0; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.woocommerce-checkout #payment ul.payment_methods li {
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  padding: 16px;
  list-style: none;
  background: #fff;
}
.woocommerce-checkout #payment ul.payment_methods li.thc-pay-selected { border-color: var(--thc-orange); background: var(--thc-orange-soft); }
.woocommerce-checkout #payment div.payment_box { background: transparent; margin: 10px 0 0; padding: 0; font-size: 0.88rem; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 18px 0 0; }
.thc-pay-label-badge {
  background: var(--thc-success);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 8px;
  text-transform: uppercase;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--thc-orange);
  background: var(--thc-bg-alt);
  border-radius: var(--thc-radius);
}

/* ==========================================================================
   8. Blog / content
   ========================================================================== */
.thc-page-hero { background: var(--thc-bg-alt); padding: 46px 0; border-bottom: 1px solid var(--thc-line); }
.thc-breadcrumbs { font-size: 0.8rem; color: var(--thc-ink-soft); margin-bottom: 10px; }
.thc-breadcrumbs a { color: var(--thc-ink-soft); }

.thc-post-card {
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.thc-post-card:hover { box-shadow: var(--thc-shadow-lg); }
.thc-post-card__thumb { aspect-ratio: 16 / 9; background: var(--thc-orange-soft); overflow: hidden; }
.thc-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.thc-post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.thc-post-card__cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--thc-orange); font-weight: 800; }
.thc-post-card__title { font-size: 1.05rem; font-weight: 800; line-height: 1.3; margin: 0; }
.thc-post-card__meta { font-size: 0.78rem; color: var(--thc-ink-soft); margin-top: auto; }

.thc-article { max-width: 760px; margin: 0 auto; padding: 40px 0 60px; }
.thc-article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.thc-article h3 { font-size: 1.2rem; margin-top: 1.4em; }
.thc-article ul, .thc-article ol { padding-left: 22px; }
.thc-article li { margin-bottom: 8px; }
.thc-article table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.93rem; }
.thc-article th, .thc-article td { border: 1px solid var(--thc-line); padding: 10px 12px; text-align: left; }
.thc-article th { background: var(--thc-bg-alt); }
.thc-article blockquote {
  border-left: 3px solid var(--thc-orange);
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  color: var(--thc-ink-soft);
  font-style: italic;
}
.thc-toc { background: var(--thc-bg-alt); border-radius: var(--thc-radius-lg); padding: 20px 24px; margin-bottom: 30px; }
.thc-toc strong { display: block; margin-bottom: 8px; }
.thc-cta-box {
  background: var(--thc-orange-soft);
  border: 1px solid var(--thc-orange);
  border-radius: var(--thc-radius-lg);
  padding: 26px;
  margin: 34px 0;
  text-align: center;
}
.thc-faq { border-top: 1px solid var(--thc-line); }
.thc-faq__item { border-bottom: 1px solid var(--thc-line); padding: 16px 0; }
.thc-faq__q { font-weight: 800; margin-bottom: 6px; }

.thc-pagination { display: flex; gap: 8px; justify-content: center; padding: 20px 0 50px; }
.thc-pagination .page-numbers {
  border: 1px solid var(--thc-line);
  padding: 9px 15px;
  border-radius: var(--thc-radius);
  font-weight: 700;
  font-size: 0.88rem;
}
.thc-pagination .page-numbers.current { background: var(--thc-orange); color: #fff; border-color: var(--thc-orange); }

/* ==========================================================================
   9. Footer + age gate
   ========================================================================== */
.thc-footer { background: var(--thc-ink); color: #d8dadd; padding: 54px 0 26px; margin-top: 40px; }
.thc-footer a { color: #d8dadd; }
.thc-footer a:hover { color: var(--thc-orange); }
.thc-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .thc-footer__grid { grid-template-columns: 1fr 1fr; } }
.thc-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; }
.thc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 0.9rem; }
.thc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.thc-newsletter { display: flex; gap: 8px; margin-top: 12px; }
.thc-newsletter input { flex: 1; }

.thc-agegate {
  position: fixed;
  inset: 0;
  background: rgba(53, 53, 53, 0.94);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.thc-agegate__card { background: #fff; border-radius: var(--thc-radius-lg); max-width: 440px; width: 100%; padding: 36px 30px; text-align: center; }
.thc-agegate__card h2,
.thc-agegate__title { font-size: 1.6rem; font-weight: 800; line-height: 1.2; font-family: var(--thc-font-head, inherit); }
.thc-agegate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.thc-locations { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.thc-locations a { font-size: 0.9rem; padding: 10px 12px; border: 1px solid var(--thc-line); border-radius: var(--thc-radius); background: #fff; }
.thc-locations a:hover { border-color: var(--thc-orange); }

/* ==========================================================================
   Layout primitives, header, footer, cart, checkout, drawer, age gate
   ========================================================================== */

.thc-skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--thc-ink); color: #fff; padding: 10px 16px;
}
.thc-skip-link:focus { left: 8px; top: 8px; color: #fff; }

.thc-main { display: block; min-height: 40vh; }
.thc-no-scroll { overflow: hidden; }
.thc-link { color: var(--thc-orange); font-weight: 700; }
.thc-link:hover { text-decoration: underline; }
.thc-section--muted { background: var(--thc-bg-alt); }
.thc-section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.thc-section__head h2 { margin: 0; }
.thc-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

/* Announcement + header ---------------------------------------------------- */
.thc-announce {
  background: var(--thc-ink); color: #fff; font-size: 0.8rem;
  text-align: center; padding: 8px 0; letter-spacing: 0.01em;
}
.thc-header {
  position: sticky; top: 0; z-index: 90; background: #fff;
  border-bottom: 1px solid var(--thc-line);
}
.thc-header.is-stuck { box-shadow: var(--thc-shadow); }
.thc-header__inner {
  display: flex; align-items: center; gap: 20px; min-height: var(--thc-header-h);
}
.thc-header__brand { flex: 0 0 auto; }
.thc-header__brand img { max-height: 46px; width: auto; }
.thc-logo { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; }
.thc-logo span { color: var(--thc-orange); }
.thc-header__nav { flex: 1 1 auto; }
.thc-header__actions { display: flex; align-items: center; gap: 4px; }
.thc-header__burger { display: none; flex-direction: column; gap: 4px; }
.thc-header__burger span {
  display: block; width: 20px; height: 2px; background: var(--thc-ink);
}

.thc-menu { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.thc-menu li { position: relative; }
.thc-menu a { font-weight: 600; font-size: 0.95rem; padding: 10px 0; display: block; }
.thc-menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff;
  border: 1px solid var(--thc-line); box-shadow: var(--thc-shadow);
  list-style: none; margin: 0; padding: 8px 0; display: none; z-index: 20;
}
.thc-menu li:hover > .sub-menu { display: block; }
.thc-menu .sub-menu a { padding: 8px 16px; }
.thc-menu--stack { flex-direction: column; gap: 0; }
.thc-menu--stack a { padding: 12px 0; border-bottom: 1px solid var(--thc-line); }

.thc-icon-btn {
  position: relative; display: inline-flex; align-items: center;
  justify-content: center; width: 40px; height: 40px; border: 0;
  background: transparent; color: var(--thc-ink); cursor: pointer;
  border-radius: var(--thc-radius);
}
.thc-icon-btn:hover { background: var(--thc-bg-alt); color: var(--thc-orange); }
.thc-cart-count {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 9px; background: var(--thc-orange);
  color: #fff; font-size: 11px; font-weight: 800; line-height: 18px;
}
.thc-cart-count.is-empty { display: none; }

.thc-search-panel {
  display: none; border-top: 1px solid var(--thc-line);
  background: var(--thc-bg-alt); padding: 16px 0;
}
.thc-search-panel.is-open { display: block; }
.thc-searchform, .woocommerce-product-search { display: flex; gap: 8px; }
.thc-searchform input[type="search"],
.woocommerce-product-search input[type="search"] {
  flex: 1 1 auto; padding: 12px 14px; border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius); font: inherit;
}
.woocommerce-product-search button {
  background: var(--thc-orange); color: #fff; border: 0; padding: 12px 20px;
  font-weight: 700; border-radius: var(--thc-radius); cursor: pointer;
}
.thc-search-inline { max-width: 520px; margin-top: 14px; }

.thc-mobile-nav { display: none; padding: 0 20px 16px; }
.thc-mobile-nav.is-open { display: block; }

/* Hero --------------------------------------------------------------------- */
.thc-hero { background: linear-gradient(180deg, var(--thc-orange-soft), #fff); padding: 64px 0; }
.thc-hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.thc-hero__copy h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.thc-hero__copy p { font-size: 1.1rem; color: var(--thc-ink-soft); max-width: 60ch; }
.thc-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 20px; }
.thc-hero__points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.thc-hero__points li { font-weight: 700; font-size: 0.92rem; }
.thc-hero__points li::before { content: "✓"; color: var(--thc-orange); margin-right: 6px; }
.thc-hero__card {
  background: #fff; border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg);
  padding: 28px; box-shadow: var(--thc-shadow-lg);
}
.thc-hero__card strong { display: block; font-size: 1.4rem; margin-bottom: 8px; }
.thc-hero__card p { color: var(--thc-ink-soft); margin: 0; }
.thc-hero__badge {
  display: inline-block; background: var(--thc-ink); color: #fff; font-weight: 800;
  font-size: 0.78rem; padding: 6px 10px; border-radius: 999px; margin-bottom: 14px;
}

.thc-strip { border-block: 1px solid var(--thc-line); background: #fff; }
.thc-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.thc-strip__inner strong { display: block; font-size: 0.98rem; }
.thc-strip__inner span { color: var(--thc-ink-soft); font-size: 0.86rem; }

.thc-how-steps { padding-left: 22px; margin: 0; list-style: decimal; }
.thc-how-steps li { margin-bottom: 14px; color: var(--thc-ink-soft); line-height: 1.6; }
.thc-how-steps li::marker { color: var(--thc-orange); font-weight: 800; }
.thc-how-steps strong { color: var(--thc-ink); font-weight: 800; }

.thc-faq__item { border-bottom: 1px solid var(--thc-line); }
.thc-faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; padding: 14px 28px 14px 0; position: relative;
}
.thc-faq__q::after { content: "+"; position: absolute; right: 4px; color: var(--thc-orange); font-size: 1.2rem; }
.thc-faq__item.is-open .thc-faq__q::after { content: "−"; }
.thc-faq__a { display: none; padding-bottom: 14px; color: var(--thc-ink-soft); }
.thc-faq__item.is-open .thc-faq__a { display: block; }

.thc-region-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-top: 24px; }
.thc-region-grid a {
  display: block; border: 1px solid var(--thc-line); border-radius: var(--thc-radius);
  padding: 14px 16px; background: #fff;
}
.thc-region-grid a:hover { border-color: var(--thc-orange); box-shadow: var(--thc-shadow); }
.thc-region-grid strong { display: block; }
.thc-region-grid span { color: var(--thc-ink-soft); font-size: 0.85rem; }

/* Content layouts ---------------------------------------------------------- */
.thc-page-hero { background: var(--thc-bg-alt); border-bottom: 1px solid var(--thc-line); padding: 34px 0; }
.thc-page-hero h1 { margin: 8px 0 6px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.thc-page-hero p { color: var(--thc-ink-soft); margin: 0; max-width: 75ch; }
.thc-post-meta { font-size: 0.88rem; color: var(--thc-ink-soft); }
.thc-archive-desc { color: var(--thc-ink-soft); max-width: 75ch; }

.thc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding: 44px 20px; }
.thc-layout__side { align-self: start; position: sticky; top: calc(var(--thc-header-h) + 16px); }
.thc-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.thc-single__media { margin: 0 0 24px; }
.thc-single__media img { border-radius: var(--thc-radius-lg); }
.thc-related { margin-top: 48px; }
.thc-page .thc-prose, .thc-single .thc-prose { max-width: 78ch; }
.thc-page > .thc-container { padding-block: 40px; }

.thc-prose { font-size: 1.03rem; }
.thc-prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.thc-prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.thc-prose ul, .thc-prose ol { padding-left: 22px; }
.thc-prose li { margin-bottom: 8px; }
.thc-prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.thc-prose th, .thc-prose td { border: 1px solid var(--thc-line); padding: 10px 12px; text-align: left; }
.thc-prose th { background: var(--thc-bg-alt); }
.thc-prose--legal { color: var(--thc-ink-soft); }
.thc-prose--legal h2 { color: var(--thc-ink); }
.thc-pagelinks { margin-top: 24px; font-weight: 700; }

.thc-widget {
  border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg);
  padding: 20px; margin-bottom: 20px; background: #fff;
}
.thc-widget h3, .thc-widget .thc-widget__title, .thc-widget .widget-title, .thc-widget h1, .thc-widget h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 10px; line-height: 1.3; color: var(--thc-ink, inherit); display: block; }
.thc-widget__list { list-style: none; margin: 0 0 14px; padding: 0; }
.thc-widget__list li { padding: 7px 0; border-bottom: 1px solid var(--thc-line); font-size: 0.92rem; }
.thc-widget__list li:last-child { border-bottom: 0; }

.thc-404 { text-align: center; padding: 80px 20px; }
.thc-404 .thc-search-inline { margin: 20px auto; }

/* Footer ------------------------------------------------------------------- */
.thc-footer { background: var(--thc-ink); color: #cfd3d7; margin-top: 60px; padding: 56px 0 24px; }
.thc-footer a { color: #cfd3d7; }
.thc-footer a:hover { color: var(--thc-orange); }
.thc-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.thc-footer .thc-logo { color: #fff; }
.thc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.thc-footer__col--brand p { max-width: 42ch; font-size: 0.92rem; }
.thc-footer__menu, .thc-footer__perks { list-style: none; margin: 0; padding: 0; }
.thc-footer__menu li, .thc-footer__perks li { padding: 5px 0; font-size: 0.9rem; }
.thc-footer__perks li::before { content: "•"; color: var(--thc-orange); margin-right: 8px; }
.thc-footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.thc-footer__legal { max-width: 62ch; opacity: 0.75; }

/* Cart drawer -------------------------------------------------------------- */
.thc-drawer-overlay {
  position: fixed; inset: 0; background: rgba(23, 23, 23, 0.45); opacity: 0;
  visibility: hidden; transition: opacity 0.2s ease; z-index: 190;
}
.thc-drawer-overlay.is-open { opacity: 1; visibility: visible; }
.thc-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #fff; display: flex; flex-direction: column; z-index: 200;
  transform: translateX(100%); transition: transform 0.25s ease;
  box-shadow: var(--thc-shadow-lg);
}
.thc-drawer.is-open { transform: translateX(0); }
.thc-drawer.is-loading { opacity: 0.6; pointer-events: none; }
.thc-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--thc-line);
}
.thc-drawer__title { margin: 0; font-size: 1.15rem; font-weight: 800; }
.thc-drawer__close { background: none; border: 0; font-size: 1.7rem; line-height: 1; cursor: pointer; }
.thc-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 18px 20px; }
.thc-drawer__foot { border-top: 1px solid var(--thc-line); padding: 18px 20px; background: var(--thc-bg-alt); }
.thc-drawer__note { font-size: 0.78rem; color: var(--thc-ink-soft); margin: 10px 0 0; text-align: center; }
.thc-empty { text-align: center; padding: 40px 0; color: var(--thc-ink-soft); }

.thc-progress { margin-bottom: 18px; }
.thc-progress__label { font-size: 0.86rem; margin-bottom: 8px; }
.thc-progress__bar { height: 6px; background: var(--thc-line); border-radius: 999px; overflow: hidden; }
.thc-progress__fill { height: 100%; background: var(--thc-orange); transition: width 0.3s ease; }

.thc-mini-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--thc-line);
}
.thc-mini-item img { border-radius: var(--thc-radius); }
.thc-mini-item__name { font-weight: 700; font-size: 0.93rem; display: block; }
.thc-mini-item__meta { font-size: 0.78rem; color: var(--thc-ink-soft); }
.thc-mini-item__price { font-weight: 800; }
.thc-mini-remove { background: none; border: 0; padding: 4px 0; color: var(--thc-ink-soft); font-size: 0.78rem; cursor: pointer; text-decoration: underline; }
.thc-qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; border: 1px solid var(--thc-line); border-radius: var(--thc-radius); padding: 2px 8px; }
.thc-qty button { background: none; border: 0; font-size: 1rem; cursor: pointer; line-height: 1; padding: 4px; }
.thc-totals-row { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 4px 0; }
.thc-totals-row--total { font-size: 1.1rem; font-weight: 800; border-top: 1px solid var(--thc-line); margin-top: 8px; padding-top: 10px; }

.thc-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  background: var(--thc-ink); color: #fff; padding: 12px 20px; border-radius: var(--thc-radius);
  z-index: 300; font-size: 0.9rem; box-shadow: var(--thc-shadow-lg); transition: opacity 0.4s ease;
}
.thc-toast.is-out { opacity: 0; }

/* Age gate ----------------------------------------------------------------- */
.thc-age-gate {
  position: fixed; inset: 0; z-index: 400; background: rgba(23, 23, 23, 0.92);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.thc-age-gate.is-visible { display: flex; }
.thc-age-gate__box {
  background: #fff; max-width: 460px; width: 100%; padding: 36px 30px;
  border-radius: var(--thc-radius-lg); text-align: center;
}
.thc-age-gate__box h2 { font-size: 1.6rem; }
.thc-age-gate__box p { color: var(--thc-ink-soft); }
.thc-age-gate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; }

/* Cart page ---------------------------------------------------------------- */
.thc-cart { padding: 40px 0 60px; }
.thc-cart__progress { max-width: 520px; margin-bottom: 28px; }
.thc-cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.thc-cart-row {
  display: grid; grid-template-columns: 90px 1fr 130px 130px; gap: 16px;
  align-items: center; padding: 18px 0; border-bottom: 1px solid var(--thc-line);
}
.thc-cart-row__media img { border-radius: var(--thc-radius); }
.thc-cart-row__name { font-weight: 700; display: block; margin-bottom: 4px; }
.thc-cart-row__unit { font-size: 0.84rem; color: var(--thc-ink-soft); }
.thc-cart-row__total { text-align: right; font-weight: 800; }
.thc-cart-row__remove,
.woocommerce .thc-cart-row__remove,
.woocommerce a.thc-cart-row__remove.remove {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--thc-ink-soft) !important;
  text-decoration: underline !important;
  text-align: left !important;
  margin-top: 6px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}
.thc-cart-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 20px 0; }
.thc-coupon { display: flex; gap: 8px; flex: 1 1 300px; }
.thc-coupon input { flex: 1 1 auto; padding: 11px 12px; border: 1px solid var(--thc-line); border-radius: var(--thc-radius); font: inherit; }
.thc-cart__continue { padding-top: 10px; }
.thc-cart__summary .cart_totals, .thc-cart__pay {
  border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg);
  padding: 22px; background: #fff; margin-bottom: 18px;
}
.thc-cart__pay ul { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; }
.thc-cart__pay li { padding: 6px 0; }

/* Checkout ----------------------------------------------------------------- */
.thc-checkout { padding: 36px 0 70px; }
.thc-checkout__steps { display: flex; gap: 26px; list-style: none; margin: 0 0 28px; padding: 0; flex-wrap: wrap; }
.thc-checkout__steps li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--thc-ink-soft); }
.thc-checkout__steps span {
  width: 24px; height: 24px; border-radius: 50%; background: var(--thc-orange);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem;
}
.thc-checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.thc-panel {
  border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg);
  padding: 26px; background: #fff; margin-bottom: 22px;
}
.thc-panel > .thc-block-title { font-size: 1.3rem; font-weight: 800; margin: 0 0 0.83em; }
.thc-panel--notice { background: var(--thc-orange-soft); border-color: #f6d6a8; }
.thc-panel--notice > .thc-block-title { font-size: 1.05rem; }
.thc-panel--notice p { margin: 0; font-size: 0.9rem; color: var(--thc-ink-soft); }
.thc-panel--sticky { position: sticky; top: calc(var(--thc-header-h) + 16px); }
.thc-checkout__perks { list-style: none; margin: 18px 0 0; padding: 0; font-size: 0.86rem; color: var(--thc-ink-soft); }
.thc-checkout__perks li { padding: 4px 0; }
.thc-checkout__perks li::before { content: "✓"; color: var(--thc-orange); margin-right: 8px; }
.thc-checkout #customer_details { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.thc-checkout .form-row { display: flex; flex-direction: column; margin-bottom: 14px; }
.thc-checkout label { font-weight: 600; font-size: 0.86rem; margin-bottom: 6px; }
.thc-checkout input[type="text"], .thc-checkout input[type="email"], .thc-checkout input[type="tel"],
.thc-checkout textarea, .thc-checkout select, .thc-checkout .select2-selection {
  padding: 12px 14px; border: 1px solid var(--thc-line); border-radius: var(--thc-radius); font: inherit;
}
.thc-checkout .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.thc-checkout .woocommerce-checkout-review-order-table th,
.thc-checkout .woocommerce-checkout-review-order-table td {
  padding: 10px 0; border-bottom: 1px solid var(--thc-line); text-align: left; font-size: 0.92rem;
}
.thc-checkout .order-total { font-size: 1.1rem; font-weight: 800; }
.thc-checkout #payment ul.payment_methods { list-style: none; margin: 18px 0; padding: 0; }
.thc-checkout #payment li.wc_payment_method {
  border: 1px solid var(--thc-line); border-radius: var(--thc-radius); padding: 14px; margin-bottom: 10px;
}
.thc-checkout #payment .payment_box { background: var(--thc-bg-alt); padding: 12px; font-size: 0.86rem; margin-top: 10px; }
.thc-checkout #place_order {
  width: 100%; background: var(--thc-orange); color: #fff; border: 0; font-weight: 800;
  padding: 16px; font-size: 1.02rem; border-radius: var(--thc-radius); cursor: pointer;
}
.thc-checkout #place_order:hover { background: var(--thc-orange-dark); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .thc-hero__inner, .thc-cols-2, .thc-cart__grid, .thc-checkout__grid,
  .thc-layout { grid-template-columns: 1fr; }
  .thc-layout__side, .thc-panel--sticky { position: static; }
  .thc-footer__grid { grid-template-columns: 1fr 1fr; }
  .thc-strip__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .thc-header__nav { display: none; }
  .thc-header__burger { display: inline-flex; }
  .thc-checkout #customer_details { grid-template-columns: 1fr; }
  .thc-cart-row { grid-template-columns: 70px 1fr; }
  .thc-cart-row__qty, .thc-cart-row__total { grid-column: 2; text-align: left; }
}

@media (max-width: 600px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .thc-footer__grid { grid-template-columns: 1fr; }
  .thc-strip__inner { grid-template-columns: 1fr; }

  /* Blog grids become a horizontal swipe carousel on mobile */
  .thc-post-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 12px;
  }
  .thc-post-grid::-webkit-scrollbar { display: none; }
  .thc-post-grid .thc-post-card {
    flex: 0 0 85%;
    min-width: 260px;
    max-width: 320px;
    scroll-snap-align: start;
    margin-bottom: 0;
  }
  .thc-post-grid .thc-post-card__thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
}

/* Blog swipe carousel extras (mobile) */
.thc-post-grid__pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.thc-post-grid__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--thc-line, #ddd);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.thc-post-grid__dot.is-active {
  background: var(--thc-accent, #38bdf8);
  transform: scale(1.2);
}
.thc-post-grid__hint {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--thc-ink-soft, #666);
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.thc-post-grid__hint.is-visible { opacity: 1; }

@media (min-width: 601px) {
  .thc-post-grid__pager,
  .thc-post-grid__hint { display: none; }
}

/* Structural leftovers ------------------------------------------------------ */
.thc-content, .thc-layout__main, .thc-checkout__main, .thc-cart__items { min-width: 0; }
.thc-checkout__form { display: block; }
.thc-checkout__side { min-width: 0; }
.thc-footer__col h3 { margin-top: 0; }
.thc-ink-soft { color: var(--thc-ink-soft); }
.thc-cart-table { width: 100%; }
.thc-cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; padding-top: 12px; }


/* --- Age gate visibility + nav hardening (v1.1) --- */
.thc-agegate[hidden],
.thc-age-gate[hidden] { display: none !important; }
.thc-header__nav .thc-menu,
.thc-header__nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.thc-header__nav a { font-weight: 600; font-size: 0.95rem; color: var(--thc-ink); text-decoration: none; padding: 10px 0; display: block; border-bottom: 2px solid transparent; }
.thc-header__nav a:hover,
.thc-header__nav .current-menu-item > a { color: var(--thc-orange); border-bottom-color: var(--thc-orange); }
.thc-header__nav .sub-menu { position: absolute; top: 100%; left: 0; display: none; flex-direction: column; min-width: 210px; background: #fff; border: 1px solid var(--thc-line); box-shadow: var(--thc-shadow); padding: 8px 0; z-index: 60; gap: 0; }
.thc-header__nav li { position: relative; }
.thc-header__nav li:hover > .sub-menu { display: flex; }
.thc-header__nav .sub-menu a { padding: 8px 16px; border: 0; }
.thc-home-copy { max-width: 78ch; color: var(--thc-ink-soft); }
.thc-home-copy h3 { color: var(--thc-ink); margin-top: 26px; font-size: 1.15rem; }
.thc-value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 24px; }
.thc-value-card { border: 1px solid var(--thc-line); border-radius: var(--thc-radius); padding: 22px; background: #fff; }
.thc-value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.thc-value-card p { color: var(--thc-ink-soft); font-size: 0.93rem; margin: 0; }
.thc-pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 22px; }
.thc-pay-card { border: 1px solid var(--thc-line); border-left: 3px solid var(--thc-orange); border-radius: var(--thc-radius); padding: 22px; background: #fff; }
.thc-pay-card strong { display: block; margin-bottom: 6px; }
.thc-pay-card p { margin: 0; color: var(--thc-ink-soft); font-size: 0.93rem; }
@media (max-width: 900px) { .thc-header__nav .sub-menu { position: static; box-shadow: none; border: 0; } }

/* Nav visibility — burger is mobile-only ----------------------------------- */
.thc-header__burger { display: none !important; }
.thc-mobile-nav { display: none; }
@media (max-width: 860px) {
  .thc-header__nav { display: none !important; }
  .thc-header__burger { display: inline-flex !important; }
  .thc-mobile-nav.is-open { display: block; }
}


/* Thank-you page + shared cart/checkout notice ------------------------------ */
.thc-thankyou { padding: 40px 0 70px; display: grid; gap: 24px; }
.thc-thankyou__hero { text-align: left; }
.thc-thankyou__hero h1 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.thc-thankyou__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 999px; margin-bottom: 12px;
  background: var(--thc-orange); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.thc-thankyou__lede { color: var(--thc-ink-soft); margin: 0 0 20px; }
.thc-thankyou__pay {
  border: 2px solid var(--thc-orange); background: var(--thc-bg-alt);
  border-radius: var(--thc-radius); padding: 18px 20px;
}
.thc-thankyou__pay h2 { margin: 0 0 8px; font-size: 1.1rem; }
.thc-thankyou__pay p { margin: 0; }
.thc-thankyou__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; }
.thc-thankyou__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.thc-thankyou__meta { list-style: none; margin: 0; padding: 0; }
.thc-thankyou__meta li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--thc-line); }
.thc-thankyou__meta li:last-child { border-bottom: 0; }
.thc-thankyou__meta span { color: var(--thc-ink-soft); }
.thc-thankyou__steps { margin: 0 0 16px; padding-left: 1.1em; }
.thc-thankyou__steps li { padding: 5px 0; }
.thc-thankyou__steps li::marker { color: var(--thc-orange); font-weight: 800; }
.thc-thankyou__details table { width: 100%; border-collapse: collapse; }
.thc-thankyou__details th, .thc-thankyou__details td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--thc-line); font-size: 0.92rem; }
.thc-thankyou__continue { margin: 4px 0 0; }
.woocommerce-order .woocommerce-notice--success { display: none; }

.thc-pay-notice { border-left: 3px solid var(--thc-orange); }
.thc-pay-notice p { margin: 0; font-size: 0.92rem; }
.thc-pay-notice a { color: var(--thc-orange); font-weight: 700; }

.thc-cart-empty { text-align: center; max-width: 620px; margin: 20px auto; }
.thc-cart-empty h1 { margin-top: 0; }
.thc-cart-empty .thc-thankyou__actions { justify-content: center; }
.thc-cart-empty .thc-checkout__perks { display: inline-block; text-align: left; margin-top: 18px; }

@media (max-width: 860px) {
  .thc-thankyou__grid { grid-template-columns: 1fr; }
}


/* ---------- Locations hub ---------- */
.thc-page-hero__lede { max-width: 760px; color: var(--thc-ink-soft); margin-top: 10px; }
.thc-locations__intro { margin-bottom: 28px; }
.thc-loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.thc-loc-card { background: #fff; border: 1px solid var(--thc-line); border-radius: var(--thc-radius-lg); padding: 20px; transition: 0.15s; display: flex; flex-direction: column; }
.thc-loc-card:hover { border-color: var(--thc-orange); box-shadow: var(--thc-shadow-lg); }
.thc-loc-card__head { display: flex; align-items: center; gap: 10px; }
.thc-loc-card__abbr { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding: 0 8px; border-radius: var(--thc-radius); background: var(--thc-orange); color: #fff; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; }
.thc-location-card__title { font-size: 1.1rem; line-height: 1.25; margin: 0; font-weight: 800; }
.thc-location-card__title a { color: inherit; text-decoration: none; }
.thc-location-card__title a:hover { color: var(--thc-orange); }
.thc-loc-card__meta { font-size: 0.8rem; color: var(--thc-ink-soft); margin: 8px 0 12px; }
.thc-loc-card__cities { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.thc-loc-card__cities a { display: inline-block; padding: 5px 10px; border: 1px solid var(--thc-line); border-radius: 999px; font-size: 0.8rem; color: var(--thc-ink); text-decoration: none; background: #fafaf8; }
.thc-loc-card__cities a:hover { border-color: var(--thc-orange); color: var(--thc-orange); }
.thc-loc-card__all { margin-top: auto; font-weight: 700; font-size: 0.85rem; }
.thc-loc-facts { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 0.9rem; }
.thc-loc-facts li::before { content: "\2713"; color: var(--thc-orange); font-weight: 800; margin-right: 8px; }
.thc-loc-backlink { margin: 24px auto 40px; }
@media (max-width: 1024px) { .thc-loc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .thc-loc-grid { grid-template-columns: 1fr; } }

/* ---------- Minimum order lock ---------- */
.thc-panel--warning { border-left: 4px solid #d94b2b; background: #fff6f3; }
.thc-min-order { margin-bottom: 20px; padding: 18px 20px; border-radius: var(--thc-radius-lg); }
.thc-min-order strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.thc-min-order p { margin: 0 0 10px; color: var(--thc-ink-soft); font-size: 0.92rem; }
.thc-min-order .thc-progress__bar { margin-bottom: 12px; }
.thc-progress__fill--warning { background: #d94b2b; }
.thc-btn--disabled { opacity: 0.75; }
.thc-drawer__warn { margin-top: 14px; padding: 12px 14px; border-radius: var(--thc-radius); background: #fff6f3; border: 1px solid #f0c3b6; font-size: 0.85rem; }
.thc-drawer__warn strong { display: block; margin-bottom: 2px; }


/* ---------- Store page layout hardening (cart / checkout / thank you) ---------- */
.thc-store-content { max-width: none; width: 100%; }
.thc-cart-page-body .thc-prose,
.thc-checkout-page-body .thc-prose,
.thc-thankyou-page-body .thc-prose { max-width: none !important; }
.thc-cart, .thc-checkout, .thc-thankyou { width: 100%; }
.thc-cart__items, .thc-cart__summary, .thc-checkout__main, .thc-checkout__side { min-width: 0; width: 100%; }
.thc-cart-row__info { min-width: 0; }
.thc-cart-row__name { word-break: normal; overflow-wrap: anywhere; }

.woocommerce table.shop_table,
.woocommerce-page table.shop_table,
.thc-cart table, .thc-checkout table, .thc-thankyou table { width: 100% !important; table-layout: auto; border-collapse: collapse; }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { padding: 12px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--thc-line); }
.woocommerce table.shop_table td { white-space: normal; }
.woocommerce table.shop_table .product-total,
.woocommerce table.shop_table .order-total .amount,
.woocommerce table.shop_table td[data-title="Total"] { text-align: right; white-space: nowrap; }
.woocommerce .cart_totals, .thc-cart__summary { width: 100%; }
.woocommerce .cart_totals .thc-block-title, .thc-cart__summary .thc-block-title { font-size: 1.15rem; margin: 0 0 12px; font-weight: 800; }
.woocommerce ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.woocommerce ul#shipping_method li { padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 0.9rem; }
.woocommerce ul#shipping_method li label { display: inline; font-weight: 500; }
.woocommerce .woocommerce-shipping-destination,
.woocommerce .woocommerce-shipping-calculator { font-size: 0.85rem; color: var(--thc-ink-soft); }

.thc-pay-notice, .thc-panel { width: 100%; box-sizing: border-box; }
.thc-pay-notice { display: block; padding: 18px 20px; background: var(--thc-bg-alt); border-radius: var(--thc-radius-lg); }
.thc-pay-notice p, .thc-panel p { max-width: 70ch; }
.thc-thankyou__grid, .thc-checkout__grid, .thc-cart__grid { width: 100%; }


/* ---------------------------------------------------------------
   Store layout hardening (v1.6) — kill WooCommerce's legacy float
   widths that squeeze the cart totals and the checkout fields.
   --------------------------------------------------------------- */
.thc-cart .cart-collaterals,
.thc-cart .cart-collaterals .cart_totals,
.thc-cart__summary .cart_totals,
.woocommerce .cart-collaterals,
.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals,
.woocommerce .cart-collaterals .cross-sells {
  width: 100% !important;
  float: none !important;
  max-width: none !important;
  padding: 0 !important;
}
.thc-cart__summary .cart_totals .thc-block-title { font-size: 1.25rem; margin: 0 0 12px; }
.thc-cart__summary table.shop_table,
.thc-cart__summary table.shop_table_responsive,
.thc-checkout table.shop_table {
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: collapse;
}
.thc-cart__summary table.shop_table th,
.thc-cart__summary table.shop_table td,
.thc-checkout table.shop_table th,
.thc-checkout table.shop_table td {
  padding: 10px 0;
  vertical-align: top;
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.thc-cart__summary table.shop_table th { width: 42%; white-space: normal; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--thc-ink-soft); }
.thc-cart__summary table.shop_table td { text-align: right; }
.thc-cart__summary #shipping_method { list-style: none; margin: 0; padding: 0; text-align: left; }
.thc-cart__summary #shipping_method li { display: flex; gap: 8px; align-items: flex-start; padding: 4px 0; font-size: 0.9rem; }
.thc-cart__summary #shipping_method li input { margin-top: 4px; }
.thc-cart__summary #shipping_method li label { display: inline; font-weight: 500; }
.thc-cart__summary .wc-proceed-to-checkout { padding: 16px 0 0; }
.thc-cart__summary .wc-proceed-to-checkout a.checkout-button,
.thc-cart__summary .checkout-button {
  display: block; width: 100%; text-align: center; white-space: normal;
  background: var(--thc-orange); color: #fff; font-weight: 800;
  padding: 14px 18px; border-radius: var(--thc-radius); text-transform: none;
}
.thc-cart__summary .shipping-calculator-button { display: inline-block; margin-top: 6px; }

/* Checkout fields: full width columns, no 47% floats */
.thc-checkout .col2-set,
.thc-checkout #customer_details { display: grid; grid-template-columns: 1fr; gap: 22px; }
.thc-checkout .col2-set .col-1,
.thc-checkout .col2-set .col-2,
.thc-checkout #customer_details .col-1,
.thc-checkout #customer_details .col-2 { width: 100% !important; float: none !important; max-width: none !important; }
.thc-checkout form .form-row,
.thc-checkout .form-row-first,
.thc-checkout .form-row-last,
.thc-checkout .form-row-wide { width: 100% !important; float: none !important; padding: 0 !important; }
.thc-checkout .form-row label,
.thc-checkout .form-row .woocommerce-input-wrapper { width: 100%; }
.thc-checkout .select2-container { width: 100% !important; }
.thc-checkout p, .thc-checkout li, .thc-checkout label { overflow-wrap: normal; word-break: normal; hyphens: none; }
@media (min-width: 720px) {
  .thc-checkout .col2-set,
  .thc-checkout #customer_details { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 1100px) {
  .thc-cart__grid, .thc-checkout__grid { grid-template-columns: 1fr !important; }
}
.thc-panel, .thc-cart__summary .cart_totals { min-width: 0; }
.thc-pay-notice p, .thc-panel p { max-width: none; }

/* ---------------------------------------------------------------
   Store layout hardening pass 2 (v1.6.1)
   Checkout panels were collapsing to min-content because legacy
   WooCommerce floats + intrinsic grid sizing squeezed the tracks.
   --------------------------------------------------------------- */
.thc-checkout, .thc-cart, .thc-thankyou { box-sizing: border-box; }
.thc-checkout *, .thc-cart *, .thc-thankyou * { box-sizing: border-box; float: none !important; }

.thc-checkout, .thc-checkout__form, .thc-checkout__grid,
.thc-checkout__main, .thc-checkout__side,
.thc-checkout .thc-panel, .thc-checkout section {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.thc-checkout__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 30px;
}
@media (min-width: 1080px) {
  .thc-checkout__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px) !important; }
}
.thc-checkout .thc-panel,
.thc-checkout .thc-panel .thc-block-title,
.thc-checkout .thc-panel p,
.thc-checkout .thc-panel li {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.thc-checkout .thc-panel .thc-block-title { margin-top: 0; }
.thc-checkout .thc-panel--notice p { font-size: 0.95rem; line-height: 1.6; }

/* Cart totals card polish + keep text inside its box */
.thc-cart__grid { grid-template-columns: minmax(0, 1fr) !important; }
@media (min-width: 1080px) {
  .thc-cart__grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important; }
}
.thc-cart__summary .cart_totals {
  background: #fff;
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  padding: 22px !important;
  box-sizing: border-box;
  overflow: hidden;
}
.thc-cart__summary .cart_totals .thc-block-title {
  font-size: 1.15rem; margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--thc-line);
}
.thc-cart__summary table.shop_table tr { border-bottom: 1px solid var(--thc-line); }
.thc-cart__summary table.shop_table tr:last-child { border-bottom: 0; }
.thc-cart__summary table.shop_table th,
.thc-cart__summary table.shop_table td { padding: 12px 0 !important; line-height: 1.45; }
.thc-cart__summary table.shop_table td { word-break: normal; overflow-wrap: break-word; }
.thc-cart__summary .order-total th, .thc-cart__summary .order-total td { font-size: 1.05rem; font-weight: 800; color: var(--thc-ink); }
.thc-cart__summary .woocommerce-shipping-destination,
.thc-cart__summary .shipping-calculator-button { font-size: 0.82rem; color: var(--thc-ink-soft); }
.thc-cart__summary .shipping-calculator-form { text-align: left; }

/* Footer sitemap link */
.thc-footer__sitemap{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;color:inherit;opacity:.85;text-decoration:none;}
.thc-footer__sitemap:hover{opacity:1;text-decoration:underline;}
.thc-footer__sitemap svg{width:14px;height:14px;flex:none;}


/* Mobile: force 2 products per row on all product grids */
@media (max-width: 600px) {
  .woocommerce ul.products,
  ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .woocommerce ul.products li.product,
  ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 0.82rem !important; }
  ul.products li.product .thc-card-body { padding: 10px 10px 12px; }
  ul.products li.product .price { font-size: 0.92rem; }
  ul.products li.product .button { padding: 10px 12px; font-size: 0.72rem; }
}

/* Footer mobile accordion (collapsed by default on mobile only) */
.thc-footer__toggle {
	display: none;
}

@media (max-width: 768px) {
	.thc-footer__col--collapsible {
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		padding-bottom: 12px;
	}

	.thc-footer__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		background: none;
		border: none;
		color: #fff;
		font-size: 1rem;
		font-weight: 700;
		padding: 12px 0;
		cursor: pointer;
		text-align: left;
	}

	.thc-footer__toggle span {
		pointer-events: none;
	}

	.thc-footer__icon {
		width: 20px;
		height: 20px;
		flex: none;
		transition: transform 0.25s ease;
		pointer-events: none;
	}

	.thc-footer__col--collapsible .thc-footer__panel {
		display: grid;
		grid-template-rows: 0fr;
		transition: grid-template-rows 0.25s ease;
	}

	.thc-footer__col--collapsible .thc-footer__panel > * {
		overflow: hidden;
	}

	.thc-footer__col--collapsible.is-open .thc-footer__panel {
		grid-template-rows: 1fr;
	}

	.thc-footer__col--collapsible.is-open .thc-footer__icon {
		transform: rotate(180deg);
	}
}

@media (min-width: 769px) {
	.thc-footer__col--collapsible .thc-footer__panel {
		display: block !important;
	}
}

/* ==========================================================================
   99. Horizontal overflow guard (no sideways scrolling on any page)
   ========================================================================== */
html {
  overflow-x: clip;   /* clip (not hidden) keeps position: sticky working */
  max-width: 100%;
}
body {
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}
/* Off-canvas panels must never widen the document. */
.thc-drawer,
.thc-nav,
.thc-mobile-nav,
.thc-overlay,
.thc-drawer__overlay {
  max-width: 100vw;
}
/* Media and embeds stay inside their track. */
img, svg, video, iframe, embed, object, canvas {
  max-width: 100%;
  height: auto;
}
iframe, embed, object, video { max-height: 100%; }
/* Grid/flex children default to min-width:auto, which is the usual culprit. */
.thc-container,
.thc-grid,
.thc-products,
.thc-shelf,
.thc-cat-grid,
.thc-loc-grid,
ul.products,
.woocommerce-page .content-area {
  min-width: 0;
  max-width: 100%;
}
.thc-container { box-sizing: border-box; }
/* Long words, URLs and SKUs wrap instead of pushing the layout wide. */
h1, h2, h3, h4, p, li, td, th, a, .thc-loop__title, .woocommerce-loop-product__title {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Wide tables scroll inside their own box, not the page. */
.entry-content table,
.thc-cat-seo table,
.thc-prose table,
.woocommerce table.shop_table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 1100px) {
  body.thc-cart-page-body .thc-cart__grid,
  body.thc-checkout-page-body .thc-checkout__grid {
    display: block !important;
  }
  body.thc-cart-page-body .thc-cart__summary,
  body.thc-checkout-page-body .thc-checkout__side {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 24px !important;
  }
}

