/**
 * The Herb Centre — brand skin layer.
 * Loaded after style.css. Owns the site chrome: announcement bars, header,
 * navigation, hero/promo grid, USP strip and footer treatment.
 */

body,
.thc-body {
  font-family: var(--thc-font-body);
  color: var(--thc-ink);
}

h1, h2, h3, h4, h5, .thc-nav a, .thc-btn, .button {
  font-family: var(--thc-font);
}

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

/* --------------------------------------------------------------------------
   1. Announcement + utility bars
   -------------------------------------------------------------------------- */
.thc-announce {
  background: #b40d0d;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 12px 20px;
}
.thc-announce strong { font-weight: 700; }

.thc-utility {
  background: var(--thc-forest);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
}
.thc-utility__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 40px;
  flex-wrap: wrap;
}
.thc-utility a { color: rgba(255, 255, 255, 0.88); }
.thc-utility a:hover { color: var(--thc-green-bright); }
.thc-utility__ship { text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; color: #fff; }
.thc-utility__links {
  display: flex;
  gap: 18px;
  margin-left: auto;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.thc-header {
  background: var(--thc-dark);
  color: #fff;
  position: relative;
  z-index: 60;
}
.thc-header a { color: #fff; }
.thc-header a:hover { color: var(--thc-green-bright); }

.thc-header__top {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-block: 14px;
}
.thc-header__logo img {
  max-height: 76px;
  width: auto;
}
.thc-header__logo-text {
  font-family: var(--thc-font);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.thc-search {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
  border-radius: var(--thc-radius);
  overflow: hidden;
  background: #efece4;
}
.thc-search input[type="search"],
.thc-search input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--thc-ink);
}
.thc-search input:focus { outline: 2px solid var(--thc-gold); outline-offset: -2px; }
.thc-search button {
  border: 0;
  background: var(--thc-gold);
  color: #fff;
  padding-inline: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.thc-search button:hover { background: var(--thc-gold-dark); }

.thc-header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.thc-iconbtn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--thc-gold);
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
  color: #fff;
}
.thc-iconbtn:hover { background: var(--thc-gold); color: #fff; }
.thc-iconbtn__count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: var(--thc-gold);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  padding-inline: 5px;
}

/* Primary navigation */
.thc-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.thc-nav > ul,
.thc-nav ul.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.thc-nav > ul > li > a,
.thc-nav ul.menu > li > a {
  display: block;
  padding: 14px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.thc-nav > ul > li:hover > a,
.thc-nav > ul > li.current-menu-item > a { color: var(--thc-green-bright); }

.thc-nav li { position: relative; }
.thc-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius);
  box-shadow: var(--thc-shadow-lg);
  padding: 8px 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.16s ease;
  z-index: 70;
}
.thc-nav li:hover > .sub-menu,
.thc-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.thc-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 0.9rem;
  color: var(--thc-ink);
  text-transform: none;
  letter-spacing: 0;
}
.thc-nav .sub-menu a:hover { background: var(--thc-green-soft); color: var(--thc-green-dark); }

/* --------------------------------------------------------------------------
   3. Official-site notice band
   -------------------------------------------------------------------------- */
