/* ============================================================
   Hive Haven — Global Design System
   ============================================================
   Source of truth: the Home page (Elementor HTML widget) design.

   Home uses these exact brand values — everything below is
   extracted from the Home page CSS, never invented:

     --ink        #1b1a17   (deep ink, primary)
     --ink-soft   #4a463e   (muted ink, secondary text)
     --paper      #faf6ee   (page background)
     --paper-2    #f3ecdd   (soft section background)
     --amber      #c98a2e   (brand accent)
     --amber-deep #a06a1d   (accent hover)
     --honey      #f2cf74   (light accent / highlight)
     --cream      #fffdf7   (card surface)
     --line       rgba(27,26,23,.14) (hairlines)

   Typography: 'Fraunces' (serif display) + 'Inter' (sans body)
   Container:   max-width 1200px, padding 0 24px
   Radius:      cards 20px, lists 16px, icons 16px, pills 999px
   Section gap: 110px vertical
   Shadows:     0 26px 50px -24px rgba(27,26,23,.3) on hover

   Every other page (Product Archive / Product Detail /
   Request a Quote) inherits THESE tokens only.
   ============================================================ */

:root{
  /* ---- Brand colors (exact Home values) ---- */
  --hh-ink:#1b1a17;
  --hh-ink-soft:#4a463e;
  --hh-paper:#faf6ee;
  --hh-paper-2:#f3ecdd;
  --hh-amber:#c98a2e;
  --hh-amber-deep:#a06a1d;
  --hh-honey:#f2cf74;
  --hh-cream:#fffdf7;
  --hh-line:rgba(27,26,23,.14);

  /* ---- Semantic aliases (per requirement) ---- */
  --hh-primary:#1b1a17;
  --hh-primary-soft:#4a463e;
  --hh-secondary:#faf6ee;
  --hh-secondary-2:#f3ecdd;
  --hh-accent:#c98a2e;
  --hh-accent-deep:#a06a1d;
  --hh-bg:#faf6ee;
  --hh-text:#1b1a17;
  --hh-muted:#4a463e;
  --hh-border:rgba(27,26,23,.14);

  /* ---- Type ---- */
  --hh-font-serif:'Fraunces',Georgia,serif;
  --hh-font-sans:'Inter',-apple-system,'Helvetica Neue',Arial,sans-serif;
  --hh-h1:clamp(44px,6vw,78px);      /* hero H1 (Home) */
  --hh-h2:clamp(34px,4.4vw,52px);    /* section H2 (Home) */
  --hh-h3:21px;                      /* card H3 (Home) */
  --hh-body:15px;
  --hh-body-lh:1.6;

  /* ---- Radius system (extracted from Home) ---- */
  --hh-radius-xs:10px;   /* hive tier */
  --hh-radius-sm:14px;   /* float tags */
  --hh-radius:16px;      /* faq items, spec tables, icons */
  --hh-radius-lg:18px;   /* hero hive box, gallery */
  --hh-radius-xl:20px;   /* feature / product cards */
  --hh-radius-2xl:22px;  /* quote form panel */
  --hh-radius-pill:999px;
  --hh-radius-control:12px; /* form inputs */

  /* ---- Layout ---- */
  --hh-container:1200px;
  --hh-gutter:24px;
  --hh-section-gap:110px;
  --hh-header-h:72px;

  /* ---- Effects ---- */
  --hh-shadow-hover:0 26px 50px -24px rgba(27,26,23,.3);
  --hh-shadow-float:0 16px 34px -14px rgba(27,26,23,.35);
}

/* ---------- Base ---------- */
body{
  font-family:var(--hh-font-sans);
  color:var(--hh-text);
  background:var(--hh-bg);
  -webkit-font-smoothing:antialiased;
  line-height:var(--hh-body-lh);
}
body.hh-archive-product,
body.hh-single-product,
body.hh-quote-page,
body.hh-simple-page{
  background:var(--hh-bg);
}
/* Kadence: override its default white content wrapper so the
   product / quote pages sit on the same paper background as Home */
body.hh-archive-product .content-bg,
body.hh-archive-product body.content-style-unboxed .site,
body.hh-single-product .content-bg,
body.hh-single-product body.content-style-unboxed .site,
body.hh-quote-page .content-bg,
body.hh-quote-page body.content-style-unboxed .site,
body.hh-simple-page .content-bg,
body.hh-simple-page body.content-style-unboxed .site,
body.hh-archive-product .content-container > .entry-content-wrap,
body.hh-single-product .content-container > .entry-content-wrap,
body.hh-quote-page .content-container > .entry-content-wrap,
body.hh-simple-page .content-container > .entry-content-wrap{
  background:transparent !important;
}
body.hh-archive-product .site,
body.hh-single-product .site,
body.hh-quote-page .site,
body.hh-simple-page .site{
  background:var(--hh-bg);
}
/* Kadence page hero (page title) — let quote page use its own
   in-form intro instead of a generic white title block */
