/*
Theme Name: Green Idea
Theme URI: https://greenidea.af
Author: Green Idea Tech
Description: Quote-based WooCommerce storefront theme for Green Idea Tech. LTR and RTL ready (logical CSS properties plus rtl.css), dark mode aware, translation ready.
Version: 1.1.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenidea
Domain Path: /languages
Tags: e-commerce, rtl-language-support, translation-ready, custom-logo, custom-menu
*/

/* Green Idea Tech: storefront theme.
   Layout concept: quiet white catalogue, brand green reserved for actions and one hero panel.
   All horizontal spacing uses logical properties so the same CSS serves LTR and RTL. */
:root {
  --bg: #ffffff;
  --surface: #f4f8f5;
  --surface-2: #e9f1eb;
  --ink: #0d1b13;
  --muted: #566559;
  --line: #dfe8e1;
  --brand: #0aa650;
  --brand-strong: #078a41;
  --brand-tint: #e5f6ec;
  --on-brand: #ffffff;
  --band: #0b2418;
  --band-ink: #e3f0e7;
  --band-muted: #9db8a6;
  --band-line: #1e3a2a;
  --shadow: 0 1px 2px rgba(13, 27, 19, .06), 0 14px 30px -16px rgba(13, 27, 19, .22);
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a130e; --surface: #101b14; --surface-2: #16251b; --ink: #e7f0ea; --muted: #9baea1; --line: #213127;
    --brand-strong: #34c877; --brand-tint: #11301f;
    --band: #07120c; --band-ink: #e3f0e7; --band-muted: #86a18f; --band-line: #1a2e22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a130e; --surface: #101b14; --surface-2: #16251b; --ink: #e7f0ea; --muted: #9baea1; --line: #213127;
  --brand-strong: #34c877; --brand-tint: #11301f;
  --band: #07120c; --band-ink: #e3f0e7; --band-muted: #86a18f; --band-line: #1a2e22;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(44px, 6vw, 84px); }
.section.tight { padding-block: clamp(28px, 4vw, 48px); }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-strong); }
.ico { width: 1em; height: 1em; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .18s, box-shadow .2s;
  white-space: nowrap;
}
.btn .ico { font-size: 18px; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-brand-outline { border-color: var(--brand); color: var(--brand-strong); background: transparent; }
.btn-brand-outline:hover { background: var(--brand); color: var(--on-brand); }
.btn-light { background: var(--on-brand); color: #0b2418; }
.btn-light:hover { background: var(--brand-tint); }
.btn-line-light { border-color: var(--band-line); color: var(--band-ink); }
.btn-line-light:hover { border-color: var(--brand); color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--brand-strong); }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Top bar */
.topbar { background: var(--band); color: var(--band-muted); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; }
.tb-addr, .tb-links { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tb-links { gap: 20px; }
.tb-links a { display: inline-flex; align-items: center; gap: 6px; }

/* Header */
.hdr-main { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-block: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 24px; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.03em; line-height: 1; }
.logo-text small { display: block; margin-top: 4px; font-family: var(--font-body); font-weight: 600; font-size: 10.5px; letter-spacing: .22em; color: var(--brand-strong); }
.hdr-search { display: flex; align-items: center; height: 48px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); max-width: 640px; width: 100%; justify-self: center; overflow: hidden; }
.hdr-search:focus-within { border-color: var(--brand); }
.hdr-search select { border: 0; background: var(--surface); height: 100%; padding: 0 14px; font-size: 14px; border-inline-end: 1.5px solid var(--line); max-width: 170px; color: var(--ink); }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: transparent; height: 100%; padding: 0 14px; outline: none; }
.hdr-search button { border: 0; background: var(--brand); color: #fff; width: 52px; height: 100%; display: grid; place-items: center; font-size: 20px; }
.hdr-search button:hover { background: var(--brand-strong); }
.hdr-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 21px; background: transparent; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand-strong); }
.nav-toggle { display: none; }

.navbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 8px; min-height: 54px; }
.cat-wrap { position: relative; }
.cat-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding-block: 0; padding-inline: 0 18px; border: 0; background: transparent; font-weight: 600; font-size: 15px; }
.cat-btn .ico { font-size: 20px; color: var(--brand); }
.cat-menu { display: none; position: absolute; top: 100%; inset-inline-start: 0; z-index: 20; width: 300px; max-height: min(70vh, 560px); overflow-y: auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; }
.cat-menu.open { display: block; }
.cat-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; font-size: 15px; }
.cat-menu a:hover { background: var(--brand-tint); color: var(--brand-strong); }
.cat-menu .ico { font-size: 20px; color: var(--brand); }
.cat-menu .sub { padding-inline-start: 42px; font-size: 14px; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 8px; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--brand-strong); }
.nav-links .current-menu-item > a, .nav-links .current-menu-ancestor > a, .nav-links .current_page_item > a { color: var(--brand-strong); background: var(--brand-tint); }
.nav-call { margin-inline-start: auto; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.nav-call strong { color: var(--ink); font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5vw, 72px); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 700; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 52ch; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; font-size: 14.5px; color: var(--muted); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ico { color: var(--brand); font-size: 18px; }
.hero-art {
  position: relative; aspect-ratio: 5 / 4.4; border-radius: 22px; overflow: hidden; background: var(--brand);
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.4px); background-size: 20px 20px;
}
.hero-art::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -18%; bottom: -26%; background: rgba(4, 60, 28, .28); }
.hero-card { position: absolute; z-index: 2; background: var(--bg); color: var(--ink); border-radius: 16px; padding: 14px; box-shadow: 0 20px 40px -18px rgba(3, 40, 18, .55); display: grid; gap: 12px; }
.hero-card .pimg { border: 0; }
.hero-card b { display: block; font-family: var(--font-display); font-size: 15px; letter-spacing: -.02em; }
.hero-card span { font-size: 13px; color: var(--muted); }
.hero-card.a { width: 54%; inset-inline-start: 7%; top: 9%; }
.hero-card.b { width: 40%; inset-inline-end: 7%; bottom: 8%; }
.hero-card .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.chip-req { font-size: 12px; font-weight: 600; color: var(--brand-strong); background: var(--brand-tint); padding: 4px 10px; border-radius: 999px; }

/* Section head */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-top: 8px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); transition: border-color .15s, box-shadow .25s, transform .25s; }
.cat-tile .ci { width: 50px; height: 50px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font-size: 26px; transition: background .15s, color .15s; }
.cat-tile b { font-family: var(--font-display); font-size: 16px; letter-spacing: -.02em; font-weight: 600; }
.cat-tile small { color: var(--muted); font-size: 13.5px; display: block; margin-top: 2px; }
.cat-tile:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.cat-tile:hover .ci { background: var(--brand); color: #fff; }

/* Tabs */
.tabs-nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tab { border: 0; background: transparent; padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--brand-strong); border-bottom-color: var(--brand); }
.tab-panel[hidden] { display: none; }

