/*
Theme Name: Homezi
Theme URI: https://homezi.vn
Author: Homezi
Description: Giao diện Homezi.vn — tư vấn thiết kế, thi công nội thất và bán nội thất, điện máy, điện lạnh. Tương thích WooCommerce + SePay, có chatbot tư vấn (OpenAI), menu danh mục 2 cấp, bộ lọc sản phẩm, combo (sản phẩm nhóm), Homezi Rewards.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homezi
Tags: e-commerce, custom-logo, custom-menu, featured-images, translation-ready
WC requires at least: 8.0
WC tested up to: 11.2
*/

/* ===================== Tokens ===================== */
:root {
	--hz-ink: #15211d;
	--hz-ink-2: #3e4b46;
	--hz-muted: #56635e;
	--hz-line: #e2e7e4;
	--hz-line-2: #c9d2ce;
	--hz-bg: #ffffff;
	--hz-surface: #f4f6f5;
	--hz-tint: #f2f6f4;
	--hz-warm: #f7f5f0;
	--hz-primary: #0e6b5c;
	--hz-primary-d: #0a5246;
	--hz-primary-t: #e3f1ee;
	--hz-deep: #0e3b33;
	--hz-footer: #0e2621;
	--hz-accent: #c2410c;
	--hz-accent-t: #fff1e8;
	--hz-mint: #6fd3be;
	--hz-radius: 14px;
	--hz-radius-s: 10px;
	--hz-shadow: 0 20px 48px rgba(14, 59, 51, .10);
	--hz-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--hz-max: 1280px;
}

/* ===================== Base ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--hz-font); font-size: 16px; line-height: 1.6; color: var(--hz-ink); background: var(--hz-bg); -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--hz-primary); text-underline-offset: 2px; }
a:hover { color: var(--hz-primary-d); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 3.2vw, 36px); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hz-primary); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hz-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--hz-ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.hz-skip:focus { left: 8px; }
.hz-icon { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
.hz-container { width: 100%; max-width: var(--hz-max); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 600px) { .hz-container { padding-inline: 16px; } }
.hz-muted, .hz-meta { color: var(--hz-muted); font-size: 14px; }
.hz-lead { color: var(--hz-muted); font-size: 17px; margin: 0; }
.hz-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; color: var(--hz-primary-d); }
.hz-eyebrow a { color: inherit; text-decoration: none; }
.hz-h2 { font-size: clamp(22px, 2.2vw, 26px); margin: 0; }
.hz-ph { display: block; width: 100%; height: 100%; min-height: 160px; background: repeating-linear-gradient(135deg, #eef2f0 0 12px, #e6ece9 12px 24px); border-radius: inherit; }

/* ===================== Buttons, chips ===================== */
.hz-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit, .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px;
	background: var(--hz-primary); color: #fff; font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.hz-btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .wp-element-button:hover { background: var(--hz-primary-d); color: #fff; }