body.hh-quote-page .page-hero-section .entry-header{
  display:none !important;
}
body.hh-quote-page .content-area,
body.hh-archive-product .content-area,
body.hh-single-product .content-area{
  margin-top:0;
  margin-bottom:0;
}

/* ---- Undo Kadence "boxed content" chrome on our pages ----
   Kadence adds a white rounded card (.entry) around the content
   when content-style-boxed. Home has no such chrome; strip it so
   the paper background runs edge to edge like Home. */
body.hh-archive-product .content-wrap > .entry,
body.hh-single-product .content-wrap > .entry,
body.hh-quote-page .content-wrap > .entry,
body.hh-simple-page .content-wrap > .entry{
  box-shadow:none !important;
  background:transparent !important;
  border-radius:0 !important;
}
body.hh-archive-product .entry-content-wrap,
body.hh-single-product .entry-content-wrap,
body.hh-quote-page .entry-content-wrap,
body.hh-simple-page .entry-content-wrap{
  padding:0 !important;
}

/* ---- Brand link colors (Kadence default is blue #2b6cb0) ---- */
body.hh-archive-product a:not(.hh-btn),
body.hh-single-product a:not(.hh-btn),
body.hh-quote-page a:not(.hh-btn),
body.hh-simple-page a:not(.hh-btn),
body.hh-quote-page button:not(.hh-btn),
body.hh-quote-page input[type=submit]:not(.hh-btn){
  color:var(--hh-accent-deep);
}
body.hh-archive-product a:not(.hh-btn):hover,
body.hh-single-product a:not(.hh-btn):hover,
body.hh-quote-page a:not(.hh-btn):hover,
body.hh-simple-page a:not(.hh-btn):hover{
  color:var(--hh-accent);
}
a{color:inherit}
.hh-container{max-width:var(--hh-container);margin:0 auto;padding:0 var(--hh-gutter)}

/* ---------- Kicker (eyebrow label, Home .kicker) ---------- */
.hh-kicker{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--hh-accent-deep);
}

/* ---------- Buttons (Home .btn system) ---------- */
.hh-btn{
  display:inline-block;
  padding:15px 34px;
  border-radius:var(--hh-radius-pill);
  font-size:14px;
  font-weight:600;
  letter-spacing:.04em;
  transition:all .25s ease;
  cursor:pointer;
  border:none;
  text-decoration:none;
  text-align:center;
  font-family:var(--hh-font-sans);
}
.hh-btn-dark{background:var(--hh-primary);color:var(--hh-cream)}
.hh-btn-dark:hover{background:var(--hh-accent-deep);color:#fff;transform:translateY(-2px)}
.hh-btn-amber{background:var(--hh-accent);color:#fff}
.hh-btn-amber:hover{background:var(--hh-accent-deep);color:#fff;transform:translateY(-2px)}
.hh-btn-outline{border:1.5px solid var(--hh-primary);color:var(--hh-primary);background:transparent}
.hh-btn-outline:hover{background:var(--hh-primary);color:var(--hh-cream)}
.hh-btn-ghost{border:1.5px solid var(--hh-primary);color:var(--hh-primary);background:transparent}
.hh-btn-ghost:hover{background:var(--hh-primary);color:var(--hh-cream)}

/* ---------- Header (matches Home .nav: 72px, paper blur) ----------
   Kadence prints these styles AFTER our stylesheet, so we must out-spec
   #masthead / nav selectors to keep the header on brand. */
.site-header,
#masthead.site-header,
#masthead{
  background:rgba(250,246,238,.92) !important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--hh-line);
}
.site-main-header-inner-wrap,
#masthead .site-main-header-inner-wrap{min-height:var(--hh-header-h) !important}
.site-branding .site-title,
#masthead .site-branding .site-title{
  font-family:var(--hh-font-serif) !important;
  font-weight:400 !important;
  font-size:26px !important;
  letter-spacing:-.01em !important;
  color:var(--hh-ink) !important;
}
.site-header .site-branding .site-title a,
#masthead .site-branding .site-title a{
  font-family:var(--hh-font-serif);
  font-weight:400;
  font-size:26px;
  letter-spacing:-.01em;
  color:var(--hh-ink);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a,
