
/* ============================================================
   HAIJIU — Co-Living Pet Furniture · Global styles
   Injected into Astra Customizer → Additional CSS
   Design language: warm ivory ground, walnut ink, restrained
   serif headlines, editorial furniture-magazine spacing.
   ============================================================ */

:root {
  --hj-ivory: #F5F1E8;
  --hj-ivory-2: #EFEBE0;
  --hj-walnut: #3A2F2A;
  --hj-sage: #8B9A83;
  --hj-terra: #B96F50;
  --hj-terra-dark: #A55F42;
  --hj-charcoal: #292725;
  --hj-muted: #6E675F;
  --hj-line: #E3DCCC;
  --hj-card: #FFFFFF;
}

/* ---------- Layout basics ---------- */
body { background: var(--hj-ivory); color: var(--hj-charcoal); }

.hj-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.hj-section { padding: 72px 0; }
.hj-section--tint { background: var(--hj-ivory-2); }
.hj-section--dark { background: var(--hj-walnut); color: #EFE9DD; }
.hj-section--dark h2, .hj-section--dark h3 { color: #F5F1E8; }

h1, h2, h3, .hj-serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
body, p, li, td, th { font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
p, li { font-size: 16.5px; line-height: 1.7; }

.hj-eyebrow {
  font-family: Inter, sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--hj-terra);
  margin: 0 0 14px;
}
.hj-section--dark .hj-eyebrow { color: #D9A08A; }

.hj-h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; margin: 0 0 20px; color: var(--hj-walnut); }
.hj-h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 16px; color: var(--hj-walnut); }
.hj-h3 { font-size: 21px; margin: 0 0 10px; color: var(--hj-walnut); }
.hj-lead { font-size: 19px; line-height: 1.65; color: var(--hj-muted); max-width: 760px; }

/* ---------- Buttons ---------- */
.hj-btn {
  display: inline-block; padding: 14px 28px; border-radius: 6px;
  font-family: Inter, sans-serif; font-size: 15.5px; font-weight: 600;
  text-decoration: none; transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.hj-btn--primary { background: var(--hj-terra); color: #fff; }
.hj-btn--primary:hover { background: var(--hj-terra-dark); color: #fff; }
.hj-btn--ghost { border: 1.5px solid var(--hj-walnut); color: var(--hj-walnut); }
.hj-btn--ghost:hover { background: var(--hj-walnut); color: var(--hj-ivory); }
.hj-btn--light { border: 1.5px solid #F5F1E8; color: #F5F1E8; }
.hj-btn--light:hover { background: #F5F1E8; color: var(--hj-walnut); }

/* ---------- Hero ---------- */
.hj-hero { padding: 84px 0 72px; }
.hj-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hj-hero__img img { width: 100%; height: auto; border-radius: 6px; display: block; }
.hj-hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px;
  font-size: 14.5px; color: var(--hj-muted);
  border-top: 1px solid var(--hj-line); padding-top: 18px;
}
.hj-hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* ---------- Cards / grids ---------- */
.hj-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hj-grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.hj-card {
  background: var(--hj-card); border: 1px solid var(--hj-line); border-radius: 6px;
  overflow: hidden; transition: box-shadow .18s ease;
}
.hj-card:hover { box-shadow: 0 10px 26px rgba(58,47,42,.10); }
.hj-card img { width: 100%; height: 240px; object-fit: cover; display: block; }
.hj-card__body { padding: 20px 22px 24px; }
.hj-card__body p { font-size: 15px; color: var(--hj-muted); margin: 0 0 14px; }
.hj-card__link { font-weight: 600; font-size: 15px; color: var(--hj-terra); text-decoration: none; }
.hj-card__link:hover { text-decoration: underline; }

/* ---------- Fact strip ---------- */
.hj-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hj-fact { border-left: 2px solid var(--hj-terra); padding-left: 18px; }
.hj-fact b { display: block; font-family: "Cormorant Garamond", serif; font-size: 30px; line-height: 1.1; color: var(--hj-walnut); }
.hj-fact span { font-size: 14px; color: var(--hj-muted); }
.hj-section--dark .hj-fact { border-color: #D9A08A; }
.hj-section--dark .hj-fact b { color: #F5F1E8; }
.hj-section--dark .hj-fact span { color: #CFC6B8; }

/* ---------- Direct answer / GEO blocks ---------- */
.hj-answer {
  background: var(--hj-card); border: 1px solid var(--hj-line);
  border-left: 3px solid var(--hj-sage); border-radius: 6px; padding: 26px 30px;
  margin: 0 0 40px;
}
.hj-answer h2 { font-size: 22px; margin: 0 0 10px; }
.hj-answer p { margin: 0; color: var(--hj-charcoal); }

/* ---------- Tables ---------- */
.hj-table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--hj-line); border-radius: 6px; overflow: hidden; }
.hj-table th { text-align: left; background: var(--hj-ivory-2); padding: 13px 16px; font-weight: 600; border-bottom: 1px solid var(--hj-line); white-space: nowrap; }
.hj-table td { padding: 13px 16px; border-bottom: 1px solid var(--hj-line); vertical-align: top; }
.hj-table tr:last-child td { border-bottom: 0; }
.hj-table-wrap { overflow-x: auto; margin: 0 0 12px; }

/* ---------- FAQ ---------- */
.hj-faq { margin: 0; }
.hj-faq details { background: var(--hj-card); border: 1px solid var(--hj-line); border-radius: 6px; padding: 0; margin-bottom: 12px; }
.hj-faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 16px; list-style: none; position: relative; padding-right: 40px; }
.hj-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--hj-terra); font-size: 22px; font-weight: 400; }
.hj-faq details[open] summary::after { content: "–"; }
.hj-faq details p { padding: 0 20px 18px; margin: 0; color: var(--hj-muted); }

/* ---------- Two-col feature rows ---------- */
.hj-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 56px; }
.hj-row img { width: 100%; border-radius: 6px; display: block; }
.hj-row:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.hj-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hj-step { background: rgba(255,255,255,.04); border: 1px solid rgba(245,241,232,.16); border-radius: 6px; padding: 22px; }
.hj-step::before { counter-increment: step; content: "0" counter(step); font-family: "Cormorant Garamond", serif; font-size: 26px; color: #D9A08A; display: block; margin-bottom: 8px; }
.hj-step h3 { font-size: 19px; margin: 0 0 8px; }
.hj-step p { font-size: 14.5px; color: #CFC6B8; margin: 0; }

/* ---------- CTA band ---------- */
.hj-cta { background: var(--hj-walnut); color: #F5F1E8; border-radius: 6px; padding: 44px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.hj-cta h2 { margin: 0 0 6px; font-size: 28px; }
.hj-cta p { margin: 0; color: #CFC6B8; }

/* ---------- Notes ---------- */
.hj-note { font-size: 13.5px; color: var(--hj-muted); }
.hj-reviewed { margin-top: 40px; padding-top: 14px; border-top: 1px solid var(--hj-line); font-size: 13px; color: var(--hj-muted); }

/* ---------- Breadcrumb ---------- */
.hj-breadcrumb { font-size: 13.5px; color: var(--hj-muted); padding: 18px 0 0; }
.hj-breadcrumb a { color: var(--hj-muted); text-decoration: none; }
.hj-breadcrumb a:hover { color: var(--hj-terra); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hj-hero__grid, .hj-grid3, .hj-grid2, .hj-row { grid-template-columns: 1fr; }
  .hj-hero { padding: 56px 0 48px; }
  .hj-facts { grid-template-columns: repeat(2, 1fr); }
  .hj-steps { grid-template-columns: 1fr 1fr; }
  .hj-cta { padding: 34px 26px; }
}
@media (max-width: 560px) {
  .hj-facts { grid-template-columns: 1fr; }
  .hj-steps { grid-template-columns: 1fr; }
  p, li { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


.hj-header { background: var(--hj-ivory); border-bottom: 1px solid var(--hj-line); position: sticky; top: 0; z-index: 50; }
.hj-header__in { display: flex; align-items: center; gap: 20px; padding: 12px 24px; }
.hj-logo { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; font-size: 26px; letter-spacing: .06em; color: var(--hj-walnut); text-decoration: none; line-height: 1; }
.hj-logo span { display: block; font-family: Inter, sans-serif; font-weight: 400; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--hj-muted); margin-top: 3px; }
.hj-nav { display: flex; gap: 15px; flex-wrap: wrap; margin-left: auto; justify-content: flex-end; }
.hj-nav a { font-family: Inter, sans-serif; font-size: 13.5px; font-weight: 500; color: var(--hj-charcoal); text-decoration: none; white-space: nowrap; }
.hj-nav a:hover { color: var(--hj-terra); }
.hj-nav__cta { padding: 9px 16px; font-size: 13.5px; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 560px) { .hj-nav__cta { padding: 8px 12px; font-size: 12.5px; } }
.hj-footer { background: var(--hj-walnut); color: #CFC6B8; padding: 56px 0 0; margin-top: 40px; }
.hj-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; }
.hj-footer a { display: block; color: #CFC6B8; text-decoration: none; font-size: 14.5px; margin-bottom: 9px; }
.hj-footer a:hover { color: #F5F1E8; }
.hj-logo--light { color: #F5F1E8; }
.hj-footer__h { font-family: Inter, sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #D9A08A; margin: 0 0 14px; }
.hj-footer__p { font-size: 14.5px; line-height: 1.7; margin: 0 0 12px; }
.hj-footer__bottom { border-top: 1px solid rgba(245,241,232,.14); padding: 18px 24px; font-size: 13px; color: #9C9284; }
@media (max-width: 900px) { .hj-footer__grid { grid-template-columns: 1fr 1fr; } .hj-nav { display: none; } }


/* ---------- Hero carousel ---------- */
.hj-carousel{position:relative;border-radius:6px;overflow:hidden;background:var(--hj-walnut);margin-top:24px}
.hj-slide{position:relative;display:none;min-height:560px;max-height:660px}
.hj-slide.is-active{display:block}
.hj-slide>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hj-slide.is-active>img{animation:hjkb 9s ease-out both}
@keyframes hjkb{from{transform:scale(1.07)}to{transform:scale(1)}}
.hj-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(41,39,37,.78) 0%,rgba(41,39,37,.55) 34%,rgba(41,39,37,.06) 68%)}
.hj-slide__txt{position:relative;z-index:2;max-width:1180px;margin:0 auto;padding:96px 24px 110px;color:#F5F1E8}
.hj-slide__txt .hj-eyebrow{color:#E8B49A}
.hj-slide__txt .hj-h1,.hj-slide__txt .hj-h2s{color:#F5F1E8;text-shadow:0 2px 22px rgba(20,16,14,.4);margin-bottom:18px}
.hj-h2s{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;font-size:clamp(30px,4.4vw,48px);line-height:1.14}
.hj-slide__txt .hj-lead{color:#EFE9DD;max-width:640px}
.hj-slide__txt .hj-hero__trust{border-top:1px solid rgba(245,241,232,.28);color:#E4DCCD}
.hj-slide__txt .hj-btn--ghost{border-color:#F5F1E8;color:#F5F1E8}
.hj-slide__txt .hj-btn--ghost:hover{background:#F5F1E8;color:var(--hj-walnut)}
.hj-dots{position:absolute;left:0;right:0;bottom:22px;z-index:3;display:flex;gap:10px;justify-content:center}
.hj-dots button{width:11px;height:11px;border-radius:50%;border:1.5px solid rgba(245,241,232,.85);background:transparent;cursor:pointer;padding:0}
.hj-dots button[aria-current="true"]{background:#F5F1E8}
@media (max-width:900px){.hj-slide{min-height:480px}.hj-slide__txt{padding:64px 20px 92px}}

/* ---------- header nav dropdowns ---------- */
.hj-nav__item{position:relative}
.hj-nav__item>a{display:inline-block}
.hj-nav__sub{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--hj-line);border-radius:6px;box-shadow:0 12px 30px rgba(58,47,42,.12);padding:8px 0;min-width:210px;z-index:99}
.hj-nav__sub a{display:block;padding:9px 18px;font-size:13.5px;color:var(--hj-charcoal)}
.hj-nav__sub a:hover{background:var(--hj-ivory-2);color:var(--hj-terra)}
.hj-nav__item:hover .hj-nav__sub{display:block}
.hj-nav__caret{font-size:9px;color:var(--hj-muted);margin-left:4px}

/* ---------- product gallery ---------- */
.hj-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.hj-gallery figure{margin:0}
.hj-gallery img{width:100%;height:230px;object-fit:cover;border-radius:6px;display:block}
.hj-gallery figcaption{font-size:13px;color:var(--hj-muted);padding:8px 2px 0;line-height:1.5}
@media (max-width:900px){.hj-gallery{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.hj-gallery{grid-template-columns:1fr}}
/* ---------- big cat-home presentation ---------- */
.hj-prohero img{width:100%;height:min(640px,66vh);object-fit:cover;display:block}
.hj-gallery{grid-template-columns:repeat(2,1fr)}
.hj-gallery img{height:360px}
.hj-card img{height:300px}
.hj-prohero{margin:-6px 0 8px}

/* break out of the block theme's narrow content column */
:root{--wp--style--global--content-size:1200px !important;--wp--style--global--wide-size:1240px !important;}
body .entry-content > *, body .wp-block-post-content > *, body .wp-block-post-content-is-layout-constrained > *{max-width:1200px !important;margin-left:auto;margin-right:auto;}
body .hj-prohero img{height:560px;}
/* uniform visual ratios everywhere */
body .hj-row img{width:100%;height:440px;object-fit:cover}
body .hj-row{gap:44px;margin-bottom:64px}
body .hj-hero__img img{height:460px;object-fit:cover}
body .hj-answer img,body .hj-faq img{max-width:100%;height:auto}

/* hide default block-theme header/footer chrome (we render our own) */
header.wp-block-template-part, footer.wp-block-template-part, .wp-block-page-list, .wp-site-blocks > .wp-block-template-part { display: none !important; }

/* ---------- theme base (custom classic theme) ---------- */
html{-webkit-text-size-adjust:100%}
body{margin:0}
img{max-width:100%;height:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
body.hj-has-hero .site-header-gap{display:none}
/* neutralise any stray block styles */
.wp-block-page-list,header.wp-block-template-part,footer.wp-block-template-part{display:none!important}