/* Product cards */
.pgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); transition: border-color .15s, box-shadow .25s, transform .25s; }
.pcard:hover { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); box-shadow: var(--shadow); transform: translateY(-4px); }
.pimg { display: grid; place-items: center; aspect-ratio: 1 / .86; background: var(--surface); color: var(--brand); border-bottom: 1px solid var(--line); position: relative; }
.pimg svg { width: 42%; height: auto; stroke-width: 1.1; }
.pimg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 62%); pointer-events: none; }
.pbody { display: flex; flex-direction: column; gap: 6px; padding: 16px; flex: 1; }
.pcat { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-strong); }
.ptitle { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.ptitle a:hover { color: var(--brand-strong); }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.pfoot .more { font-size: 14px; color: var(--muted); font-weight: 500; }
.pfoot .more:hover { color: var(--brand-strong); }

/* Power band */
.power { background: var(--band); color: var(--band-ink); border-radius: 22px; padding: clamp(28px, 5vw, 60px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.power .eyebrow { color: var(--brand); }
.power h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-top: 12px; color: #fff; }
.power p { margin-top: 16px; color: var(--band-muted); max-width: 48ch; }
.power .hero-cta { margin-top: 26px; }
.power-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.power-tiles a { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px solid var(--band-line); border-radius: var(--radius); font-weight: 600; transition: border-color .15s, background .15s, transform .2s; }
.power-tiles a:hover { border-color: var(--brand); background: rgba(10, 166, 80, .1); transform: translateY(-2px); }
.power-tiles .ico { font-size: 28px; color: var(--brand); }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.why > div { border-top: 1.5px solid var(--line); padding-top: 22px; }
.why .ico { font-size: 30px; color: var(--brand); }
.why h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; margin-top: 16px; letter-spacing: -.01em; }
.why p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Brands */
.brands { display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: center; justify-content: space-between; padding-block: 34px; border-block: 1px solid var(--line); }
.brands span { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.03em; color: var(--muted); opacity: .85; }

/* CTA */
.cta { background: var(--surface); border-radius: 22px; padding: clamp(26px, 4.5vw, 52px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 22ch; }
.cta p { color: var(--muted); margin-top: 10px; max-width: 52ch; }
.cta .hero-cta { margin-top: 0; }

/* Footer */
.footer { background: var(--band); color: var(--band-muted); margin-top: clamp(44px, 6vw, 84px); }
.news { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 34px; border-bottom: 1px solid var(--band-line); }
.news h3 { color: #fff; font-size: 20px; }
.news p { font-size: 14.5px; margin-top: 4px; }
.news-form { width: min(440px, 100%); }
.news form { display: flex; gap: 8px; width: 100%; }
.news input:not([type="submit"]) { flex: 1; min-width: 0; height: 46px; border-radius: var(--radius-sm); border: 1.5px solid var(--band-line); background: transparent; color: #fff; padding: 0 14px; }
.news input:not([type="submit"]):focus { outline: none; border-color: var(--brand); }
.news input::placeholder { color: var(--band-muted); }
.fcols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 48px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 15px; font-weight: 600; margin-bottom: 16px; letter-spacing: 0; }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: #fff; }
.footer .logo-text { color: #fff; }
.footer .about { margin-top: 16px; font-size: 14.5px; max-width: 38ch; }
.fcontact li { display: flex; gap: 10px; font-size: 14.5px; }
.fcontact .ico { font-size: 18px; color: var(--brand); margin-top: 2px; }
.fbottom { border-top: 1px solid var(--band-line); padding-block: 20px; font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); padding-block: 22px 6px; }
.crumbs a:hover { color: var(--brand-strong); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs i { font-style: normal; opacity: .5; }

/* Shop */
.page-head { padding-block: 10px 28px; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 60ch; }
.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 44px; align-items: start; }
.filters-wrap > summary { display: none; list-style: none; }
.fgroup { padding-block: 20px; border-bottom: 1px solid var(--line); }
.fgroup:first-child { padding-top: 0; }
.fgroup h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.flist a { display: flex; align-items: center; justify-content: space-between; padding: 7px 10px; margin-inline: -10px; border-radius: 8px; font-size: 15px; }
.flist a:hover { background: var(--surface); }
.flist a.on { background: var(--brand-tint); color: var(--brand-strong); font-weight: 600; }
.flist .sub a { padding-inline-start: 24px; font-size: 14.5px; color: var(--muted); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.toolbar .count { color: var(--muted); font-size: 15px; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.sort select { height: 42px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); padding: 0 12px; color: var(--ink); }

/* Tag archive */
.tag-hero { background: var(--surface); border-radius: 22px; padding: clamp(26px, 4.5vw, 52px); margin-top: 10px; }
.tag-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 10px; }
.tag-hero p { color: var(--muted); margin-top: 12px; max-width: 60ch; }
.tag-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 22px; }
.tag-meta .lbl { font-size: 14px; color: var(--muted); margin-inline-end: 4px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 14px; font-weight: 500; }
.chip:hover { border-color: var(--brand); color: var(--brand-strong); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Single product */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-top: 18px; }
.info h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--brand-strong); margin-top: 16px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.info .lead { color: var(--muted); margin-top: 16px; font-size: 17px; max-width: 54ch; }
.ticks { margin-top: 20px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.ticks .ico { color: var(--brand); font-size: 20px; margin-top: 2px; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.buy .btn { flex: 1 1 200px; }
.meta { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 14.5px; }
.meta div { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.meta dt { width: 84px; color: var(--muted); }
.meta dd { margin: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.meta .chip { height: 30px; font-size: 13.5px; padding: 0 12px; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.assure div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); line-height: 1.3; }
.assure .ico { font-size: 24px; color: var(--brand); }
.prose { max-width: 74ch; color: var(--ink); display: grid; gap: 14px; }
.prose p { color: var(--muted); }
.prose h3 { font-size: 18px; margin-top: 10px; }
.spec, .woocommerce-product-attributes { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td, .woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: start; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th, .woocommerce-product-attributes th { width: 38%; font-weight: 500; color: var(--muted); background: var(--surface); }

/* Quote dialog */
dialog.rq { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
dialog.rq::backdrop { background: rgba(7, 18, 12, .6); }
.rq-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 22px 24px 0; }
.rq-head h3 { font-size: 22px; }
.rq-head p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }
.rq-close { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: transparent; font-size: 18px; display: grid; place-items: center; flex: none; }
.rq-close:hover { border-color: var(--brand); color: var(--brand-strong); }
.rq form { display: grid; gap: 14px; padding: 20px 24px 24px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); padding: 11px 14px; }
.field input { height: 46px; padding-block: 0; }
.field input[readonly] { background: var(--surface); color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rq-done { display: none; padding: 34px 24px 30px; text-align: start; }
.rq-done .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font-size: 28px; }
.rq-done h3 { margin-top: 18px; font-size: 22px; }
.rq-done p { color: var(--muted); margin-top: 8px; }
.rq-done .btn { margin-top: 22px; }
dialog.rq.sent form, dialog.rq.sent .rq-head { display: none; }
dialog.rq.sent .rq-done { display: block; }

/* Responsive */
@media (max-width: 1100px) {
  .pgrid { --cols: 3 !important; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .fcols { grid-template-columns: 1fr 1fr; }
  .nav-call { display: none; }
}
@media (max-width: 900px) {
  .hdr-main { grid-template-columns: auto 1fr auto; gap: 12px; }
  .hdr-main .hdr-search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .hdr-search select { display: none; }
  .nav-toggle { display: grid; }
  .navbar .nav-links { display: none; }
  .navbar.open .nav-links { display: flex; flex-direction: column; align-items: stretch; position: absolute; inset-inline: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 14px; margin: 0; z-index: 15; }
  .nav-row { position: static; }
  .navbar { position: relative; }
  .hero, .power, .pdp, .shop { grid-template-columns: minmax(0, 1fr); }
  .shop { gap: 24px; }
  .hero-art { max-width: 560px; }
  .why { grid-template-columns: 1fr 1fr; }
  .filters-wrap > summary { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; cursor: pointer; }
  .filters-wrap[open] > summary { margin-bottom: 18px; }
  .tb-addr { display: none; }
  .topbar-in { justify-content: center; }
}
@media (max-width: 820px) {
  .pgrid { --cols: 2 !important; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pgrid { gap: 12px; }
  .pbody { padding: 12px; }
  .ptitle { font-size: 15px; }
  .pfoot .more { display: none; }
  .pfoot .btn { width: 100%; }
  .why, .fcols, .power-tiles, .two { grid-template-columns: minmax(0, 1fr); }
  .assure { grid-template-columns: minmax(0, 1fr); }
  .hdr-actions .btn { display: none; }
  .tb-links { gap: 14px; }
  .brands { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* ==========================================================================
   Theme additions (WordPress + WooCommerce)
   ========================================================================== */
.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }
.skip-link:focus { clip-path: none; width: auto; height: auto; margin: 0; padding: 12px 18px; background: var(--brand); color: #fff; z-index: 100; inset-block-start: 8px; inset-inline-start: 8px; border-radius: 8px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.custom-logo, .logo-img img { display: block; height: var(--logo-h, 64px); max-height: none; width: auto; }
.logo-img { display: inline-block; }
/* The logo has dark lettering, so on the dark footer it sits on a white tile. */
.footer .logo-img, .footer .custom-logo-link { display: inline-block; background: #fff; padding: 8px 14px; border-radius: var(--radius); }
.footer .custom-logo, .footer .logo-img img { height: calc(var(--logo-h, 64px) * .9); }
@media (max-width: 640px) { .custom-logo, .logo-img img { height: calc(var(--logo-h, 64px) * .8); } .footer .custom-logo, .footer .logo-img img { height: calc(var(--logo-h, 64px) * .75); } }
.power--solo { grid-template-columns: minmax(0, 1fr); }
.empty-state { border: 1px dashed var(--line); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); text-align: center; }
.empty-state p { color: var(--muted); margin: 10px auto 22px; max-width: 46ch; }
.empty-state .hero-cta { justify-content: center; margin-top: 0; }

/* Images inside product tiles */
.pimg.has-img { background: #fff; }
.pimg.has-img::after { display: none; }
.pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.pcard:hover .pimg img { transform: scale(1.06); }
.flist .n { color: var(--muted); font-size: 13px; }

/* Quote dialog extras */
.rq-error { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: #fdecea; color: #8a1f17; font-size: 14px; }
.rq-error[hidden] { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; }
.news button, .news input[type="submit"] { height: 46px; padding: 0 20px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 600; }

/* Generic page / post content */
.entry-content, .woocommerce-Tabs-panel--description { max-width: 74ch; }
.entry-content.is-wide { max-width: none; }
.entry-content > * + *, .woocommerce-Tabs-panel--description > * + * { margin-top: 14px; }
.entry-content h2, .entry-content h3, .woocommerce-Tabs-panel--description h3 { margin-top: 28px; font-size: 1.3rem; }
.entry-content ul, .entry-content ol, .woocommerce-Tabs-panel--description ul { padding-inline-start: 1.4em; }
.entry-content ul, .woocommerce-Tabs-panel--description ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { height: auto; border-radius: var(--radius-sm); }
.woocommerce-Tabs-panel--description p { color: var(--muted); }
.post-item { padding-block: 22px; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.3rem; }
.post-item p { color: var(--muted); margin-top: 8px; }
.navigation.pagination { margin-top: 32px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; }
.navigation.pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; }
.navigation.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Breadcrumb (WooCommerce) */
.crumbs > span:last-of-type { color: var(--ink); }

/* Shop toolbar, ordering, pagination */
.woocommerce-result-count { margin: 0; color: var(--muted); font-size: 15px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { height: 42px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); padding: 0 12px; color: var(--ink); }
.woocommerce-pagination { margin-top: 44px; }
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.woocommerce-pagination li .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }
.woocommerce-pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-strong); }
.woocommerce-pagination li .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.woocommerce-pagination li .page-numbers.dots { border: 0; }

/* Single product: gallery (WooCommerce flexslider markup) */
.pdp .woocommerce-product-gallery { position: relative; margin: 0; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.flex-control-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.flex-control-thumbs li { margin: 0; }
.flex-control-thumbs img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px; cursor: pointer; opacity: .7; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: var(--brand); }

/* Single product: summary */
.status.off { color: var(--muted); }
.status.off::before { background: var(--muted); }
.info .pcat { display: inline-block; }
.info .woocommerce-product-details__short-description { color: var(--muted); margin-top: 16px; font-size: 17px; max-width: 54ch; }
.woocommerce-product-details__short-description > * + * { margin-top: 12px; }
.woocommerce-product-details__short-description ul { display: grid; gap: 10px; margin-top: 20px; color: var(--ink); font-size: 15.5px; }
.woocommerce-product-details__short-description li { display: flex; gap: 12px; align-items: flex-start; }
.woocommerce-product-details__short-description li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; background: var(--brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.pdp-after { margin-top: clamp(40px, 6vw, 72px); }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 0 0 28px; padding: 0 0 1px; overflow-x: auto; overflow-y: hidden; }
.woocommerce-tabs ul.tabs a { display: block; padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.woocommerce-tabs ul.tabs a:hover { color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a { color: var(--brand-strong); border-bottom-color: var(--brand); }
.woocommerce-product-attributes td p { margin: 0; }
.related.products > h2, .upsells.products > h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin: clamp(40px, 6vw, 72px) 0 24px; }

/* WooCommerce basics: notices, forms, account pages */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 20px; padding: 14px 18px; border: 1px solid var(--line); border-inline-start: 4px solid var(--brand); border-radius: var(--radius-sm); background: var(--surface); }
.woocommerce-error { border-inline-start-color: #c0392b; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border: 0; border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-weight: 600; font-size: 15px; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--brand-strong); }
.woocommerce form .form-row { display: grid; gap: 6px; margin: 0 0 14px; }
.woocommerce form .form-row label { font-size: 13.5px; font-weight: 600; }
.woocommerce:not(body) input.input-text, .woocommerce:not(body) select, .woocommerce:not(body) textarea { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.woocommerce:not(body) textarea { height: auto; padding: 11px 14px; }
.woocommerce:not(body) input.input-text:focus, .woocommerce:not(body) textarea:focus { outline: none; border-color: var(--brand); }
.woocommerce .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.woocommerce:has(.woocommerce-MyAccount-navigation) { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; align-items: start; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; }
.woocommerce-MyAccount-navigation a:hover { background: var(--surface); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--brand-tint); color: var(--brand-strong); font-weight: 600; }
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; }
@media (max-width: 900px) {
  .woocommerce:has(.woocommerce-MyAccount-navigation), .woocommerce .col2-set { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Infinite scroll */
[hidden] { display: none !important; }
.inf-sentinel { min-height: 1px; padding-block: 8px; text-align: center; color: var(--muted); font-size: 14.5px; }
.inf-sentinel.loading { padding-block: 32px; }
.inf-sentinel.loading::before { content: ""; display: inline-block; width: 20px; height: 20px; margin-inline-end: 10px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; vertical-align: middle; animation: gi-spin .7s linear infinite; }
@keyframes gi-spin { to { transform: rotate(360deg); } }

/* Contact page */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.ccards { display: grid; gap: 14px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.ccard .ci { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font-size: 22px; flex: none; }
.ccard h3 { font-size: 17px; }
.ccard p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.ccard p a:not(.chip) { color: var(--ink); font-weight: 600; }
.clink { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--brand-strong); }
.clink:hover { text-decoration: underline; text-underline-offset: 3px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cform { padding: clamp(22px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 18px; background: var(--bg); box-shadow: var(--shadow); }
.cform h2 { font-size: 1.5rem; margin-bottom: 18px; }
.contact-form { display: grid; gap: 14px; }
.contact-form .field textarea { resize: vertical; min-height: 120px; }
.contact-ok { padding-block: 24px; }
.contact-ok .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font-size: 28px; }
.contact-ok h3 { margin-top: 18px; font-size: 22px; }
.contact-ok p { color: var(--muted); margin-top: 8px; }
.contact-extra { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .contact-form .two { grid-template-columns: minmax(0, 1fr); } }

.cmap { margin-bottom: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.cmap iframe { display: block; width: 100%; height: clamp(300px, 42vw, 460px); border: 0; }

/* Cloudflare Turnstile */
.gi-ts { min-height: 65px; }
.gi-ts iframe { max-width: 100%; }

/* ==========================================================================
   Motion: scroll reveal, hover polish, dialogs, hero.
   Everything here is off for visitors who ask for reduced motion, and content stays visible
   without JavaScript (the .js class is added by a tiny inline script, removed if main.js fails).
   Keep the reveal selector list in sync with REVEAL in assets/js/main.js.
   ========================================================================== */
.hero .eyebrow { display: inline-block; }
.btn:active { transform: scale(.98); }
.btn-primary:hover { box-shadow: 0 10px 20px -10px rgba(10, 166, 80, .6); }
.btn-outline:hover, .btn-brand-outline:hover { transform: translateY(-1px); }
.icon-btn, .chip, .nav-links a, .footer a, .ccard, .logo { transition: border-color .15s, background .15s, color .15s, transform .2s, box-shadow .2s; }
.icon-btn:hover { transform: translateY(-1px); }
.ccard:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.logo:hover { transform: scale(1.03); }
.field input, .field textarea, .hdr-search { transition: border-color .15s, box-shadow .2s; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 4px var(--brand-tint); }
.brands span { transition: opacity .2s, color .2s; }
.brands span:hover { opacity: 1; color: var(--ink); }

@keyframes gi-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes gi-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gi-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes gi-pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes gi-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes gi-pulse { 0% { box-shadow: 0 0 0 0 rgba(10, 166, 80, .5); } 70%, 100% { box-shadow: 0 0 0 9px rgba(10, 166, 80, 0); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Scroll reveal: JS adds .in when an element enters the viewport. */
  .js :is(.hero > div:first-child > *, .hero-art, .sec-head, .tabs-nav, .cat-tile, .pcard, .power, .power-tiles a, .why > div, .brands, .page-head, .tag-hero, .crumbs, .toolbar, .shop aside, .ccard, .cform, .cmap, .pdp .gallery, .pdp .info, .woocommerce-tabs, .related.products > h2, .post-item, .empty-state, .news, .fcols > div) { opacity: 0; }
  .js :is(.hero > div:first-child > *, .hero-art, .sec-head, .tabs-nav, .cat-tile, .pcard, .power, .power-tiles a, .why > div, .brands, .page-head, .tag-hero, .crumbs, .toolbar, .shop aside, .ccard, .cform, .cmap, .pdp .gallery, .pdp .info, .woocommerce-tabs, .related.products > h2, .post-item, .empty-state, .news, .fcols > div).in { opacity: 1; animation: gi-rise .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) backwards; }

  /* Hero cards drift gently. */
  .hero-card.a { animation: gi-float 6s ease-in-out infinite; }
  .hero-card.b { animation: gi-float 7s ease-in-out -2.5s infinite; }

  /* Dropdowns, mobile menu, dialog, tab panels. */
  .cat-menu.open { animation: gi-drop .18s ease-out; }
  .navbar.open .nav-links { animation: gi-drop .2s ease-out; }
  dialog.rq[open] { animation: gi-pop .25s cubic-bezier(.2, .8, .2, 1); }
  dialog.rq[open]::backdrop { animation: gi-fade .25s ease-out; }
  .tab-panel:not([hidden]) { animation: gi-fade .35s ease-out; }
  .contact-ok:not([hidden]) { animation: gi-pop .3s ease-out; }

  /* "In stock" dot pulses. */
  .status:not(.off)::before { animation: gi-pulse 2.2s ease-out infinite; }
}