.main-navigation .menu > li > a{
  font-size:14px !important;
  font-weight:500 !important;
  color:var(--hh-ink-soft) !important;
  letter-spacing:.02em !important;
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .menu > li > a:hover{color:var(--hh-accent-deep) !important}
.main-navigation .primary-menu-container > ul > li.menu-item > a{
  padding-top:0.6em;padding-bottom:0.6em;
  padding-left:calc(1.2em / 2);padding-right:calc(1.2em / 2);
}

/* Request a Quote CTA in nav (Home .btn-amber pill) */
.hh-menu-cta > a,
.main-navigation .menu > li.hh-menu-cta > a,
.main-navigation .primary-menu-container > ul > li.hh-menu-cta.menu-item > a{
  background:var(--hh-accent) !important;
  color:#fff !important;
  padding:10px 22px !important;
  border-radius:var(--hh-radius-pill);
  font-weight:600;
  transition:all .25s ease;
}
.hh-menu-cta > a:hover,
.main-navigation .menu > li.hh-menu-cta > a:hover,
.main-navigation .primary-menu-container > ul > li.hh-menu-cta.menu-item > a:hover{
  background:var(--hh-accent-deep) !important;
  transform:translateY(-2px);
  color:#fff !important;
}

/* ---------- Footer (matches Home .foot) ---------- */
.hh-footer{
  background:var(--hh-ink);
  color:rgba(255,253,247,.75);
  padding:70px 0 34px;
  margin-top:0;
}
.hh-footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:44px;
  padding-bottom:52px;
}
@media(max-width:900px){.hh-footer-grid{grid-template-columns:1fr 1fr;gap:36px}}
@media(max-width:560px){.hh-footer-grid{grid-template-columns:1fr}}
.hh-footer-logo{
  font-family:var(--hh-font-serif);
  font-size:26px;
  color:var(--hh-cream);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.hh-footer-mark{
  width:34px;height:34px;
  border:2px solid var(--hh-honey);
  border-radius:50%;
  position:relative;
  display:inline-block;
  flex:none;
}
.hh-footer-mark::before{
  content:"";position:absolute;inset:0;
  border-radius:50%;
  border:2px solid rgba(242,207,116,.4);
  transform:scale(.65);
}
.hh-footer-mark::after{
  content:"";position:absolute;top:50%;left:50%;
  width:10px;height:10px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:var(--hh-honey);
}
.hh-footer-brand p{
  font-size:14px;
  font-weight:300;
  line-height:1.7;
  max-width:360px;
}
.hh-footer-contact{margin-top:20px}
.hh-footer-contact p{font-size:13.5px;margin-bottom:8px;line-height:1.6}
.hh-footer-contact a{color:var(--hh-honey);text-decoration:none}
.hh-footer-contact a:hover{color:#fff}
.hh-footer-col h4{
  color:var(--hh-cream);
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  margin-bottom:18px;
  font-weight:600;
}
.hh-footer-col ul{list-style:none;margin:0;padding:0}
.hh-footer-col li{margin-bottom:11px}
.hh-footer-col a{
  color:rgba(255,253,247,.7);
  font-size:14px;
  font-weight:300;
  text-decoration:none;
  transition:color .2s;
}
.hh-footer-col a:hover{color:var(--hh-honey)}
.hh-footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:26px 0 0;
  font-size:12.5px;
  letter-spacing:.05em;
}
.hh-footer-bottom .hh-container{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  width:100%;
}
.hh-footer-bee{color:var(--hh-honey)}

/* Hide Kadence default footer widgets when our footer is used */
.site-footer .footer-widget-area{display:none !important}
.site-footer .site-info{display:none !important}

/* ============================================================
   Branded topbar + nav (Home .topbar / .nav), rendered by the
   plugin via wp_body_open on product / category / quote pages.
   The Kadence #masthead / #colophon are hidden on those pages so
   the Home-identical chrome is the only header & footer visible.
   ============================================================ */
body.hh-single-post #masthead,
body.hh-archive-product #masthead,
body.hh-single-product #masthead,
body.hh-quote-page #masthead,
body.hh-simple-page #masthead{display:none !important}

body.hh-archive-product #colophon,
body.hh-single-product #colophon,
body.hh-quote-page #colophon,
body.hh-single-post #colophon,
body.hh-simple-page #colophon{display:none !important}

/* Body text: hard-bind so Kadence defaults can't bleed in
   (Kadence prints after this stylesheet, so we out-spec it) */
body.hh-archive-product,
body.hh-single-product,
body.hh-quote-page,
body.hh-simple-page{
  font-family:var(--hh-font-sans) !important;
  color:var(--hh-ink) !important;
  font-size:15px;
  line-height:1.6;
}

/* Topbar (Home .topbar) */
.hh-topbar{
  background:var(--hh-ink);
  color:var(--hh-honey);
  text-align:center;
  font-size:12.5px;
  letter-spacing:.08em;
  padding:9px 16px;
}

/* Nav (Home .nav) */
.hh-nav{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(250,246,238,.92);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-bottom:1px solid var(--hh-line);
}
.hh-nav-in{display:flex;align-items:center;justify-content:space-between;height:72px}
.hh-nav-logo{
  font-family:var(--hh-font-serif);
  font-size:26px;
  letter-spacing:-.01em;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--hh-ink);
  text-decoration:none;
}
.hh-nav-mark{
  width:34px;height:34px;
  border:2px solid var(--hh-ink);
  border-radius:50%;
  position:relative;
  flex:none;
}
.hh-nav-mark::before{
  content:"";position:absolute;inset:0;
  border-radius:50%;
  border:2px solid var(--hh-honey);
  transform:scale(.65);
}
.hh-nav-mark::after{
  content:"";position:absolute;top:50%;left:50%;
  width:10px;height:10px;
  transform:translate(-50%,-50%) rotate(45deg);
  background:var(--hh-amber);
}
.hh-nav-links{display:flex;gap:34px;font-size:14px;font-weight:500;color:var(--hh-ink-soft)}
.hh-nav-links a{color:var(--hh-ink-soft);text-decoration:none;transition:color .2s}
.hh-nav-links a:hover{color:var(--hh-amber-deep)}
.hh-nav-cta{display:flex;align-items:center;gap:16px}
.hh-nav-btn{font-size:14px;padding:15px 34px}
.hh-nav-burger{display:none;background:none;border:none;cursor:pointer;padding:8px}
.hh-nav-burger span{display:block;width:22px;height:2px;background:var(--hh-ink);margin:5px 0;transition:.25s}
@media(max-width:900px){
  .hh-nav-links{
    display:none;
    position:absolute;top:72px;left:0;right:0;
    background:var(--hh-paper);
    flex-direction:column;
    padding:20px 24px 28px;
    gap:18px;
    border-bottom:1px solid var(--hh-line);
  }
  .hh-nav-links.open{display:flex}
  .hh-nav-burger{display:block}
  .hh-nav-cta .hh-nav-btn{display:none}
}

