/* =====================================================================
   hakolawood - trust bar and product information under the configurator
   Everything is scoped under .hwp so it cannot affect other pages.
   Breakpoints follow the layout and breakpoint spec:
   mobile 0-767, tablet 768-1023, desktop 1024 and up.
   The Kadence page wrapper adds heading, list and paragraph styles
   (.entry-content.single-content h2 ...), so the headings below repeat
   their element name to win on specificity.
   ===================================================================== */
.hwp{
  --hwp-coral-deep:#C0463F; --hwp-coral-press:#A93A34;
  --hwp-ink:#1C1B1A; --hwp-charcoal:#4A4744; --hwp-warm-grey:#8A847E;
  --hwp-line:#E4DFD9;

  --lino-mushroom:#CBC2B0; --lino-clay:#CBA87B; --lino-macadamia:#C7B091; --lino-leather:#BC8A55;
  --lino-pebble:#9E988D; --lino-walnut:#856046; --lino-taupe:#7C7266; --lino-espresso:#3C2F28;
  --lino-soft-lilac:#A493A0; --lino-brick:#7C4232; --lino-mauve:#4E4140; --lino-burgundy:#402A2F;
  --lino-vapour:#B9BDB1; --lino-pistachio:#ADB78F; --lino-olive:#5E5D40; --lino-conifer:#273630;
  --lino-blue-haze:#97A8A5; --lino-denim:#3D4C5E; --lino-smokey-blue:#313E49; --lino-ash:#767A76;
  --lino-pewter:#454D4D; --lino-basalt:#37393C; --lino-charcoal:#2C2F31; --lino-nero:#242423;

  /* Same full-bleed breakout the configurator uses: the page wrapper is narrower than the screen. */
  width:100vw; position:relative; left:50%; margin-left:-50vw;
  font-family:Manrope,system-ui,'Helvetica Neue',Helvetica,Arial,sans-serif;
  color:var(--hwp-ink); background:#fff; text-align:left;
  -webkit-font-smoothing:antialiased;
}
.hwp *, .hwp *::before, .hwp *::after{ box-sizing:border-box; }
.hwp [hidden]{ display:none !important; }
.hwp .hwp-wrap{ max-width:1200px; margin:0 auto; padding-left:64px; padding-right:64px; }

/* ---------- Configurator and trust bar fill one screen ---------- */
/* The configurator sits flush on the trust bar: the paragraph the page editor wraps around it adds no space.
   On desktop the product-info script sets --runko-frame-height so the 3D window, the trust bar and the
   colour strip together fill the screen below the header; on tablet and phone the configurator stacks
   and keeps its own height. */
runko-configurator{ display:block; margin:0; padding:0; }
.entry-content > p:has(> runko-configurator){ margin:0; padding:0; }

/* ---------- Trust bar ---------- */
.hwp .hwp-trust{ background:#fff; border-top:1px solid var(--hwp-line); border-bottom:1px solid var(--hwp-line); }
.hwp .hwp-badges{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:0 40px; }
.hwp .hwp-badge{ padding:28px 0 24px; display:flex; flex-direction:column; gap:8px; }
.hwp .hwp-badge__head{ display:flex; align-items:center; gap:10px; color:var(--hwp-coral-deep); }
.hwp .hwp-badge__head svg{ flex:none; }
.hwp .hwp-badge__heading{
  font-size:22px; font-weight:300; letter-spacing:-.01em; line-height:1.1;
  color:var(--hwp-ink); font-variant-numeric:tabular-nums;
}
.hwp .hwp-badge__caption{ font-size:14px; line-height:1.45; color:var(--hwp-charcoal); padding-left:32px; }
.hwp .hwp-lino{ display:flex; height:16px; }
.hwp .hwp-lino i{ flex:1; display:block; }

/* ---------- Sections ---------- */
.hwp .hwp-how{ padding-top:96px; }
.hwp .hwp-specs{ padding-top:96px; padding-bottom:120px; }
.hwp h2.hwp-h2{
  font-size:28px; font-weight:300; letter-spacing:-.01em; line-height:1.15;
  margin:0 0 48px; padding:0; color:var(--hwp-ink);
}

/* ---------- How it works ---------- */
.hwp .hwp-steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:40px; }
.hwp .hwp-step{ border-top:1.5px solid var(--hwp-coral-deep); padding-top:14px; display:flex; flex-direction:column; gap:6px; }
.hwp .hwp-step__n{ font-size:15px; font-weight:600; color:var(--hwp-coral-deep); font-variant-numeric:tabular-nums; }
.hwp .hwp-step__title{ font-size:18px; font-weight:500; line-height:1.3; }
.hwp .hwp-step__text{ font-size:14px; line-height:1.6; color:var(--hwp-charcoal); }

