/* =========================================================================
   TaxHaven — WooCommerce storefront styles (child of Storefront)
   ========================================================================= */

:root {
  --th-ink: #0d1b1e;
  --th-muted: #42575a;
  --th-soft: #5f7173;
  --th-line: #e2ebeb;
  --th-bg: #f5f8f9;
  --th-card: #ffffff;
  --th-teal: #0f766e;
  --th-teal-hover: #0b5f58;
  --th-tint: #e6f5f2;
  --th-dark: #0d3b3f;
  --th-deep: #0a2f33;
  --th-mint: #5eead4;
  --th-on-dark: #c7e8e6;
  --th-on-dark-soft: #8fc4c0;
  --th-sale: #c2410c;
  --th-star: #f59e0b;
  --th-turbotax: #1e4fd1;
  --th-hrblock: #0f7b3f;
  --th-radius: 16px;
  --th-radius-sm: 10px;
  --th-shadow: 0 24px 48px -24px rgba(13, 59, 63, 0.35);
  --th-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --th-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --th-wrap: 1240px;
}

/* ---------- Base ---------- */
body.th-site {
  background: var(--th-bg);
  color: var(--th-ink);
  font-family: var(--th-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.th-site h1, .th-site h2, .th-site h3, .th-site h4,
.th-site .product_title, .th-site .woocommerce-loop-product__title {
  font-family: var(--th-display);
  color: var(--th-ink);
  letter-spacing: -0.015em;
  font-weight: 700;
}
.th-site a { color: var(--th-teal); text-decoration: none; }
.th-site a:hover { color: var(--th-teal-hover); }
.th-site a:focus-visible, .th-site button:focus-visible, .th-site input:focus-visible,
.th-site select:focus-visible, .th-site textarea:focus-visible, .th-site summary:focus-visible {
  outline: 3px solid var(--th-mint);
  outline-offset: 2px;
}
.th-wrap { max-width: var(--th-wrap); margin: 0 auto; padding: 0 24px; }
.th-wrap--narrow { max-width: 820px; }
.th-center { text-align: center; }
.th-icon { flex-shrink: 0; vertical-align: middle; }
.th-hp { position: absolute !important; left: -9999px !important; }
.th-site .col-full { max-width: var(--th-wrap); padding: 0 24px; box-sizing: border-box; }
.th-site .site-content { padding-bottom: 24px; }
.th-site .site-main { margin-bottom: 0; }
.th-site .hentry { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.th-btn,
.th-site .button, .th-site button.button, .th-site input.button,
.th-site #respond input#submit, .th-site .wc-block-components-button,
.th-site .added_to_cart {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--th-radius-sm); border: 0;
  background: var(--th-teal); color: #fff !important;
  font-family: var(--th-font); font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.th-btn:hover,
.th-site .button:hover, .th-site button.button:hover, .th-site .added_to_cart:hover {
  background: var(--th-teal-hover); color: #fff !important;
}
.th-btn:active { transform: translateY(1px); }
.th-btn--lg { min-height: 54px; padding: 15px 28px; font-size: 16px; border-radius: 12px; }
.th-btn--ghost { background: #fff; color: var(--th-ink) !important; border: 1px solid var(--th-line); }
.th-btn--ghost:hover { background: var(--th-bg); color: var(--th-ink) !important; }
.th-btn--soft { background: var(--th-tint); color: var(--th-teal) !important; }
.th-btn--soft:hover { background: #d3eeea; color: var(--th-teal-hover) !important; }
.th-btn--light { background: #fff; color: var(--th-dark) !important; }
.th-btn--light:hover { background: var(--th-tint); color: var(--th-dark) !important; }
.th-site .button.alt, .th-site button.button.alt, .th-site #place_order {
  background: var(--th-teal); color: #fff !important;
}
.th-site .button.alt:hover, .th-site #place_order:hover { background: var(--th-teal-hover); }
.th-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Forms ---------- */
.th-site input[type="text"], .th-site input[type="email"], .th-site input[type="tel"],
.th-site input[type="password"], .th-site input[type="search"], .th-site input[type="number"],
.th-site select, .th-site textarea, .th-site .select2-container .select2-selection--single {
  background: #fff; border: 1px solid #cfdcdc; border-radius: var(--th-radius-sm);
  box-shadow: none; color: var(--th-ink); font-family: var(--th-font); font-size: 15px;
  padding: 12px 14px; min-height: 48px; box-sizing: border-box;
}
.th-site .select2-container .select2-selection--single { height: 48px; display: flex; align-items: center; }
.th-site label { font-weight: 600; font-size: 14px; color: var(--th-muted); }

/* ---------- Announcement + header ---------- */
.th-announce { background: var(--th-dark); color: var(--th-on-dark); font-size: 13px; font-weight: 500; }
.th-announce .th-wrap { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; text-align: center; }
.th-announce .th-icon { color: var(--th-mint); }

.th-header { background: #fff; border-bottom: 1px solid var(--th-line); position: sticky; top: 0; z-index: 100; }
.admin-bar .th-header { top: 32px; }
.th-header__bar { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.th-header__toggle { display: none; background: none; border: 0; padding: 10px; margin-left: -10px; color: var(--th-ink); cursor: pointer; min-width: 44px; min-height: 44px; }
.th-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--th-ink) !important; font-family: var(--th-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.th-logo__mark { width: 32px; height: 32px; border-radius: 9px; background: var(--th-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.th-logo img { max-height: 40px; width: auto; }
.th-nav__list, .th-mobile-nav__list, .th-footer__menu { list-style: none; margin: 0; padding: 0; }
.th-nav__list { display: flex; gap: 26px; }
.th-nav__list a { color: var(--th-muted); font-weight: 600; font-size: 15px; padding: 8px 0; display: inline-block; }
.th-nav__list a:hover, .th-nav__list .current-menu-item > a { color: var(--th-teal); }
.th-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.th-search { position: relative; display: flex; align-items: center; }
.th-search .th-icon { position: absolute; left: 14px; color: var(--th-soft); pointer-events: none; }
.th-site .th-search input[type="search"] { width: 240px; padding-left: 42px; min-height: 44px; background: var(--th-bg); border-color: var(--th-line); }
.th-icon-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; color: var(--th-ink) !important; }
.th-icon-link:hover { background: var(--th-bg); }
.th-cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--th-teal); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.th-cart-count.is-empty { display: none; }
.th-mobile-nav { border-top: 1px solid var(--th-line); padding: 12px 24px 20px; background: #fff; }
.th-mobile-nav__list a { display: block; padding: 13px 0; border-bottom: 1px solid var(--th-line); color: var(--th-ink); font-weight: 600; font-size: 17px; }
.th-search--mobile { margin-top: 16px; }
.th-site .th-search--mobile input[type="search"] { width: 100%; }

/* ---------- Breadcrumb / notices ---------- */
.th-site .woocommerce-breadcrumb { background: transparent; margin: 0 !important; padding: 20px 0 4px !important; font-size: 13px; color: var(--th-soft); }
.th-site .woocommerce-breadcrumb a { color: var(--th-soft); }
.th-site .woocommerce-breadcrumb::before, .th-site .woocommerce-breadcrumb a:first-of-type::before { display: none; }
.th-site .woocommerce-message, .th-site .woocommerce-info, .th-site .woocommerce-error, .th-site .woocommerce-noreviews {
  border-radius: 12px; border: 0; background: var(--th-dark); color: #fff; padding: 16px 20px 16px 54px; font-weight: 500; position: relative;
}
.th-site .woocommerce-message a, .th-site .woocommerce-info a { color: var(--th-mint); }
.th-site .woocommerce-message .button, .th-site .woocommerce-info .button { background: var(--th-mint); color: var(--th-dark) !important; min-height: 40px; padding: 8px 16px; }
.th-site .woocommerce-error { background: #7f1d1d; }

/* ---------- Pills, chips, eyebrow ---------- */
.th-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px; border-radius: 999px; background: var(--th-tint); color: var(--th-teal); font-size: 13px; font-weight: 700; }
.th-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 24px; width: 100%; }
.th-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--th-line); background: #fff; color: var(--th-muted) !important; font-weight: 600; font-size: 14px; }
.th-chip:hover { border-color: var(--th-teal); color: var(--th-teal) !important; }
.th-chip.is-active { background: var(--th-teal); border-color: var(--th-teal); color: #fff !important; }
.th-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--th-teal); }
.th-eyebrow.th-brand--turbotax { color: var(--th-turbotax); }
.th-eyebrow.th-brand--hrblock { color: var(--th-hrblock); }

/* ---------- Product tile (generated "box art") ---------- */
.th-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; color: #fff; background: var(--th-dark); overflow: hidden; text-align: center; padding: 20px; box-sizing: border-box; }
.th-tile::after { content: ""; position: absolute; inset: auto -30% -55% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.th-brand--turbotax.th-tile { background: var(--th-turbotax); }
.th-brand--hrblock.th-tile { background: var(--th-hrblock); }
.th-tile__brand { position: absolute; top: 14px; left: 16px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.th-tile__badge { position: absolute; top: 12px; right: 12px; background: #fff; color: var(--th-sale); font-size: 12px; font-weight: 800; padding: 4px 9px; border-radius: 7px; }
.th-tile__icon { width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .16); display: flex; align-items: center; justify-content: center; }
.th-tile__name { font-family: var(--th-display); font-weight: 700; font-size: 22px; line-height: 1.15; position: relative; z-index: 1; }
.th-tile__meta { font-size: 13px; opacity: .85; }
.th-tile--large { aspect-ratio: 5 / 4; border-radius: 20px; box-shadow: var(--th-shadow); }
.th-tile--large .th-tile__name { font-size: 34px; }
.th-tile--large .th-tile__icon { width: 76px; height: 76px; border-radius: 20px; }
.th-tile--large .th-tile__brand { font-size: 13px; top: 20px; left: 22px; }
.th-tile--large .th-tile__badge { font-size: 14px; top: 16px; right: 16px; padding: 6px 12px; }

/* ---------- Product cards ---------- */
.th-site ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; }
.th-site ul.products::before, .th-site ul.products::after { display: none !important; }
.th-site ul.products li.product {
  width: auto !important; margin: 0 !important; float: none !important; clear: none !important;
  background: var(--th-card); border: 1px solid var(--th-line); border-radius: 18px;
  padding: 14px 14px 20px; text-align: left; display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.th-site ul.products li.product:hover { box-shadow: var(--th-shadow); transform: translateY(-2px); }
.th-site ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex-grow: 1; color: var(--th-ink); }
.th-site ul.products li.product img, .th-site ul.products li.product .th-tile { margin: 0 0 16px; border-radius: 12px; }
.th-card__brand { display: block; padding: 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--th-soft); }
.th-site ul.products li.product .woocommerce-loop-product__title { padding: 2px 6px 0; margin: 0 0 6px; font-size: 19px; line-height: 1.25; }
.th-site ul.products li.product .star-rating { margin: 0 6px 8px; font-size: 13px; }
.th-site ul.products li.product .price { padding: 0 6px; margin: 4px 0 8px; color: var(--th-ink); font-family: var(--th-display); font-size: 24px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.th-site .price del { color: #8a9899; font-size: .65em; font-weight: 500; opacity: 1; }
.th-site .price ins { text-decoration: none; font-weight: 700; background: none; }
.th-card__desc { padding: 0 6px; margin: 0 0 8px; font-size: 14px; line-height: 1.5; color: var(--th-muted); }
.th-card__meta { padding: 0 6px; margin: 0 0 14px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--th-soft); }
.th-site ul.products li.product .button { margin: auto 6px 0; width: calc(100% - 12px); }
.th-site ul.products li.product .added_to_cart { margin: 8px 6px 0; width: calc(100% - 12px); background: var(--th-tint); color: var(--th-teal) !important; }
.th-site ul.products li.product .button.loading { opacity: .7; }
.th-site ul.products li.product .button.added::after { margin-left: 6px; }

/* Shop header */
.th-site .woocommerce-products-header { padding: 12px 0 0; }
.th-site .woocommerce-products-header__title { font-size: 40px; margin: 0 0 6px; }
.th-site .storefront-sorting { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 20px; padding: 0; border: 0; font-size: 14px; }
.th-site .storefront-sorting .woocommerce-ordering, .th-site .storefront-sorting .woocommerce-result-count { margin: 0; float: none; }
.th-site .storefront-sorting + .th-chips { margin-top: 0; }
.th-site .woocommerce-pagination { border: 0; padding: 0; }
.th-site .woocommerce-pagination .page-numbers li .page-numbers { border-radius: 8px; min-width: 40px; min-height: 40px; }
.th-site .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--th-teal); color: #fff; }

/* ---------- Single product ---------- */
.th-site.single-product div.product { padding-top: 12px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 56px; align-items: start; }
.th-site.single-product div.product > * { grid-column: 1 / -1; width: auto; float: none; }
.th-site.single-product div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1; width: auto !important; float: none; margin: 0 0 32px; }
.th-site.single-product div.product .summary { grid-column: 2; grid-row: 1; width: auto; float: none; margin: 0 0 32px; }
.th-gallery-tile { width: 100%; }
.th-site.single-product div.product .woocommerce-product-gallery:has(.th-gallery-tile) .woocommerce-product-gallery__trigger { display: none !important; }
.th-site.single-product .product_title { font-size: 40px; line-height: 1.08; margin: 0 0 10px; }
.th-site.single-product div.product .woocommerce-product-rating { margin-bottom: 10px; }
.th-site.single-product div.product p.price { font-family: var(--th-display); font-size: 42px; font-weight: 700; color: var(--th-ink); margin: 14px 0 6px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.th-site.single-product div.product p.price del { font-size: 20px; }
.th-save { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; font-size: 14px; color: var(--th-muted); }
.th-save__pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 7px; background: var(--th-sale); color: #fff; font-size: 13px; font-weight: 800; }
.th-countdown { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 600; color: #9a3412; }
.th-countdown strong { font-variant-numeric: tabular-nums; font-weight: 800; }
.th-site.single-product .woocommerce-product-details__short-description { color: var(--th-muted); font-size: 16px; margin-bottom: 18px; }
.th-site.single-product .stock { font-size: 14px; font-weight: 700; color: var(--th-teal); margin-bottom: 12px; }
.th-site.single-product div.product form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin: 0 0 18px; padding: 20px; background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); }
.th-site.single-product div.product form.cart .quantity { margin: 0; }
.th-site.single-product div.product form.cart .quantity .qty { width: 72px; min-height: 54px; text-align: center; }
.th-site.single-product div.product form.cart .single_add_to_cart_button { flex: 1 1 160px; min-height: 54px; background: var(--th-tint); color: var(--th-teal) !important; font-size: 16px; }
.th-site.single-product div.product form.cart .single_add_to_cart_button:hover { background: #d3eeea; }
.th-buy-now { flex: 1 1 100%; min-height: 56px; font-size: 17px; order: -1; }
.th-trust-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.th-trust-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--th-ink); }
.th-trust-list .th-icon { color: var(--th-teal); }
.th-site.single-product .product_meta { font-size: 13px; color: var(--th-soft); border-top: 1px solid var(--th-line); padding-top: 14px; }

.th-why { clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 40px; padding: 24px; background: var(--th-dark); border-radius: var(--th-radius); color: var(--th-on-dark); }
.th-why__item { display: flex; gap: 14px; align-items: flex-start; }
.th-why__item .th-icon { color: var(--th-mint); }
.th-why__item strong { display: block; color: #fff; font-size: 16px; }
.th-why__item span { font-size: 14px; }

.th-site.single-product .woocommerce-tabs { clear: both; padding: 0; border: 0; display: block; }
.th-site.single-product .woocommerce-tabs ul.tabs { width: 100%; float: none; display: flex; gap: 6px; flex-wrap: wrap; border: 0; margin: 0 0 18px; padding: 0; }
.th-site.single-product .woocommerce-tabs ul.tabs::before { display: none; }
.th-site.single-product .woocommerce-tabs ul.tabs li { border: 0 !important; margin: 0; padding: 0; background: none; }
.th-site.single-product .woocommerce-tabs ul.tabs li::before, .th-site.single-product .woocommerce-tabs ul.tabs li::after { display: none; }
.th-site.single-product .woocommerce-tabs ul.tabs li a { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--th-line); color: var(--th-muted); font-weight: 700; font-size: 14px; }
.th-site.single-product .woocommerce-tabs ul.tabs li.active a { background: var(--th-teal); border-color: var(--th-teal); color: #fff; }
.th-site.single-product .woocommerce-tabs ul.tabs li.active a::after { display: none; }
.th-site.single-product .woocommerce-tabs .panel { width: 100%; float: none; background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 28px 32px; margin: 0 0 40px; box-sizing: border-box; }
.th-site.single-product .woocommerce-tabs .panel h2:first-child { font-size: 22px; margin-top: 0; }
.th-steps-list { margin: 0 0 16px 20px; }
.th-steps-list li { margin-bottom: 10px; }

.th-site.single-product .related, .th-site.single-product .upsells { clear: both; padding-top: 8px; }
.th-site.single-product .related > h2, .th-site.single-product .upsells > h2 { font-size: 26px; }

/* Reviews */
.th-site #reviews .commentlist li .comment_container { background: #fff; border: 1px solid var(--th-line); border-radius: 12px; padding: 16px; }
.th-site .star-rating span::before, .th-site .stars a { color: var(--th-star); }

/* Sticky mobile buy bar */
.th-sticky-buy { display: none; }

/* ---------- Cart & checkout ---------- */
.th-site.woocommerce-cart .entry-header .entry-title, .th-site.woocommerce-checkout .entry-header { display: none; }
.th-site table.shop_table { border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; border-collapse: separate; overflow: hidden; }
.th-site table.shop_table th, .th-site table.shop_table td { background: #fff; padding: 16px 18px; border-color: var(--th-line); }
.th-site table.shop_table thead th { background: var(--th-bg); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--th-soft); }
.th-site table.cart td.product-thumbnail .th-tile { width: 72px; aspect-ratio: 1; padding: 6px; border-radius: 10px; }
.th-site table.cart td.product-thumbnail .th-tile__name { font-size: 10px; }
.th-site table.cart td.product-thumbnail .th-tile__brand, .th-site table.cart td.product-thumbnail .th-tile__badge, .th-site table.cart td.product-thumbnail .th-tile__icon { display: none; }
.th-site .cart-collaterals .cart_totals, .th-site .cart-collaterals .cross-sells { width: 100%; float: none; }
.th-site .cart_totals h2 { font-size: 22px; }
.th-site .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 17px; }

.th-checkout-head { margin: 8px 0 24px; }
.th-checkout-head h1 { font-size: 36px; margin: 0 0 6px; }
.th-checkout-head p { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--th-muted); }
.th-checkout-head .th-icon { color: var(--th-teal); }
.th-site form.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.th-site form.checkout #customer_details, .th-site form.checkout #order_review_heading, .th-site form.checkout #order_review { width: auto; float: none; margin: 0; }
.th-site form.checkout #customer_details { grid-row: 1 / span 3; background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 28px; }
.th-site form.checkout #customer_details .col-1, .th-site form.checkout #customer_details .col-2 { width: 100%; float: none; }
.th-site form.checkout #order_review_heading { font-size: 22px; }
.th-site form.checkout #order_review { background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 24px; }
.th-site #payment { background: var(--th-bg); border-radius: 12px; }
.th-site #payment .payment_methods > li { background: #fff; border-radius: 10px; margin-bottom: 8px; padding: 12px 14px; list-style: none; }
.th-site #payment .payment_box { background: var(--th-tint); color: var(--th-dark); border-radius: 8px; }
.th-site #payment .payment_box::before { border-bottom-color: var(--th-tint); }
.th-site #place_order { width: 100%; min-height: 58px; font-size: 18px; }
.th-checkout-trust { margin-top: 16px; display: grid; gap: 8px; }
.th-checkout-trust p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--th-muted); }
.th-checkout-trust .th-icon { color: var(--th-teal); }