/* ============================================================
   About Us / Contact (lightweight brand pages, same Design System)
   ============================================================ */
.hh-simple{padding:96px 0 40px}
.hh-simple-hero{
  padding:70px 0 40px;
  text-align:center;
}
.hh-simple-title{
  font-family:var(--hh-font-serif);
  font-size:var(--hh-h2);
  letter-spacing:-.01em;
  color:var(--hh-ink);
  margin:12px 0 16px;
}
.hh-simple-lead{
  max-width:680px;
  margin:0 auto;
  color:var(--hh-ink-soft);
  font-size:17px;
}
.hh-simple-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin:56px 0;
}
.hh-simple-card{
  background:var(--hh-cream);
  border:1px solid var(--hh-line);
  border-radius:var(--hh-radius-xl);
  padding:34px;
}
.hh-simple-card h3{
  font-family:var(--hh-font-serif);
  font-size:22px;
  color:var(--hh-ink);
  margin:0 0 12px;
}
.hh-simple-card p{
  color:var(--hh-ink-soft);
  font-size:15px;
  margin:0 0 12px;
}
.hh-simple-card ul{
  list-style:none;
  padding:0;
  margin:0;
}
.hh-simple-card li{
  color:var(--hh-ink-soft);
  font-size:15px;
  padding:10px 0 10px 28px;
  position:relative;
  border-bottom:1px solid var(--hh-line);
}
.hh-simple-card li:last-child{border-bottom:0}
.hh-simple-card li::before{
  content:"";
  position:absolute;left:4px;top:16px;
  width:9px;height:9px;
  background:var(--hh-amber);
  transform:rotate(45deg);
}
.hh-simple-card a{color:var(--hh-amber-deep);text-decoration:none}
.hh-simple-card a:hover{color:var(--hh-amber)}
.hh-simple-cta{
  text-align:center;
  padding:48px 0 72px;
}
.hh-simple-cta h2{
  font-family:var(--hh-font-serif);
  font-size:var(--hh-h3);
  color:var(--hh-ink);
  margin:0 0 22px;
}
.hh-simple-cta p{
  max-width:560px;
  margin:0 auto 26px;
  color:var(--hh-ink-soft);
}
@media(max-width:900px){
  .hh-simple{padding:56px 0 24px}
  .hh-simple-grid{grid-template-columns:1fr;gap:20px;margin:40px 0}
  .hh-simple-card{padding:26px}
}

