/*
Theme Name: White Goods Partner
Theme URI: https://whitegoodspartner.co.uk
Author: White Goods Partner
Description: Specialist washing machine bearing replacement theme for White Goods Partner, Sheffield. Workshop-only repairs for Samsung, LG, Haier, Hisense, Logik, Kenwood and Midea washing machines with serviceable (rozbieralne) tubs.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wgp
*/

/* =========================================================
   0. RESET & BASE
========================================================= */
:root{
  --navy:#0f2a4a;
  --navy-dark:#081a30;
  --orange:#ff6b35;
  --orange-dark:#e5551f;
  --grey-50:#f7f9fb;
  --grey-100:#eef1f5;
  --grey-300:#d7dee6;
  --grey-600:#5b6b7c;
  --text:#1c2b3a;
  --white:#ffffff;
  --radius:10px;
  --shadow:0 4px 18px rgba(15,42,74,0.08);
  --shadow-lg:0 12px 32px rgba(15,42,74,0.16);
  --maxw:1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--white);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; height:auto; display:block; }
/* Safety net: any inline SVG icon that isn't given an explicit size by a
   more specific rule below falls back to a sane, text-relative size instead
   of its raw (huge) intrinsic dimensions. */
svg{ width:1em; height:1em; vertical-align:-0.125em; }
a{ color:var(--navy); text-decoration:none; }
a:hover{ color:var(--orange); }
h1,h2,h3,h4{ font-family:var(--font); font-weight:800; line-height:1.2; color:var(--navy); margin:0 0 .6em; }
h1{ font-size:clamp(2rem,4vw,3rem); }
h2{ font-size:clamp(1.6rem,3vw,2.2rem); }
h3{ font-size:1.3rem; }
p{ margin:0 0 1em; color:var(--grey-600); }
ul{ margin:0 0 1em; padding-left:1.2em; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.section{ padding:72px 0; }
.section-tight{ padding:48px 0; }
.section-alt{ background:var(--grey-50); }
.section-navy{ background:var(--navy); color:var(--white); }
.section-navy h2, .section-navy h3{ color:var(--white); }
.section-navy p{ color:#c7d3e0; }
.text-center{ text-align:center; }
.eyebrow{
  display:inline-block; text-transform:uppercase; letter-spacing:.08em;
  font-weight:700; font-size:.78rem; color:var(--orange); margin-bottom:.6em;
}
.lead{ font-size:1.15rem; color:var(--grey-600); max-width:720px; }
.mx-auto{ margin-left:auto; margin-right:auto; }

/* =========================================================
   1. BUTTONS
========================================================= */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 26px; border-radius:8px; font-weight:700; font-size:1rem;
  border:2px solid transparent; cursor:pointer; transition:all .15s ease;
  white-space:nowrap;
}
.btn-orange{ background:var(--orange); color:var(--white); }
.btn-orange:hover{ background:var(--orange-dark); color:var(--white); transform:translateY(-1px); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--navy-dark); color:var(--white); }
.btn-outline{ background:transparent; border-color:var(--white); color:var(--white); }
.btn-outline:hover{ background:var(--white); color:var(--navy); }
.btn-outline-navy{ background:transparent; border-color:var(--navy); color:var(--navy); }
.btn-outline-navy:hover{ background:var(--navy); color:var(--white); }
.btn-sm{ padding:9px 16px; font-size:.9rem; }
.btn-row{ display:flex; gap:14px; flex-wrap:wrap; }
.btn svg{ width:18px; height:18px; flex:none; }