/* ---------- Furniture specifications ---------- */
.hwp .hwp-groups{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr)); gap:56px 80px; }
.hwp .hwp-group{ display:flex; flex-direction:column; min-width:0; }
.hwp h3.hwp-group__heading{ font-size:15px; font-weight:500; line-height:1.3; margin:0 0 16px; padding:0; color:var(--hwp-coral-deep); }
/* Above mobile the toggle is plain text; the page script switches it to a real button on mobile. */
.hwp .hwp-group__toggle{
  display:block; width:100%; margin:0; padding:0; border:0; background:none; box-shadow:none;
  font:inherit; color:inherit; text-align:left; text-transform:none; letter-spacing:inherit;
  cursor:default; pointer-events:none;
}
.hwp .hwp-group__toggle svg{ display:none; }
.hwp .hwp-row{ display:grid; grid-template-columns:minmax(100px,140px) 1fr; gap:16px; padding:12px 0; border-top:1px solid var(--hwp-line); }
.hwp .hwp-row__label{ font-size:14px; color:var(--hwp-warm-grey); }
.hwp .hwp-row__value{ font-size:14px; line-height:1.6; color:var(--hwp-charcoal); }

/* ---------- Tablet ---------- */
@media (max-width:1023px){
  .hwp .hwp-wrap{ padding-left:32px; padding-right:32px; }
  .hwp .hwp-badges{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 32px; }
  .hwp .hwp-badge{ padding:22px 0 20px; }
  .hwp .hwp-badge:nth-child(n+3){ border-top:1px solid var(--hwp-line); }
  .hwp .hwp-how, .hwp .hwp-specs{ padding-top:72px; }
  .hwp .hwp-specs{ padding-bottom:80px; }
  .hwp h2.hwp-h2{ font-size:26px; margin-bottom:36px; }
  .hwp .hwp-steps{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
  .hwp .hwp-groups{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:44px 40px; }
  .hwp .hwp-row{ grid-template-columns:104px 1fr; }
}

/* ---------- Mobile ---------- */
@media (max-width:767px){
  .hwp .hwp-wrap{ padding-left:20px; padding-right:20px; }
  .hwp .hwp-badges{ grid-template-columns:minmax(0,1fr); }
  .hwp .hwp-badge{ padding:18px 0; }
  .hwp .hwp-badge:nth-child(n+2){ border-top:1px solid var(--hwp-line); }
  .hwp .hwp-badge__heading{ font-size:20px; }
  .hwp .hwp-br{ display:none; }
  .hwp .hwp-how, .hwp .hwp-specs{ padding-top:48px; }
  .hwp .hwp-specs{ padding-bottom:56px; }
  .hwp h2.hwp-h2{ font-size:24px; margin-bottom:24px; }
  .hwp .hwp-steps{ grid-template-columns:minmax(0,1fr); gap:24px; }

  /* Accordion. The page script adds .hwp--js; without it every group stays open and plain. */
  .hwp .hwp-groups{ display:flex; flex-direction:column; gap:0; border-bottom:1px solid var(--hwp-line); }
  .hwp .hwp-group{ border-top:1px solid var(--hwp-line); }
  .hwp h3.hwp-group__heading{ margin:0; font-size:16px; color:var(--hwp-ink); }
  .hwp.hwp--js .hwp-group__toggle{
    display:flex; justify-content:space-between; align-items:center; gap:12px;
    padding:18px 0; cursor:pointer; pointer-events:auto; font-weight:500;
  }
  .hwp.hwp--js .hwp-group__toggle svg{
    display:block; flex:none; color:var(--hwp-coral-deep);
    transition:transform .18s ease;
  }
  .hwp.hwp--js .hwp-group__toggle[aria-expanded="true"] svg{ transform:rotate(180deg); }
  .hwp.hwp--js .hwp-group__toggle:focus-visible{ outline:2px solid var(--hwp-coral-deep); outline-offset:2px; }
  .hwp.hwp--js .hwp-group.is-closed .hwp-group__body{ display:none; }
  .hwp .hwp-group__body{ display:flex; flex-direction:column; padding:0 0 12px; }
  .hwp .hwp-row{ display:flex; flex-direction:column; gap:2px; padding:10px 0; }
  .hwp .hwp-row__label{ font-size:13px; }
}

@media (prefers-reduced-motion:reduce){
  .hwp .hwp-group__toggle svg{ transition:none !important; }
}