.hz-btn--lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.hz-btn--outline { background: transparent; color: var(--hz-ink); border-color: var(--hz-ink); }
.hz-btn--outline:hover { background: var(--hz-ink); color: #fff; }
.hz-btn--ghost { background: #fff; color: var(--hz-ink); border-color: var(--hz-line-2); }
.hz-btn--ghost:hover { background: var(--hz-surface); color: var(--hz-ink); }
.hz-btn--dark { background: var(--hz-ink); }
.hz-btn--dark:hover { background: #000; }
.hz-btn--white { background: #fff; color: var(--hz-deep); }
.hz-btn--white:hover { background: var(--hz-primary-t); color: var(--hz-deep); }
.hz-btn--soft { background: var(--hz-primary-t); color: var(--hz-primary-d); }
.hz-btn--soft:hover { background: #cfe8e2; color: var(--hz-primary-d); }
.hz-btn--mint { background: var(--hz-mint); color: var(--hz-footer); margin-top: 16px; }
.hz-btn--mint:hover { background: #8de0cd; color: var(--hz-footer); }
.hz-btn--block { width: 100%; }
.hz-btnrow { display: flex; flex-wrap: wrap; gap: 12px; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #place_order { background: var(--hz-accent); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce #place_order:hover { background: #a3360a; color: #fff; }
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .55; }

.hz-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 10px; background: none; color: var(--hz-ink); cursor: pointer; text-decoration: none; }
.hz-iconbtn:hover { background: var(--hz-surface); color: var(--hz-ink); }

.hz-chips { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hz-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1px solid var(--hz-line-2); border-radius: 20px; background: #fff; color: var(--hz-ink); font-size: 14px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.hz-chip:hover { border-color: var(--hz-ink); color: var(--hz-ink); }
.hz-chip.is-on { background: var(--hz-primary-t); border-color: var(--hz-primary-t); color: var(--hz-primary-d); font-weight: 600; }
.hz-pill { display: inline-block; padding: 6px 12px; border-radius: 20px; background: var(--hz-primary-t); color: var(--hz-primary-d); font-size: 13px; font-weight: 600; }

.hz-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 8px; border-radius: 6px; background: var(--hz-primary); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3; }
.hz-badge--dark { background: var(--hz-ink); }
.hz-badge--sale, .woocommerce span.onsale.hz-badge { background: var(--hz-accent); min-height: 0; min-width: 0; margin: 0; border-radius: 6px; line-height: 1.3; padding: 4px 8px; top: 10px; left: 10px; right: auto; font-size: 12px; }
.hz-badge + .hz-badge, .onsale + .hz-badge { top: 40px; }

/* ===================== Boxes ===================== */
.hz-box { background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius); padding: 20px; margin-bottom: 20px; }
.hz-box__title, .widget-title { font-size: 16px; margin: 0 0 12px; }
.hz-box--dark { background: var(--hz-deep); border-color: var(--hz-deep); color: #e6f2ef; }
.hz-box--dark .hz-box__title { color: #fff; }
.hz-notice { padding: 14px 16px; margin-bottom: 20px; border-radius: 12px; background: var(--hz-accent-t); color: #7a2e08; }
.hz-notice a { color: #7a2e08; font-weight: 600; }

/* ===================== Header ===================== */
.hz-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--hz-line); }
.hz-topbar { background: var(--hz-deep); color: #e6f2ef; font-size: 13px; }
.hz-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 8px; }
.hz-topbar__info { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hz-topbar a { color: #fff; text-decoration: none; }
.hz-topbar a:hover { text-decoration: underline; color: #fff; }
.hz-topbar__links, .hz-topbar nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.hz-topbar__links a { color: #e6f2ef; }

.hz-mainbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-block: 14px; }
.hz-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--hz-ink); }
.hz-logo img { max-height: 48px; width: auto; }
.hz-logo__mark { width: 40px; height: 40px; border-radius: 10px; background: var(--hz-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.hz-logo__text { font-size: 24px; font-weight: 700; letter-spacing: -.5px; color: var(--hz-ink); margin: 0; }
.hz-logo__text span { color: var(--hz-primary); }
.hz-logo__text--light { color: #fff; }
.hz-logo__text--light span { color: var(--hz-mint); }
.hz-catbtn { min-height: 46px; }
.hz-search { flex: 1 1 320px; display: flex; min-width: 0; }
.hz-search input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--hz-line-2); border-right: 0; border-radius: 12px 0 0 12px; background: #f7f9f8; font-size: 15px; }
.hz-search button { width: 54px; height: 46px; border: 0; border-radius: 0 12px 12px 0; background: var(--hz-ink); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hz-actions { display: flex; align-items: center; gap: 6px; }
.hz-account { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 10px; border-radius: 10px; color: var(--hz-ink); text-decoration: none; font-size: 14px; line-height: 1.25; }
.hz-account:hover { background: var(--hz-surface); color: var(--hz-ink); }
.hz-account small { display: block; font-size: 12px; color: var(--hz-muted); }
.hz-cart-count { position: absolute; top: 3px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hz-accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hz-cart-count[data-count="0"] { display: none; }
.hz-mobile-toggle { display: none; }

.hz-nav { border-top: 1px solid #eef2f0; }
.hz-nav ul { list-style: none; margin: 0; padding: 0; }
.hz-nav__list, .hz-nav .menu { display: flex; flex-wrap: wrap; gap: 0 4px; font-size: 15px; font-weight: 500; }
.hz-nav__list > li, .hz-nav .menu > li { position: relative; }
.hz-nav__list > li > a, .hz-nav .menu > li > a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; color: var(--hz-ink); text-decoration: none; }
.hz-nav__list > li > a:hover, .hz-nav .current-menu-item > a, .hz-nav .current-menu-ancestor > a { color: var(--hz-primary); box-shadow: inset 0 -3px 0 var(--hz-primary); }
.hz-nav .sub-menu { position: absolute; left: 0; top: 100%; min-width: 240px; padding: 8px; background: #fff; border: 1px solid var(--hz-line); border-radius: 12px; box-shadow: var(--hz-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60; }
.hz-nav li:hover > .sub-menu, .hz-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hz-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--hz-ink); text-decoration: none; font-weight: 400; }
.hz-nav .sub-menu a:hover { background: var(--hz-surface); }

.hz-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--hz-line); box-shadow: 0 24px 48px rgba(21, 33, 29, .14); }
.hz-mega__inner { display: flex; flex-wrap: wrap; gap: 24px; padding-block: 20px 28px; }
.hz-mega__l1 { flex: 0 1 280px; list-style: none; margin: 0; padding: 0 0 0; border-right: 1px solid #eef2f0; }
.hz-mega__tab { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; border: 0; border-radius: 10px 0 0 10px; background: transparent; font-size: 15px; text-align: left; cursor: pointer; }
.hz-mega__tab.is-active { background: var(--hz-primary-t); color: var(--hz-primary-d); font-weight: 600; }
.hz-mega__panel { flex: 999 1 480px; min-width: 0; }
.hz-mega__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.hz-mega__head h2 { font-size: 18px; margin: 0; }
.hz-mega__head a { font-weight: 600; font-size: 14px; }
.hz-mega__l2 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.hz-mega__l2 a { display: flex; align-items: center; min-height: 46px; padding: 8px 12px; border-radius: 10px; background: var(--hz-surface); color: var(--hz-ink); text-decoration: none; font-size: 14px; }
.hz-mega__l2 a:hover { background: var(--hz-primary-t); color: var(--hz-primary-d); }

@media (max-width: 900px) {
	.hz-mobile-toggle { display: inline-flex; }
	.hz-mainbar { gap: 10px; }
	.hz-logo { margin-right: auto; }
	.hz-logo__text { font-size: 20px; }
	.hz-catbtn { display: none; }
	.hz-account span { display: none; }
	.hz-search { order: 5; flex-basis: 100%; }
	.hz-nav { display: none; }
	.hz-nav.is-open { display: block; }
	.hz-nav__list, .hz-nav .menu { flex-direction: column; padding-block: 8px; }
	.hz-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
	.hz-nav li.is-open > .sub-menu { display: block; }
	.hz-topbar__info span + span { display: none; }
}

/* ===================== Footer ===================== */
.hz-footer { margin-top: 64px; background: var(--hz-footer); color: #d5e3df; font-size: 14px; }
.hz-footer .hz-container { padding-block: 48px 24px; }
.hz-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.hz-footer h2 { font-size: 15px; color: #fff; margin: 0 0 12px; }
.hz-footer p { margin: 12px 0 14px; max-width: 320px; }
.hz-footer address { font-style: normal; }
.hz-footer a { color: #d5e3df; text-decoration: none; }
.hz-footer a:hover { color: #fff; text-decoration: underline; }
.hz-footer__links, .hz-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hz-footer__links a, .hz-footer nav ul a { display: inline-block; padding: 5px 0; }
.hz-paytags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hz-paytags li { padding: 6px 10px; border: 1px solid #2e4a43; border-radius: 8px; font-size: 13px; }
.hz-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #234038; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #a9c2bb; }
.hz-footer .hz-btn--mint { color: var(--hz-footer); }

/* ===================== Home ===================== */
.hz-hero { background: var(--hz-tint); }
.hz-hero__inner { display: flex; flex-wrap: wrap; gap: 40px; padding-block: 48px; align-items: stretch; }
.hz-hero__copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.hz-hero__copy .hz-pill { align-self: flex-start; }
.hz-hero h1 { font-size: clamp(32px, 4vw, 46px); line-height: 1.15; letter-spacing: -1px; margin: 0; }
.hz-hero__text { margin: 0; font-size: 18px; color: var(--hz-ink-2); max-width: 540px; }
.hz-hero__usp { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 540px; }
.hz-hero__usp li { padding: 12px; border-radius: 12px; background: #fff; border: 1px solid var(--hz-line); }
.hz-hero__usp strong { display: block; font-size: 15px; }
.hz-hero__usp span { font-size: 13px; color: var(--hz-muted); }
.hz-hero__chat { flex: 1 1 460px; min-width: 0; max-width: 580px; display: flex; }
@media (max-width: 600px) { .hz-hero__usp { grid-template-columns: 1fr; } .hz-hero__inner { padding-block: 32px; } }

.hz-values { border-bottom: 1px solid var(--hz-line); }
.hz-values__list { list-style: none; margin: 0 auto; padding-block: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hz-values__list li { display: flex; gap: 14px; align-items: center; }
.hz-values__icon { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--hz-primary-t); color: var(--hz-primary); display: flex; align-items: center; justify-content: center; }
.hz-values__list strong { display: block; font-size: 15px; }
.hz-values__list small { font-size: 13px; color: var(--hz-muted); }

.hz-section { padding-block: 40px; }
.hz-section--tint { background: var(--hz-warm); padding-block: 48px; }
.hz-section__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hz-section__head a { font-weight: 600; font-size: 15px; }
.hz-section > .hz-h2 { margin-bottom: 20px; }

.hz-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.hz-cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: var(--hz-radius); background: var(--hz-surface); color: var(--hz-ink); text-decoration: none; text-align: center; font-size: 14px; font-weight: 500; height: 100%; }
.hz-cats a:hover { background: var(--hz-primary-t); color: var(--hz-primary-d); }
.hz-cats__img { width: 64px; height: 64px; border-radius: 16px; background: #fff; overflow: hidden; display: block; }
.hz-cats__img img { width: 100%; height: 100%; object-fit: cover; }

.hz-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 24px; }
.hz-promos--3 .hz-promo--1 { grid-row: span 2; min-height: 360px; }
.hz-promo { position: relative; min-height: 172px; border-radius: 18px; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; text-decoration: none; color: var(--hz-ink); background: #f1ece3 var(--hz-img, none) center / cover no-repeat; overflow: hidden; }
.hz-promo--1 { background-color: var(--hz-deep); color: #fff; }
.hz-promo--3 { background-color: #e4eef5; }
.hz-promo[style]::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 70%); }
.hz-promo[style] { color: #fff; }
.hz-promo > * { position: relative; }
.hz-promo strong { font-size: 22px; line-height: 1.25; }
.hz-promo--1 strong { font-size: clamp(22px, 2.4vw, 30px); }
.hz-promo__cta { align-self: flex-start; margin-top: 8px; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--hz-deep); font-weight: 600; font-size: 14px; }
.hz-promo:hover { color: inherit; }
.hz-promo:hover .hz-promo__cta { background: var(--hz-primary-t); }

.hz-design { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; border-radius: 22px; background: var(--hz-primary-t); padding: 40px; }
.hz-design__copy { flex: 1 1 380px; min-width: 0; }
.hz-design__copy h2 { font-size: clamp(24px, 2.6vw, 30px); }
.hz-design__copy p { color: var(--hz-ink-2); margin: 0 0 20px; }
.hz-design__media { flex: 1 1 380px; min-height: 260px; border-radius: 16px; overflow: hidden; background: #fff; }
.hz-design__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 600px) { .hz-design { padding: 24px; } }

/* ===================== Chat ===================== */
.hz-chat { width: 100%; background: #fff; border: 1px solid #dce4e0; border-radius: 20px; box-shadow: var(--hz-shadow); display: flex; flex-direction: column; overflow: hidden; }
.hz-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #eef2f0; }
.hz-chat__avatar { flex: 0 0 44px; height: 44px; border-radius: 22px; background: var(--hz-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.hz-chat__who { flex: 1; min-width: 0; }
.hz-chat__who h2 { font-size: 16px; margin: 0; }
.hz-chat__who p { margin: 0; font-size: 13px; color: var(--hz-muted); }
.hz-dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #1f9d55; margin-right: 6px; }
.hz-chat__call { font-size: 13px; font-weight: 600; padding: 10px 4px; }
.hz-chat__log { height: 400px; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; background: #fafbfa; }
.hz-msg { display: flex; flex-direction: column; gap: 8px; }
.hz-msg__bubble { margin: 0; max-width: 88%; padding: 10px 14px; font-size: 14px; line-height: 1.55; white-space: pre-line; }
.hz-msg--bot .hz-msg__bubble { align-self: flex-start; border-radius: 16px 16px 16px 4px; background: #fff; border: 1px solid var(--hz-line); }
.hz-msg--user .hz-msg__bubble { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--hz-primary); color: #fff; }
.hz-msg--typing .hz-msg__bubble { color: var(--hz-muted); font-style: italic; }
.hz-msg__cards { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.hz-minicard { flex: 0 0 170px; display: flex; flex-direction: column; border: 1px solid var(--hz-line); border-radius: 12px; background: #fff; overflow: hidden; color: var(--hz-ink); text-decoration: none; }
.hz-minicard:hover { border-color: var(--hz-primary); color: var(--hz-ink); }
.hz-minicard img { width: 100%; height: 110px; object-fit: cover; background: var(--hz-surface); }
.hz-minicard__body { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 10px; flex: 1; }
.hz-minicard__tag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--hz-ink); color: #fff; }
.hz-minicard__name { font-size: 13px; font-weight: 600; line-height: 1.35; }
.hz-minicard__price { font-size: 14px; font-weight: 700; color: var(--hz-accent); }
.hz-minicard__cta { margin-top: auto; display: flex; align-items: center; justify-content: center; height: 34px; border-radius: 8px; background: var(--hz-primary-t); color: var(--hz-primary-d); font-size: 13px; font-weight: 600; }
.hz-chat__chips { display: flex; gap: 8px; overflow-x: auto; padding: 12px 18px 0; }
.hz-chat__chips .hz-chip { font-size: 13px; min-height: 36px; padding: 0 12px; }
.hz-chat__form { display: flex; gap: 8px; padding: 12px 18px 16px; }
.hz-chat__form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--hz-line-2); border-radius: 12px; font-size: 14px; }
.hz-chat__form button { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--hz-primary); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hz-chat__form button:hover { background: var(--hz-primary-d); }

.hz-chat-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.hz-chat-launch { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border: 0; border-radius: 26px; background: var(--hz-primary); color: #fff; font-weight: 600; box-shadow: 0 10px 24px rgba(14, 59, 51, .25); cursor: pointer; }
.hz-chat-launch:hover { background: var(--hz-primary-d); }
.hz-chat-pop { width: min(400px, calc(100vw - 32px)); }
.hz-chat-pop .hz-chat__log { height: min(380px, 50vh); }
@media (max-width: 600px) { .hz-chat-float { right: 12px; bottom: 12px; } .hz-chat-launch span { display: none; } .hz-chat-launch { width: 52px; padding: 0; justify-content: center; } }

/* ===================== Generic pages / blog ===================== */
.hz-page { padding-block: 20px 40px; }
.hz-page__head { margin: 16px 0 24px; }
.hz-page__head h1 { margin: 0 0 6px; }
.hz-breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 14px; color: var(--hz-muted); margin: 0 0 8px; }
.hz-breadcrumb a, .woocommerce .woocommerce-breadcrumb a { color: var(--hz-primary); }
.hz-withside { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hz-withside__main { flex: 999 1 600px; min-width: 0; }
.hz-withside__side { flex: 1 1 280px; min-width: 0; }
.hz-withside--left .hz-withside__side { order: -1; max-width: 320px; }
.hz-featured { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--hz-line); }
.hz-featured__media { flex: 1 1 420px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; display: block; background: var(--hz-surface); }
.hz-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.hz-featured > div { flex: 1 1 320px; }
.hz-featured h2 { font-size: clamp(22px, 2.4vw, 28px); }
.hz-featured h2 a { color: var(--hz-ink); text-decoration: none; }
.hz-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.hz-post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--hz-radius); overflow: hidden; background: var(--hz-surface); margin-bottom: 12px; }
.hz-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hz-post-card:hover img { transform: scale(1.03); }
.hz-post-card__title { font-size: 18px; line-height: 1.4; margin: 0 0 6px; }
.hz-post-card__title a { color: var(--hz-ink); text-decoration: none; }
.hz-post-card__title a:hover { color: var(--hz-primary); }
.hz-searchform { display: flex; gap: 8px; margin-bottom: 20px; }
.hz-searchform input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid var(--hz-line-2); border-radius: 10px; }
.hz-searchform--lg { max-width: 620px; margin: 24px auto 0; }
.hz-searchform--lg input[type="search"] { height: 52px; }
.hz-pagination, .navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--hz-line-2); border-radius: 10px; color: var(--hz-ink); text-decoration: none; }
.page-numbers.current { background: var(--hz-primary); border-color: var(--hz-primary); color: #fff; font-weight: 600; }
.page-numbers.dots { border: 0; }
.hz-article__cover { margin: 0 0 28px; border-radius: 18px; overflow: hidden; }
.hz-article__cover img { width: 100%; display: block; }
.post-navigation .nav-links { justify-content: space-between; margin-top: 40px; }
.post-navigation a { display: block; max-width: 360px; color: var(--hz-ink); text-decoration: none; font-weight: 600; }
.post-navigation span { display: block; font-size: 13px; color: var(--hz-muted); font-weight: 400; }
.hz-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 16px; background: var(--hz-surface); font-size: 13px; text-decoration: none; color: var(--hz-ink); }

.hz-prose { font-size: 17px; line-height: 1.75; color: var(--hz-ink-2); max-width: 780px; }
.hz-prose--page { max-width: 880px; }
.hz-prose h2 { font-size: 24px; color: var(--hz-ink); margin: 1.6em 0 .5em; }
.hz-prose h3 { font-size: 20px; color: var(--hz-ink); margin: 1.4em 0 .4em; }
.hz-prose img { border-radius: 12px; }
.hz-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hz-prose th, .hz-prose td { border-bottom: 1px solid var(--hz-line); padding: 10px 12px; text-align: left; }
.hz-prose blockquote { margin: 1.5em 0; padding: 4px 20px; border-left: 3px solid var(--hz-primary); color: var(--hz-ink); }
.hz-prose details, .wp-block-details { border: 1px solid var(--hz-line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
.hz-prose summary, .wp-block-details summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--hz-ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hz-prose summary::-webkit-details-marker { display: none; }
.hz-prose summary::after, .wp-block-details summary::after { content: "+"; color: var(--hz-primary); font-size: 22px; line-height: 1; }
.hz-prose details[open] summary::after, .wp-block-details[open] summary::after { content: "−"; }
.hz-prose details > :not(summary), .wp-block-details > :not(summary) { padding: 0 20px; }
.hz-prose details[open] > :last-child { padding-bottom: 16px; }

.hz-sidenav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hz-sidenav a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--hz-ink); text-decoration: none; }
.hz-sidenav a:hover { background: var(--hz-surface); }
.hz-sidenav a[aria-current="page"] { background: var(--hz-primary-t); color: var(--hz-primary-d); font-weight: 600; }
.hz-help { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 32px; }

.hz-guide-hero { background: var(--hz-tint); text-align: center; }
.hz-guide-hero__inner { padding-block: 48px; max-width: 880px; }
.hz-topics { list-style: none; margin: 16px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.hz-topics a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--hz-line); border-radius: 16px; color: var(--hz-ink); text-decoration: none; }
.hz-topics a:hover { border-color: var(--hz-primary); }
.hz-topics span { font-size: 14px; color: var(--hz-muted); }
.hz-404 { text-align: center; padding-block: 72px; }
.hz-404__code { font-size: 96px; font-weight: 700; color: var(--hz-primary-t); margin: 0; line-height: 1; }
.hz-404 .hz-btnrow { justify-content: center; margin-top: 24px; }
.hz-comments { margin-top: 48px; }

/* ===================== Shop archive ===================== */
.hz-woo { padding-block: 20px 40px; }
.woocommerce-products-header { margin: 16px 0 24px; }
.woocommerce-products-header__title { margin: 0 0 6px; }
.hz-shop { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.hz-shop__side { flex: 1 1 260px; max-width: 300px; min-width: 0; }
.hz-shop__results { flex: 999 1 560px; min-width: 0; }
.hz-shop__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--hz-line); }
.hz-shop__bar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce .hz-shop__bar .woocommerce-result-count, .woocommerce .hz-shop__bar .woocommerce-ordering { float: none; margin: 0; font-size: 14px; color: var(--hz-muted); }
.woocommerce-ordering select, .hz-wc select, .woocommerce form .form-row select { height: 44px; padding: 0 12px; border: 1px solid var(--hz-line-2); border-radius: 10px; background: #fff; }
.hz-filter-toggle { display: none; width: 100%; margin-bottom: 12px; }
.hz-cattree { padding: 10px; }
.hz-cattree .hz-box__title { margin: 6px 8px 8px; }
.hz-cattree ul { list-style: none; margin: 0; padding: 0; }
.hz-cattree summary, .hz-cattree__solo { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; color: var(--hz-ink); font-weight: 500; cursor: pointer; list-style: none; text-decoration: none; }
.hz-cattree summary::-webkit-details-marker { display: none; }
.hz-cattree summary:hover, .hz-cattree__solo:hover { background: var(--hz-surface); color: var(--hz-ink); }
.hz-cattree summary.is-active, .hz-cattree__solo.is-active { background: var(--hz-surface); font-weight: 600; }
.hz-cattree details[open] summary .hz-icon { transform: rotate(180deg); }
.hz-cattree details ul { margin: 0 0 6px 14px; padding-left: 12px; border-left: 2px solid var(--hz-primary-t); }
.hz-cattree details a { display: flex; align-items: center; min-height: 38px; padding: 0 10px; border-radius: 8px; color: var(--hz-ink-2); font-size: 14px; text-decoration: none; }
.hz-cattree details a:hover { background: var(--hz-surface); }
.hz-cattree a[aria-current="page"] { background: var(--hz-primary-t); color: var(--hz-primary-d); font-weight: 600; }
.hz-filters__head { display: flex; justify-content: space-between; align-items: baseline; }
.hz-filters__head a { font-size: 14px; font-weight: 600; }
.hz-filters fieldset { margin: 0 0 14px; padding: 0 0 14px; border: 0; border-bottom: 1px solid #eef2f0; }
.hz-filters legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.hz-check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; cursor: pointer; }
.hz-check input { width: 18px; height: 18px; accent-color: var(--hz-primary); }
.hz-price-range { display: flex; gap: 8px; }
.hz-price-range label { flex: 1; font-size: 12px; color: var(--hz-muted); }
.hz-price-range input { display: block; width: 100%; margin-top: 4px; height: 42px; padding: 0 10px; border: 1px solid var(--hz-line-2); border-radius: 8px; }
.hz-seo-text { margin-top: 48px; padding: 28px; border-radius: 16px; background: var(--hz-surface); line-height: 1.75; color: var(--hz-ink-2); }
@media (max-width: 900px) {
	.hz-shop__side { max-width: none; flex-basis: 100%; }
	.hz-filter-toggle { display: inline-flex; }
	.hz-shop__side-body { display: none; }
	.hz-shop__side-body.is-open { display: block; }
}

/* Product grid & cards */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin: 0 0 24px !important; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { position: relative; width: auto !important; margin: 0 !important; float: none !important; padding: 0 0 16px !important; background: #fff; border: 1px solid var(--hz-line); border-radius: var(--hz-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.woocommerce ul.products li.product:hover { border-color: #c4d3cd; box-shadow: 0 10px 24px rgba(14, 59, 51, .08); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--hz-ink); text-decoration: none; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 12px !important; background: var(--hz-surface); }
.hz-card-cat { display: block; padding: 0 14px; font-size: 12px; color: var(--hz-muted); text-transform: uppercase; letter-spacing: .5px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .hz-card-title { padding: 4px 14px 0 !important; font-size: 15px !important; font-weight: 600; line-height: 1.4; min-height: 46px; color: var(--hz-ink); }
.woocommerce ul.products li.product .price { display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 6px 14px 0; margin: 0 0 12px !important; color: var(--hz-accent) !important; font-size: 18px !important; font-weight: 700; }
.woocommerce ul.products li.product .price del { order: 2; color: var(--hz-muted); font-size: 13px; font-weight: 400; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { margin: auto 14px 0 !important; background: #fff; color: var(--hz-primary); border: 1px solid var(--hz-primary); min-height: 44px; font-size: 14px; }
.woocommerce ul.products li.product .button:hover { background: var(--hz-primary); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; padding: 8px 14px 0; font-size: 13px; }
.woocommerce ul.products li.product-category a { padding: 0 0 4px; }
.woocommerce ul.products li.product-category h2 { padding: 0 14px; font-size: 16px; }
.woocommerce ul.products li.product-category mark { background: none; color: var(--hz-muted); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hz-line-2); border-radius: 10px; padding: 0 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--hz-primary); border-color: var(--hz-primary); color: #fff; }
@media (max-width: 520px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.woocommerce ul.products li.product .price { font-size: 16px !important; }
}

/* ===================== Single product ===================== */
.woocommerce div.product { position: relative; display: flex; flex-wrap: wrap; gap: 40px; margin-top: 12px; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce div.product div.images { flex: 1 1 480px; min-width: 0; }
.woocommerce div.product div.summary { flex: 1 1 400px; min-width: 0; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { flex-basis: 100%; }
.woocommerce div.product div.images img { border-radius: 18px; background: var(--hz-surface); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs img { border-radius: 10px; border: 1px solid var(--hz-line); }
.woocommerce div.product .product_title { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 14px 18px; border-radius: 14px; background: #fff6f0; color: var(--hz-accent); font-size: 28px; font-weight: 700; }
.woocommerce div.product p.price del { order: 2; font-size: 15px; color: var(--hz-muted); font-weight: 400; opacity: 1; }
.woocommerce div.product p.price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--hz-ink-2); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 20px 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; width: 100%; }
.woocommerce div.product form.cart .variations select { min-width: 200px; }
.woocommerce .quantity .qty { width: 80px; height: 52px; border: 1px solid var(--hz-line-2); border-radius: 12px; text-align: center; }
.woocommerce div.product form.cart .button { min-height: 52px; flex: 1 1 200px; background: var(--hz-accent); font-size: 16px; }
.woocommerce div.product form.cart .button:hover { background: #a3360a; }
.woocommerce div.product .single_variation_wrap { width: 100%; }
.woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; }
.product_meta { font-size: 14px; color: var(--hz-muted); display: flex; flex-direction: column; gap: 4px; }
.hz-trust { list-style: none; margin: 16px 0; padding: 16px 18px; border-radius: 14px; background: var(--hz-surface); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; font-size: 14px; }
.hz-trust li { display: flex; gap: 8px; align-items: center; }
.hz-trust .hz-icon { color: var(--hz-primary); }
@media (max-width: 520px) { .hz-trust { grid-template-columns: 1fr; } }

/* Combo (grouped product) */
.hz-combo-note { display: flex; flex-direction: column; gap: 4px; margin: 16px 0; padding: 14px 16px; border-radius: 12px; background: var(--hz-primary-t); color: var(--hz-primary-d); font-size: 14px; }
.hz-combo-note strong { font-size: 15px; }
.woocommerce div.product form.cart.grouped_form { display: block; }
.woocommerce div.product form.cart .group_table { width: 100%; border: 1px solid var(--hz-line); border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; margin-bottom: 16px; }
.woocommerce div.product form.cart .group_table td { padding: 12px 14px; border-top: 1px solid #eef2f0; vertical-align: middle; }
.woocommerce div.product form.cart .group_table tr:first-child td { border-top: 0; }
.woocommerce div.product form.cart .group_table .woocommerce-grouped-product-list-item__label a { color: var(--hz-ink); font-weight: 600; text-decoration: none; }
.woocommerce div.product form.cart .group_table .woocommerce-grouped-product-list-item__price { text-align: right; font-weight: 600; color: var(--hz-accent); white-space: nowrap; }
.woocommerce div.product form.cart .group_table .qty { width: 64px; height: 44px; }
.woocommerce div.product form.cart.grouped_form .button { width: 100%; }

/* Tabs */
.woocommerce div.product .woocommerce-tabs { margin-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 !important; margin: 0 0 24px !important; border-bottom: 1px solid var(--hz-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: flex; align-items: center; min-height: 48px; padding: 0 18px !important; color: var(--hz-ink-2) !important; font-weight: 500 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--hz-primary) !important; font-weight: 700 !important; box-shadow: inset 0 -3px 0 var(--hz-primary); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 880px; line-height: 1.75; color: var(--hz-ink-2); }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 12px 14px; border-bottom: 1px solid #eef2f0; border-top: 0; font-style: normal; }
.woocommerce table.shop_attributes th { width: 40%; background: #fafbfa; color: var(--hz-muted); font-weight: 500; }
.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th { background: transparent; }
.woocommerce .related > h2, .woocommerce .upsells > h2 { font-size: 24px; margin: 24px 0 20px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: #e8a200; }

/* ===================== Cart / checkout / account (classic + blocks) ===================== */
.hz-wc { max-width: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-page form .form-row input.input-text, .hz-copy input {
	min-height: 46px; padding: 0 14px; border: 1px solid var(--hz-line-2); border-radius: 10px; background: #fff;
}
.woocommerce form .form-row textarea { padding: 10px 14px; min-height: 90px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 14px; }
.woocommerce table.shop_table { border: 1px solid var(--hz-line); border-radius: 14px; border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: #fafbfa; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 12px 14px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review, .woocommerce-checkout #customer_details { background: #fff; }
.woocommerce-checkout #payment { background: var(--hz-surface) !important; border-radius: 16px !important; }
.woocommerce-checkout #payment div.payment_box { background: #fff !important; border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-top: 0 !important; border-radius: 12px; background: var(--hz-surface) !important; padding: 14px 16px 14px 48px !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--hz-primary) !important; }
.woocommerce-error { background: var(--hz-accent-t) !important; }
.woocommerce-error::before { color: var(--hz-accent) !important; }

/* Blocks (Cart / Checkout blocks) */
.wc-block-components-button:not(.is-link) { border-radius: 12px !important; min-height: 50px; font-weight: 600; }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--hz-accent) !important; color: #fff !important; }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input, .wc-blocks-components-select__select { border-radius: 10px !important; }
.wc-block-components-radio-control-accordion-option, .wc-block-components-radio-control__option { border-radius: 12px; }

/* Account */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; flex: 1 1 240px; max-width: 280px; background: #fff; border: 1px solid var(--hz-line); border-radius: 16px; padding: 12px; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; flex: 999 1 560px; min-width: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--hz-ink); text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--hz-surface); color: var(--hz-ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--hz-primary-t); color: var(--hz-primary-d); font-weight: 600; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--hz-muted); }
@media (max-width: 900px) {
	.woocommerce-account .woocommerce-MyAccount-navigation { max-width: none; flex-basis: 100%; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
}
.hz-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.hz-stat { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--hz-line); }
.hz-stat > span { font-size: 14px; color: var(--hz-muted); }
.hz-stat strong { font-size: 28px; letter-spacing: -.5px; word-break: break-all; }
.hz-stat a { font-weight: 600; font-size: 14px; margin-top: 4px; }
.hz-stat small { font-size: 13px; }
.hz-stat--dark { background: var(--hz-deep); border-color: var(--hz-deep); color: #fff; }
.hz-stat--dark > span, .hz-stat--dark small { color: #cfe5df; }
.hz-stat--dark a { color: #9fe3d3; }
.hz-rules { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.hz-copy { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.hz-copy input { flex: 1 1 280px; min-width: 0; background: #f7f9f8; }
.hz-table-wrap { overflow-x: auto; }
.hz-num { text-align: right !important; font-weight: 600; color: var(--hz-primary-d); }
.hz-status { padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; background: var(--hz-surface); }
.hz-status--completed { background: var(--hz-primary-t); color: var(--hz-primary-d); }
.hz-status--processing { background: #e4eef5; color: #1f4e79; }
.hz-status--pending, .hz-status--on-hold { background: #fff6e0; color: #7a4a00; }
code { padding: 2px 6px; border-radius: 6px; background: var(--hz-primary-t); color: var(--hz-primary-d); font-weight: 600; }

/* Login / register */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce .u-columns.col2-set { display: flex; flex-wrap: wrap; gap: 24px; }
.woocommerce .u-columns.col2-set .u-column1, .woocommerce .u-columns.col2-set .u-column2 { float: none; width: auto; flex: 1 1 360px; background: #fff; border: 1px solid var(--hz-line); border-radius: 20px; padding: 28px; }
.woocommerce form.login, .woocommerce form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }
.woocommerce form.login .button, .woocommerce form.register .button { width: 100%; min-height: 50px; margin-top: 8px; }

/* Print */
@media print { .hz-header, .hz-footer, .hz-chat-float { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