/* Legal pages (Privacy / Terms) — editor-driven prose, same Design System */
.hh-legal{
  max-width:820px;
  margin:40px auto 0;
  background:var(--hh-cream);
  border:1px solid var(--hh-line);
  border-radius:var(--hh-radius-xl);
  padding:44px 52px;
  font-size:15px;
  line-height:1.75;
  color:var(--hh-ink-soft);
}
.hh-legal h2{
  font-family:var(--hh-font-serif);
  font-size:23px;
  color:var(--hh-ink);
  margin:32px 0 12px;
}
.hh-legal h3{
  font-family:var(--hh-font-serif);
  font-size:18px;
  color:var(--hh-ink);
  margin:24px 0 8px;
}
.hh-legal p{margin:0 0 14px}
.hh-legal ul,.hh-legal ol{margin:0 0 14px;padding-left:22px}
.hh-legal li{margin-bottom:6px}
.hh-legal a{color:var(--hh-amber-deep);text-decoration:none}
.hh-legal a:hover{color:var(--hh-amber)}
.hh-legal strong{color:var(--hh-ink)}
@media(max-width:640px){.hh-legal{padding:28px 22px;margin-top:24px}}
/* Hide Elementor's native nav/topbar on homepage — use plugin nav instead */
.page-template-elementor_canvas .elementor-widget-html:first-of-type .nav { display:none !important; }
.page-template-elementor_canvas .elementor-widget-html:first-of-type .topbar { display:none !important; }
.page-template-elementor_canvas .elementor-widget-html:first-of-type .nav-burger { display:none !important; }

/* ============================================================
   Navigation — Search button + popup (global)
   ============================================================ */