/* Thank-you license keys */
.th-keys { background: var(--th-dark); color: var(--th-on-dark); border-radius: var(--th-radius); padding: 28px; margin: 0 0 32px; }
.th-keys h2 { color: #fff; margin: 0 0 4px; font-size: 26px; }
.th-keys__lead { margin: 0 0 18px; color: var(--th-on-dark-soft); }
.th-keys__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--th-deep); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.th-keys__name { font-weight: 700; color: #fff; flex: 1 1 200px; }
.th-keys__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; background: #fff; color: var(--th-ink); padding: 8px 12px; border-radius: 8px; letter-spacing: .04em; }
.th-copy { min-height: 40px; padding: 8px 16px; border-radius: 8px; border: 0; background: var(--th-mint); color: var(--th-dark); font-weight: 800; cursor: pointer; }
.th-keys__pending { color: var(--th-mint); }
.th-site .woocommerce-order-overview { background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 18px; }

/* My account */
.th-site .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; overflow: hidden; }
.th-site .woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid var(--th-line); }
.th-site .woocommerce-MyAccount-navigation ul li a { display: block; padding: 14px 18px; color: var(--th-ink); font-weight: 600; }
.th-site .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--th-tint); color: var(--th-teal); }
.th-site .woocommerce-MyAccount-navigation ul li a::before { display: none; }

