/*
Theme Name: Maslamani Energy
Theme URI: https://maslamani-ht.com
Author: Maslamani Energy
Author URI: https://maslamani-ht.com
Description: WooCommerce theme for Maslamani Energy — heating, gas and cooling solutions. Dual-mode catalogue: shop products check out through WooCommerce, project products collect into a quote basket and submit as one qualified enquiry. Translation-ready with full RTL support for Arabic and Hebrew.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maslamani-energy
Domain Path: /languages
Tags: e-commerce, custom-colors, custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready, two-columns
*/

/* ============================================================
   MASLAMANI ENERGY — Design System
   Palette + type locked from Maslamani Energy Brand Guidelines.

   The Quicksand webfont is enqueued from inc/enqueue.php rather
   than @import-ed here, so it can be preconnected and versioned.
   ============================================================ */


:root{
  --blue:        #3672b7;   /* primary */
  --blue-dark:   #2a5c93;
  --navy:        #0F3460;   /* deep / headings */
  --green:       #37ad6d;   /* accent / action */

  /*
   * Brand gradient, lifted from the guidelines book: an axial blue-to-green
   * sweep, #1F78D1 to #2EB872, running left to right.
   *
   * --grad-brand is the exact one, for large surfaces and artwork.
   * --grad-brand-ui is the same sweep darkened by a uniform 0.73 for
   * anything carrying white label text. That is not a styling preference:
   * white on the true #1F78D1 measures 4.50:1, exactly the AA minimum with
   * no headroom, and by the green end it falls to 2.56:1 - unreadable. The
   * darkened pair holds 4.55:1 or better at every point along the sweep
   * while keeping the same two hues and the same direction.
   */
  --grad-brand:    linear-gradient(90deg, #1F78D1 0%, #2EB872 100%);
  --grad-brand-ui: linear-gradient(90deg, #175899 0%, #228653 100%);
  --grad-brand-ui-hover: linear-gradient(90deg, #124a80 0%, #1c7145 100%);
  --grad-navy:     linear-gradient(90deg, #0F3460 0%, #1d5794 100%);
  --grad-navy-hover: linear-gradient(90deg, #0c2947 0%, #17477a 100%);
  --green-dark:  #2c8c58;
  --bg:          #F7F8FA;   /* background */
  --white:       #ffffff;
  --ink:         #16233a;   /* body text, derived from navy for contrast */
  --ink-soft:    #55647a;
  --line:        #e3e8ef;
  --line-soft:   #edf1f5;
  --radius-sm:   10px;
  --radius-md:   16px;
  --radius-lg:   26px;
  --shadow-sm:   0 2px 10px rgba(15,52,96,0.06);
  --shadow-md:   0 10px 30px rgba(15,52,96,0.10);
  --shadow-lg:   0 20px 60px rgba(15,52,96,0.16);
  --header-h:    76px;
  --wrap:        1240px;
  /* Brand typography. Quicksand carries no Arabic or Hebrew glyphs, so
     each script gets the face the guidelines specify. */
  --font-brand:  'Quicksand';
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-brand),system-ui,sans-serif;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.55;
}
/* height:auto is load-bearing: WordPress emits width/height attributes on
   every attachment image, and those presentational hints set an explicit
   height. With both dimensions specified, aspect-ratio is ignored — which
   stretched the hero to its full intrinsic height. Rules below that set
   their own height (cards, tiles, thumbs) still win on specificity. */
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
button{font-family:inherit;cursor:pointer;}
h1,h2,h3,h4{
  font-weight:700;
  color:var(--navy);
  margin:0 0 .5em;
  letter-spacing:-0.01em;
}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;}
/*
 * Backstop only - the actual causes are fixed above. `clip` rather than
 * `hidden`: hidden makes this a scroll container and would break every
 * position:sticky descendant; clip does not.
 */
body{overflow-x:clip;}

.wrap{max-width:var(--wrap);margin:0 auto;padding:0 28px;}

/*
 * Above 1500px the 1240px cap left very wide displays mostly empty and
 * kept the header row permanently short of space. The canvas widens in
 * two steps rather than going fluid, so line lengths stay readable.
 */
@media (min-width:1500px){:root{--wrap:1400px;}}
@media (min-width:1800px){:root{--wrap:1560px;}}
@media (max-width:560px){.wrap{padding:0 20px;}}

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--green-dark);
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";width:18px;height:2px;background:var(--green);display:inline-block;border-radius:2px;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  /*
   * row-reverse rather than reordering each button's markup: every .btn
   * across the theme has its icon first in the DOM, and row-reverse
   * flips that to read icon-last in BOTH directions (it reverses
   * relative to the current inline/reading direction, same as plain
   * row already tracks it - LTR ends up icon-on-the-right, RTL ends up
   * icon-on-the-left, both "after" the text in reading order).
   */
  flex-direction:row-reverse;
  padding:13px 24px;border-radius:999px;font-weight:700;font-size:.95rem;
  border:2px solid transparent;transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-1px);}
/*
 * Filled buttons carry the brand sweep rather than a flat fill. The two
 * keep distinct roles: navy stays blue end to end so it still reads as the
 * quieter of the pair, while the green button runs the full blue-to-green
 * brand gradient as the primary action.
 */