.hh-nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--hh-ink);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  margin-right: 8px;
  padding: 0;
}
.hh-nav-search:hover,
.hh-nav-search:focus-visible {
  background: var(--hh-paper-2);
  color: var(--hh-accent);
  transform: scale(1.08);
}
.hh-nav-search svg {
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.hh-nav-search.active svg {
  transform: rotate(90deg);
}

/* Search popup */
.hh-search-box {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: var(--hh-cream);
  border: 1px solid var(--hh-line);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(27,26,23,.18);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 999;
}
.hh-search-box.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: hh-search-pop .3s cubic-bezier(.4,0,.2,1);
}
@keyframes hh-search-pop {
  0%   { transform: translateY(-14px) scale(.96); opacity: 0; }
  60%  { transform: translateY(2px) scale(1.01); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.hh-search-form {
  display: flex;
  gap: 8px;
}
.hh-search-input {
  flex: 1;
  border: 1.5px solid var(--hh-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--hh-font-sans);
  font-size: 15px;
  background: #fff;
  color: var(--hh-ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.hh-search-input:focus {
  border-color: var(--hh-accent);
  box-shadow: 0 0 0 3px rgba(201,138,46,.15);
}
.hh-search-submit {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: none;
  background: var(--hh-ink);
  color: var(--hh-paper);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
}
.hh-search-submit:hover {
  background: var(--hh-accent);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .hh-nav-search { width: 36px; height: 36px; margin-right: 4px; }
  .hh-search-box { width: calc(100vw - 32px); right: 16px; }
}

/* ============================================================
   Resources (Blog Archive) — brand-style makeover
   Background: paper beige, title: Fraunces amber, cards: clean white
   ============================================================ */
body.hh-blog-archive {
  background: var(--hh-bg);
  color: var(--hh-ink);
  font-family: var(--hh-font-sans);
}
body.hh-blog-archive .site,
body.hh-blog-archive .entry-content-wrap,
body.hh-blog-archive .entry-header {
  background: var(--hh-bg);
}
/* Archive hero title area */
body.hh-blog-archive .entry-header,
body.hh-blog-archive .page-header,
body.hh-blog-archive header.page-header {
  text-align: center;
  padding: 56px 20px 32px;
  background: var(--hh-bg);
  border-bottom: 1px solid var(--hh-line);
  margin: 0 auto !important;
}
body.hh-blog-archive .archive-title,
body.hh-blog-archive .page-title {
  font-family: var(--hh-font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  color: var(--hh-accent-deep);
  margin: 0;
  letter-spacing: -.01em;
  line-height: 1.1;
}
body.hh-blog-archive .archive-subtitle {
  font-family: var(--hh-font-sans);
  color: var(--hh-ink-soft);
  font-size: 16px;
  margin-top: 12px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
/* Blog entry list */
body.hh-blog-archive .content-wrap,
body.hh-blog-archive .site-main,
body.hh-blog-archive .inner-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}
body.hh-blog-archive .entry {
  background: var(--hh-cream);
  border-radius: 16px;
  border: 1px solid var(--hh-line);
  padding: 28px 32px;
  margin-bottom: 20px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
body.hh-blog-archive .entry:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(27,26,23,.1);
  border-color: var(--hh-accent);
}
body.hh-blog-archive .entry-title {
  font-family: var(--hh-font-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px;
}
body.hh-blog-archive .entry-title a {
  color: var(--hh-ink);
  text-decoration: none;
  transition: color .2s;
}
body.hh-blog-archive .entry-title a:hover {
  color: var(--hh-accent-deep);
}
body.hh-blog-archive .entry-meta {
  font-size: 13px;
  color: var(--hh-ink-soft);
  margin-bottom: 12px;
}
body.hh-blog-archive .entry-meta .author,
body.hh-blog-archive .entry-meta .date {
  color: var(--hh-ink-soft);
}
body.hh-blog-archive .entry-summary,
body.hh-blog-archive .entry-excerpt,
body.hh-blog-archive p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--hh-ink-soft);
}
body.hh-blog-archive .entry-content p,
body.hh-blog-archive .post-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--hh-ink-soft);
}
/* Read more link */
body.hh-blog-archive .entry-more-link,
body.hh-blog-archive .more-link,
body.hh-blog-archive a.more-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--hh-accent-deep);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s;
}
body.hh-blog-archive .entry-more-link:hover,
body.hh-blog-archive .more-link:hover {
  color: var(--hh-accent);
  transform: translateX(2px);
}
/* Pagination */
body.hh-blog-archive .pagination,
body.hh-blog-archive .nav-links {
  text-align: center;
  margin-top: 32px;
}
body.hh-blog-archive .page-numbers,
body.hh-blog-archive .nav-links a,
body.hh-blog-archive .nav-links span {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 4px;
  border: 1.5px solid var(--hh-line);
  background: var(--hh-cream);
  color: var(--hh-ink);
  text-decoration: none;
  font-size: 14px;
  transition: all .2s;
}
body.hh-blog-archive .page-numbers.current,
body.hh-blog-archive .nav-links .current {
  background: var(--hh-ink);
  color: var(--hh-paper);
  border-color: var(--hh-ink);
}
body.hh-blog-archive .page-numbers:hover,
body.hh-blog-archive .nav-links a:hover {
  border-color: var(--hh-accent);
  color: var(--hh-accent-deep);
}
/* Remove Kadence's inner white card on archive */
body.hh-blog-archive .inner-wrap,
body.hh-blog-archive .entry-content-wrap {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
/* Category chip */
body.hh-blog-archive .cat-links,
body.hh-blog-archive .post-categories {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--hh-accent-deep);
  font-weight: 600;
  margin-bottom: 6px;
}
body.hh-blog-archive .cat-links a,
body.hh-blog-archive .post-categories a {
  color: var(--hh-accent-deep);
  text-decoration: none;
}

/* ============================================================
   Article (single post) — polish fonts
   ============================================================ */
body.hh-single-post .entry-header h1,
body.hh-single-post h1.entry-title {
  font-family: var(--hh-font-serif);
  font-weight: 600;
  color: var(--hh-ink);
  line-height: 1.15;
  letter-spacing: -.01em;
}
body.hh-single-post .entry-content,
body.hh-single-post .post-content {
  font-family: var(--hh-font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--hh-ink);
}
body.hh-single-post .entry-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--hh-ink);
}

/* ============================================================
   Product page: WooCommerce add-to-cart + B2B/B2C dual CTA
   ============================================================ */
.hh-single-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 12px 0 16px;
    padding: 14px 18px;
    background: var(--hh-paper-2);
    border-radius: 12px;
    border: 1px solid var(--hh-line);
}
.hh-price-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--hh-accent-deep);
}
.hh-price-value {
    font-family: var(--hh-font-serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--hh-ink);
    line-height: 1;
}
.hh-single-price del {
    font-size: 16px;
    color: var(--hh-ink-soft);
    opacity: .6;
}
.hh-single-price .woocommerce-Price-amount {
    font-family: var(--hh-font-serif);
}