/* ---------- Homepage ---------- */
.th-hero { background: #fff; border-bottom: 1px solid var(--th-line); padding: 64px 0 72px; }
.th-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.th-hero__title { font-size: clamp(38px, 5vw, 58px); line-height: 1.04; margin: 0; }
.th-hero__text { font-size: 19px; color: var(--th-muted); margin: 20px 0 0; max-width: 540px; }
.th-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.th-hero__checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; font-weight: 600; color: var(--th-muted); }
.th-hero__checks li { display: flex; align-items: center; gap: 7px; }
.th-hero__checks .th-icon { color: #16a34a; }
.th-deal { background: var(--th-bg); border: 1px solid var(--th-line); border-radius: 24px; padding: 22px; }
.th-deal__label { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--th-sale); }
.th-deal__tile { display: block; }
.th-deal__name { font-size: 22px; margin: 18px 0 6px; }
.th-deal__name a { color: var(--th-ink); }
.th-deal__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-family: var(--th-display); font-size: 30px; font-weight: 700; }
.th-deal__price del { font-size: 17px; color: #8a9899; font-weight: 500; }
.th-deal__price ins { text-decoration: none; }
.th-deal__price .th-save__pill { font-family: var(--th-font); }
.th-deal__ctas { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 16px; }

.th-trust { background: var(--th-bg); border-bottom: 1px solid var(--th-line); padding: 26px 0; }
.th-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.th-trust__grid > div { display: flex; align-items: center; gap: 12px; }
.th-trust__grid .th-icon { color: var(--th-teal); }
.th-trust__grid p { margin: 0; line-height: 1.35; }
.th-trust__grid strong { display: block; font-size: 15px; }
.th-trust__grid span { font-size: 13px; color: var(--th-soft); }

.th-section { padding: 64px 0 8px; }
.th-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.th-section__head h2 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.th-section__head p { margin: 8px 0 0; color: var(--th-muted); font-size: 17px; }
.th-section__head--center { flex-direction: column; align-items: center; text-align: center; }
.th-home .woocommerce ul.products { margin-bottom: 0; }

.th-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.th-brandcard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 180px; padding: 30px; border-radius: 20px; color: #fff !important; background: var(--th-dark); }
.th-brandcard::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.th-brandcard.th-brand--turbotax { background: var(--th-turbotax); }
.th-brandcard.th-brand--hrblock { background: var(--th-hrblock); }
.th-brandcard__name { font-family: var(--th-display); font-size: 34px; font-weight: 700; }
.th-brandcard__count { opacity: .85; }
.th-brandcard__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.th-brandcard:hover { transform: translateY(-2px); box-shadow: var(--th-shadow); }

.th-guide__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.th-guide__card { background: #fff; border: 1px solid var(--th-line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; }
.th-guide__icon { width: 48px; height: 48px; border-radius: 13px; background: var(--th-tint); color: var(--th-teal); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.th-guide__card h3 { font-size: 20px; margin: 0 0 6px; }
.th-guide__card p { color: var(--th-muted); font-size: 15px; margin: 0 0 16px; }
.th-guide__card ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.th-guide__card li a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--th-bg); color: var(--th-ink); font-weight: 600; font-size: 14px; }
.th-guide__card li a:hover { background: var(--th-tint); color: var(--th-teal); }
.th-guide__price { font-weight: 800; color: var(--th-teal); white-space: nowrap; }

.th-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.th-steps li { background: #fff; border: 1px solid var(--th-line); border-radius: 18px; padding: 28px; }
.th-steps__n { width: 44px; height: 44px; border-radius: 50%; background: var(--th-teal); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--th-display); font-weight: 700; font-size: 20px; margin-bottom: 14px; }
.th-steps h3 { font-size: 20px; margin: 0 0 6px; }
.th-steps p { margin: 0; color: var(--th-muted); font-size: 15px; }

.th-guarantee { display: flex; align-items: center; gap: 28px; padding: 40px 44px; border-radius: 24px; background: var(--th-dark); color: var(--th-on-dark); }
.th-guarantee__icon { color: var(--th-mint); }
.th-guarantee h2 { color: #fff; margin: 0 0 8px; font-size: 28px; }
.th-guarantee p { margin: 0; max-width: 640px; }
.th-guarantee .th-btn { margin-left: auto; flex-shrink: 0; }

.th-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.th-review { margin: 0; background: #fff; border: 1px solid var(--th-line); border-radius: 16px; padding: 24px; }
.th-review blockquote { margin: 10px 0 12px; padding: 0; border: 0; font-style: normal; font-size: 16px; color: var(--th-ink); }
.th-review figcaption { font-size: 13px; color: var(--th-soft); }
.th-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--th-soft); }
.th-rating__stars { --th-rating: 5; display: inline-block; font-size: 16px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, var(--th-star) calc(var(--th-rating) / 5 * 100%), #d6dede 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.th-rating__stars::before { content: "★★★★★"; }

.th-faq { display: grid; gap: 10px; }
.th-faq__item { background: #fff; border: 1px solid var(--th-line); border-radius: 14px; padding: 0 20px; }
.th-faq__item summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.th-faq__item summary::-webkit-details-marker { display: none; }
.th-faq__item summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--th-teal); }
.th-faq__item[open] summary::after { content: "–"; }
.th-faq__item p { margin: 0 0 18px; color: var(--th-muted); }

.th-cta { text-align: center; padding: 72px 0; }
.th-cta h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 22px; }

/* ---------- Content pages ---------- */
.th-site.page:not(.home) .site-main { background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 40px 48px; margin: 16px 0 40px; }
.th-site.woocommerce-cart .site-main, .th-site.woocommerce-checkout .site-main, .th-site.woocommerce-account .site-main { background: transparent !important; border: 0 !important; padding: 0 !important; }
.th-site.page .entry-title { font-size: 40px; margin-bottom: 12px; }
.th-site .entry-content h2 { font-size: 24px; margin-top: 32px; }
.th-site .entry-content h3 { font-size: 19px; }
.th-site .entry-content ul, .th-site .entry-content ol { margin-left: 22px; }