.btn-navy{background-image:var(--grad-navy);background-color:var(--navy);color:#fff;}
.btn-navy:hover{background-image:var(--grad-navy-hover);box-shadow:var(--shadow-md);}
.btn-green{background-image:var(--grad-brand-ui);background-color:#1d7a4d;color:#fff;}
.btn-green:hover{background-image:var(--grad-brand-ui-hover);box-shadow:var(--shadow-md);}
.btn-outline{background:transparent;border-color:var(--line);color:var(--navy);}
.btn-outline:hover{border-color:var(--navy);}
.btn-outline-white{background:transparent;border-color:rgba(255,255,255,.5);color:#fff;}
.btn-outline-white:hover{border-color:#fff;background:rgba(255,255,255,.08);}
.btn-ghost{background:transparent;color:var(--navy);padding:13px 10px;}
.btn-sm{padding:9px 16px;font-size:.82rem;}
.btn svg{width:16px;height:16px;flex:none;}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:200;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
}
.header-inner{
  display:flex;align-items:center;gap:20px;
  min-height:var(--header-h);
  padding-block:12px;
}
/*
 * The logo and the action cluster each take an equal share of what is
 * left, which puts the navigation in the true centre of the row rather
 * than merely between the two.
 */
.logo{
  display:flex;align-items:center;gap:10px;flex:1 1 0;min-width:0;
  font-weight:700;color:var(--navy);font-size:1.05rem;
}
.logo .mark{
  width:38px;height:38px;border-radius:50%;
  background:conic-gradient(from 210deg,var(--blue),var(--green),var(--blue));
  display:grid;place-items:center;flex:none;
}
.logo .mark svg{width:20px;height:20px;}
.logo small{display:block;font-weight:500;font-size:.68rem;color:var(--ink-soft);letter-spacing:.04em;}

.main-nav{display:flex;align-items:center;gap:4px;flex:1;min-width:0;}
.main-nav > li{position:relative;}
.main-nav > li > a{
  position:relative;
  display:flex;align-items:center;gap:4px;white-space:nowrap;
  padding:9px 13px;border-radius:10px;font-weight:600;font-size:.87rem;color:var(--ink);
  transition:background .15s, color .15s;
}
.main-nav > li > a::after{
  content:"";position:absolute;left:13px;right:13px;bottom:3px;height:2px;border-radius:2px;
  background:var(--blue);transform:scaleX(0);transform-origin:center;
  transition:transform .2s ease;
}
.main-nav > li > a:hover{background:var(--line-soft);color:var(--blue);}
.main-nav > li > a:hover::after,
.main-nav > li > a:focus-visible::after{transform:scaleX(1);}
.main-nav > li > a svg{width:13px;height:13px;opacity:.6;}

/* Active / current page link */
.main-nav > li.current-menu-item > a{color:var(--blue);}
.main-nav > li.current-menu-item > a::after{transform:scaleX(1);background:var(--green);}

/* Mega menu */
/* Anchored to the trigger's start edge, not centred on it. Centring a
   640px panel on a nav item that sits near the left edge pushed half of
   it off-screen. inset-inline-start keeps this correct in RTL, where the
   panel opens from the trigger's right edge instead. */
.mega{
  position:absolute;top:calc(100% + 12px);inset-inline-start:0;
  width:min(640px, calc(100vw - 32px));
  background:#fff;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);
  border:1px solid var(--line-soft);
  padding:22px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 22px;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s ease;
}
.main-nav > li:hover .mega,
.main-nav > li:focus-within .mega{opacity:1;visibility:visible;transform:translateY(0);}
.mega a{display:block;padding:10px 10px;border-radius:8px;}
.mega a:hover{background:var(--bg);}
.mega .g-title{font-size:.86rem;font-weight:700;color:var(--navy);display:block;}
.mega .g-sub{font-size:.74rem;color:var(--ink-soft);display:block;margin-top:2px;}
.mega .g-mode{
  display:inline-block;margin-top:6px;font-size:.66rem;font-weight:700;letter-spacing:.04em;
  padding:2px 8px;border-radius:99px;
}
.mega .g-mode.shop{background:#e7f4ec;color:var(--green-dark);}
.mega .g-mode.quote{background:#e9f0f8;color:var(--blue-dark);}

.header-actions{display:flex;align-items:center;gap:4px;flex:1 1 0;justify-content:flex-end;min-width:0;}
.main-nav{flex:0 0 auto;}
.icon-btn{
  position:relative;width:38px;height:38px;border-radius:50%;border:none;background:transparent;
  display:grid;place-items:center;color:var(--navy);flex:none;
}
.icon-btn:hover{background:var(--line-soft);}
.icon-btn svg{width:18px;height:18px;}
.badge{
  position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 3px;border-radius:99px;
  background:var(--green);color:#fff;font-size:.62rem;font-weight:700;display:grid;place-items:center;
  border:2px solid #fff;
}
.lang-switch{
  display:flex;align-items:center;gap:4px;padding:8px 10px;border-radius:999px;font-size:.78rem;font-weight:700;
  border:1px solid var(--line);color:var(--ink-soft);flex:none;white-space:nowrap;
}
.lang-switch svg{width:14px;height:14px;}
.header-actions .btn-navy{white-space:nowrap;margin-left:2px;}

/* Order gas quick action distinct in header */
.order-gas-pill{
  display:flex;align-items:center;gap:6px;background:#fff2df00;border:1.5px solid var(--green);
  color:var(--green-dark);padding:8px 16px;border-radius:999px;font-weight:700;font-size:.85rem;
}
.order-gas-pill:hover{background:#eaf7ef;}
.order-gas-pill svg{width:15px;height:15px;}

/* Hamburger (mobile / tablet nav trigger) */
.hamburger-btn{
  display:none;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:10px;border:none;background:transparent;
  color:var(--navy);flex:none;
}
.hamburger-btn svg{width:22px;height:22px;}
.hamburger-btn:hover{background:var(--line-soft);}

@media (max-width:1180px){
  /*
   * The switcher now lives in the top strip, which stays visible on
   * every screen size, so only a header-bound one would be hidden here.
   */
  .main-nav, .header-actions .lang-switch, .header-actions .btn-navy{display:none;}
  .hamburger-btn{display:flex;}
  .header-inner{justify-content:space-between;gap:8px;}
}
@media (max-width:420px){
  .icon-btn.hide-xs{display:none;}
}

/* ---------- Mobile nav drawer ---------- */
.mnav-overlay{
  position:fixed;inset:0;background:rgba(9,26,49,.42);z-index:410;
  opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;
}
.mnav-overlay.open{opacity:1;visibility:visible;}
.mnav-drawer{
  position:fixed;top:0;left:0;bottom:0;width:min(340px,86vw);background:#fff;z-index:411;
  box-shadow:20px 0 60px rgba(0,0,0,.2);
  transform:translateX(-100%);transition:transform .25s ease;
  display:flex;flex-direction:column;
}
.mnav-drawer.open{transform:translateX(0);}
.mnav-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);}
.mnav-head .logo{font-size:.95rem;}
.mnav-close{width:34px;height:34px;border-radius:50%;border:none;background:var(--bg);display:grid;place-items:center;}
.mnav-body{flex:1;overflow-y:auto;padding:10px 12px 20px;}
.mnav-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 12px;border-radius:10px;font-weight:700;font-size:.95rem;color:var(--navy);
}
.mnav-link:hover, .mnav-link.active{background:var(--line-soft);}
.mnav-group{border-bottom:1px solid var(--line-soft);margin-bottom:4px;}
.mnav-sub{padding:0 12px 10px 20px;display:none;}
.mnav-group.expanded .mnav-sub{display:block;}
.mnav-group.expanded .mnav-caret{transform:rotate(180deg);}
.mnav-sub a{display:block;padding:9px 8px;font-size:.86rem;color:var(--ink-soft);border-radius:8px;}
.mnav-sub a:hover{background:var(--bg);color:var(--blue);}
.mnav-caret{width:14px;height:14px;transition:transform .15s ease;flex:none;}
.mnav-foot{padding:16px 20px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px;}
.mnav-foot .lang-row{display:flex;gap:8px;}
.mnav-foot .lang-row span{
  flex:1;text-align:center;padding:8px;border-radius:8px;border:1px solid var(--line);font-weight:700;font-size:.8rem;color:var(--ink-soft);
}
.mnav-foot .lang-row span.active{background:var(--navy);color:#fff;border-color:var(--navy);}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar{background:var(--navy);color:#fff;}
.trust-bar__inner{
  display:flex;align-items:center;justify-content:space-between;gap:16px 28px;
  padding-block:8px;font-size:.82rem;font-weight:600;letter-spacing:.01em;
}
.trust-bar__pillars{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;color:#d7e2f2;min-width:0;
}
.trust-bar .item{display:flex;align-items:center;gap:8px;}
.trust-bar .item svg{width:17px;height:17px;color:#4fd18a;flex:none;stroke-width:1.7;}

/* The utility cluster, moved up out of the header row. All white here. */
.trust-bar__utils{display:flex;align-items:center;gap:2px;flex:none;}
.trust-bar__utils .icon-btn{
  width:36px;height:36px;border-radius:10px;border:0;background:transparent;
  color:#fff;display:grid;place-items:center;position:relative;cursor:pointer;
  transition:background .15s ease;
}
.trust-bar__utils .icon-btn:hover{background:rgba(255,255,255,.12);color:#fff;}
.trust-bar__utils .icon-btn svg{width:19px;height:19px;color:#fff;}
.trust-bar__utils .badge{
  position:absolute;top:2px;inset-inline-end:2px;min-width:16px;height:16px;padding:0 4px;
  border-radius:999px;background:var(--green);color:#fff;
  font-size:.6rem;font-weight:700;display:grid;place-items:center;
}
.trust-bar__utils .lang-switch{margin-inline-start:6px;}
.trust-bar__utils .lang-switch__toggle{
  background:transparent;border-color:rgba(255,255,255,.35);color:#fff;
}
.trust-bar__utils .lang-switch__toggle:hover,
.trust-bar__utils .lang-switch.open .lang-switch__toggle{
  background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.6);color:#fff;
}
.trust-bar__utils .lang-switch__toggle svg{color:#fff;}

@media (max-width:900px){
  /* The pillars are the first thing to give way; the controls stay. */
  .trust-bar__pillars .item:nth-child(n+2){display:none;}
}
@media (max-width:560px){
  .trust-bar__inner{gap:10px;}
  .trust-bar__pillars{font-size:.74rem;}
  .trust-bar__pillars .item:nth-child(n+2){display:none;}
}

/* ============================================================
   HERO
   ============================================================ */
/* ---------- Hero banner: one photograph, full width ---------- */
.hero-banner{position:relative;isolation:isolate;overflow:hidden;background:var(--navy);}
.hero-banner__media{position:absolute;inset:0;z-index:-2;display:block;}
.hero-banner__media img{width:100%;height:100%;object-fit:cover;object-position:center 62%;}

/*
 * The scrim is doing real work: the photograph has a bright white wall
 * behind the copy, where white text would be unreadable. Two layers - a
 * horizontal ramp that keeps the right-hand side of the picture visible,
 * plus a flat wash so the lower half never gets too light.
 */
.hero-banner::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(90deg, rgba(6,26,48,.92) 0%, rgba(6,26,48,.80) 42%, rgba(6,26,48,.42) 72%, rgba(6,26,48,.30) 100%),
    linear-gradient(180deg, rgba(6,26,48,.30) 0%, rgba(6,26,48,.44) 100%);
}

.hero-banner__inner{
  position:relative;padding-block:clamp(72px, 11vw, 132px);
  max-width:min(var(--wrap), 100%);
}
.hero-banner__inner .eyebrow{color:#8ee0b0;}
.hero-banner__inner h1{
  color:#fff;margin:0 0 16px;max-width:none;
  font-size:clamp(1.8rem, 3.6vw, 3.4rem);line-height:1.12;letter-spacing:-.015em;
}
.hero-banner__inner h1 span{color:#9fd2ff;}
@media (min-width:761px){.hero-banner__inner h1{white-space:nowrap;}}
.hero-banner__inner .lead{
  color:rgba(255,255,255,.94);max-width:56ch;margin:0 0 30px;
  font-size:clamp(1rem, 1.35vw, 1.12rem);line-height:1.65;
}

/* Two actions, same size and both solid: neither is the lesser choice. */
.hero-cta-row{display:flex;gap:14px;flex-wrap:wrap;}
.btn-hero{
  padding:15px 26px;font-size:1rem;border-radius:999px;
  box-shadow:0 12px 30px rgba(4,22,44,.3);
}
.btn-hero-alt{background:#fff;color:var(--navy);border-color:#fff;}
.btn-hero-alt:hover{background:#eef4fb;color:var(--navy);}

.hero-delivery{
  display:flex;align-items:center;gap:8px;margin-top:20px;
  color:rgba(255,255,255,.9);font-size:.9rem;font-weight:600;
}
.hero-delivery svg{width:16px;height:16px;color:#8ee0b0;flex:none;}

@media (max-width:760px){
  .hero-banner__inner{padding-block:clamp(56px, 14vw, 84px);}
  .hero-banner__inner h1{max-width:none;white-space:normal;font-size:clamp(1.7rem, 7vw, 2.2rem);}
  .hero-banner::before{
    background:
      linear-gradient(180deg, rgba(6,26,48,.62) 0%, rgba(6,26,48,.86) 100%);
  }
  .hero-cta-row .btn-hero{flex:1 1 100%;justify-content:center;}
}

/* ---------- Trust strip ---------- */

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section{padding:74px 0;}
.section.tight{padding:52px 0;}
.section-head{max-width:640px;margin-bottom:38px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head p{color:var(--ink-soft);font-size:1.02rem;}
.bg-white{background:#fff;}
.bg-navy{background:var(--navy);color:#fff;}
.bg-navy h2, .bg-navy h3{color:#fff;}
.bg-navy p{color:#c7d4e6;}

/* ============================================================
   CATEGORY TILES (primary nav device)
   ============================================================ */
.tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.tile{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;aspect-ratio:4/3;
  box-shadow:var(--shadow-sm);
}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;}
.tile:hover img{transform:scale(1.06);}
.tile::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 30%, rgba(9,26,49,.82) 100%);
}
.tile-body{position:absolute;left:0;right:0;bottom:0;padding:22px;z-index:2;color:#fff;}
.tile-body h3{color:#fff;font-size:1.18rem;margin-bottom:4px;}
.tile-body p{font-size:.84rem;color:#dbe6f3;margin:0 0 12px;}
.tile-mode{
  display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;
  padding:6px 12px;border-radius:99px;letter-spacing:.03em;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.4);
  opacity:0;transform:translateY(6px);transition:opacity .25s ease, transform .25s ease;
}
.tile:hover .tile-mode{opacity:1;transform:translateY(0);}
.tile-mode.shop{color:#a9f0c4;}
.tile-mode.quote{color:#bcd7f7;}

@media (max-width:880px){
  .tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:560px){
  .tile-grid{grid-template-columns:1fr;}
}

/* ============================================================
   ORDER GAS STRIP
   ============================================================ */
/* Still used by the Order Gas page template, which recolours them inline. */
.chip-row{display:flex;gap:10px;flex-wrap:wrap;}
.chip{
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.5);
  padding:9px 16px;border-radius:999px;font-weight:700;font-size:.85rem;
}

/* ---------- Order gas bar (highest-frequency action on the site) ---------- */
.gas-bar{
  position:relative;overflow:hidden;isolation:isolate;
  /*
   * The exact brand gradient, under a 28% navy scrim. The scrim is not
   * decoration: white text over the raw sweep measures 3.33:1 on the
   * delivery line (needs 4.5) and 2.69:1 on the last size chip (needs 3),
   * and the watermark behind them lightens it further. At 28% every
   * element clears its threshold - 4.64:1 for the small text, 3.96:1 for
   * the chips - while the two brand hues stay plainly recognisable.
   */
  background-image:
    linear-gradient(rgba(3, 26, 54, .28), rgba(3, 26, 54, .28)),
    var(--grad-brand);
  background-color:#1F78D1;
  color:#fff;
  padding:clamp(38px, 5vw, 64px) 0;
}

/* The brand swirl, sized to bleed and sitting behind everything. */
.gas-bar__deco{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(720px, 80%);aspect-ratio:1;opacity:.06;pointer-events:none;z-index:-1;
}
.gas-bar__deco svg{width:100%;height:100%;}

.gas-bar__inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:clamp(22px, 3.5vw, 48px);flex-wrap:wrap;
}

.gas-bar__copy{flex:1 1 300px;min-width:260px;}
.gas-bar__copy h2{
  color:#fff;margin:0 0 10px;line-height:1.12;
  font-size:clamp(1.7rem, 3.2vw, 2.7rem);letter-spacing:-.01em;
}
.gas-bar__note{
  margin:0;display:flex;align-items:center;gap:8px;
  color:rgba(255,255,255,.92);font-size:clamp(.92rem, 1.2vw, 1.02rem);
}
.gas-bar__note svg{width:17px;height:17px;flex:none;}

/* Cylinder sizes: each one is a prefilled WhatsApp order. */
.gas-bar__sizes{display:flex;gap:clamp(8px, 1vw, 14px);flex-wrap:wrap;flex:0 1 auto;}
.gas-chip{
  display:inline-flex;align-items:center;justify-content:center;
  padding:clamp(10px, 1.1vw, 15px) clamp(18px, 2vw, 30px);
  border:2px solid rgba(255,255,255,.85);border-radius:999px;
  color:#fff;text-decoration:none;white-space:nowrap;
  font-weight:700;font-size:clamp(1rem, 1.4vw, 1.35rem);line-height:1;
  transition:background .15s ease, transform .15s ease;
}
.gas-chip:hover{background:rgba(255,255,255,.18);transform:translateY(-1px);color:#fff;}

/*
 * The one button this whole band exists for, so it is deliberately larger
 * than any other button on the site. White on the green end of the
 * gradient, with the label in brand blue.
 */
.gas-bar__cta{
  display:inline-flex;align-items:center;gap:14px;flex:0 0 auto;
  background:#fff;color:#1257a8;text-decoration:none;
  padding:clamp(14px, 1.6vw, 20px) clamp(22px, 2.4vw, 34px);
  border-radius:var(--radius-lg, 18px);
  font-weight:800;font-size:clamp(1.05rem, 1.7vw, 1.6rem);line-height:1.15;
  box-shadow:0 14px 34px rgba(8,40,74,.22);
  transition:transform .15s ease, box-shadow .15s ease;
  max-width:min(100%, 340px);
}
.gas-bar__cta:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(8,40,74,.3);color:#0f4a91;}
.gas-bar__action{display:flex;flex-direction:column;align-items:flex-start;gap:10px;flex:0 0 auto;}
.gas-bar__promise{
  margin:0;display:flex;align-items:center;gap:7px;
  color:#fff;font-size:.95rem;font-weight:600;
}
.gas-bar__promise svg{width:16px;height:16px;flex:none;}
.gas-bar__cta-icon{
  display:grid;place-items:center;flex:none;
  width:clamp(38px, 3.4vw, 52px);height:clamp(38px, 3.4vw, 52px);
}
.gas-bar__cta-icon svg{width:100%;height:100%;color:#25D366;}

@media (max-width:900px){
  .gas-bar__inner{flex-direction:column;align-items:stretch;text-align:center;}
  .gas-bar__note{justify-content:center;}
  .gas-bar__sizes{justify-content:center;}
  .gas-bar__cta{justify-content:center;max-width:none;width:100%;}
  .gas-bar__action{align-items:center;width:100%;}
}

/* ============================================================
   BRAND ROW
   ============================================================ */
/*
 * A horizontal slider rather than a fixed grid: a single Brand row can
 * grow to six entries (maslamani_get_brands(6)) and a 3-column grid would
 * just wrap the rest onto a second row instead of letting visitors browse
 * them. Native scroll-snap needs no library; the prev/next buttons are a
 * convenience for mouse/keyboard users on top of native touch scrolling.
 */
.brand-slider{position:relative;}
.brand-row{
  display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-behavior:smooth;padding-bottom:4px;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.brand-row::-webkit-scrollbar{display:none;}

/*
 * Dark plates, because the supplied brand artwork is light lettering with
 * a solid black background baked into the file - there is no transparency
 * in any of them. On the old white card each logo read as a black
 * rectangle. A near-navy plate plus mix-blend-mode:screen dissolves that
 * baked-in black into the card, so the marks appear to sit directly on it
 * and all three match regardless of how each file was exported.
 */
.brand-card{
  position:relative;overflow:hidden;flex:0 0 clamp(220px, 31%, 300px);
  scroll-snap-align:start;
  background:#132a45;border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius-md);
  padding:34px 24px 28px;text-align:center;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.brand-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:3px;
  background:var(--grad-brand);opacity:0;transition:opacity .18s ease;
}
.brand-card:hover{
  transform:translateY(-3px);border-color:rgba(255,255,255,.2);
  box-shadow:0 18px 40px rgba(4,14,28,.35);
}
.brand-card:hover::before{opacity:1;}
/*
 * A common box rather than a common height. The three supplied marks run
 * from 6.65:1 to 1.03:1, so matching their heights rendered them at 331px,
 * 120px and 58px wide - visually nothing alike. Fitting each inside the
 * same 190x64 area gives every brand equal footprint and optical weight.
 */
.brand-card img{
  display:block;height:64px;width:100%;max-width:190px;
  margin:0 auto 16px;object-fit:contain;
  mix-blend-mode:screen;filter:saturate(1.05);
}
.brand-dark{display:block;max-width:190px;margin:0 auto 16px;}

/*
 * Logos supplied on a plain white background rather than baked-in black:
 * screen-blending those onto the dark card would wash the white field to
 * pure white and bleach the mark with it, so they get an actual white
 * plate instead of the blend trick the black-background logos use.
 */
.brand-chip{
  display:flex;align-items:center;justify-content:center;
  background:#fff;border-radius:12px;max-width:190px;height:64px;
  margin:0 auto 16px;padding:10px 16px;
}
.brand-chip img{
  height:auto;max-height:100%;width:auto;max-width:100%;
  margin:0;mix-blend-mode:normal;object-fit:contain;
}
.brand-name-only{font-size:1.05rem;font-weight:700;color:#fff;margin:0 auto 16px;text-align:center;}

/*
 * Background-removed logos sitting directly on the dark card, forced to
 * a flat white silhouette regardless of the mark's original colour.
 * brightness(0) crushes every opaque pixel to black without touching
 * alpha, then invert(1) flips that to white - transparent pixels stay
 * transparent throughout, so the card colour still shows around the mark.
 */
.brand-mono{display:block;max-width:190px;margin:0 auto 16px;}
.brand-mono img{
  height:64px;width:100%;max-width:190px;margin:0 auto;object-fit:contain;
  mix-blend-mode:normal;filter:brightness(0) invert(1);
}

.brand-nav{
  position:absolute;top:50%;translate:0 -50%;z-index:2;
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:999px;
  background:#fff;border:1px solid rgba(15,52,96,.14);color:var(--navy);
  box-shadow:0 10px 24px rgba(15,52,96,.16);cursor:pointer;
  transition:background .15s ease, box-shadow .15s ease;
}
.brand-nav:hover{background:#f3f6fb;}
.brand-nav--prev{left:-14px;}
.brand-nav--next{right:-14px;}
.brand-nav svg{width:18px;height:18px;}
.rotate-90{transform:rotate(90deg);}
.rotate-neg90{transform:rotate(-90deg);}
@media (max-width:640px){.brand-nav{display:none;}}

/* ============================================================
   PROFESSIONALS SPLIT
   ============================================================ */
.pro-split{display:grid;grid-template-columns:1fr 1fr;border-radius:var(--radius-lg);overflow:hidden;}
.pro-col{padding:46px 42px;position:relative;overflow:hidden;}
.pro-col.contractors{background:#0c2947;color:#fff;}
.pro-col.trade{background:#123a68;color:#fff;}
/*
 * A photo behind the text rather than beside it: the column is already
 * tight on width for a headline, a paragraph and a tick list, so a
 * separate image slot would either shrink the copy further or force the
 * column much wider. A low-opacity cover image plus the same dark
 * gradient every other scrim in this theme uses keeps the text exactly
 * as readable as the flat colour did.
 */
.pro-col::before{
  content:"";position:absolute;inset:0;z-index:0;
  background-image:var(--pro-bg);background-size:cover;background-position:center;
  opacity:.28;
}
.pro-col::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(6,26,48,.55) 0%, rgba(6,26,48,.88) 100%);
}
.pro-col > *{position:relative;z-index:2;}
.pro-col h3{color:#fff;font-size:1.4rem;}
.pro-col p{color:#c3d3e8;margin-bottom:22px;}
.pro-col ul{margin-bottom:26px;}
.pro-col li{
  display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:#dfe8f4;margin-bottom:10px;
}
.pro-col li svg{width:16px;height:16px;color:var(--green);flex:none;margin-top:2px;}
@media (max-width:760px){.pro-split{grid-template-columns:1fr;}}

.installer-warning{
  display:flex;align-items:flex-start;gap:10px;
  background:rgba(255,255,255,.08);border:1px solid rgba(255,196,0,.35);
  border-radius:var(--radius-md);padding:12px 16px;margin:-6px 0 22px;
  font-size:.86rem;color:#ffd977;
}
.installer-warning svg{width:18px;height:18px;color:#ffd977;flex:none;margin-top:1px;}

/* ============================================================
   SUPPORT CARDS
   ============================================================ */
.card-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.support-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:30px 26px;transition:box-shadow .15s, transform .15s;
}
.support-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.support-card .ic{
  width:48px;height:48px;border-radius:12px;background:#e9f4ee;display:grid;place-items:center;margin-bottom:16px;
}
.support-card .ic svg{width:24px;height:24px;color:var(--green-dark);}
.support-card h4{margin-bottom:6px;font-size:1.05rem;}
.support-card p{color:var(--ink-soft);font-size:.88rem;margin-bottom:16px;}
@media (max-width:820px){.card-row{grid-template-columns:1fr;}}

/* ============================================================
   PROOF
   ============================================================ */
.proof-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;}
.proof-grid .proof-item{border-radius:var(--radius-md);overflow:hidden;position:relative;aspect-ratio:4/3;}
.proof-grid .proof-item img{width:100%;height:100%;object-fit:cover;}
.proof-grid .proof-item .tag{
  position:absolute;left:14px;bottom:14px;background:rgba(9,26,49,.72);color:#fff;
  padding:6px 12px;border-radius:999px;font-size:.74rem;font-weight:700;backdrop-filter:blur(4px);
}
@media (max-width:820px){.proof-grid{grid-template-columns:1fr 1fr;}
  .proof-grid > :first-child{grid-column:1/-1;}
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:#0a2038;color:#c8d5e6;padding:60px 0 0;}
/*
 * minmax(0,…) rather than a bare fr: an fr track has an automatic minimum
 * of its content, so a column holding "Contractors & Developers" refuses
 * to shrink and pushes the whole grid past the viewport. This was the only
 * grid in the theme without a responsive override, and the reason the page
 * scrolled sideways on a phone.
 */
.footer-grid{
  display:grid;grid-template-columns:minmax(0,1.3fr) repeat(4,minmax(0,1fr));
  gap:30px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.08);
}
@media (max-width:1024px){.footer-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;}}
@media (max-width:760px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;}}
@media (max-width:460px){.footer-grid{grid-template-columns:minmax(0,1fr);gap:26px;}}
.footer-grid h5{color:#fff;font-size:.85rem;letter-spacing:.04em;text-transform:uppercase;margin-bottom:16px;}
.footer-grid li{margin-bottom:10px;font-size:.88rem;}
.footer-grid a:hover{color:#fff;}
.footer-brand .logo{color:#fff;}
.footer-brand p{font-size:.86rem;color:#93a5bd;margin:14px 0 18px;max-width:260px;}
.footer-social{display:flex;gap:10px;}
.footer-social a{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.08);display:grid;place-items:center;}
.footer-social svg{width:15px;height:15px;}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  padding-block:22px;font-size:.8rem;color:#7d90a8;
}
.footer-bottom .flags{display:flex;gap:14px;}

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-bar{
  position:fixed;left:0;right:0;bottom:0;z-index:300;background:#fff;
  border-top:1px solid var(--line);
  display:none;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:8px 6px calc(8px + env(safe-area-inset-bottom));
  box-shadow:0 -8px 24px rgba(15,52,96,.10);
}
.mobile-bar a{
  display:flex;flex-direction:column;align-items:center;gap:4px;
  font-size:.65rem;font-weight:700;color:var(--navy);padding:6px 0;position:relative;
  min-width:0;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.mobile-bar a svg{width:20px;height:20px;}
/* The one action in this bar that is deliberately not a plain icon+label. */
.mobile-bar a.gas{
  color:#fff;background-image:var(--grad-brand-ui);
  border-radius:12px;margin:-2px 2px;padding:6px 4px;font-weight:700;
}
.mobile-bar a.gas svg{color:#fff;}
.mobile-bar .mbadge{
  position:absolute;top:0;right:22%;background:var(--green);color:#fff;font-size:.6rem;font-weight:700;
  width:15px;height:15px;border-radius:50%;display:grid;place-items:center;
}
@media (max-width:760px){
  .mobile-bar{display:grid;}
  body{padding-bottom:64px;}
}

/* ============================================================
   QUOTE / CART DRAWER
   ============================================================ */
.drawer-overlay{
  position:fixed;inset:0;background:rgba(9,26,49,.4);z-index:400;
  opacity:0;visibility:hidden;transition:.2s ease;
}
.drawer-overlay.open{opacity:1;visibility:visible;}
.drawer{
  position:fixed;top:0;right:0;bottom:0;width:min(420px,92vw);background:#fff;z-index:401;
  box-shadow:-20px 0 60px rgba(0,0,0,.2);
  transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;
}
.drawer.open{transform:translateX(0);}
/*
 * .drawer and [hidden] have equal specificity, so the class won on source
 * order and the closed cart and quote drawers stayed display:flex. They
 * were parked off-screen visually but still in the accessibility tree,
 * with focusable links inside. JS clears the attribute before opening, so
 * this only affects drawers that have never been opened.
 */
.drawer[hidden]{display:none;}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line);}
.drawer-head h3{margin:0;font-size:1.1rem;}
.drawer-close{width:34px;height:34px;border-radius:50%;border:none;background:var(--bg);display:grid;place-items:center;}
.drawer-body{flex:1;overflow-y:auto;padding:18px 24px;}
.drawer-empty{text-align:center;color:var(--ink-soft);padding:60px 10px;font-size:.9rem;}
.drawer-empty svg{width:44px;height:44px;color:var(--line);margin:0 auto 14px;}
.line-item{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line-soft);}
.line-item img{width:64px;height:64px;border-radius:10px;object-fit:cover;background:var(--bg);flex:none;}
.line-item .li-info{flex:1;}
.line-item .li-info .name{font-weight:700;font-size:.9rem;margin-bottom:2px;}
.line-item .li-info .meta{font-size:.78rem;color:var(--ink-soft);}
.qty-row{display:flex;align-items:center;gap:10px;margin-top:8px;}
.qty-row button{width:24px;height:24px;border-radius:6px;border:1px solid var(--line);background:#fff;font-weight:700;}
.li-remove{background:none;border:none;color:#c0403f;font-size:.76rem;font-weight:700;padding:0;margin-top:8px;}
.drawer-foot{padding:20px 24px;border-top:1px solid var(--line);}
.drawer-foot .btn{width:100%;}
.drawer-note{font-size:.76rem;color:var(--ink-soft);margin-top:10px;text-align:center;}

/* ============================================================
   BREADCRUMB / CATEGORY PAGE
   ============================================================ */
.breadcrumb{font-size:.82rem;color:var(--ink-soft);padding:20px 0 0;}
.breadcrumb a:hover{color:var(--blue);}
.breadcrumb span{margin:0 6px;color:var(--line);}
.cat-head{padding:20px 0 30px;border-bottom:1px solid var(--line);}
.cat-head h1{font-size:2rem;margin-bottom:10px;}
.cat-head p{color:var(--ink-soft);max-width:680px;}
.ask-tech{
  display:flex;align-items:center;gap:12px;background:#e9f4ee;border:1px solid #cdeadb;
  border-radius:var(--radius-md);padding:16px 20px;margin-top:20px;
}
.ask-tech svg{width:22px;height:22px;color:var(--green-dark);flex:none;}
.ask-tech b{color:var(--navy);}
.ask-tech a{color:var(--green-dark);font-weight:700;text-decoration:underline;}

.cat-layout{display:grid;grid-template-columns:250px 1fr;gap:36px;padding:36px 0 60px;align-items:start;}
.filter-rail{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:22px;position:sticky;top:calc(var(--header-h) + 20px);}
.filter-rail h4{font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;margin-bottom:14px;color:var(--navy);}
.filter-group{margin-bottom:22px;}
.filter-group legend{font-weight:700;font-size:.85rem;margin-bottom:10px;color:var(--ink);}
.filter-opt{display:flex;align-items:center;gap:9px;font-size:.86rem;color:var(--ink-soft);margin-bottom:9px;}
.filter-opt input{accent-color:var(--blue);width:15px;height:15px;}

.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
.p-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .15s, transform .15s;}
.p-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.p-card .thumb{aspect-ratio:1/1;background:var(--bg);display:grid;place-items:center;overflow:hidden;}
.p-card .thumb img{width:100%;height:100%;object-fit:cover;}
.p-card .p-body{padding:18px;display:flex;flex-direction:column;gap:8px;flex:1;}
.p-card .brand-tag{font-size:.7rem;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.03em;}
.p-card h4{font-size:.98rem;margin:0;}
.p-card .spec{font-size:.8rem;color:var(--ink-soft);}
.p-card .price-row{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding-top:10px;}
.p-card .price{font-weight:700;color:var(--navy);}
.p-card .price.quote-mode{font-size:.78rem;color:var(--blue-dark);font-weight:700;}
.p-card .btn{width:100%;}

.cross-sell{background:#fff;border:1px dashed var(--line);border-radius:var(--radius-md);padding:26px;margin-top:40px;}
.cross-sell h4{margin-bottom:16px;}

.faq{margin-top:20px;}
.faq-item{border-bottom:1px solid var(--line);padding:18px 0;}
.faq-item summary{cursor:pointer;font-weight:700;color:var(--navy);list-style:none;display:flex;justify-content:space-between;align-items:center;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:"+";font-size:1.3rem;color:var(--ink-soft);}
.faq-item[open] summary::after{content:"–";}
.faq-item p{color:var(--ink-soft);margin-top:12px;font-size:.92rem;}

@media (max-width:900px){
  .cat-layout{grid-template-columns:1fr;}
  .filter-rail{position:static;}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:560px){.product-grid{grid-template-columns:1fr;}}

/* ============================================================
   PRODUCT PAGE (specification mode)
   ============================================================ */
.pdp-top{display:grid;grid-template-columns:1fr 1fr;gap:48px;padding:30px 0 20px;}
.gallery-main{border-radius:var(--radius-md);overflow:hidden;aspect-ratio:1/1;background:#fff;border:1px solid var(--line);margin-bottom:12px;}
.gallery-main img{width:100%;height:100%;object-fit:cover;}
.gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.gallery-thumbs button{border-radius:10px;overflow:hidden;border:2px solid transparent;padding:0;aspect-ratio:1/1;background:#fff;}
.gallery-thumbs button.active{border-color:var(--blue);}
.gallery-thumbs img{width:100%;height:100%;object-fit:cover;}

.pdp-info .brand-tag{color:var(--ink-soft);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;}
.pdp-info h1{font-size:1.85rem;margin:6px 0 16px;}
.benefit-list{margin-bottom:22px;}
.benefit-list li{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;font-size:.94rem;}
.benefit-list svg{width:17px;height:17px;color:var(--green-dark);margin-top:3px;flex:none;}
.price-slot{
  background:#eef4fb;border:1px solid #dbe7f5;border-radius:var(--radius-md);padding:16px 20px;margin-bottom:20px;
}
.price-slot .p1{font-weight:700;color:var(--navy);font-size:1.05rem;}
.price-slot .p2{font-size:.85rem;color:var(--ink-soft);margin-top:2px;}
.pdp-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px;}
.pdp-cta-row .btn{flex:1 1 200px;padding:15px 20px;}
.micro-trust{display:flex;flex-wrap:wrap;gap:18px;padding:16px 0;border-top:1px solid var(--line);}
.micro-trust .mt{display:flex;align-items:center;gap:8px;font-size:.82rem;font-weight:600;color:var(--ink-soft);}
.micro-trust svg{width:17px;height:17px;color:var(--green-dark);}

.spec-table{width:100%;border-collapse:collapse;margin-top:10px;}
.spec-table tr{border-bottom:1px solid var(--line-soft);}
.spec-table td{padding:13px 6px;font-size:.92rem;}
.spec-table td:first-child{color:var(--ink-soft);width:42%;}
.spec-table td:last-child{font-weight:700;color:var(--navy);}

.included-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:14px;}
.included-grid .inc{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);padding:18px 14px;text-align:center;}
.included-grid svg{width:26px;height:26px;color:var(--green-dark);margin:0 auto 10px;}
.included-grid p{font-size:.82rem;font-weight:700;color:var(--navy);margin:0;}

.download-list{display:flex;flex-direction:column;gap:10px;margin-top:14px;}
.download-item{
  display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius-sm);padding:14px 18px;
}
.download-item svg{width:20px;height:20px;color:var(--blue);flex:none;}
.download-item .fname{font-weight:700;font-size:.88rem;flex:1;}
.download-item .fsize{font-size:.76rem;color:var(--ink-soft);}

.related-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}

.tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);margin:40px 0 0;}
.tab-btn{padding:12px 4px;margin-right:26px;font-weight:700;color:var(--ink-soft);border-bottom:3px solid transparent;background:none;border-top:none;border-left:none;border-right:none;}
.tab-btn.active{color:var(--navy);border-color:var(--green);}
.tab-panel{display:none;padding:26px 0;}
.tab-panel.active{display:block;}

@media (max-width:880px){
  .pdp-top{grid-template-columns:1fr;}
  .included-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .related-strip{grid-template-columns:repeat(2,minmax(0,1fr));}
}

/* Repeat CTA foot band */
.repeat-cta{
  background:var(--navy);border-radius:var(--radius-lg);color:#fff;
  padding:40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:50px;
}
.repeat-cta h3{color:#fff;margin-bottom:6px;}
.repeat-cta p{color:#c3d3e8;margin:0;}
.repeat-cta .btn-actions{display:flex;gap:12px;}

@media (max-width:600px){
  .repeat-cta{padding:28px 24px;text-align:center;}
  .repeat-cta{justify-content:center;}
  .repeat-cta .btn-actions{flex-wrap:wrap;width:100%;}
  .repeat-cta .btn-actions .btn{flex:1 1 100%;}
}

.toast{
  position:fixed;bottom:26px;left:50%;transform:translate(-50%,12px);background:var(--navy);color:#fff;
  padding:14px 22px;border-radius:12px;font-weight:700;font-size:.88rem;z-index:500;box-shadow:var(--shadow-lg);
  opacity:0;pointer-events:none;transition:opacity .25s ease, transform .25s ease;display:flex;align-items:center;gap:10px;
}
.toast.show{opacity:1;transform:translate(-50%,0);}
.toast svg{width:18px;height:18px;color:var(--green);}

/* ============================================================
   WORDPRESS CORE
   Required classes WP outputs in post content and archives,
   styled to match the design system above.
   ============================================================ */
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;
  margin:-1px;overflow:hidden;padding:0;position:absolute;word-wrap:normal!important;
}
.screen-reader-text:focus{
  background:#fff;border-radius:8px;box-shadow:var(--shadow-md);clip:auto!important;clip-path:none;
  color:var(--navy);display:block;font-size:.9rem;font-weight:700;height:auto;inset-inline-start:20px;
  line-height:normal;padding:14px 22px;text-decoration:none;top:20px;width:auto;z-index:100000;
}

.alignleft{float:left;margin:6px 24px 18px 0;}
.alignright{float:right;margin:6px 0 18px 24px;}
.aligncenter{clear:both;display:block;margin:18px auto;}
.alignwide{max-width:1100px;margin-inline:auto;}
.alignfull{width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw);}
.wp-caption{max-width:100%;margin-bottom:20px;}
.wp-caption img{border-radius:var(--radius-sm);}
.wp-caption-text,.wp-element-caption{
  font-size:.8rem;color:var(--ink-soft);text-align:center;padding-top:8px;margin:0;
}
.wp-block-image img,.entry-content img{border-radius:var(--radius-sm);height:auto;}
.sticky .entry-title::after{
  content:"\2605";color:var(--green);margin-inline-start:8px;font-size:.8em;vertical-align:super;
}

/* ---------- Editor content ---------- */
.entry-content{font-size:1.02rem;color:var(--ink);}
.entry-content > * + *{margin-top:1.15em;}
.entry-content h2{font-size:1.6rem;margin-top:1.6em;}
.entry-content h3{font-size:1.25rem;margin-top:1.4em;}
.entry-content a{color:var(--blue);text-decoration:underline;text-underline-offset:3px;}
.entry-content a:hover{color:var(--navy);}
.entry-content ul,.entry-content ol{padding-inline-start:22px;}
.entry-content ul li{list-style:disc;}
.entry-content ol li{list-style:decimal;}
.entry-content li{margin-bottom:8px;}
.entry-content blockquote{
  border-inline-start:4px solid var(--green);background:#fff;border-radius:var(--radius-sm);
  margin:1.6em 0;padding:20px 26px;color:var(--ink-soft);font-size:1.05rem;
}
.entry-content blockquote p:last-child{margin-bottom:0;}
.entry-content table{width:100%;border-collapse:collapse;}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:12px 14px;text-align:start;}
.entry-content th{background:var(--bg);color:var(--navy);font-weight:700;}
.entry-content code{background:var(--line-soft);border-radius:6px;padding:2px 7px;font-size:.9em;}
.entry-content pre{
  background:var(--navy);color:#e6eef8;border-radius:var(--radius-sm);padding:20px 24px;overflow-x:auto;
}
.entry-content pre code{background:none;color:inherit;padding:0;}
.entry-content hr{border:none;border-top:1px solid var(--line);margin:2.4em 0;}

/* ---------- Post list / archive ---------- */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;}
.post-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;
  display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s;
}
.post-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.post-card .thumb{aspect-ratio:16/10;background:var(--bg);overflow:hidden;}
.post-card .thumb img{width:100%;height:100%;object-fit:cover;}
.post-card .p-body{padding:22px;display:flex;flex-direction:column;gap:8px;flex:1;}
.post-card h3{font-size:1.08rem;margin:0;}
.post-card .excerpt{font-size:.88rem;color:var(--ink-soft);}
.post-card .meta{font-size:.76rem;color:var(--ink-soft);margin-top:auto;padding-top:10px;}
@media (max-width:900px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.post-grid{grid-template-columns:1fr;}}

.entry-header{padding:34px 0 24px;border-bottom:1px solid var(--line);margin-bottom:32px;}
.entry-header h1{font-size:2rem;}
.entry-meta{font-size:.84rem;color:var(--ink-soft);display:flex;gap:16px;flex-wrap:wrap;}
.entry-thumb{border-radius:var(--radius-lg);overflow:hidden;margin-bottom:32px;box-shadow:var(--shadow-md);}
.entry-footer{margin-top:40px;padding-top:24px;border-top:1px solid var(--line);}
.tag-list{display:flex;gap:8px;flex-wrap:wrap;}
.tag-list a{
  background:#fff;border:1px solid var(--line);border-radius:999px;padding:6px 14px;
  font-size:.78rem;font-weight:700;color:var(--ink-soft);
}
.tag-list a:hover{border-color:var(--navy);color:var(--navy);}

/* ---------- Pagination ---------- */
.pagination,
.woocommerce-pagination ul.page-numbers{
  display:flex;justify-content:center;gap:8px;margin:50px 0;flex-wrap:wrap;
  list-style:none;padding:0;
}
.woocommerce-pagination{margin:0;}
.woocommerce-pagination li{margin:0;list-style:none;}

/* The Woo selectors go through li on purpose: its <ul> also carries
   .page-numbers, so a bare descendant selector would turn the whole
   container into a pill. */
.pagination .page-numbers,
.woocommerce-pagination li > .page-numbers{
  min-width:42px;height:42px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid var(--line);
  display:grid;place-items:center;font-weight:700;font-size:.88rem;color:var(--ink-soft);
  text-decoration:none;transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.pagination .page-numbers:hover,
.woocommerce-pagination li > a.page-numbers:hover{border-color:var(--navy);color:var(--navy);}
.pagination .page-numbers.current,
.woocommerce-pagination li > .page-numbers.current{background:var(--navy);border-color:var(--navy);color:#fff;}
.pagination .dots,
.woocommerce-pagination li > .dots{border-color:transparent;background:none;}

/* Prev/next carry an arrow glyph rather than a number. */
.woocommerce-pagination li > .prev,
.woocommerce-pagination li > .next{font-size:1.05rem;line-height:1;color:var(--navy);}

/* ---------- Comments ---------- */
.comments-area{margin-top:56px;padding-top:36px;border-top:1px solid var(--line);}
.comment-list{margin-bottom:36px;}
.comment-body{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:22px 24px;margin-bottom:16px;
}
.comment-list .children{padding-inline-start:32px;}
.comment-author{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--navy);font-size:.92rem;}
.comment-author img{border-radius:50%;}
.comment-metadata{font-size:.76rem;color:var(--ink-soft);margin:4px 0 12px;}
.comment-reply-link{font-size:.8rem;font-weight:700;color:var(--green-dark);}
.comment-respond{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);padding:28px;}
.comment-form{display:grid;gap:14px;}
.comment-form label{font-weight:700;font-size:.86rem;color:var(--navy);display:block;margin-bottom:6px;}

/* ============================================================
   FORMS (shared)
   The prototype styled these inline; they are consolidated here
   so every form across the theme matches without inline styles.
   ============================================================ */
.field{display:grid;gap:6px;}
.field label{font-weight:700;font-size:.86rem;color:var(--navy);}
.form-grid{display:grid;gap:16px;}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],
input[type=password],input[type=search],input[type=date],select,textarea{
  width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:12px;
  font-family:inherit;font-size:.95rem;color:var(--ink);background:#fff;
}
input:focus,select:focus,textarea:focus{outline:3px solid var(--blue);outline-offset:1px;border-color:var(--blue);}
textarea{resize:vertical;min-height:110px;}
.form-note{font-size:.78rem;color:var(--ink-soft);margin:0;}
.form-error,.form-success{
  border-radius:var(--radius-sm);padding:14px 18px;font-size:.88rem;font-weight:600;margin-bottom:18px;
}
.form-error{background:#fdecec;border:1px solid #f5c2c2;color:#9b2c2c;}
.form-success{background:#e7f4ec;border:1px solid #cdeadb;color:var(--green-dark);}
.required-mark{color:#c0403f;}
.honeypot-field{position:absolute!important;left:-9999px!important;opacity:0;height:0;overflow:hidden;}

/* ---------- Quote basket extras ---------- */
.li-note{
  width:100%;margin-top:8px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;
  font-size:.78rem;font-family:inherit;min-height:auto;
}
.drawer-foot .quote-count{
  font-size:.8rem;color:var(--ink-soft);text-align:center;margin:0 0 10px;
}
.drawer.is-busy{opacity:.6;pointer-events:none;}

/* ---------- 404 / empty states ---------- */
.empty-state{text-align:center;padding:90px 20px;}
.empty-state .code{font-size:5rem;font-weight:700;color:var(--line);line-height:1;margin-bottom:10px;}
.empty-state h1{font-size:1.8rem;}
.empty-state p{color:var(--ink-soft);max-width:460px;margin:0 auto 26px;}
.empty-state .actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}

/* ---------- Admin bar offset ---------- */
.admin-bar .site-header{top:32px;}
.admin-bar .mnav-drawer,.admin-bar .drawer{top:32px;}
@media (max-width:782px){
  .admin-bar .site-header{top:46px;}
  .admin-bar .mnav-drawer,.admin-bar .drawer{top:46px;}
}

/* ---------- Header search panel ---------- */
.header-search{
  border-top:1px solid var(--line-soft);
  background:#fff;
  padding:18px 0;
}
.header-search[hidden]{display:none;}
.header-search .search-form{max-width:640px;margin:0 auto;}

/* ============================================================
   ABOUT (condensed) — homepage
   The prototype styled this block with inline attributes; the
   same rules live here so the markup stays clean and RTL can
   override them.
   ============================================================ */
.about-split{
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
}
.about-lead{color:var(--ink-soft);margin-bottom:22px;}
.about-list{display:grid;gap:12px;}
.about-list li{display:flex;gap:10px;align-items:flex-start;font-size:.95rem;}
.about-list svg{width:18px;height:18px;color:var(--green);flex:none;margin-top:3px;}
.about-cta{margin-top:24px;}
.about-media{
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);
}
.about-media img{width:100%;height:100%;object-fit:cover;aspect-ratio:16/10;}
@media (max-width:880px){
  .about-split{grid-template-columns:1fr;gap:32px;}
  .about-media{order:-1;}
}

/* The card itself is the dark plate now, so this only handles spacing. */
.brand-dark img{margin-bottom:0;}

/* ---------- About page showroom split ---------- */
.about-showroom{grid-template-columns:1.1fr .9fr;}
.about-showroom__media{overflow:hidden;}
.about-showroom__media img{width:100%;height:100%;object-fit:cover;}
@media (max-width:760px){
  .about-showroom{grid-template-columns:1fr;}
  .about-showroom__media{min-height:260px;}
}

/* ---------- About page: company timeline ----------
   A vertical spine with alternating cards. Each .timeline-item starts
   faded/offset and is revealed by main.js's IntersectionObserver adding
   .in-view, so the section reads as a scroll-driven story rather than a
   plain dated list. */
.timeline{position:relative;max-width:880px;margin:56px auto 0;}
.timeline::before{
  content:"";position:absolute;left:50%;top:6px;bottom:6px;width:3px;
  background:linear-gradient(180deg, var(--green) 0%, var(--blue) 100%);
  transform:translateX(-50%);border-radius:999px;
}
.timeline-item{
  display:grid;grid-template-columns:1fr 56px 1fr;column-gap:30px;align-items:start;
  margin-bottom:52px;opacity:0;transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.timeline-item.in-view{opacity:1;transform:translateY(0);}
.timeline-item:last-child{margin-bottom:0;}
.timeline-node{
  grid-column:2;width:60px;height:60px;border-radius:50%;position:relative;z-index:2;
  background:var(--green);border:4px solid #fff;display:grid;place-items:center;
  box-shadow:0 8px 20px rgba(15,52,96,.22);
}
.timeline-node svg{width:26px;height:26px;color:#fff;}
/* Each stop gets its own brand colour, echoing the varied badge colours
   in the client's reference timeline rather than one flat repeated tone. */
.timeline-item:nth-child(3n+2) .timeline-node{background:var(--blue);}
.timeline-item:nth-child(3n+3) .timeline-node{background:var(--navy);}
.timeline-card{
  grid-column:1;justify-self:end;text-align:right;max-width:380px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);
  padding:22px 26px;box-shadow:var(--shadow-sm);
  transition:transform .18s ease, box-shadow .18s ease;
}
.timeline-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.timeline-item:nth-child(even) .timeline-card{grid-column:3;justify-self:start;text-align:left;}
.timeline-year{
  display:inline-block;font-weight:800;color:var(--green-dark);font-size:.78rem;
  letter-spacing:.05em;text-transform:uppercase;margin-bottom:6px;
}
.timeline-card h4{margin-bottom:6px;}
.timeline-card p{color:var(--ink-soft);font-size:.9rem;margin:0;}

@media (max-width:760px){
  .timeline::before{left:27px;}
  .timeline-item{grid-template-columns:56px 1fr;column-gap:16px;}
  .timeline-node{grid-column:1;}
  .timeline-card,
  .timeline-item:nth-child(even) .timeline-card{
    grid-column:2;justify-self:start;text-align:left;max-width:none;
  }
}

/*
 * Desktop: the spine turns horizontal and cards alternate above/below it,
 * matching the reference layout the client sent. Fixed row heights (not
 * 1fr/auto/1fr) keep every node pinned to the same line regardless of
 * how much text a given card holds, since 1fr rows would grow with
 * content and drag the node off-line.
 */
@media (min-width:900px){
  /*
   * Odd cards float above the line, even cards sit below it. The "above"
   * card is pinned by its BOTTOM edge (position:absolute, bottom:100%)
   * instead of living in a fixed-height row above the node - a fixed row
   * clips the moment a card holds more text than the row allowed, which
   * is exactly what broke the first version of this layout. Anchoring by
   * the bottom edge lets it grow upward freely; the generous margin-top
   * on .timeline is what keeps that growth from ever reaching the
   * heading above.
   */
  .timeline{max-width:none;margin-top:260px;display:flex;align-items:flex-start;}
  .timeline::before{
    left:0;right:0;top:28px;bottom:auto;width:auto;height:3px;
    background:linear-gradient(90deg, var(--green) 0%, var(--blue) 100%);
    transform:none;
  }
  .timeline-item{
    display:flex;flex-direction:column;align-items:center;
    flex:1;margin-bottom:0;padding:0 16px;position:relative;transform:translateY(0);
  }
  .timeline-item.in-view{transform:none;}
  .timeline-node{margin-bottom:24px;}
  .timeline-card{text-align:center;max-width:260px;width:100%;position:relative;}
  .timeline-item:nth-child(odd) .timeline-card{
    position:absolute;bottom:calc(100% + 24px);left:50%;
    transform:translateX(-50%);width:260px;
  }
  /* The shared hover rule sets transform:translateY(-4px), which would
     otherwise replace (not add to) the translateX(-50%) centering above
     and knock the card sideways on hover. */
  .timeline-item:nth-child(odd) .timeline-card:hover{transform:translateX(-50%) translateY(-4px);}

  /* A short stem joining each card to its node on the spine, coloured to
     match that stop's node. */
  .timeline-card::before{
    content:"";position:absolute;left:50%;width:2px;height:24px;
    background:var(--green);transform:translateX(-50%);
  }
  .timeline-item:nth-child(odd) .timeline-card::before{top:100%;}
  .timeline-item:nth-child(even) .timeline-card::before{bottom:100%;}
  .timeline-item:nth-child(3n+2) .timeline-card::before{background:var(--blue);}
  .timeline-item:nth-child(3n+3) .timeline-card::before{background:var(--navy);}
}

/* ---------- About page: founders ---------- */
.founders-grid{display:flex;justify-content:center;gap:32px;flex-wrap:wrap;margin-top:32px;}
.founder-card{
  text-align:center;min-width:190px;padding:26px 28px;
  border:1px solid var(--line);border-radius:var(--radius-md);
  transition:transform .18s ease, box-shadow .18s ease;
}
.founder-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.founder-photo{
  /* Same neutral tone as every other card border on the site, rather than
     a colour picked to match one specific photo's backdrop. */
  width:132px;height:132px;border-radius:50%;margin:0 auto 16px;overflow:hidden;
  background:var(--line);
  padding:3px;
}
.founder-photo img{width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:top center;display:block;}
.founder-card h4{margin-bottom:4px;}
.founder-role{font-size:.78rem;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.04em;}
.founders-text{max-width:680px;margin:28px auto 0;text-align:center;color:var(--ink-soft);}

/* ---------- Page-end breathing room ----------
   The closing band separates itself from whatever follows it (reviews on
   the product page), and the last .wrap in <main> gets bottom padding so
   no page ends flush against the footer.

   Scoped to a trailing .wrap on purpose: the homepage ends with a
   full-bleed navy section that is meant to run straight into the footer,
   and it is not a .wrap, so it keeps that behaviour. */
.repeat-cta{margin-bottom:50px;}
#main-content > .wrap:last-child{padding-bottom:40px;}

/* ============================================================
   QUOTE FORM — product picker rows
   Category -> product -> qty, one line per item.
   ============================================================ */
.quote-products{
  border-top:1px solid var(--line);
  padding-top:24px;
  margin-top:8px;
}
.quote-products__title{font-size:1.05rem;margin-bottom:4px;}
.quote-products .form-note{margin-bottom:16px;}

.quote-row{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px;
  margin-bottom:14px;
}
.quote-row__grid{
  display:grid;
  grid-template-columns:1fr 1fr 90px 44px;
  gap:14px;
  align-items:end;
}
.quote-row__grid .field{gap:6px;}
.quote-row__grid select,
.quote-row__grid input{padding:11px 12px;}
.quote-row__remove{
  height:46px;width:44px;
  border:none;border-radius:10px;
  background:#fdecec;color:#c0403f;
  font-size:1rem;font-weight:700;cursor:pointer;
  transition:background .15s ease;
}
.quote-row__remove:hover{background:#fbd5d5;}
.quote-row select:disabled{background:var(--bg);color:var(--ink-soft);cursor:not-allowed;}

@media (max-width:640px){
  .quote-row__grid{grid-template-columns:1fr 44px;}
  .quote-row__grid > .field:nth-child(1),
  .quote-row__grid > .field:nth-child(2){grid-column:1 / -1;}
}

/* ---------- Filter rail: attribute links styled as checkboxes ---------- */
.filter-rail .filter-opt{
  display:flex;align-items:center;gap:9px;
  font-size:.86rem;color:var(--ink-soft);margin-bottom:9px;
  cursor:pointer;
}
.filter-rail .filter-opt:hover{color:var(--navy);}
.filter-rail .filter-box{
  width:16px;height:16px;flex:none;
  border:1.5px solid var(--line);border-radius:4px;background:#fff;
  display:inline-grid;place-items:center;
  transition:background .15s ease,border-color .15s ease;
}
.filter-rail .filter-opt.is-on{color:var(--navy);font-weight:600;}
.filter-rail .filter-opt.is-on .filter-box{
  background:var(--blue);border-color:var(--blue);
}
.filter-rail .filter-opt.is-on .filter-box::after{
  content:"";
  width:9px;height:5px;
  border-left:2px solid #fff;border-bottom:2px solid #fff;
  transform:rotate(-45deg) translateY(-1px);
}
.filter-clear{
  display:inline-block;font-size:.78rem;font-weight:700;
  color:var(--green-dark);margin-bottom:16px;text-decoration:underline;
}

/* ---------- Four-up card row (process steps) ---------- */
.card-row--four{grid-template-columns:repeat(4,minmax(0,1fr));}
@media (max-width:1000px){.card-row--four{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.card-row--four{grid-template-columns:1fr;}}

.card-row--two{grid-template-columns:repeat(2,minmax(0,1fr));}
@media (max-width:560px){.card-row--two{grid-template-columns:1fr;}}

/*
 * Two full-width cards read as sparse laid out like a 3-up card - lots of
 * empty space beside a stacked icon/title/text/button. The icon moves
 * beside the text block, but title/text/button stay stacked within that
 * block (not spread into their own flex columns) so the button still
 * reads as the last thing in the card, not a floating fourth column.
 */
.card-row--two .support-card{
  display:flex;align-items:flex-start;gap:22px;padding:34px 36px;
}
.card-row--two .support-card .ic{margin-bottom:0;flex:none;width:56px;height:56px;}
.card-row--two .support-card .ic svg{width:28px;height:28px;}
.card-row--two .support-card__body{flex:1;min-width:0;}
.card-row--two .support-card h4{font-size:1.15rem;}
@media (max-width:560px){
  .card-row--two .support-card{flex-direction:column;padding:30px 26px;}
}

/* ---------- Safety alert variant of the help strip ---------- */
.ask-tech--alert{background:#fdeceb;border-color:#f6cfcb;}
.ask-tech--alert svg{color:#c0403f;}

/* ============================================================
   CONTACT — message form beside the showroom details
   ============================================================ */
.contact-split{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:40px;
  align-items:start;
}
.contact-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:32px;
}
.contact-card h3{margin-bottom:6px;}
.contact-card h4{margin-bottom:10px;}
.contact-aside{display:grid;gap:20px;}
.contact-aside__line{
  color:var(--ink-soft);font-size:.92rem;margin:0 0 6px;
}
.contact-aside img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;}
.contact-card--dark{
  background:var(--navy);color:#fff;padding:26px;
}
.contact-card--dark h4{color:#fff;}
.contact-card--dark p{color:#c3d3e8;font-size:.9rem;margin-bottom:16px;}

@media (max-width:900px){
  .contact-split{grid-template-columns:1fr;gap:24px;}
}

/* ---------- Support cards used as jump links ---------- */
a.support-card,
.support-card--link{
  text-decoration:none;
  color:inherit;
  display:block;
}
a.support-card:hover{border-color:var(--blue);}
a.support-card h4{color:var(--navy);}

/* Count badge beside a filter option. */
.filter-rail .filter-count{
  margin-inline-start:auto;
  font-size:.74rem;
  color:var(--ink-soft);
  background:var(--bg);
  border-radius:999px;
  padding:1px 7px;
}

/* ---------- Script-specific brand faces ---------- */
html[lang^="ar"]{--font-brand:'Cairo';}
html[lang^="he"]{--font-brand:'Assistant';}

/* Secondary action in a drawer footer sits under the primary one. */
.drawer-foot__browse{width:100%;margin-top:10px;}

/* ---------- PDP: brand logo, accessories note, product FAQ ---------- */
.pdp-brand-logo{margin-bottom:14px;}
.pdp-brand-logo img{max-height:38px;width:auto;object-fit:contain;}
.section-note{margin:-6px 0 18px;color:var(--muted);font-size:14px;max-width:60ch;}
.pdp-faq{margin-top:50px;}
.pdp-faq h4{margin-bottom:14px;}
.pdp-faq .faq-item{border:1px solid var(--line);border-radius:12px;background:#fff;margin-bottom:10px;overflow:hidden;}
.pdp-faq .faq-item summary{cursor:pointer;padding:16px 18px;font-weight:600;color:var(--navy);list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;}
.pdp-faq .faq-item summary::-webkit-details-marker{display:none;}
.pdp-faq .faq-item summary::after{content:'+';font-size:20px;line-height:1;color:var(--blue);flex:none;}
.pdp-faq .faq-item[open] summary::after{content:'2';}
.pdp-faq .faq-a{padding:0 18px 16px;color:var(--muted);line-height:1.7;}

/* ---------- Category filters: bottom sheet on mobile ---------- */
.filters-toggle{display:none;}
.filter-sheet-close{display:none;}

@media (max-width:900px){
	.filters-toggle{
		display:inline-flex;align-items:center;gap:8px;margin:0 0 18px;
		padding:11px 18px;border:1px solid var(--line);border-radius:999px;
		background:#fff;color:var(--navy);font:inherit;font-weight:600;cursor:pointer;
	}
	.filter-backdrop{
		position:fixed;inset:0;z-index:119;background:rgba(15,52,96,.45);
		opacity:0;transition:opacity .25s ease;
	}
	.filter-backdrop.open{opacity:1;}

	/*
	 * A bottom sheet rather than a side panel: it slides on the block axis,
	 * so it needs no RTL mirroring, and it is the pattern the guideline
	 * asks for on mobile.
	 */
	.filter-rail{
		position:fixed;left:0;right:0;bottom:0;z-index:120;
		max-height:80vh;overflow-y:auto;
		background:#fff;border-radius:18px 18px 0 0;
		padding:22px 20px calc(22px + env(safe-area-inset-bottom));
		box-shadow:0 -18px 50px rgba(15,52,96,.22);
		transform:translateY(100%);transition:transform .28s ease;
	}
	.filter-rail.open{transform:none;}

	.filter-sheet-close{
		display:grid;place-items:center;position:absolute;top:14px;inset-inline-end:14px;
		width:34px;height:34px;border:1px solid var(--line);border-radius:50%;
		background:#fff;color:var(--navy);cursor:pointer;font-size:14px;line-height:1;
	}
	body.filters-open{overflow:hidden;}
}

/* ---------- Header: the secondary "Order Gas" action ---------- */
.header-gas-btn{display:inline-flex;align-items:center;gap:7px;}
.header-gas-btn svg{width:16px;height:16px;flex:none;}
/*
 * The header wrap is capped at 1240px at every viewport size, so a wider
 * screen buys no extra room. With the second action button the row needs
 * 1322px (121 logo + 640 nav + 521 actions + 40 gaps), which overflowed
 * by 82px and pushed "Contact" on top of the search icon.
 *
 * Rather than hide anything, that 82px is reclaimed from padding that was
 * never load-bearing: the bar gap, the nav items and the new button. Only
 * applied where both buttons are shown, so the mobile header is untouched.
 */
@media (min-width:1101px){
	/*
	 * Restoring the wrap's 28px inline padding on .header-inner (it had
	 * been wiped by a padding shorthand) took 56px out of this row and
	 * left only 5px between the nav and the actions. Trimmed a little
	 * further here so the row keeps a usable margin at every width - the
	 * wrap is capped at 1240px, so a wider screen never adds room.
	 */
	.header-inner{gap:10px;}
	.main-nav > li > a{padding-left:4px;padding-right:4px;}
	.header-gas-btn{padding-left:12px;padding-right:12px;}
}

/*
 * Above 1300px there is real slack the 1240px wrap cap was leaving
 * unused - give the header row its own wider ceiling here so the nav
 * links can breathe, instead of everything staying pinned to the tight
 * budget above. Narrower screens keep the trimmed layout untouched.
 */
@media (min-width:1300px){
	.header-inner{max-width:1360px;gap:24px;}
	.main-nav{gap:18px;}
	.main-nav > li > a{padding-left:14px;padding-right:14px;}
}

/*
 * Hidden only below 760px, where the fixed mobile bar takes over. It used
 * to hide at 1100px while that bar only appears at 760px, leaving a band
 * of tablet widths with no Order Gas anywhere. The main nav is already
 * collapsed by then, so there is room for it.
 */
@media (max-width:760px){.header-gas-btn{display:none;}}

/* ---------- Mobile drawer: action buttons ---------- */
.mnav-actions{
	display:grid;gap:10px;margin-top:22px;padding-top:20px;
	border-top:1px solid var(--line);
}
.mnav-actions .btn{width:100%;justify-content:center;display:inline-flex;align-items:center;gap:8px;}
.mnav-actions .btn svg{width:16px;height:16px;flex:none;}

/* ---------- Uploaded logo lockup ---------- */
.logo--image{padding:0;gap:0;}
/*
 * The Sept 2026 lockup files carry a lot of transparent canvas above and
 * below the visible mark+wordmark (~55% of the file's height is actual
 * content), unlike the Aug 2026 files these heights were first tuned
 * against. Sized up by roughly 1/0.55 from the original 38/54/30/32px so
 * the visible logo reads at the size those numbers were chosen for,
 * rather than shrinking to match the new files' padding.
 */
.logo--image img{width:auto;height:84px;max-width:none;display:block;}

/*
 * No white chip any more: the footer now uses the light version of the
 * lockup, which was made for a dark ground, and the drawer head is white
 * so it takes the standard dark one.
 */
.site-footer .logo--image img{height:100px;}
.mnav-head .logo--image img{height:55px;}

@media (max-width:600px){
	.logo--image img{height:70px;}
}

/* ---------- Quote form: lines carried in from the basket ---------- */
.quote-row--preset .quote-row__grid{grid-template-columns:1fr 110px 34px;}
.quote-row__name{
	display:flex;align-items:center;gap:10px;min-height:44px;
	padding:6px 12px;border:1px solid var(--line);border-radius:10px;
	background:#f7f9fc;font-weight:600;color:var(--navy);line-height:1.35;
}
.quote-row__name img{
	width:34px;height:34px;object-fit:contain;flex:none;
	background:#fff;border-radius:6px;
}
@media (max-width:640px){
	.quote-row--preset .quote-row__grid{grid-template-columns:1fr 84px 30px;}
	.quote-row__name{font-size:.9rem;}
}

/* ---------- Language switcher (scales past two languages) ---------- */
.lang-switch{position:relative;padding:0;border:0;}
.lang-switch__toggle{
	display:flex;align-items:center;gap:5px;padding:8px 10px;border-radius:999px;
	font:inherit;font-size:.78rem;font-weight:700;line-height:1;
	border:1px solid var(--line);background:#fff;color:var(--ink-soft);
	white-space:nowrap;cursor:pointer;
}
.lang-switch__toggle:hover{border-color:var(--blue);color:var(--navy);}
.lang-switch__toggle svg{width:14px;height:14px;flex:none;}
.lang-switch__toggle svg:last-child{width:12px;height:12px;transition:transform .18s ease;}
.lang-switch.open .lang-switch__toggle svg:last-child{transform:rotate(180deg);}
.lang-switch.open .lang-switch__toggle{border-color:var(--blue);color:var(--navy);}

.lang-menu{
	/*
	 * Above the sticky header's z-index of 200. The strip sits directly on
	 * top of the header, so at 120 the menu opened *behind* it and read as
	 * a blank white panel - the header painted straight over everything
	 * below its top edge.
	 */
	position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:400;
	min-width:190px;margin:0;padding:6px;list-style:none;
	background:#fff;border:1px solid rgba(15,52,96,.14);border-radius:12px;
	box-shadow:0 20px 46px rgba(8,32,64,.26), 0 2px 6px rgba(8,32,64,.10);
	opacity:0;visibility:hidden;transform:translateY(-6px);
	transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.lang-switch.open .lang-menu{opacity:1;visibility:visible;transform:none;}
/* Repeated at strip specificity so the move into the top strip cannot
   leave the open state outranked. */
.trust-bar__utils .lang-switch.open .lang-menu{opacity:1;visibility:visible;transform:none;}
.lang-menu li{margin:0;}
.lang-menu__item{
	display:flex;align-items:center;justify-content:space-between;gap:14px;
	padding:9px 12px;border-radius:8px;text-decoration:none;
	color:var(--navy);font-size:.9rem;font-weight:600;
}
a.lang-menu__item:hover{background:var(--bg);}
.lang-menu__code{font-size:.72rem;font-weight:700;color:var(--ink-soft);letter-spacing:.04em;}
.lang-menu__item.is-current{background:var(--bg);color:var(--blue);}
.lang-menu__item.is-current .lang-menu__code{color:var(--blue);}

/* In the mobile drawer it is a plain row of options, not a dropdown. */
.mnav-langs{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}
.mnav-langs a, .mnav-langs span{
	padding:8px 14px;border:1px solid var(--line);border-radius:999px;
	font-size:.85rem;font-weight:600;color:var(--navy);text-decoration:none;
}
.mnav-langs .is-current{background:var(--navy);border-color:var(--navy);color:#fff;}