.hh-single-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

/* Quantity row */
.hh-quantity-row {
    display: inline-flex;
    align-items: stretch;
    border: 1.5px solid var(--hh-line);
    border-radius: 10px;
    overflow: hidden;
    height: 48px;
    width: fit-content;
    background: #fff;
}
.hh-qty-btn {
    width: 48px;
    border: none;
    background: var(--hh-paper-2);
    color: var(--hh-ink);
    font-size: 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.hh-qty-btn:hover { background: var(--hh-honey); }
.hh-qty-input {
    width: 60px;
    border: none;
    border-left: 1.5px solid var(--hh-line);
    border-right: 1.5px solid var(--hh-line);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--hh-font-sans);
    color: var(--hh-ink);
    background: #fff;
    outline: none;
    -moz-appearance: textfield;
}
.hh-qty-input::-webkit-outer-spin-button,
.hh-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Buttons row */
.hh-cart-form {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.hh-cart-btn {
    background: var(--hh-ink) !important;
    color: var(--hh-paper) !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: background .2s, transform .2s !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}
.hh-cart-btn:hover {
    background: var(--hh-accent-deep) !important;
    transform: translateY(-1px);
}
.hh-cart-icon { font-size: 18px; }

.hh-buynow-btn {
    background: var(--hh-accent) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 24px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: background .2s, transform .2s !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    line-height: 1.2 !important;
}
.hh-buynow-btn:hover {
    background: var(--hh-accent-deep) !important;
    transform: translateY(-1px);
}

/* OR divider */
.hh-cta-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--hh-ink-soft);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin: 4px 0;
}
.hh-cta-divider::before,
.hh-cta-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--hh-line);
    max-width: 80px;
}

/* Quote CTA with tooltip */
.hh-quote-cta-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hh-quote-btn {
    position: relative;
}
.hh-quote-btn[data-tip],
.hh-btn[data-tip] {
    position: relative;
}
.hh-quote-btn[data-tip]::after,
.hh-btn[data-tip]::after {
    content: attr(data-tip);
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--hh-ink);
    color: var(--hh-paper);
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(27,26,23,.2);
}
.hh-quote-btn[data-tip]::before,
.hh-btn[data-tip]::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    border: 6px solid transparent;
    border-top-color: var(--hh-ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, visibility .2s;
    pointer-events: none;
    z-index: 101;
}
.hh-quote-btn[data-tip]:hover::after,
.hh-btn[data-tip]:hover::after,
.hh-quote-btn[data-tip]:hover::before,
.hh-btn[data-tip]:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.hh-b2b-label {
    font-size: 12px;
    color: var(--hh-ink-soft);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}

/* Out of stock badge */
.hh-badge-out {
    background: #dc3545;
    color: #fff;
}

/* ============================================================
   Nav bar cart icon
   ============================================================ */
.hh-nav-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--hh-ink);
    position: relative;
    transition: background .2s, color .2s, transform .2s;
    margin-right: 4px;
    text-decoration: none;
}
.hh-nav-cart:hover {
    background: var(--hh-paper-2);
    color: var(--hh-accent);
    transform: scale(1.08);
}
.hh-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: var(--hh-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 0 5px;
}
.hh-nav-cart .hh-cart-count:empty,
.hh-nav-cart .hh-cart-count[data-count="0"] {
    display: none;
}

/* ============================================================
   Responsive product actions
   ============================================================ */
@media (max-width: 640px) {
    .hh-cart-form { flex-direction: column; align-items: stretch; }
    .hh-cart-btn, .hh-buynow-btn { width: 100%; justify-content: center; }
    .hh-quantity-row { width: 100%; margin-bottom: 8px; }
    .hh-quantity-row .hh-qty-input { flex: 1; }
    .hh-price-value { font-size: 26px; }
    .hh-nav-search, .hh-nav-cart { width: 36px; height: 36px; }
}

/* ============================================================
   WooCommerce Cart / Checkout page polish (brand colors)
   ============================================================ */
.woocommerce table.shop_table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--hh-line);
}
.woocommerce table.shop_table th {
    background: var(--hh-paper-2);
    color: var(--hh-accent-deep);
    font-weight: 600;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--hh-ink) !important;
    color: var(--hh-paper) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--hh-accent-deep) !important;
}
.woocommerce .checkout-button {
    background: var(--hh-accent) !important;
}
.woocommerce .checkout-button:hover {
    background: var(--hh-accent-deep) !important;
}