.thc-notice-band {
  background: var(--thc-green-bright);
  border-radius: var(--thc-radius-lg);
  text-align: center;
  padding: 28px 26px;
  margin: 26px auto 30px;
  color: var(--thc-ink);
}
.thc-notice-band h2,
.thc-notice-band .thc-notice-band__title {
  font-size: clamp(1.4rem, 3.4vw, 2.35rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.thc-notice-band p { margin: 0; font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   4. Hero / promo tile grid
   -------------------------------------------------------------------------- */
.thc-promos {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
.thc-promos__tile {
  display: block;
  border-radius: var(--thc-radius-lg);
  overflow: hidden;
  background: var(--thc-bg-alt);
  box-shadow: var(--thc-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.thc-promos__tile:hover { transform: translateY(-3px); box-shadow: var(--thc-shadow-lg); }
.thc-promos__tile img { width: 100%; height: 100%; object-fit: cover; }
.thc-promos__tile--lead {
  grid-row: span 2;
}
.thc-promos__tile--lead img { aspect-ratio: 1 / 1.06; }
.thc-promos__tile--sm img { aspect-ratio: 1.5 / 1; }

@media (max-width: 900px) {
  .thc-promos { grid-template-columns: 1fr 1fr; gap: 12px; }
  .thc-promos__tile--lead { grid-column: span 2; grid-row: auto; }
  .thc-promos__tile--lead img { aspect-ratio: 1.4 / 1; }
}

/* --------------------------------------------------------------------------
   5. USP strip
   -------------------------------------------------------------------------- */
.thc-usp {
  /* Reset the legacy grid strip: the skin lays the items out on .thc-usp__inner. */
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  border: 0 !important;
  background: var(--thc-green);
  color: #fff;
}
.thc-usp__inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 26px;
  padding-block: 22px;
  align-items: center;
}
.thc-usp__item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  background: transparent !important;
  padding: 0 !important;
  text-align: left !important;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
}
.thc-usp__text {
  display: block;
  min-width: 0;
  overflow-wrap: break-word;
}
.thc-usp__title {
  display: block;
  font-family: var(--thc-font);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}
.thc-usp__sub {
  display: block;
  margin-top: 3px;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}


.thc-usp__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
@media (max-width: 860px) {
  .thc-usp__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .thc-usp__inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   6. Buttons and section headings
   -------------------------------------------------------------------------- */
.thc-btn,
.thc-btn:visited,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background: var(--thc-green);
  color: #fff;
  border: 0;
  border-radius: var(--thc-radius);
  font-family: var(--thc-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  padding: 13px 22px;
  transition: background 0.16s ease;
}
.thc-btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background: var(--thc-green-dark);
  color: #fff;
}
.thc-btn--ghost {
  background: transparent;
  border: 2px solid var(--thc-green);
  color: var(--thc-green-dark);
}
.thc-btn--ghost:hover { background: var(--thc-green); color: #fff; }
.thc-btn--gold { background: var(--thc-gold); }
.thc-btn--gold:hover { background: var(--thc-gold-dark); }

.thc-section__head h2,
.thc-section h2 {
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.thc-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 3px solid var(--thc-green);
  padding-bottom: 12px;
  margin-bottom: 24px;
}
.thc-section__head a { color: var(--thc-green-dark); font-weight: 600; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   7. Product card accents
   -------------------------------------------------------------------------- */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: var(--thc-green-dark); font-weight: 700; }

.woocommerce span.onsale {
  background: #b40d0d;
  color: #fff;
  border-radius: 4px;
  font-family: var(--thc-font);
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Footer treatment
   -------------------------------------------------------------------------- */
.thc-footer {
  background: var(--thc-dark-2);
  color: rgba(255, 255, 255, 0.72);
}
.thc-footer a { color: rgba(255, 255, 255, 0.72); }
.thc-footer a:hover { color: var(--thc-green-bright); }
.thc-footer h2,
.thc-footer h3,
.thc-footer .thc-footer__title {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.thc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  padding-block: 18px;
}

/* --------------------------------------------------------------------------
   9. Mobile header behaviour — hamburger is mobile only
   -------------------------------------------------------------------------- */
.thc-burger { display: none; }
@media (max-width: 1024px) {
  .thc-burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--thc-gold);
    border-radius: var(--thc-radius);
    background: transparent;
    color: #fff;
    cursor: pointer;
  }
  .thc-nav { display: none; }
  .thc-nav.is-open { display: block; }
  .thc-nav > ul,
  .thc-nav ul.menu { flex-direction: column; align-items: stretch; gap: 0; }
  .thc-nav > ul > li > a { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .thc-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0;
  }
  .thc-nav .sub-menu a { color: rgba(255, 255, 255, 0.8); }
  .thc-header__top { flex-wrap: wrap; }
  .thc-search { order: 3; flex-basis: 100%; }
}
@media (min-width: 1025px) {
  .thc-burger { display: none !important; }
  .thc-nav { display: block !important; }
}

/* --------------------------------------------------------------------------
   12. Logo (header + footer) — capped so it never oversizes
   -------------------------------------------------------------------------- */
.thc-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  line-height: 1.05;
}
.thc-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 54px;
  max-width: 190px;
  object-fit: contain;
}
.thc-logo__text {
  font-family: var(--thc-font-head, inherit);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 9ch;
  color: #fff;
}
.thc-logo--has-mark .thc-logo__text { display: none; }
.thc-logo--footer img { max-height: 62px; max-width: 200px; }
.thc-logo--footer .thc-logo__text { color: #fff; }
@media (max-width: 1024px) {
  .thc-logo img { max-height: 44px; max-width: 150px; }
  .thc-logo__text { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .thc-logo img { max-height: 38px; max-width: 132px; }
  .thc-logo__text { display: none; }
}
.thc-logo__text {
  font-family: var(--thc-font-head, inherit);
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 9ch;
  color: #fff;
}
.thc-logo--footer img { max-height: 58px; max-width: 58px; }
.thc-logo--footer .thc-logo__text { color: #fff; }
@media (max-width: 1024px) {
  .thc-logo img { max-height: 42px; max-width: 42px; }
  .thc-logo__text { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .thc-logo__text { display: none; }
}

/* --------------------------------------------------------------------------
   13. Mobile navigation drawer
   -------------------------------------------------------------------------- */
.thc-nav__head { display: none; }
.thc-nav-overlay { display: none; }

@media (max-width: 1024px) {
  .thc-nav-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 990;
  }
  .thc-nav {
    display: block !important;
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto !important;
    width: min(320px, 86vw);
    max-width: 86vw;
    background: var(--thc-ink, #10251a) !important;
    color: #fff;
    transform: translateX(-105%) !important;
    transition: transform 0.25s ease;
    z-index: 995;
    padding: 0 0 40px !important;
    overflow-y: auto;
    border-top: 0;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
  .thc-nav.is-open { transform: translateX(0) !important; }
  .thc-nav__head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .thc-nav__close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
  }
  .thc-nav > ul,
  .thc-nav ul.menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 8px;
  }
  .thc-nav > ul > li > a,
  .thc-nav ul.menu > li > a {
    display: block;
    color: #fff;
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }
  .thc-nav .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 0 8px;
  }
  .thc-nav li.is-expanded > .sub-menu { display: block; }
  .thc-nav .sub-menu a { color: rgba(255, 255, 255, 0.85); padding: 11px 22px; }
  .thc-nav .sub-menu a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
  body.thc-nav-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   14. Blog: inline product cards + article typography
   -------------------------------------------------------------------------- */
.thc-inline-products {
  margin: 26px 0 32px;
  padding: 20px;
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius-lg);
  background: var(--thc-green-soft, #e6f6fd);
}
.thc-inline-products__head {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.thc-inline-products ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
.thc-inline-products ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #fff;
  border: 1px solid var(--thc-line);
  border-radius: var(--thc-radius);
  padding: 10px;
}
.thc-inline-products ul.products li.product img { border-radius: 8px; }
.thc-inline-products__more { margin: 16px 0 0; }
@media (max-width: 900px) {
  .thc-inline-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.thc-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; }
.thc-table th,
.thc-table td { border: 1px solid var(--thc-line); padding: 10px 12px; text-align: left; font-size: 0.94rem; }
.thc-table th { background: var(--thc-green-soft, #e6f6fd); font-weight: 800; }

/* ---------- Blog imagery ---------- */
.thc-post-figure {
	margin: 28px 0;
	border-radius: 14px;
	overflow: hidden;
	background: #f2f4f0;
	box-shadow: 0 10px 30px rgba(16, 24, 16, .10);
}
.thc-post-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.thc-post-figure figcaption {
	font-size: .85rem;
	padding: 10px 14px;
	color: #5c6a58;
	background: #fff;
}
.thc-single__media {
	margin: 0 0 28px;
	border-radius: 16px;
	overflow: hidden;
}
.thc-single__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.thc-post-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
}

/* --------------------------------------------------------------------------
   Homepage banner hero (real product photography)
   -------------------------------------------------------------------------- */
.thc-hero--banner { padding: 40px 0 8px; }
.thc-bannerhero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 20px;
}
.thc-bannerhero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
}
.thc-bannerhero__kicker {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--thc-bg-alt, #f4f6f8);
  margin-bottom: 14px;
}
.thc-bannerhero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; margin: 0 0 14px; }
.thc-bannerhero__lede { font-size: 1.05rem; color: var(--thc-ink-soft); max-width: 52ch; margin: 0; }
.thc-bannerhero__points {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 0.88rem; font-weight: 700;
}
.thc-bannerhero__points li::before { content: "✓"; margin-right: 6px; color: var(--thc-accent, #38bdf8); }

.thc-banner {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--thc-radius-lg);
  background: linear-gradient(160deg, #f6f7f9, #eef1f5);
  box-shadow: var(--thc-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.thc-banner:hover { transform: translateY(-3px); box-shadow: var(--thc-shadow-lg); }
.thc-banner__img { display: block; width: 100%; height: 100%; }
.thc-banner__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thc-banner--lead .thc-banner__img img { aspect-ratio: 4 / 3; object-fit: contain; padding: 18px; }
.thc-banner--sm .thc-banner__img img { aspect-ratio: 4 / 3; object-fit: contain; padding: 14px; }
.thc-banner__body {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.82) 55%, rgba(15, 23, 42, 0.94) 100%);
  color: #fff;
}
.thc-banner__kicker { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; opacity: 0.9; }
.thc-banner__title { font-size: 1.15rem; line-height: 1.2; color: #fff; }
.thc-banner--lead .thc-banner__title { font-size: 1.5rem; }
.thc-banner__sub { font-size: 0.9rem; opacity: 0.9; max-width: 42ch; }
.thc-banner__cta {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
}
.thc-banners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .thc-bannerhero { grid-template-columns: 1fr; gap: 20px; }
  .thc-banners { grid-template-columns: 1fr 1fr; gap: 12px; }
  .thc-banner--sm .thc-banner__sub { display: none; }
}
@media (max-width: 560px) {
  .thc-banners { grid-template-columns: 1fr; }
}
