/* ============================================================================
   Triple Z — Header & Footer component styles
   Reproduces docs/site mockups. Uses the design tokens defined in style.css.
   ============================================================================ */

/* Shared container */
.tz-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* ----------------------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------------------- */
.tz-site-header { position: sticky; top: 0; z-index: 200; }

/* Utility bar (charcoal) */
.tz-util-bar { background: var(--tz-char); color: #F3ECE0; font-size: 13px; }
.tz-util-bar > .tz-wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.tz-util-left { display: inline-flex; align-items: center; gap: 8px; }
.tz-util-left > span { color: var(--tz-amber); font-weight: 600; }
.tz-util-left .tz-ico { color: var(--tz-amber); }
.tz-util-right { display: inline-flex; align-items: center; gap: 20px; }
.tz-util-right a { display: inline-flex; align-items: center; gap: 7px; color: rgba(243,236,224,.9); }
.tz-util-right a:hover { color: var(--tz-amber); }

/* Main bar (cream, blurred) */
.tz-main-bar { background: rgba(251,246,238,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--tz-border); }
.tz-main-bar > .tz-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }

/* Logo */
.tz-logo { display: flex; align-items: center; gap: 11px; }
.tz-logo-badge { flex: none; border-radius: 12px; }
.tz-logo-img { max-height: 50px; width: auto; }
.tz-logo-text { display: flex; flex-direction: column; line-height: 1; }
.tz-logo-name { font-family: var(--tz-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; font-size: 22px; color: var(--tz-ink-900); }
.tz-logo-name .tz-z { color: var(--tz-gold); }
.tz-logo-sub { font-family: var(--tz-font-body); font-weight: 600; font-size: 8px; letter-spacing: .22em; text-transform: uppercase; margin-top: 3px; color: var(--tz-ink-500); }

/* Desktop nav (wp_nav_menu ul/li) */
.tz-desktop-nav .tz-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.tz-desktop-nav .tz-menu li { margin: 0; }
.tz-desktop-nav .tz-menu a {
	font-family: var(--tz-font-body); font-weight: 600; font-size: 15px; letter-spacing: .02em;
	color: var(--tz-ink-900); border-bottom: 2px solid transparent; padding-bottom: 4px;
	transition: color var(--tz-fast), border-color var(--tz-fast);
}
.tz-desktop-nav .tz-menu a:hover,
.tz-desktop-nav .tz-menu .current-menu-item > a,
.tz-desktop-nav .tz-menu .current_page_item > a { color: var(--tz-gold); }
.tz-desktop-nav .tz-menu .current-menu-item > a,
.tz-desktop-nav .tz-menu .current_page_item > a { border-bottom-color: var(--tz-gold); }

/* Header actions */
.tz-header-actions { display: flex; align-items: center; gap: 4px; }
.tz-icon-btn {
	padding: 8px; color: var(--tz-ink-900); border-radius: var(--tz-r-sm); position: relative;
	display: inline-flex; align-items: center; background: none; border: none; cursor: pointer;
	transition: color var(--tz-fast);
}
.tz-icon-btn:hover { color: var(--tz-gold); }
.tz-cart-count {
	position: absolute; top: 0; right: 0; background: var(--tz-gold); color: #fff;
	font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; border-radius: var(--tz-r-pill);
	display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
}
.tz-cart-count[hidden] { display: none; }

/* Search panel */
.tz-search-panel { background: rgba(251,246,238,.97); border-bottom: 1px solid var(--tz-border); }
.tz-search-panel[hidden] { display: none; }
.tz-search-panel .tz-wrap { padding-block: 14px; }
.tz-search-panel form { display: flex; gap: 8px; }
.tz-search-panel input[type="search"] {
	flex: 1; padding: 11px 14px; border: 1.5px solid var(--tz-border-s); border-radius: var(--tz-r-md);
	font-family: var(--tz-font-body); font-size: 15px; background: #fff; color: var(--tz-ink-900); outline: none;
}
.tz-search-panel input[type="search"]:focus { border-color: var(--tz-gold); box-shadow: var(--tz-focus); }
.tz-search-panel button {
	background: var(--tz-gold); color: #fff; border: none; border-radius: var(--tz-r-md); padding: 0 20px;
	font-family: var(--tz-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; cursor: pointer;
}
.tz-search-panel button:hover { background: var(--tz-gold-hover); }

/* Mobile menu */
.tz-mob-toggle { display: none; }
.tz-mob-menu { background: rgba(251,246,238,.97); padding: 0 24px 14px; }
.tz-mob-menu[hidden] { display: none; }
.tz-mob-menu .tz-mob-menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tz-mob-menu .tz-mob-menu-list a {
	display: block; font-family: var(--tz-font-body); font-weight: 600; padding: 10px 4px;
	border-bottom: 1px solid var(--tz-border); color: var(--tz-ink-900);
}
.tz-mob-menu .tz-mob-menu-list .current-menu-item > a,
.tz-mob-menu .tz-mob-menu-list a:hover { color: var(--tz-gold); }

/* ----------------------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------------------- */
.tz-site-footer { background: var(--tz-char); color: #F3ECE0; }
.tz-footer-grid {
	display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 48px;
	padding: 56px 24px 32px; max-width: 1200px; margin-inline: auto;
}
.tz-footer-col h3 { font-family: var(--tz-font-display); font-size: 18px; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.tz-footer-tagline { margin-top: 18px; max-width: 320px; color: rgba(243,236,224,.72); font-size: 15px; line-height: 1.55; }
.tz-footer-fb { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; font-weight: 600; color: rgba(243,236,224,.85); }
.tz-footer-fb:hover { color: var(--tz-amber); }
.tz-footer-fb .tz-ico { color: var(--tz-amber); }
.tz-footer-links .tz-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.tz-footer-links a { color: rgba(243,236,224,.8); font-size: 15px; }
.tz-footer-links a:hover { color: var(--tz-amber); }
.tz-footer-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: rgba(243,236,224,.8); }
.tz-footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.tz-footer-contact .tz-ico { color: var(--tz-amber); flex: none; margin-top: 1px; }
.tz-footer-contact a { color: rgba(243,236,224,.8); }
.tz-footer-contact a:hover { color: var(--tz-amber); }
.tz-footer-bottom { border-top: 1px solid rgba(243,236,224,.14); }
.tz-footer-bottom .tz-wrap { padding: 18px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(243,236,224,.6); }

/* Footer logo wordmark tints */
.tz-site-footer .tz-logo-sub { color: rgba(243,236,224,.55); }

/* ----------------------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.tz-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 880px) {
	.tz-desktop-nav { display: none; }
	.tz-mob-toggle { display: inline-flex; }
}
@media (min-width: 881px) {
	.tz-mob-menu { display: none !important; }
}

/* ============================================================================
   PAGE BLOCKS — button variants on dark / gold bands + section helpers
   (used by the Elementor-built Home / About / Contact pages)
   ============================================================================ */

/* Elementor's default kit paints every heading with the Primary (gold) global
   color. Reset headings to warm ink, keep dark/gold bands light, eyebrows gold. */
.elementor-widget-heading .elementor-heading-title { color: var(--tz-ink-900); }
.tz-dark .elementor-heading-title,
.tz-dark h1, .tz-dark h2, .tz-dark h3,
.tz-gold-bg .elementor-heading-title { color: #fff !important; }
.tz-eyebrow .elementor-heading-title { color: var(--tz-gold) !important; }
.tz-eyebrow-amber .elementor-heading-title,
.tz-dark .tz-eyebrow .elementor-heading-title { color: var(--tz-amber) !important; }
.tz-stat-num .elementor-heading-title { color: var(--tz-gold) !important; }
.tz-dark .tz-stat-num .elementor-heading-title { color: var(--tz-amber) !important; }

/* Icon-box titles: dark ink by default, light on dark sections (matches mockup) */
.elementor-icon-box-title, .elementor-icon-box-title a { color: var(--tz-ink-900); }
.tz-dark .elementor-icon-box-title, .tz-dark .elementor-icon-box-title a { color: #fff; }

/* Secondary (outline) button needs light text on dark + gold sections */
.tz-dark .tz-btn-secondary .elementor-button,
.tz-gold-bg .tz-btn-secondary .elementor-button {
	color: #fff !important;
	border-color: rgba(255, 255, 255, .6) !important;
	background: transparent !important;
}
.tz-dark .tz-btn-secondary .elementor-button:hover,
.tz-gold-bg .tz-btn-secondary .elementor-button:hover {
	background: rgba(255, 255, 255, .12) !important;
	border-color: #fff !important;
}

/* Dark filled button (e.g. phone button on the gold CTA band) */
.tz-btn-dark .elementor-button {
	background: var(--tz-char) !important;
	color: #fff !important;
	border: none !important;
}
.tz-btn-dark .elementor-button:hover { background: #000 !important; }

/* Eyebrow spacing inside built sections */
.tz-eyebrow { margin-bottom: 6px; }

/* Card column padding when tz-card is used on a container (values / contact) */
.elementor-element.tz-card { padding: 28px; }
.tz-cat-card, .tz-trust { text-align: center; }

/* Make icon-box description muted, tighter */
.tz-trust .elementor-icon-box-description,
.tz-cat-card .elementor-icon-box-description { color: var(--tz-ink-500); }
.tz-dark .tz-cat-card .elementor-icon-box-description { color: rgba(243,236,224,.7); }

/* Contact map iframe */
.tz-map iframe { width: 100%; min-height: 260px; border: 0; border-radius: var(--tz-r-lg); display: block; }

/* ============================================================================
   SINGLE PRODUCT — richer buy box (works with the WooCommerce hooks)
   ============================================================================ */
.single-product div.product { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.single-product div.product > .woocommerce-product-gallery { width: 45%; margin: 0 0 1em; float: none; }
.single-product div.product > .summary { width: 50%; margin: 0; float: none; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .up-sells,
.single-product div.product > .related { width: 100%; clear: both; }
@media (max-width: 880px) {
	.single-product div.product > .woocommerce-product-gallery,
	.single-product div.product > .summary { width: 100%; }
}

/* Eyebrow: badges + category above the title */
.tz-sp-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.tz-badge { font-family: var(--tz-font-body); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--tz-r-pill); }
.tz-badge-gold { background: var(--tz-gold); color: #fff; }
.tz-badge-stock { background: var(--tz-success-bg); color: var(--tz-success); }
.tz-sp-cat { font-family: var(--tz-font-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--tz-gold); }
.tz-sp-cat a { color: var(--tz-gold); }

/* Rating row */
.single-product .summary .woocommerce-product-rating { margin-bottom: 14px; }
.single-product .summary .woocommerce-product-rating .woocommerce-review-link { color: var(--tz-ink-500); font-size: 14px; }

/* "Get a wholesale quote" secondary button */
.tz-quote-btn {
	display: inline-block; margin: 4px 0 6px; padding: 13px 26px;
	font-family: var(--tz-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px;
	color: var(--tz-ink-900) !important; background: transparent; border: 1.5px solid var(--tz-border-s); border-radius: var(--tz-r-md);
	transition: border-color var(--tz-fast), background var(--tz-fast);
}
.tz-quote-btn:hover { border-color: var(--tz-ink-900); background: var(--tz-cream-200); }

/* Trust row under the buy box */
.tz-sp-trust { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--tz-border); display: flex; flex-wrap: wrap; gap: 18px 24px; }
.tz-sp-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--tz-ink-700); }
.tz-sp-trust svg { color: var(--tz-gold); }

/* Specs tab (Additional information) table */
.woocommerce-tabs .woocommerce-Tabs-panel h2 { font-family: var(--tz-font-display); text-transform: uppercase; letter-spacing: -.01em; }
.woocommerce-tabs table.shop_attributes { border: 1px solid var(--tz-border); border-radius: var(--tz-r-lg); overflow: hidden; background: #fff; }
.woocommerce-tabs table.shop_attributes th { background: var(--tz-cream-200); font-family: var(--tz-font-body); text-transform: none; letter-spacing: 0; width: 30%; }
.woocommerce-tabs table.shop_attributes th,
.woocommerce-tabs table.shop_attributes td { padding: 12px 16px; border-bottom: 1px solid var(--tz-border); font-style: normal; }
.woocommerce-tabs ul.tabs { border-bottom: 1px solid var(--tz-border); }
.woocommerce-tabs ul.tabs li { background: transparent; border: none; }
.woocommerce-tabs ul.tabs li a { font-family: var(--tz-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; color: var(--tz-ink-500); }
.woocommerce-tabs ul.tabs li.active a { color: var(--tz-gold); }

/* Upsells heading + grid */
.single-product .up-sells > h2 { font-family: var(--tz-font-display); text-transform: uppercase; letter-spacing: -.01em; font-size: 2rem; margin-bottom: 20px; }

/* Contact Form 7 — match the design system */
.wpcf7-form label { display: block; font-weight: 600; font-size: 13px; color: var(--tz-ink-900); margin-bottom: 14px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px; font-family: var(--tz-font-body); font-size: 15px;
	color: var(--tz-ink-900); background: #fff; border: 1.5px solid var(--tz-border-s); border-radius: var(--tz-r-md);
	outline: none; transition: border-color var(--tz-fast), box-shadow var(--tz-fast);
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus { border-color: var(--tz-gold); box-shadow: var(--tz-focus); }
.wpcf7-form .wpcf7-submit {
	width: auto; background: var(--tz-gold); color: #fff; border: none; border-radius: var(--tz-r-md);
	font-family: var(--tz-font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
	font-size: 16px; padding: 13px 28px; cursor: pointer; transition: background var(--tz-fast);
}
.wpcf7-form .wpcf7-submit:hover { background: var(--tz-gold-hover); }

/* Stat blocks on About */
.tz-stat-num .elementor-heading-title { color: var(--tz-gold); font-size: 34px; }
.tz-dark .tz-stat-num .elementor-heading-title { color: var(--tz-amber); }
.tz-stat-label .elementor-heading-title { font-family: var(--tz-font-body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--tz-ink-500); }

/* ============================================================================
 * Content pages (After-Sales, FAQ, Services hub) + appended About/Contact
 * blocks + category buying-guide intros. Plain-HTML components (not Elementor
 * widgets), styled with the --tz-* design tokens.
 * ========================================================================== */
.tz-page { color: var(--tz-ink-700); font-family: var(--tz-font-body); line-height: 1.7; font-size: 17px; }
.tz-page-narrow { max-width: 760px; margin-inline: auto; padding: 8px 24px 8px; }
.tz-append { margin-top: 8px; padding-top: 32px; border-top: 1px solid var(--tz-border); }
.tz-page h2 { font-family: var(--tz-font-display); color: var(--tz-ink-900); font-size: 30px; line-height: 1.15; margin: 1.6em 0 .5em; }
.tz-page h3 { font-family: var(--tz-font-display); color: var(--tz-ink-900); font-size: 23px; margin: 1.4em 0 .4em; }
.tz-page p { margin: 0 0 1em; }
.tz-page a { color: var(--tz-gold); text-decoration: underline; text-underline-offset: 2px; }
.tz-page a:hover { color: var(--tz-gold-hover); }
.tz-lead { font-size: 19px; color: var(--tz-ink-700); }

/* Checklists */
.tz-check { list-style: none; padding: 0; margin: 0 0 1.2em; }
.tz-check li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.tz-check li::before { content: ""; position: absolute; left: 0; top: .15em;
  width: 20px; height: 20px; border-radius: 999px; background: var(--tz-success-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233F8E4F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* Standalone buttons (plain anchors, not Elementor) */
.tz-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 .4em; }
a.tz-btn-dark, a.tz-btn-secondary { display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--tz-font-display); font-weight: 600; font-size: 17px; letter-spacing: .3px;
  padding: 13px 26px; border-radius: var(--tz-r-md); text-decoration: none; transition: background .15s, color .15s; }
a.tz-btn-dark { background: var(--tz-char); color: var(--tz-cream-100); }
a.tz-btn-dark:hover { background: #000; color: #fff; }
a.tz-btn-secondary { background: transparent; color: var(--tz-ink-900); border: 1.5px solid var(--tz-border-s); }
a.tz-btn-secondary:hover { background: var(--tz-cream-200); color: var(--tz-ink-900); }

/* Services hub cards */
.tz-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
a.tz-svc-card { display: block; padding: 26px; background: var(--tz-surface); border: 1px solid var(--tz-border);
  border-radius: var(--tz-r-lg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.tz-svc-card:hover { border-color: var(--tz-border-s); box-shadow: 0 6px 20px rgba(30,26,21,.06); }
.tz-svc-card h3 { margin: 0 0 .4em; }
.tz-svc-card p { color: var(--tz-ink-500); font-size: 16px; }
.tz-card-link { color: var(--tz-gold); font-weight: 600; }

/* FAQ accordion */
.tz-faq { margin: 8px 0 16px; }
.tz-faq-item { border: 1px solid var(--tz-border); border-radius: var(--tz-r-md); margin-bottom: 12px; background: var(--tz-surface); overflow: hidden; }
.tz-faq-item summary { cursor: pointer; padding: 18px 22px; font-family: var(--tz-font-display); font-size: 20px; color: var(--tz-ink-900); list-style: none; position: relative; }
.tz-faq-item summary::-webkit-details-marker { display: none; }
.tz-faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 26px; color: var(--tz-gold); font-family: var(--tz-font-body); }
.tz-faq-item[open] summary::after { content: "\2212"; }
.tz-faq-a { padding: 0 22px 18px; color: var(--tz-ink-700); }
.tz-faq-a p { margin: 0; }

/* Contact NAP + columns */
.tz-contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.tz-nap { list-style: none; padding: 0; margin: 0; }
.tz-nap li { margin-bottom: 1em; line-height: 1.5; }
.tz-nap strong { font-family: var(--tz-font-display); text-transform: uppercase; letter-spacing: .5px; font-size: 13px; color: var(--tz-ink-400); }

/* Category buying-guide intro */
.tz-cat-intro { max-width: 820px; margin: 0 auto 8px; color: var(--tz-ink-700); line-height: 1.7; }
.tz-cat-intro h2 { font-family: var(--tz-font-display); color: var(--tz-ink-900); font-size: 26px; margin: 1.2em 0 .4em; }

@media (max-width: 720px) {
  .tz-svc-grid, .tz-contact-cols { grid-template-columns: 1fr; }
}

/* WooCommerce strips inner divs from term descriptions — style its own wrapper */
.woocommerce .term-description { max-width: 860px; margin: 0 auto 24px; color: var(--tz-ink-700); line-height: 1.7; font-size: 17px; }
.woocommerce .term-description h2 { font-family: var(--tz-font-display); color: var(--tz-ink-900); font-size: 26px; margin: 1.2em 0 .4em; }
.woocommerce .term-description a { color: var(--tz-gold); text-decoration: underline; text-underline-offset: 2px; }
.woocommerce .term-description .tz-check { list-style: none; padding: 0; }