/* ==================== SEARCH OVERLAY ==================== */
.hh-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(27, 26, 23, 0.7);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}
.hh-search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.hh-search-box {
    background: var(--hh-paper, #fbf7f1);
    width: 90%;
    max-width: 640px;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,.25);
    position: relative;
    transform: translateY(-20px);
    transition: transform .3s cubic-bezier(.3,1.2,.4,1);
}
.hh-search-overlay.active .hh-search-box {
    transform: translateY(0);
}
.hh-search-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--hh-ink, #1b1a17);
    cursor: pointer;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background .15s;
}
.hh-search-close:hover { background: rgba(0,0,0,.06); }
.hh-search-box form {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.hh-search-input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--hh-line, #e8e0d3);
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    color: var(--hh-ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.hh-search-input:focus {
    border-color: var(--hh-amber, #b8762a);
    box-shadow: 0 0 0 4px rgba(184,118,42,.15);
}
.hh-search-submit {
    padding: 14px 28px;
    background: var(--hh-amber, #b8762a);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, transform .1s;
}
.hh-search-submit:hover { background: #a26722; }
.hh-search-submit:active { transform: scale(.97); }
.hh-search-hint {
    text-align: center;
    color: #8a8070;
    font-size: 13px;
    margin-top: 14px;
}

/* ==================== TOOLTIP FIX (ensure visibility) ==================== */
.hh-quote-btn[data-tip],
.hh-btn[data-tip] {
    overflow: visible !important;
    z-index: 10;
}
.hh-quote-btn[data-tip]::after,
.hh-btn[data-tip]::after {
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}
.hh-quote-btn[data-tip]:hover::after,
.hh-btn[data-tip]:hover::after,
.hh-tip-active::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}
.hh-quote-btn[data-tip]:hover::before,
.hh-btn[data-tip]:hover::before,
.hh-tip-active::before {
    opacity: 1 !important;
    visibility: visible !important;
}


/* ============================================================
   SITE-WIDE ANIMATION ENHANCEMENTS
   ============================================================ */

/* --- Page load: subtle body fade-in --- */
body {
    animation: hh-body-fade .4s ease-out both;
}
@keyframes hh-body-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* --- Section entrance: staggered fade-up on scroll --- */
.hh-section,
.hh-hero,
.hh-product-card,
.hh-blog-card,
.hh-gallery-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s cubic-bezier(.2,.7,.3,1);
}
.hh-section.hh-reveal,
.hh-hero.hh-reveal,
.hh-product-card.hh-reveal,
.hh-blog-card.hh-reveal,
.hh-gallery-item.hh-reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.hh-product-grid .hh-product-card:nth-child(1) { transition-delay: 0ms; }
.hh-product-grid .hh-product-card:nth-child(2) { transition-delay: 100ms; }
.hh-product-grid .hh-product-card:nth-child(3) { transition-delay: 200ms; }
.hh-product-grid .hh-product-card:nth-child(4) { transition-delay: 300ms; }

/* --- Button micro-interactions --- */
.hh-btn {
    position: relative;
    overflow: hidden;
}
.hh-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--hh-x,50%) var(--hh-y,50%), rgba(255,255,255,.25), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.hh-btn:hover::after { opacity: 1; }
.hh-btn:active { transform: scale(.97); }

/* --- Nav bar: subtle shadow on scroll --- */
body.scroll-down .hh-site-nav {
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}

/* --- Product image gentle zoom --- */
.hh-product-card img,
.hh-gallery-main img {
    transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.hh-product-card:hover img { transform: scale(1.05); }

/* --- Floating sidebar entrance --- */
.hh-floating-sidebar {
    animation: hh-sidebar-in .8s cubic-bezier(.2,.7,.3,1) both;
    animation-delay: .5s;
}
@keyframes hh-sidebar-in {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.hh-floating-sidebar .hh-fb-item { opacity: 0; animation: hh-pop .4s cubic-bezier(.2,1.4,.4,1) forwards; }
.hh-floating-sidebar .hh-fb-item:nth-child(1) { animation-delay: .6s; }
.hh-floating-sidebar .hh-fb-item:nth-child(2) { animation-delay: .75s; }
.hh-floating-sidebar .hh-fb-item:nth-child(3) { animation-delay: .9s; }
.hh-floating-sidebar .hh-fb-item:nth-child(4) { animation-delay: 1.05s; }
.hh-floating-sidebar .hh-fb-item:nth-child(5) { animation-delay: 1.2s; }
@keyframes hh-pop {
    from { opacity: 0; transform: scale(.6); }
    to   { opacity: 1; transform: scale(1); }
}

/* --- Respect reduced motion preference --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