.th-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.th-form p { margin: 0 0 16px; }
.th-form label { display: block; margin-bottom: 6px; }
.th-form input, .th-form select, .th-form textarea { width: 100%; }
.th-alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.th-alert--ok { background: var(--th-tint); color: var(--th-dark); }
.th-alert--err { background: #fef2f2; color: #991b1b; }

/* ---------- Newsletter + footer ---------- */
.th-newsletter { padding: 16px 0 48px; }
.th-newsletter__inner { display: flex; align-items: center; gap: 32px; background: var(--th-tint); border: 1px solid #cbe7e2; border-radius: 22px; padding: 32px 40px; }
.th-newsletter__inner > div { flex: 1 1 auto; }
.th-newsletter__title { font-size: 22px; margin: 0 0 4px; }
.th-newsletter__inner p { margin: 0; color: var(--th-muted); }
.th-newsletter__form { position: relative; display: flex; gap: 10px; flex-wrap: wrap; flex: 0 1 460px; }
.th-site .th-newsletter__form input[type="email"] { flex: 1 1 220px; }
.th-newsletter__msg { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 14px; font-weight: 700; }
.th-newsletter__msg.is-ok { color: var(--th-teal) !important; }
.th-newsletter__msg.is-err { color: #b91c1c !important; }

.th-footer { background: var(--th-dark); color: var(--th-on-dark-soft); padding: 56px 0 0; font-size: 14px; }
.th-footer a { color: var(--th-on-dark-soft); }
.th-footer a:hover { color: #fff; }
.th-footer__top { display: flex; gap: 56px; padding-bottom: 40px; border-bottom: 1px solid #1c4a4e; }
.th-footer__brand { flex: 0 0 300px; }
.th-logo--footer { color: #fff !important; font-size: 20px; margin-bottom: 14px; }
.th-footer__brand > p { margin: 0 0 16px; line-height: 1.6; }
.th-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.th-contact li { display: flex; align-items: center; gap: 9px; }
.th-contact .th-icon { color: var(--th-mint); }
.th-social { display: flex; gap: 10px; margin-top: 18px; }
.th-social a { width: 38px; height: 38px; border-radius: 10px; background: var(--th-deep); display: inline-flex; align-items: center; justify-content: center; }
.th-footer__cols { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.th-footer__cols h3 { color: #fff; font-family: var(--th-font); font-size: 15px; font-weight: 800; letter-spacing: 0; margin: 0 0 12px; }
.th-footer__menu li { margin-bottom: 9px; }
.th-footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 24px 0; border-bottom: 1px solid #1c4a4e; }
.th-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 9px; background: var(--th-deep); color: var(--th-on-dark); font-weight: 600; font-size: 13px; }
.th-badge .th-icon { color: var(--th-mint); }
.th-pay { margin-left: auto; display: inline-flex; gap: 6px; flex-wrap: wrap; }
.th-pay span { padding: 6px 10px; border-radius: 6px; background: var(--th-deep); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .04em; }
.th-footer__legal { padding: 22px 0 36px; }
.th-footer__disclaimer { font-size: 12px; line-height: 1.7; color: #7fb0ac; max-width: 1000px; margin: 0 0 12px; }
.th-footer__copy { margin: 0; font-size: 13px; }

/* Hide Storefront bits we replaced */
.th-site .storefront-handheld-footer-bar, .th-site .site-header, .th-site .site-footer { display: none !important; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1100px) {
  .th-site .th-search input[type="search"] { width: 170px; }
  .th-nav__list { gap: 18px; }
  .th-footer__top { flex-direction: column; gap: 32px; }
  .th-footer__brand { flex-basis: auto; }
}

@media (max-width: 960px) {
  .th-nav, .th-header__actions .th-search { display: none; }
  .th-header__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .th-header__bar { gap: 8px; min-height: 64px; }
  .th-logo { font-size: 20px; }

  .th-hero { padding: 40px 0 48px; }
  .th-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .th-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-guide__grid, .th-steps, .th-reviews { grid-template-columns: 1fr; }
  .th-site ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .th-site.single-product div.product { grid-template-columns: minmax(0, 1fr); }
  .th-site.single-product div.product .woocommerce-product-gallery,
  .th-site.single-product div.product .summary { grid-column: 1; grid-row: auto; }
  .th-site.single-product div.product .woocommerce-product-gallery { margin-bottom: 20px; }
  .th-why { grid-template-columns: 1fr; }
  .th-site form.checkout { grid-template-columns: 1fr; }
  .th-site form.checkout #customer_details { grid-row: auto; }
  .th-guarantee { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .th-guarantee .th-btn { margin-left: 0; }
  .th-newsletter__inner { flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .th-newsletter__form { flex-basis: auto; }
  .th-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .th-pay { margin-left: 0; }

  /* Sticky buy bar on phones/tablets */
  .th-sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    align-items: center; gap: 14px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--th-line); box-shadow: 0 -10px 24px -14px rgba(13, 27, 30, .3);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .th-sticky-buy.is-visible { transform: translateY(0); }
  .th-sticky-buy__price { display: flex; flex-direction: column; min-width: 0; font-family: var(--th-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
  .th-sticky-buy__price del { font-size: 13px; color: #8a9899; font-weight: 500; }
  .th-sticky-buy__price ins { text-decoration: none; }
  .th-sticky-buy__name { font-family: var(--th-font); font-size: 12px; font-weight: 600; color: var(--th-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .th-sticky-buy .th-btn { flex: 1; min-height: 50px; }
  .single-product .th-newsletter { padding-bottom: 96px; }
}

@media (max-width: 782px) {
  .admin-bar .th-header { top: 46px; }
}

@media (max-width: 600px) {
  .th-wrap, .th-site .col-full { padding: 0 16px; }
  .th-announce { font-size: 12px; }
  .th-hero__text { font-size: 17px; }
  .th-hero__ctas .th-btn { flex: 1 1 100%; }
  .th-trust__grid { grid-template-columns: 1fr; gap: 14px; }
  .th-brands { grid-template-columns: 1fr; }
  .th-brandcard { min-height: 140px; padding: 24px; }
  .th-brandcard__name { font-size: 28px; }
  .th-site ul.products { grid-template-columns: 1fr; }
  .th-section { padding-top: 48px; }
  .th-section__head { flex-direction: column; align-items: flex-start; }
  .th-section__head--center { align-items: center; }
  .th-site.single-product .product_title { font-size: 30px; }
  .th-site.single-product div.product p.price { font-size: 34px; }
  .th-site.single-product .woocommerce-tabs .panel { padding: 22px 18px; }
  .th-site.page:not(.home) .site-main { padding: 26px 20px; }
  .th-site.page .entry-title { font-size: 30px; }
  .th-form__row { grid-template-columns: 1fr; gap: 0; }
  .th-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .th-keys__code { width: 100%; box-sizing: border-box; word-break: break-all; }
  .th-deal__ctas { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .th-site *, .th-site *::before, .th-site *::after { transition: none !important; animation: none !important; }
}

/* Storefront wraps the breadcrumb in a nested .col-full — flatten it. */
.th-site .storefront-breadcrumb { margin: 0; padding: 0; background: transparent; }
.th-site .storefront-breadcrumb .col-full { padding: 0; max-width: none; }
/* Storefront adds ~2.6em side margins to .col-full on small screens; we use padding instead. */
.th-site .col-full { margin-left: auto; margin-right: auto; }
.th-site .storefront-breadcrumb .col-full { margin: 0; }

/* =========================================================================
   Product detail — conversion landing (matches the TaxHaven design)
   ========================================================================= */
.th-site.single-product div.product.th-pd { display: block; padding-top: 8px; }
.th-pd__hero { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 48px; align-items: start; padding: 12px 0 44px; }
.th-pd__media { min-width: 0; }
.th-pd__box .th-tile { aspect-ratio: 13 / 10; box-shadow: 0 30px 60px -22px rgba(30, 79, 209, .45); }
.th-pd__box .th-brand--hrblock.th-tile { box-shadow: 0 30px 60px -22px rgba(15, 123, 63, .45); }
.th-pd__media .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.th-pd__chips { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.th-pd__chips li { min-height: 66px; padding: 8px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; text-align: center; background: #fff; border: 1px solid var(--th-line); border-radius: 12px; font-size: 13px; font-weight: 600; color: var(--th-soft); line-height: 1.3; }
.th-pd__chips li.is-primary { border: 2px solid var(--th-teal); color: var(--th-teal); }

.th-pd__buy { min-width: 0; }
.th-pd .th-eyebrow { margin-bottom: 8px; }
.th-site.single-product .th-pd__title { font-size: 42px; line-height: 1.06; letter-spacing: -0.02em; margin: 0; }
.th-pd__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.th-pd__rating { color: inherit !important; }
.th-pd__stock { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; background: var(--th-tint); color: var(--th-teal); font-size: 13px; font-weight: 700; }
.th-pd__stock.is-out { background: #fef2f2; color: #991b1b; }
.th-pd__lead { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--th-muted); max-width: 580px; }
.th-pd__lead p { margin: 0; }

.th-pd__pricecard { margin-top: 24px; padding: 24px; background: #fff; border: 1px solid var(--th-line); border-radius: 18px; box-shadow: 0 1px 0 rgba(13, 27, 30, .02); }
.th-pd__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.th-pd__now { font-family: var(--th-display); font-size: 46px; font-weight: 700; line-height: 1; color: var(--th-ink); }
.th-pd__now .amount, .th-pd__now bdi { color: inherit; }
.th-pd__was { font-size: 20px; color: #8a9899; }
.th-pd__off { align-self: center; padding: 5px 11px; border-radius: 7px; background: var(--th-sale); color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.th-pd__countdown { margin: 12px 0 0; flex-wrap: wrap; }
.th-pd__revert { font-weight: 500; }
.th-pd__actions { display: flex; gap: 12px; margin-top: 20px; }
.th-pd__actions .th-buy-now { flex: 1 1 auto; order: 0; min-height: 56px; font-size: 17px; }
.th-pd__cartform { display: flex; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.th-site.single-product .th-pd__cartform .single_add_to_cart_button { min-height: 56px; padding: 0 26px; font-size: 16px; background: var(--th-tint); color: var(--th-teal) !important; flex: none; }
.th-site.single-product .th-pd__cartform .single_add_to_cart_button:hover { background: #d3eeea; }
.th-pd__micro { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; font-weight: 600; color: var(--th-muted); }
.th-pd__micro li { display: flex; align-items: center; gap: 6px; }
.th-pd__micro .th-icon { color: var(--th-teal); }
.th-pd__oos { margin: 18px 0 0; color: var(--th-muted); }

.th-pd__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.th-pd__stats > div { background: var(--th-dark); border-radius: 14px; padding: 18px; color: var(--th-on-dark); }
.th-pd__stats strong { display: block; font-family: var(--th-display); font-size: 24px; font-weight: 700; color: var(--th-mint); line-height: 1.1; }
.th-pd__stats span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; }

.th-pd__row { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; margin-bottom: 22px; }
.th-pd__row--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.th-pd__card { background: #fff; border: 1px solid var(--th-line); border-radius: 18px; padding: 28px; box-sizing: border-box; }
.th-pd__card h2 { font-size: 22px; margin: 0 0 16px; }
.th-pd__card--dark { background: var(--th-dark); border-color: var(--th-dark); color: var(--th-on-dark); }
.th-pd__card--dark h3 { color: #fff; font-size: 20px; margin: 12px 0 10px; }
.th-pd__card--dark .th-icon { color: var(--th-mint); }
.th-pd__card--tint { background: var(--th-tint); border-color: #cbe7e2; }
.th-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.th-checklist li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; line-height: 1.45; color: var(--th-ink); }
.th-checklist .th-icon { color: var(--th-teal); margin-top: 2px; }
.th-pd__proof blockquote { margin: 12px 0 14px; padding: 0; border: 0; font-family: var(--th-display); font-size: 19px; line-height: 1.5; font-weight: 500; font-style: normal; color: #fff; }
.th-pd__proof-by { margin: 0; font-size: 13px; color: var(--th-on-dark-soft); }
.th-pd__mini-steps { margin: 0 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.th-pd__guarantee { display: flex; gap: 18px; align-items: flex-start; }
.th-pd__guarantee .th-icon { color: var(--th-teal); }
.th-pd__guarantee h2 { font-size: 20px; margin: 0 0 6px; }
.th-pd__guarantee p { margin: 0 0 10px; color: var(--th-muted); font-size: 15px; }
.th-pd__faq .th-faq__item { border: 0; border-bottom: 1px solid var(--th-line); border-radius: 0; padding: 0; }
.th-pd__faq .th-faq__item:last-child { border-bottom: 0; }
.th-pd__faq .th-faq__item summary { padding: 14px 0; font-size: 15px; }
.th-pd__faq .th-faq__item p { font-size: 14px; margin-bottom: 14px; }
.th-pd__about { margin-bottom: 22px; }
.th-pd__desc { color: var(--th-muted); font-size: 16px; }
.th-pd__desc p:last-child { margin-bottom: 0; }

.th-pd__cta { text-align: center; padding: 40px 0 44px; }
.th-pd__cta h2 { font-size: clamp(26px, 3vw, 32px); margin: 0 0 18px; }
.th-pd__reviews { margin-bottom: 36px; }
.th-pd__reviews #reviews h2 { font-size: 22px; }
.th-pd__reviews #review_form_wrapper { margin-top: 12px; }
.th-site.single-product .th-pd .related > h2 { font-size: 26px; text-align: left; }

@media (max-width: 1100px) {
  .th-pd__hero { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 36px; }
  .th-site.single-product .th-pd__title { font-size: 36px; }
}
@media (max-width: 960px) {
  .th-pd__hero { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-bottom: 28px; }
  .th-pd__media { max-width: 560px; }
  .th-pd__row, .th-pd__row--even { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .th-pd__box .th-tile { aspect-ratio: 16 / 11; }
  .th-pd__box .th-tile__name { font-size: 26px; }
  .th-pd__chips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .th-pd__chips li { min-height: 48px; font-size: 12px; }
  .th-site.single-product .th-pd__title { font-size: 28px; }
  .th-pd__lead { font-size: 16px; }
  .th-pd__pricecard { padding: 18px; }
  .th-pd__now { font-size: 38px; }
  .th-pd__actions { flex-direction: column; gap: 10px; }
  .th-site.single-product .th-pd__cartform .single_add_to_cart_button { width: 100%; }
  .th-pd__cartform { width: 100%; }
  .th-pd__micro { justify-content: space-between; gap: 8px 12px; font-size: 12px; }
  .th-pd__stats { gap: 8px; }
  .th-pd__stats > div { padding: 12px 10px; text-align: center; }
  .th-pd__stats strong { font-size: 18px; }
  .th-pd__stats span { font-size: 11px; }
  .th-pd__card { padding: 20px; }
  .th-checklist { grid-template-columns: minmax(0, 1fr); }
  .th-pd__guarantee { flex-direction: column; gap: 10px; }
}

/* Product detail — button parity & lighter empty-review notice */
.th-pd__actions { align-items: stretch; }
.th-pd__actions .th-buy-now,
.th-site.single-product .th-pd__cartform .single_add_to_cart_button { min-height: 56px !important; height: 56px; margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1 !important; border-radius: 12px; box-sizing: border-box; }
.th-pd__cartform { align-self: stretch; }
.th-site .th-pd__reviews .woocommerce-noreviews,
.th-site .th-pd__reviews .woocommerce-info { background: var(--th-bg); color: var(--th-muted); padding-left: 20px; }
.th-site .th-pd__reviews .woocommerce-noreviews::before,
.th-site .th-pd__reviews .woocommerce-info::before { display: none; }
@media (max-width: 600px) {
  .th-pd__actions .th-buy-now, .th-site.single-product .th-pd__cartform .single_add_to_cart_button { height: 54px; min-height: 54px !important; }
}
.th-pd__cartform { gap: 0 !important; flex-wrap: nowrap !important; }
.th-pd__cartform::before, .th-pd__cartform::after { display: none !important; content: none !important; }

/* Mobile: get price + buy button into the first screen (ad landing traffic) */
@media (max-width: 600px) {
  .th-site.single-product .storefront-breadcrumb, .th-site.single-product .woocommerce-breadcrumb { display: none; }
  .th-pd__hero { padding-top: 12px; gap: 14px; }
  .th-pd__box .th-tile { aspect-ratio: auto; height: 150px; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 0 18px; text-align: left; }
  .th-pd__box .th-tile__icon { width: 52px; height: 52px; border-radius: 14px; }
  .th-pd__box .th-tile__icon .th-icon { width: 26px; height: 26px; }
  .th-pd__box .th-tile__name { font-size: 22px; }
  .th-pd__box .th-tile__meta { display: none; }
  .th-pd__box .th-tile__brand { top: 12px; left: 18px; font-size: 11px; }
  .th-pd__box .th-tile__badge { top: 10px; right: 10px; font-size: 12px; padding: 4px 9px; }
  .th-pd__chips { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .th-pd__chips li { min-height: 36px; padding: 4px; font-size: 11px; border-radius: 9px; }
  .th-pd__chips li.is-primary { border-width: 1.5px; }
  .th-pd .th-eyebrow { font-size: 11px; margin-bottom: 4px; }
  .th-site.single-product .th-pd__title { font-size: 25px; }
  .th-pd__meta { margin-top: 8px; }
  .th-pd__lead { display: none; }
  .th-pd__pricecard { margin-top: 14px; }
  .th-pd__now { font-size: 34px; }
  .th-pd__countdown { font-size: 13px; gap: 6px; }
  .th-pd__revert { flex-basis: 100%; }
}

/* =========================================================================
 * Thank-you page (woocommerce/checkout/thankyou.php)
 * ========================================================================= */
.th-ty { max-width: 1120px; margin: 8px auto 56px; }
.th-ty h1, .th-ty h2 { font-family: var(--th-display); color: var(--th-ink); }
.th-ty__hero { display: flex; gap: 20px; align-items: flex-start; background: linear-gradient(135deg, var(--th-dark), var(--th-deep)); color: var(--th-on-dark); border-radius: var(--th-radius); padding: 32px; box-shadow: var(--th-shadow); }
.th-ty__hero h1 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; margin: 4px 0 10px; }
.th-ty__hero--failed { background: #fff; border: 1px solid #fecaca; color: var(--th-muted); box-shadow: none; }
.th-ty__hero--failed h1 { color: var(--th-ink); }
.th-ty__badge { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: var(--th-mint); color: var(--th-dark); display: grid; place-items: center; }
.th-ty__badge--failed { background: #fee2e2; color: #b91c1c; font-weight: 800; font-size: 26px; }
.th-ty__eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 800; color: var(--th-mint); }
.th-ty__sub { margin: 0; font-size: 16px; color: var(--th-on-dark); }
.th-ty__sub strong { color: #fff; }
.th-ty__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.th-ty__meta { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--th-line); border: 1px solid var(--th-line); border-radius: var(--th-radius-sm); overflow: hidden; }
.th-ty__meta li { background: #fff; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.th-ty__meta span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--th-soft); font-weight: 700; }
.th-ty__meta strong { font-size: 16px; color: var(--th-ink); }
.th-ty__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.th-ty__card { background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 24px; margin-bottom: 24px; }
.th-ty__card h2 { font-size: 20px; margin: 0; }
.th-ty__card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.th-ty__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--th-tint); color: var(--th-teal); display: grid; place-items: center; }
.th-ty__license { border: 1px solid var(--th-line); border-radius: 12px; padding: 18px; margin-bottom: 14px; background: var(--th-bg); }
.th-ty__product { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.th-ty__thumb { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--th-line); }
.th-ty__pname { display: block; font-size: 16px; }
.th-ty__pmeta { font-size: 13px; color: var(--th-soft); }
.th-ty__code { display: flex; gap: 10px; align-items: stretch; margin-bottom: 12px; }
.th-ty__code code { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: .06em; background: #fff; color: var(--th-ink); border: 2px dashed #9fd8cf; border-radius: 10px; padding: 12px 16px; word-break: break-all; }
.th-ty__code .th-copy { min-width: 92px; border-radius: 10px; background: var(--th-teal); color: #fff; font-weight: 800; border: 0; cursor: pointer; }
.th-ty__code .th-copy:hover { background: var(--th-teal-hover); }
.th-ty__dl { display: inline-flex; align-items: center; gap: 8px; }
.th-ty__pending { display: flex; gap: 8px; align-items: center; margin: 0; padding: 12px 14px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; color: #9a3412; font-weight: 600; }
.th-ty__note { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 0; font-size: 13px; color: var(--th-soft); }
.th-ty__steps { list-style: none; counter-reset: ty; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.th-ty__steps li { counter-increment: ty; background: var(--th-bg); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--th-muted); }
.th-ty__steps li::before { content: counter(ty); width: 28px; height: 28px; border-radius: 50%; background: var(--th-dark); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.th-ty__steps strong { color: var(--th-ink); font-size: 15px; }
.th-ty__summary ul, .th-ty__help ul { list-style: none; margin: 14px 0 0; padding: 0; }
.th-ty__summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--th-line); font-size: 14px; }
.th-ty__summary li em { color: var(--th-soft); font-style: normal; }
.th-ty__total--order_total { font-size: 17px !important; border-bottom: 0 !important; }
.th-ty__total--order_total strong { color: var(--th-teal); }
.th-ty__billed { font-size: 13px; color: var(--th-soft); margin: 10px 0 16px; }
.th-ty__side-actions { display: grid; gap: 8px; }
.th-ty__side-actions .th-btn { width: 100%; justify-content: center; text-align: center; }
.th-ty__help p { margin: 8px 0 0; color: var(--th-muted); font-size: 14px; }
.th-ty__help li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-weight: 700; }
.th-ty__guarantee { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; margin-top: 14px !important; padding-top: 14px; border-top: 1px solid var(--th-line); font-size: 13px !important; }
@media (max-width: 900px) {
	.th-ty__grid { grid-template-columns: 1fr; }
	.th-ty__meta { grid-template-columns: repeat(2, 1fr); }
	.th-ty__steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.th-ty__hero { flex-direction: column; padding: 24px; }
	.th-ty__code { flex-direction: column; }
	.th-ty__code .th-copy { min-height: 44px; }
}
@media print {
	.th-site-header, .th-site-footer, .th-announce, .th-copy, .th-ty__dl, .th-ty__side-actions, .th-ty__help { display: none !important; }
	.th-ty__hero { background: #fff; color: #000; box-shadow: none; border: 1px solid #ccc; }
	.th-ty__hero h1, .th-ty__sub strong { color: #000; }
}
.th-deal__tile--img { display: block; border-radius: 16px; overflow: hidden; background: #fff; }
.th-deal__tile--img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }

/* Product page: download & activation guide in the dark side card */
.th-pd__guide { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(199, 232, 230, .18); }
.th-pd__guide h3 { color: #fff; font-size: 18px; margin: 0 0 12px; }
.th-pd__guide-steps { list-style: none; counter-reset: g; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; line-height: 1.5; }
.th-pd__guide-steps li { counter-increment: g; position: relative; padding-left: 34px; }
.th-pd__guide-steps li::before { content: counter(g); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--th-mint); color: var(--th-mint); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.th-pd__guide-req { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: 13px; color: var(--th-on-dark-soft); }
.th-pd__guide-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding: 12px 16px; border-radius: 10px; background: var(--th-mint); color: var(--th-dark) !important; font-weight: 800; font-size: 14px; text-decoration: none; }
.th-pd__guide-btn:hover { background: #99f6e4; }
.th-pd__guide-btn .th-icon { color: var(--th-dark) !important; }
.th-pd__guide-help { margin: 14px 0 0; font-size: 13px; color: var(--th-on-dark-soft); line-height: 1.6; }
.th-pd__guide-help a { color: var(--th-mint) !important; font-weight: 700; }

/* Product page: "Keep in mind before buying" as a calm info note */
.th-pd__lead--note { margin-top: 18px; padding: 14px 18px 14px 16px; background: #fff; border: 1px solid var(--th-line); border-left: 4px solid var(--th-teal); border-radius: 12px; max-width: none; font-size: 14px; line-height: 1.55; color: var(--th-muted); }
.th-pd__lead--note [style] { color: inherit !important; font-size: inherit !important; }
.th-pd__lead--note > p, .th-pd__lead--note > span, .th-pd__lead--note > p > span { display: block; margin: 0 0 8px !important; font-size: 12px !important; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--th-teal) !important; }
.th-pd__lead--note > p strong, .th-pd__lead--note > span strong { color: inherit; font-weight: 800; }
.th-pd__lead--note ul { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 6px; }
.th-pd__lead--note li { position: relative; margin: 0; padding-left: 24px; }
.th-pd__lead--note li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--th-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat; }
.th-pd__lead--note li strong { color: var(--th-ink); font-weight: 700; }

/* =========================================================================
 * Product hero: balanced 50/50 columns + mobile optimisation
 * ========================================================================= */
.th-pd__hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
/* (sticky gallery removed: breaks slider rendering) */
.th-pd__media .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0 !important; padding: 0 !important; }
.th-pd__media .flex-control-thumbs::before, .th-pd__media .flex-control-thumbs::after { content: none !important; display: none !important; }
.th-pd__media .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.th-pd__media .flex-control-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--th-line); opacity: .7; transition: opacity .15s, border-color .15s; }
.th-pd__media .flex-control-thumbs img.flex-active, .th-pd__media .flex-control-thumbs img:hover { opacity: 1; border-color: var(--th-teal); }
.th-site.single-product .th-pd__title { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.15; }

@media (max-width: 1100px) {
	.th-pd__hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 960px) {
	.th-pd__hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.th-pd__media { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
	.th-site.single-product .col-full { padding-left: 16px; padding-right: 16px; }
	.th-pd__hero { padding-top: 4px; }
	.th-pd__media .flex-control-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
	.th-site.single-product .th-pd__title { font-size: 24px; line-height: 1.2; }
	.th-pd__meta { margin-top: 10px; }
	.th-pd__lead--note { padding: 12px 14px; font-size: 13.5px; }
	.th-pd__pricecard { margin-top: 16px; padding: 16px; border-radius: 14px; }
	.th-pd__now { font-size: 34px; }
	.th-pd__was { font-size: 17px; }
	.th-pd__countdown { font-size: 13px; }
	.th-pd__actions .th-buy-now, .th-site.single-product .th-pd__cartform .single_add_to_cart_button { min-height: 52px !important; height: 52px; font-size: 16px; }
	.th-pd__micro { justify-content: flex-start; gap: 6px 14px; }
	.th-pd__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
	.th-pd__stats > div { padding: 10px 8px; border-radius: 12px; }
	.th-pd__stats strong { font-size: 16px; }
	.th-pd__stats span { font-size: 10.5px; line-height: 1.3; }
	.th-pd__row { gap: 14px; margin-bottom: 14px; }
	.th-pd__card { padding: 18px; border-radius: 14px; }
	.th-pd__card h2 { font-size: 19px; }
	.th-pd__desc { font-size: 15px; }
	.th-pd__desc img { max-width: 100% !important; height: auto !important; float: none !important; margin: 10px 0 !important; }
	.th-pd__guide-btn { padding: 12px; }
	.th-pd__cta .th-btn { width: 100%; }
	.th-breadcrumb, .woocommerce-breadcrumb { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
/* The pre-purchase note must stay visible on phones (buyers need it before paying). */
@media (max-width: 600px) { .th-pd__lead.th-pd__lead--note { display: block; } }

/* Product page: light trust strip (replaces the dark stat chips) */
.th-pd__trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.th-pd__trust li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--th-line); border-radius: 14px; }
.th-pd__trust-ic { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 10px; background: var(--th-tint); color: var(--th-teal); display: grid; place-items: center; }
.th-pd__trust strong { display: block; font-size: 14px; line-height: 1.25; color: var(--th-ink); }
.th-pd__trust span:not(.th-pd__trust-ic) { display: block; font-size: 12.5px; line-height: 1.35; color: var(--th-soft); margin-top: 2px; }
@media (max-width: 600px) {
	.th-pd__trust { gap: 8px; margin-top: 12px; }
	.th-pd__trust li { padding: 10px 12px; gap: 10px; border-radius: 12px; }
	.th-pd__trust-ic { flex-basis: 32px; width: 32px; height: 32px; }
	.th-pd__trust strong { font-size: 13px; }
	.th-pd__trust span:not(.th-pd__trust-ic) { font-size: 11.5px; }
}


/* Product gallery — clean version: transparent frame, working slider & zoom */
.th-pd__media .woocommerce-product-gallery__image img:not(.zoomImg) { width: 100%; height: auto; display: block; }
.th-pd__media .woocommerce-product-gallery { mix-blend-mode: multiply; } /* whole gallery blends: white JPG backgrounds disappear, slides/zoom stay intact */
.th-ty__steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .th-ty__steps--4 { grid-template-columns: 1fr; } }
.th-ty__dl, .th-ty__dl:hover { text-decoration: none !important; color: #fff !important; }

/* =========================================================================
 * Reviews (single-product-reviews.php)
 * ========================================================================= */
.th-rv__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.th-rv__head h2 { margin: 0 !important; font-size: 22px; }
.th-rv__summary { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 20px; background: var(--th-bg); border-radius: 14px; margin-bottom: 18px; }
.th-rv__score { text-align: center; }
.th-rv__score strong { display: block; font-family: var(--th-display); font-size: 44px; line-height: 1; color: var(--th-ink); }
.th-rv__score .th-rating__stars { margin: 8px auto 6px; }
.th-rv__score small { display: block; font-size: 12.5px; color: var(--th-soft); }
.th-rv__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.th-rv__bars li { display: grid; grid-template-columns: 36px 1fr 28px; align-items: center; gap: 10px; font-size: 13px; color: var(--th-muted); }
.th-rv__bars li span:last-child { text-align: right; }
.th-rv__bar { height: 8px; border-radius: 99px; background: #e4ebec; overflow: hidden; }
.th-rv__bar i { display: block; height: 100%; background: var(--th-star); border-radius: 99px; }
.th-rv__list { list-style: none; margin: 0; padding: 0; }
.th-rv__item { padding: 18px 0; border-top: 1px solid var(--th-line); }
.th-rv__item[hidden] { display: none; }
.th-rv__meta { display: flex; align-items: center; gap: 12px; }
.th-rv__avatar { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--th-tint); color: var(--th-teal); display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.th-rv__meta strong { display: block; font-size: 15px; color: var(--th-ink); }
.th-rv__verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--th-teal); }
.th-rv__right { margin-left: auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.th-rv__right time { font-size: 12px; color: var(--th-soft); }
.th-rv__text { margin: 10px 0 0 52px; font-size: 15px; line-height: 1.6; color: var(--th-muted); }
.th-rv__text p:last-child { margin-bottom: 0; }
.th-rv__more { margin-top: 8px; width: 100%; padding: 12px; border: 1px solid var(--th-line); border-radius: 10px; background: #fff; font-weight: 700; color: var(--th-teal); cursor: pointer; }
.th-rv__more:hover { border-color: var(--th-teal); }
.th-rv__empty { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--th-bg); border-radius: 14px; }
.th-rv__empty-ic { flex: 0 0 42px; height: 42px; border-radius: 12px; background: #fff7e6; color: var(--th-star); display: grid; place-items: center; }
.th-rv__empty strong { display: block; color: var(--th-ink); font-size: 15px; }
.th-rv__empty p { margin: 4px 0 0; font-size: 14px; color: var(--th-muted); }
.th-rv__form { margin-top: 18px; padding: 20px; border: 1px solid var(--th-line); border-radius: 14px; }
.th-rv__form textarea, .th-rv__form select { width: 100%; border: 1px solid var(--th-line); border-radius: 10px; padding: 10px 12px; }
@media (max-width: 600px) {
	.th-rv__summary { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
	.th-rv__score strong { font-size: 36px; }
	.th-rv__text { margin-left: 0; }
	.th-rv__head h2 { font-size: 19px; }
}
/* Chips under the gallery: all equal; highlight on hover */
.th-pd__chips li, .th-pd__chips li.is-primary { border: 1px solid var(--th-line); color: var(--th-soft); transition: border-color .15s, color .15s, background-color .15s, box-shadow .15s; cursor: default; }
.th-pd__chips li:hover { border-color: var(--th-teal); color: var(--th-teal); background: var(--th-tint); box-shadow: 0 0 0 1px var(--th-teal) inset; }
.th-pd__chips li { flex-direction: column; gap: 3px; padding: 10px 8px; }
.th-pd__chip-main { font-weight: 700; font-size: 13px; line-height: 1.25; }
.th-pd__chip-sub { font-weight: 500; font-size: 11px; line-height: 1.3; color: var(--th-soft); }
.th-pd__chips li:hover .th-pd__chip-sub { color: var(--th-teal); }
@media (max-width: 600px) { .th-pd__chips li { min-height: 60px; } .th-pd__chip-sub { font-size: 10.5px; } }
/* Chip details: hidden by default, revealed on hover / tap (focus) */
.th-pd__chips { align-items: start; }
.th-pd__chips li { position: relative; min-height: 56px; justify-content: center; outline: none; }
.th-pd__chip-sub { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .2s ease, opacity .2s ease; }
.th-pd__chips li:hover .th-pd__chip-sub, .th-pd__chips li:focus .th-pd__chip-sub, .th-pd__chips li:focus-within .th-pd__chip-sub { max-height: 60px; opacity: 1; }
.th-pd__chips li:focus { border-color: var(--th-teal); color: var(--th-teal); background: var(--th-tint); box-shadow: 0 0 0 1px var(--th-teal) inset; }
.th-pd__lead--note { border: 1px solid var(--th-line) !important; padding-left: 18px; }

/* ==== Order key box (Track order, My Account > View order) ==== */
.th-okeys { border: 2px solid var(--th-teal); background: linear-gradient(180deg, var(--th-tint) 0, #fff 140px); box-shadow: var(--th-shadow); margin: 8px 0 32px; }
.th-okeys .th-ty__card-head { display: flex; flex-direction: row; align-items: center; gap: 14px; margin: 0 0 18px; }
.th-okeys .th-ty__card-head > div { min-width: 0; }
.th-okeys .th-ty__icon { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.th-okeys h2 { margin: 0; line-height: 1.2; font-size: 22px; }
.th-okeys__lead { margin: 4px 0 0; font-size: 14px; color: var(--th-soft); }
.th-okeys .th-ty__license { background: #fff; }
.th-okeys .th-ty__license:last-child, .th-okeys .th-ty__code:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .th-okeys { padding: 18px; } .th-okeys .th-ty__code { flex-direction: column; } }

/* ==========================================================================
   My Account (TaxHaven)
   ========================================================================== */
.woocommerce-account .entry-header { margin-bottom: 8px; }
.woocommerce-account .entry-header .entry-title { font-size: clamp(32px, 4vw, 44px); text-align: left; margin: 0; }
.woocommerce-account .edit-link { display: none; }
.woocommerce-account .entry-content > .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-account .entry-content > .woocommerce::before, .woocommerce-account .entry-content > .woocommerce::after { display: none; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation { position: sticky; top: 24px; }

/* Navigation */
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 8px; border: 1px solid var(--th-line); border-radius: var(--th-radius); background: #fff; box-shadow: 0 18px 40px -30px rgba(13, 59, 63, .35); }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li { border: 0; margin: 0 0 2px; }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--th-line); }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; color: var(--th-ink); font-weight: 600; font-size: 15.5px; text-decoration: none; transition: background .15s, color .15s; }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: var(--th-bg); color: var(--th-teal); }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a { background: var(--th-tint); color: var(--th-teal); }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before {
	content: ""; display: block !important; flex: 0 0 20px; width: 20px; height: 20px; background: currentColor; opacity: .85;
	-webkit-mask: var(--th-nav-ic) center / contain no-repeat; mask: var(--th-nav-ic) center / contain no-repeat;
}
.woocommerce-MyAccount-navigation-link--dashboard { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M7 10l5 5 5-5M12 15V3'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13S3 17 3 10a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --th-nav-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E"); }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--th-soft); }

/* Content column */
.woocommerce-account .woocommerce-MyAccount-content > p:first-child:empty { display: none; }
.th-acct-hero { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px 30px; border-radius: var(--th-radius); background: linear-gradient(135deg, var(--th-dark), var(--th-deep)); color: var(--th-on-dark); margin-bottom: 20px; }
.th-acct-hero__eyebrow { margin: 0 0 4px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--th-mint); }
.th-acct-hero__title { margin: 0; color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.15; }
.th-acct-hero__sub { margin: 6px 0 0; font-size: 15px; color: var(--th-on-dark-soft); word-break: break-word; }
.th-acct-hero__sub a { color: var(--th-mint); }
.th-acct-hero .th-acct-hero__cta { background: var(--th-mint); color: var(--th-dark); border-color: var(--th-mint); }

.th-acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.th-acct-stat { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--th-line); border-radius: 14px; color: var(--th-ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.th-acct-stat:hover { border-color: #9fd8cf; transform: translateY(-1px); }
.th-acct-stat__ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--th-tint); color: var(--th-teal); display: grid; place-items: center; }
.th-acct-stat.is-warn .th-acct-stat__ic { background: #fff7ed; color: #c2410c; }
.th-acct-stat strong { display: block; font-size: 26px; line-height: 1; font-family: var(--th-display); }
.th-acct-stat em { display: block; font-style: normal; font-size: 13.5px; color: var(--th-soft); margin-top: 4px; }

.th-acct-card { margin-bottom: 20px; }
.th-acct-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.th-acct-card__head h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 19px; }
.th-acct-card__head h3 svg { color: var(--th-teal); }
.th-acct-card__head a { font-weight: 700; font-size: 14.5px; color: var(--th-teal); text-decoration: none; }
.th-acct-key { padding: 14px 16px; border: 1px solid var(--th-line); border-radius: 12px; background: var(--th-bg); margin-bottom: 10px; }
.th-acct-key__meta { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14.5px; }
.th-acct-key__meta span { color: var(--th-soft); font-size: 13.5px; }
.th-acct-key .th-ty__code { margin: 0; }
.th-acct-key .th-ty__code code { font-size: 16px; padding: 10px 14px; background: #fff; }
.th-acct-empty { margin: 0; color: var(--th-soft); }

.th-acct-orders { list-style: none; margin: 0; padding: 0; }
.th-acct-orders li { border-top: 1px solid var(--th-line); }
.th-acct-orders li:first-child { border-top: 0; }
.th-acct-orders a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 14px 4px; color: var(--th-ink); text-decoration: none; }
.th-acct-orders a:hover { background: var(--th-bg); }
.th-acct-orders__main strong { display: block; }
.th-acct-orders__main span { display: block; font-size: 13.5px; color: var(--th-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th-acct-orders__date { font-size: 14px; color: var(--th-soft); }
.th-acct-orders__total { font-weight: 700; min-width: 72px; text-align: right; }
.th-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: #eef2f2; color: var(--th-muted); }
.th-badge--completed { background: var(--th-tint); color: var(--th-teal); }
.th-badge--processing, .th-badge--on-hold { background: #fff7ed; color: #c2410c; }
.th-badge--failed, .th-badge--cancelled, .th-badge--refunded { background: #fef2f2; color: #b91c1c; }

.th-acct-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.th-acct-links a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--th-line); border-radius: 14px; color: var(--th-ink); text-decoration: none; }
.th-acct-links a:hover { border-color: #9fd8cf; }
.th-acct-links svg { flex: 0 0 auto; color: var(--th-teal); }
.th-acct-links strong { display: block; font-size: 15.5px; }
.th-acct-links em { display: block; font-style: normal; font-size: 13.5px; color: var(--th-soft); }

/* Orders / other endpoints: card look */
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-table--order-downloads,
.woocommerce-account .woocommerce-MyAccount-content > form,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Addresses { background: #fff; border: 1px solid var(--th-line); border-radius: var(--th-radius); padding: 20px; }
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-orders-table,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-table--order-downloads { padding: 0; overflow: hidden; border-collapse: separate; border-spacing: 0; width: 100%; }

@media (max-width: 860px) {
	.woocommerce-account .entry-content > .woocommerce { grid-template-columns: 1fr; gap: 20px; }
	.woocommerce-account .woocommerce-MyAccount-navigation { position: static; }
	.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; padding: 6px; }
	.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li, .th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child { margin: 0; padding: 0; border: 0; flex: 0 0 auto; }
	.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li a { white-space: nowrap; padding: 10px 12px; }
	.th-acct-stats { grid-template-columns: 1fr; }
	.th-acct-links { grid-template-columns: 1fr; }
	.th-acct-orders a { grid-template-columns: minmax(0, 1fr) auto; }
	.th-acct-orders__date { display: none; }
}
/* My Account fixes (override Storefront) */
.woocommerce-account .hentry .entry-header { padding-bottom: 0; margin-bottom: 28px; }
.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .entry-content > .woocommerce > .woocommerce-notices-wrapper:empty { display: none; }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li a { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 12px; }
.th-site.woocommerce-account .woocommerce-MyAccount-navigation ul li a::before { float: none !important; order: -1; margin: 0 !important; font-family: inherit !important; }
.th-site .th-acct-hero .th-acct-hero__title { color: #fff; }
.th-site .th-acct-hero .th-acct-hero__cta { text-decoration: none; color: var(--th-dark) !important; }
.th-site .th-acct-hero .th-acct-hero__cta:hover { background: #fff; border-color: #fff; }
.th-acct-stat, .th-acct-stat *, .th-acct-links a, .th-acct-links a *, .th-acct-orders a, .th-acct-orders a *, .th-acct-card__head a, .woocommerce-MyAccount-navigation a { text-decoration: none !important; }
.th-acct-stat strong { color: var(--th-ink); }
.th-site ul.th-acct-orders { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.th-site ul.th-acct-orders li { margin: 0 !important; }


/* =========================================================================
 * PRODUCT REVIEWS - CLEAN, TIDY & VERIFIED LAYOUT (.th-rv)
 * ========================================================================= */
.th-pd__reviews {
  margin-top: 36px !important;
  margin-bottom: 48px !important;
}

.th-rv {
  width: 100%;
}

.th-rv__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.th-rv__head h2,
.th-rv__head .woocommerce-Reviews-title {
  margin: 0 0 4px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.th-rv__subhead {
  font-size: 13.5px;
  color: #64748b;
  font-weight: 400;
}

.th-rv__write {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #006644;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.th-rv__write:hover {
  background: #006644;
  color: #ffffff;
  border-color: #006644;
}

/* Rating score & breakdown bars */
.th-rv__summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
}

@media (max-width: 680px) {
  .th-rv__summary {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px;
  }
}

.th-rv__score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-right: 24px;
  border-right: 1px solid #e2e8f0;
}

@media (max-width: 680px) {
  .th-rv__score {
    padding-right: 0;
    border-right: none;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
  }
}

.th-rv__score strong {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  margin-bottom: 6px;
}

.th-rv__score-stars {
  font-size: 20px;
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.th-rv__score small {
  font-size: 13px;
  color: #64748b;
  font-weight: 500;
  margin-bottom: 8px;
}

.th-rv__badge-verif {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  padding: 3px 9px;
  border-radius: 9999px;
}

/* Distribution bars */
.th-rv__bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.th-rv__bars li {
  display: grid;
  grid-template-columns: 46px 1fr 34px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.th-rv__bar-star {
  color: #475569;
}

.th-rv__bar {
  display: block;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.th-rv__bar i {
  display: block;
  height: 100%;
  background: #f59e0b;
  border-radius: 9999px;
}

.th-rv__bar-cnt {
  text-align: right;
  color: #64748b;
  font-size: 12.5px;
}

/* Review List */
.th-rv__list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.th-rv__item {
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 18px 22px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.th-rv__item:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.04);
}

.th-rv__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.th-rv__author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.th-rv__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.th-rv__author-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.th-rv__author-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

/* Verified Badge - Tươi sáng, tin cậy */
.th-rv__verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 8.5px;
  font-size: 11.5px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  line-height: 1.3;
}

.th-rv__verified svg {
  stroke: #059669;
  flex-shrink: 0;
}

.th-rv__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.th-rv__stars {
  font-size: 14px;
  letter-spacing: 1px;
}

.th-rv__stars .is-filled {
  color: #f59e0b;
}

.th-rv__stars .is-empty {
  color: #cbd5e1;
}

.th-rv__date {
  font-size: 12.5px;
  color: #94a3b8;
}

.th-rv__text {
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}

.th-rv__text p {
  margin: 0 0 6px !important;
}
.th-rv__text p:last-child {
  margin-bottom: 0 !important;
}

/* Store reply */
.th-rv__reply {
  margin-top: 12px;
  padding: 12px 16px;
  background: #f8fafc;
  border-left: 3px solid #006644;
  border-radius: 0 8px 8px 0;
}

.th-rv__reply-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #006644;
  margin-bottom: 4px;
}

.th-rv__reply-body {
  font-size: 13.5px;
  line-height: 1.5;
  color: #475569;
}

/* Show more button */
.th-rv__more-wrap {
  margin-top: 20px;
  text-align: center;
}

.th-rv__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 380px;
  padding: 12px 24px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.th-rv__more:hover {
  background: #ffffff;
  border-color: #006644;
  color: #006644;
  box-shadow: 0 2px 8px rgba(0, 102, 68, 0.08);
}

.th-rv__more svg {
  transition: transform 0.2s ease;
}

.th-rv__more.is-expanded svg {
  transform: rotate(180deg);
}

/* Empty notice */
.th-rv__empty {
  padding: 32px 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  text-align: center;
}

.th-rv__empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #64748b;
}

/* Form */
.th-rv__form {
  margin-top: 24px;
  padding: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.th-rv__pending {
  font-size: 13px;
  color: #d97706;
  background: #fef3c7;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
}