/* =========================================================
   2. TOP BAR
========================================================= */
.topbar{
  background:var(--navy-dark); color:#cfd9e6; font-size:.85rem;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px; }
.topbar a{ color:#cfd9e6; }
.topbar a:hover{ color:var(--orange); }
.topbar-links{ display:flex; gap:18px; flex-wrap:wrap; align-items:center; }
.topbar-links span{ opacity:.85; }

/* =========================================================
   3. HEADER / NAV
========================================================= */
.site-header{
  background:var(--white); position:sticky; top:0; z-index:100;
  box-shadow:0 2px 10px rgba(15,42,74,0.06);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; gap:20px; }
.site-branding{ display:flex; align-items:center; gap:10px; }
.site-title{ font-size:1.3rem; font-weight:800; color:var(--navy); margin:0; letter-spacing:-.01em; }
.site-title span{ color:var(--orange); }
.site-tagline{ font-size:.68rem; color:var(--grey-600); text-transform:uppercase; letter-spacing:.03em; margin-top:-2px; white-space:nowrap; }

.main-nav ul{ list-style:none; display:flex; gap:6px; margin:0; padding:0; align-items:center; }
.main-nav li{ position:relative; }
.main-nav a{
  display:block; padding:10px 14px; font-weight:600; color:var(--navy);
  border-radius:6px; font-size:.96rem;
}
.main-nav a:hover, .main-nav .current-menu-item > a{ background:var(--grey-100); color:var(--orange); }

.main-nav li.menu-item-has-children > a{ white-space:nowrap; display:inline-flex; align-items:center; gap:5px; }
.main-nav li.menu-item-has-children > a::after{
  content:""; display:inline-block; width:6px; height:6px;
  border-right:2px solid currentColor; border-bottom:2px solid currentColor;
  transform:rotate(45deg); margin-top:-3px;
}
.main-nav .sub-menu{
  list-style:none; margin:0; padding:8px; position:absolute; top:100%; left:0;
  background:var(--white); box-shadow:var(--shadow-lg); border-radius:8px; min-width:240px;
  opacity:0; visibility:hidden; transform:translateY(6px); transition:all .15s ease; z-index:50;
}
.main-nav li:hover > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.main-nav .sub-menu a{ padding:9px 12px; }

.header-cta{ display:flex; align-items:center; gap:10px; flex:none; }
.header-cta .phone{ display:flex; flex-direction:column; text-align:right; }
.header-cta .phone strong{ color:var(--navy); font-size:1.05rem; }
.header-cta .phone small{ color:var(--grey-600); font-size:.72rem; }

.menu-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; color:var(--navy); flex:none; line-height:0; }
.menu-toggle svg{ width:26px; height:26px; display:block; }

/* =========================================================
   4. STICKY MOBILE CTA BAR
========================================================= */
.mobile-cta-bar{
  display:none; position:fixed; bottom:0; left:0; right:0; z-index:200;
  background:var(--white); box-shadow:0 -4px 16px rgba(0,0,0,.12);
}
.mobile-cta-bar .row{ display:flex; }
.mobile-cta-bar a{
  flex:1; text-align:center; padding:14px 8px; font-weight:700; font-size:.92rem;
  display:flex; align-items:center; justify-content:center; gap:6px;
}
.mobile-cta-bar .call{ background:var(--orange); color:var(--white); }
.mobile-cta-bar .whatsapp{ background:#25D366; color:var(--white); }
.mobile-cta-bar svg{ width:18px; height:18px; }

/* =========================================================
   5. HERO
========================================================= */
.hero{
  background:linear-gradient(120deg,var(--navy) 0%, var(--navy-dark) 100%);
  color:var(--white); position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; right:-120px; top:-120px; width:420px; height:420px;
  background:radial-gradient(circle, rgba(255,107,53,.25) 0%, rgba(255,107,53,0) 70%);
}
.hero-inner{ padding:80px 0 70px; position:relative; z-index:2; }
.hero-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:36px; align-items:center; }
.hero-visual{ display:flex; justify-content:center; }
.hero-visual svg{ width:100%; max-width:360px; height:auto; }
.hero h1{ color:var(--white); max-width:820px; }
.hero .lead{ color:#cfd9e6; font-size:1.2rem; max-width:640px; }
.hero-badges{ display:flex; gap:22px; flex-wrap:wrap; margin-top:34px; }
.hero-badges .badge{ display:flex; align-items:center; gap:8px; font-weight:600; font-size:.92rem; color:#e6ecf3; }
.hero-badges svg{ width:20px; height:20px; color:var(--orange); flex:none; }
.hero-brands{ margin-top:38px; padding-top:26px; border-top:1px solid rgba(255,255,255,.15); }
.hero-brands span{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; color:#9fb0c3; margin-bottom:10px; }
.hero-brands .brand-pills{ display:flex; gap:10px; flex-wrap:wrap; }
.hero-brands .brand-pills a{
  background:rgba(255,255,255,.08); color:#fff; padding:6px 14px; border-radius:20px; font-size:.85rem; font-weight:600;
  border:1px solid rgba(255,255,255,.15);
}
.hero-brands .brand-pills a:hover{ background:var(--orange); border-color:var(--orange); }

/* =========================================================
   6. CARDS / GRIDS
========================================================= */
.grid{ display:grid; gap:26px; }
.grid-2{ grid-template-columns:repeat(2,1fr); }
.grid-3{ grid-template-columns:repeat(3,1fr); }
.grid-4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:var(--white); border:1px solid var(--grey-300); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow); transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.card .icon{
  width:48px; height:48px; border-radius:10px; background:rgba(255,107,53,.12);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.card .icon svg{ width:24px; height:24px; color:var(--orange); }
.card h3{ margin-bottom:.4em; display:flex; align-items:center; gap:8px; }
.card h3 svg{ width:22px; height:22px; color:var(--orange); flex:none; }
.card p{ margin-bottom:.6em; font-size:.95rem; }
.card a.card-link{ font-weight:700; font-size:.9rem; color:var(--orange); }

.brand-card{
  background:var(--white); border:1px solid var(--grey-300); border-radius:var(--radius);
  padding:24px; text-align:center; transition:all .15s ease; display:flex; flex-direction:column; align-items:center; gap:8px;
}
.brand-card:hover{ border-color:var(--orange); box-shadow:var(--shadow-lg); transform:translateY(-3px); }
.brand-card .brand-name{ font-weight:800; font-size:1.15rem; color:var(--navy); }
.brand-card p{ font-size:.85rem; margin-bottom:.4em; }
.brand-card .card-link{ margin-top:auto; }

.post-card{ display:flex; flex-direction:column; padding:0; overflow:hidden; }
.post-card-thumb{ display:block; aspect-ratio:16/10; overflow:hidden; background:var(--grey-100); }
.post-card-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.post-card h3{ padding:0 22px; margin:16px 0 .3em; font-size:1.05rem; }
.post-card > p{ padding:0 22px; }
.post-card > .card-link{ padding:0 22px 22px; margin-top:auto; }
.post-card-meta{
  padding:18px 22px 0; font-size:.78rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.03em; color:var(--grey-600);
}
.post-card-meta a{ color:var(--orange); }

/* =========================================================
   7. PROCESS / STEPS
========================================================= */
.steps{ counter-reset:step; display:grid; gap:22px; grid-template-columns:repeat(3,1fr); }
.step{
  background:var(--white); border:1px solid var(--grey-300); border-radius:var(--radius); padding:28px 24px;
  position:relative; box-shadow:var(--shadow);
}
.step::before{
  counter-increment:step; content:counter(step);
  width:40px; height:40px; border-radius:50%; background:var(--orange); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.05rem;
  margin-bottom:14px;
}
.steps-flow{ display:flex; align-items:center; justify-content:center; gap:8px; flex-wrap:wrap; margin:0 0 40px; }
.steps-flow .flow-item{
  background:var(--grey-100); padding:10px 18px; border-radius:20px; font-weight:700; font-size:.85rem; color:var(--navy);
}
.steps-flow .flow-arrow{ color:var(--orange); font-weight:800; }

/* =========================================================
   8. WHY CHOOSE US LIST
========================================================= */
.check-list{ list-style:none; padding:0; margin:0; display:grid; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-weight:600; color:var(--text); }
.check-list svg{ width:22px; height:22px; color:var(--orange); flex:none; margin-top:1px; }

/* =========================================================
   9. FAQ / ACCORDION
========================================================= */
.faq-item{ border-bottom:1px solid var(--grey-300); padding:6px 0; }
.faq-item summary{
  cursor:pointer; font-weight:700; color:var(--navy); padding:14px 4px; list-style:none;
  display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:1.02rem;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; color:var(--orange); flex:none; }
.faq-item[open] summary::after{ content:"−"; }
.faq-item .faq-answer{ padding:0 4px 18px; color:var(--grey-600); }

/* =========================================================
   10. PROBLEM / SYMPTOM BLOCKS
========================================================= */
.problem-block{
  background:var(--white); border:1px solid var(--grey-300); border-left:5px solid var(--orange);
  border-radius:var(--radius); padding:26px; margin-bottom:20px; box-shadow:var(--shadow);
}
.problem-block h3{ margin-bottom:.3em; }
.problem-block .tag{
  display:inline-block; background:rgba(255,107,53,.12); color:var(--orange-dark); font-size:.72rem;
  font-weight:800; text-transform:uppercase; letter-spacing:.05em; padding:4px 10px; border-radius:12px; margin-bottom:10px;
}

/* =========================================================
   11. AREAS COVERED
========================================================= */
.area-pill-grid{ display:flex; flex-wrap:wrap; gap:12px; }
.area-pill{
  background:var(--white); border:1px solid var(--grey-300); border-radius:8px; padding:14px 20px;
  font-weight:700; color:var(--navy); flex:1 1 150px; text-align:center;
}

/* =========================================================
   12. CONTACT / FORM
========================================================= */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:start; }
.contact-info-card{
  background:var(--navy); color:var(--white); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow-lg);
}
.contact-info-card h3{ color:#fff; }
.contact-info-card a{ color:#fff; }
.contact-row{ display:flex; gap:12px; align-items:flex-start; margin-bottom:18px; }
.contact-row svg{ width:22px; height:22px; color:var(--orange); flex:none; margin-top:2px; }
.contact-row strong{ display:block; }
.contact-row span, .contact-row a{ color:#c7d3e0; font-size:.95rem; }

.form-wrap{ background:var(--white); border:1px solid var(--grey-300); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow); }
.form-row{ margin-bottom:18px; }
.form-row label{ display:block; font-weight:700; margin-bottom:6px; font-size:.9rem; color:var(--navy); }
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--grey-300); border-radius:8px; font-family:var(--font);
  font-size:.95rem; color:var(--text); background:var(--grey-50);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ outline:none; border-color:var(--orange); background:#fff; }
.form-row textarea{ resize:vertical; min-height:120px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 18px; }
.form-honeypot{ position:absolute; left:-9999px; opacity:0; }
.form-msg{ padding:14px 16px; border-radius:8px; font-weight:600; margin-bottom:20px; }
.form-msg.success{ background:#e5f8ee; color:#12764a; border:1px solid #b7ecd0; }
.form-msg.error{ background:#fdeceb; color:#b3261e; border:1px solid #f6c3bf; }

/* =========================================================
   13. PAGE HEADER (inner pages)
========================================================= */
.page-hero{
  background:var(--navy); color:var(--white); padding:52px 0 44px; text-align:center;
}
.page-hero h1{ color:#fff; margin-bottom:.3em; }
.page-hero p{ color:#c7d3e0; max-width:680px; margin:0 auto; }
.breadcrumb{ font-size:.85rem; color:#9fb0c3; margin-bottom:14px; }
.breadcrumb a{ color:#9fb0c3; }
.breadcrumb a:hover{ color:var(--orange); }

/* =========================================================
   14. GENERIC PAGE CONTENT (page.php / WP editor content)
========================================================= */
.entry-content{ max-width:820px; margin:0 auto; }
.entry-content h2{ margin-top:1.4em; }
.entry-content img{ border-radius:var(--radius); margin:1em 0; }

/* =========================================================
   15. CTA BAND
========================================================= */
.cta-band{
  background:linear-gradient(120deg,var(--orange) 0%, var(--orange-dark) 100%);
  color:#fff; text-align:center; padding:56px 0;
}
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.9); }
.cta-band .btn-navy{ background:var(--navy); }
.cta-band .btn-outline{ border-color:#fff; }

/* =========================================================
   16. FOOTER
========================================================= */
.site-footer{ background:var(--navy-dark); color:#c7d3e0; padding:60px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:36px; padding-bottom:40px; }
.footer-grid h4{ color:#fff; font-size:1rem; margin-bottom:16px; }
.footer-grid ul{ list-style:none; padding:0; margin:0; }
.footer-grid li{ margin-bottom:10px; }
.footer-grid a{ color:#a9b8c9; font-size:.92rem; }
.footer-grid a:hover{ color:var(--orange); }
.footer-about p{ color:#a9b8c9; font-size:.92rem; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:20px 0; font-size:.82rem; color:#8296ab;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
}
.footer-bottom a{ color:#8296ab; text-decoration:underline; }
.footer-bottom a:hover{ color:var(--orange); }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
}
.footer-social svg{ width:16px; height:16px; color:#fff; }

/* =========================================================
   17. 404
========================================================= */
.error-404{ text-align:center; padding:100px 0; }
.error-404 .code{ font-size:5rem; font-weight:900; color:var(--orange); line-height:1; }

/* =========================================================
   18. PHOTO GALLERY (real workshop parts)
========================================================= */
.parts-gallery{
  column-count:4; column-gap:16px;
}
.parts-gallery-item{
  position:relative; display:block; break-inside:avoid; margin:0 0 16px;
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  border:1px solid var(--grey-300); background:var(--grey-100);
}
.parts-gallery-item.featured{ border:2px solid var(--orange); box-shadow:var(--shadow-lg); }
.parts-gallery-item img{
  width:100%; display:block; transition:transform .35s ease;
}
.parts-gallery-item:hover img{ transform:scale(1.045); }
.parts-gallery-item .gallery-badge{
  position:absolute; top:12px; left:12px; z-index:2;
  display:inline-flex; align-items:center; gap:6px;
  background:var(--orange); color:#fff; font-size:.72rem; font-weight:800;
  padding:6px 12px; border-radius:20px; letter-spacing:.02em;
  box-shadow:0 4px 10px rgba(0,0,0,.18);
}
.parts-gallery-item .gallery-badge svg{ width:14px; height:14px; }
.parts-gallery-item figcaption{
  position:absolute; left:0; right:0; bottom:0; z-index:1;
  background:linear-gradient(0deg, rgba(8,26,48,.92), rgba(8,26,48,0));
  color:#fff; font-size:.8rem; font-weight:700; padding:28px 14px 10px;
  opacity:0; transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease;
}
.parts-gallery-item:hover figcaption{ opacity:1; transform:translateY(0); }
.parts-gallery-item.featured figcaption{ opacity:1; transform:none; }

.photo-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.photo-card{
  position:relative; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow);
  border:1px solid var(--grey-300); aspect-ratio:4/3;
}
.photo-card img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.photo-card:hover img{ transform:scale(1.06); }

/* =========================================================
   19. WOOCOMMERCE / SHOP
   Styles the default WooCommerce plugin markup (shop grid, single
   product, cart, checkout) to match the rest of the site. WooCommerce
   itself is a separate free plugin - see INSTRUKCJA-SKLEP.md.
========================================================= */
.shop-section{ padding-top:52px; padding-bottom:60px; }

/* Shop / archive heading */
.woocommerce-products-header{ text-align:center; max-width:720px; margin:0 auto 40px; }
.woocommerce-products-header h1.page-title{ font-size:2.1rem; color:var(--navy); margin-bottom:.3em; }

/* Result count / ordering row */
.woocommerce-result-count,
.woocommerce-ordering{ font-size:.9rem; color:var(--grey-600); margin-bottom:24px; }
.woocommerce-ordering select{
  padding:8px 12px; border:1.5px solid var(--grey-300); border-radius:8px; font-family:var(--font); background:var(--white);
}

/* Product grid */
.woocommerce ul.products{ display:grid; grid-template-columns:repeat(4,1fr); gap:26px; list-style:none; padding:0; margin:0 0 40px; }
.woocommerce ul.products li.product{
  background:var(--white); border:1px solid var(--grey-300); border-radius:var(--radius);
  padding:20px 20px 24px; box-shadow:var(--shadow); transition:transform .15s ease, box-shadow .15s ease; text-align:center;
}
.woocommerce ul.products li.product:hover{ transform:translateY(-3px); box-shadow:var(--shadow-lg); }
.woocommerce ul.products li.product a{ color:inherit; text-decoration:none; display:block; }
.woocommerce ul.products li.product img{
  border-radius:8px; margin-bottom:14px; background:var(--grey-100); aspect-ratio:1/1; object-fit:cover;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size:1rem; font-weight:800; color:var(--navy); margin:.4em 0;
}
.woocommerce ul.products li.product .price{ font-weight:800; color:var(--orange); font-size:1.05rem; }
.woocommerce ul.products li.product .price del{ color:var(--grey-600); font-weight:500; opacity:.7; margin-right:6px; }
.woocommerce ul.products li.product .price ins{ text-decoration:none; }
.woocommerce ul.products li.product .button{ margin-top:14px; }
.woocommerce span.onsale{
  background:var(--orange); color:#fff; font-weight:800; font-size:.72rem; padding:4px 10px; border-radius:20px;
  position:absolute; top:14px; left:14px;
}
.woocommerce ul.products li.product{ position:relative; }

/* Star ratings - keep minimal, brand-coloured */
.woocommerce .star-rating{ color:var(--orange); font-size:.85rem; margin:0 auto 6px; }

/* Buttons - reuse the site button style */
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce input.button, .woocommerce-page a.button {
  display:inline-block; background:var(--orange); color:#fff !important; border:none; border-radius:8px;
  padding:12px 22px; font-weight:700; font-size:.9rem; cursor:pointer; transition:background .15s ease; text-decoration:none;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce #respond input#submit:hover{ background:var(--orange-dark); }
.woocommerce a.added_to_cart{ display:inline-block; margin-top:8px; font-size:.85rem; font-weight:700; color:var(--navy); }

/* Single product page */
.woocommerce div.product .product_title{ color:var(--navy); margin-bottom:.2em; }
.woocommerce div.product p.price, .woocommerce div.product span.price{ color:var(--orange); font-size:1.4rem; font-weight:800; }
.woocommerce div.product .woocommerce-product-details__short-description{ margin:18px 0; color:var(--text); }
.woocommerce div.product form.cart{ margin-top:22px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.woocommerce div.product form.cart .quantity input{
  width:70px; padding:12px; border:1.5px solid var(--grey-300); border-radius:8px; font-family:var(--font); text-align:center;
}
.woocommerce div.product .product_meta{ margin-top:24px; font-size:.85rem; color:var(--grey-600); }
.woocommerce .woocommerce-tabs{ margin-top:44px; border-top:1px solid var(--grey-300); padding-top:24px; }
.woocommerce .woocommerce-tabs ul.tabs{ list-style:none; padding:0; display:flex; gap:22px; margin-bottom:20px; }
.woocommerce .woocommerce-tabs ul.tabs li a{ font-weight:700; color:var(--grey-600); }
.woocommerce .woocommerce-tabs ul.tabs li.active a{ color:var(--orange); }

/* Cart & checkout tables */
.woocommerce table.shop_table{
  width:100%; border-collapse:collapse; margin-bottom:26px; border:1px solid var(--grey-300); border-radius:var(--radius); overflow:hidden;
}
.woocommerce table.shop_table th{ background:var(--grey-100); text-align:left; padding:14px; font-size:.85rem; color:var(--navy); }
.woocommerce table.shop_table td{ padding:14px; border-top:1px solid var(--grey-300); font-size:.92rem; }
.woocommerce-cart-form .product-remove a{ color:#b3261e; font-weight:800; }
.woocommerce table.shop_table td.product-thumbnail img{ width:64px; border-radius:8px; }

/* Checkout form fields (WooCommerce already outputs .form-row - reuse our input styling) */
.woocommerce-checkout .form-row label{ font-weight:700; font-size:.9rem; color:var(--navy); margin-bottom:6px; display:block; }
.woocommerce-checkout .form-row input.input-text, .woocommerce-checkout .form-row select, .woocommerce-checkout .form-row textarea{
  width:100%; padding:12px 14px; border:1.5px solid var(--grey-300); border-radius:8px; font-family:var(--font);
  font-size:.95rem; color:var(--text); background:var(--grey-50);
}
#order_review{ background:var(--grey-50); border:1px solid var(--grey-300); border-radius:var(--radius); padding:24px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews{
  padding:14px 16px; border-radius:8px; font-weight:600; margin-bottom:22px; list-style:none;
  background:#e5f8ee; color:#12764a; border:1px solid #b7ecd0;
}
.woocommerce-error{ background:#fdeceb; color:#b3261e; border:1px solid #f6c3bf; }
.woocommerce-info{ background:var(--grey-100); color:var(--navy); border:1px solid var(--grey-300); }

/* Breadcrumb */
.woocommerce-breadcrumb{ font-size:.85rem; color:var(--grey-600); margin-bottom:20px; }
.woocommerce-breadcrumb a{ color:var(--grey-600); }

/* =========================================================
   20. COOKIE CONSENT BANNER
========================================================= */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:9999; max-width:640px; margin:0 auto;
  background:var(--navy-dark); color:#e6ecf3; border-radius:var(--radius); box-shadow:var(--shadow-lg);
  padding:20px 22px; display:none;
}
.cookie-banner.is-visible{ display:block; }
.cookie-banner p{ font-size:.88rem; color:#c7d3e0; margin:0 0 14px; }
.cookie-banner p a{ color:#fff; text-decoration:underline; }
.cookie-banner .btn-row{ gap:10px; }
.cookie-banner .btn{ padding:10px 16px; font-size:.85rem; }
@media (max-width: 480px){
  .cookie-banner{ left:10px; right:10px; bottom:10px; padding:16px; }
  .cookie-banner .btn-row{ flex-direction:column; align-items:stretch; }
}

/* =========================================================
   21. RESPONSIVE
========================================================= */
@media (max-width: 980px){
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .parts-gallery{ column-count:3; }
  .photo-strip{ grid-template-columns:repeat(2,1fr); }
  .hero-visual{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .woocommerce ul.products{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width: 782px){
  .topbar .topbar-links{ display:none; }
  .main-nav{ display:none; position:absolute; top:100%; left:0; right:0; background:#fff; box-shadow:var(--shadow-lg); padding:10px; }
  .main-nav.is-open{ display:block; }
  .main-nav ul{ flex-direction:column; align-items:stretch; }
  .main-nav .sub-menu{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; display:none; }
  .main-nav li.is-open > .sub-menu{ display:block; }
  .menu-toggle{ display:block; }
  .header-cta .phone{ display:none; }
  .site-tagline{ display:none; }
  .header-inner{ gap:10px; padding:10px 0; }
  .site-title{ font-size:1.1rem; }
  .header-cta{ gap:6px; }
  .header-cta .btn-sm{ padding:9px 14px; font-size:.85rem; }
  .mobile-cta-bar{ display:block; }
  body{ padding-bottom:58px; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .hero-inner{ padding:50px 0 40px; }
  .section{ padding:52px 0; }
  .parts-gallery{ column-count:2; column-gap:10px; }
  .parts-gallery-item{ margin-bottom:10px; }
  .photo-strip{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .woocommerce ul.products{ grid-template-columns:repeat(2,1fr); gap:14px; }
  .woocommerce div.product form.cart{ flex-direction:column; align-items:stretch; }
}
