/*
Theme Name: ORE Services
Theme URI: https://oreservices.com.au/
Author: ORE Services
Description: A clean, professional theme for ORE Services - commercial and residential cleaning, plus a Supplies catalogue for cleaning products. Includes custom post types for Services and Supplies, a quote request form, and a fully responsive, accessible layout.
Version: 1.3.1
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ore-services
Tags: business, cleaning, custom-menu, custom-logo, featured-images, responsive-layout, e-commerce
*/

/* =========================================================
   1. TOKENS
   ========================================================= */
:root{
  --ore-ink:#0B2239;
  --ore-ink-2:#1B3B57;
  --ore-muted:#5B7285;
  --ore-teal:#0FB4A5;
  --ore-teal-dk:#0A8C81;
  --ore-teal-xdk:#076A62;
  --ore-mint:#EAF8F6;
  --ore-sky:#F5F9FC;
  --ore-line:#E1E9F0;
  --ore-amber:#F7A928;
  --ore-white:#FFFFFF;
  --ore-shadow-sm:0 1px 2px rgba(11,34,57,.06),0 2px 8px rgba(11,34,57,.05);
  --ore-shadow:0 4px 12px rgba(11,34,57,.07),0 12px 32px rgba(11,34,57,.07);
  --ore-shadow-lg:0 8px 24px rgba(11,34,57,.10),0 24px 60px rgba(11,34,57,.10);
  --ore-radius:14px;
  --ore-radius-lg:22px;
  --ore-wrap:1180px;
  --ore-wrap-narrow:760px;
  --ore-head:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --ore-body:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

/* =========================================================
   2. RESET / BASE
   ========================================================= */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--ore-body);
  font-size:17px;
  line-height:1.7;
  color:var(--ore-ink-2);
  background:var(--ore-white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg,video{max-width:100%;height:auto;display:block}
a{color:var(--ore-teal-dk);text-decoration:none;transition:color .18s ease}
a:hover{color:var(--ore-teal-xdk);text-decoration:underline}
h1,h2,h3,h4,h5,h6{
  font-family:var(--ore-head);
  color:var(--ore-ink);
  line-height:1.18;
  margin:0 0 .5em;
  font-weight:800;
  letter-spacing:-.02em;
}
h1{font-size:clamp(2.1rem,4.6vw,3.35rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.4rem)}
h3{font-size:clamp(1.2rem,2vw,1.45rem)}
h4{font-size:1.1rem}
p{margin:0 0 1.15em}
ul,ol{margin:0 0 1.15em;padding-left:1.35em}
li{margin-bottom:.4em}
blockquote{
  margin:1.6em 0;padding:1.2em 1.6em;
  border-left:4px solid var(--ore-teal);
  background:var(--ore-mint);border-radius:0 var(--ore-radius) var(--ore-radius) 0;
  font-size:1.06rem;color:var(--ore-ink);
}
blockquote p:last-child{margin-bottom:0}
code,pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}
pre{background:var(--ore-ink);color:#DCE7F0;padding:1.2em;border-radius:var(--ore-radius);overflow:auto}
hr{border:0;border-top:1px solid var(--ore-line);margin:2.5em 0}
table{width:100%;border-collapse:collapse;margin-bottom:1.5em}
th,td{padding:.75em 1em;border-bottom:1px solid var(--ore-line);text-align:left}
th{font-family:var(--ore-head);color:var(--ore-ink);font-weight:700}
:focus-visible{outline:3px solid var(--ore-teal);outline-offset:2px;border-radius:4px}

/* Accessibility helpers */
.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;
}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:9999;
  background:var(--ore-ink);color:#fff;padding:.85em 1.4em;border-radius:0 0 10px 0;font-weight:700;
}
.skip-link:focus{left:0;color:#fff}

/* =========================================================
   3. LAYOUT
   ========================================================= */
.ore-wrap{width:100%;max-width:var(--ore-wrap);margin:0 auto;padding:0 24px}
.ore-wrap--narrow{max-width:var(--ore-wrap-narrow)}
.ore-section{padding:clamp(56px,7vw,96px) 0}
.ore-section--tight{padding:clamp(40px,5vw,64px) 0}
.ore-section--mint{background:var(--ore-mint)}
.ore-section--sky{background:var(--ore-sky)}
.ore-section--ink{background:var(--ore-ink);color:#C6D6E4}
.ore-section--ink h2,.ore-section--ink h3{color:#fff}
.ore-grid{display:grid;gap:26px}
.ore-grid--2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.ore-grid--3{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.ore-grid--4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}

.ore-head{max-width:660px;margin:0 0 44px}
.ore-head--center{margin-left:auto;margin-right:auto;text-align:center}
.ore-head p{color:var(--ore-muted);font-size:1.08rem;margin-bottom:0}
.ore-eyebrow{
  display:inline-block;font-family:var(--ore-head);font-size:.78rem;font-weight:800;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ore-teal-dk);
  margin-bottom:12px;
}
.ore-section--ink .ore-eyebrow{color:var(--ore-teal)}
.ore-section--ink .ore-head p{color:#9FB6C9}

/* =========================================================
   4. BUTTONS / PILLS
   ========================================================= */
.ore-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  font-family:var(--ore-head);font-weight:700;font-size:.98rem;line-height:1;
  padding:15px 26px;border-radius:999px;border:2px solid transparent;cursor:pointer;
  text-decoration:none!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,color .16s ease,border-color .16s ease;
}
.ore-btn:hover{transform:translateY(-2px)}
.ore-btn--primary{background:var(--ore-teal);color:#04302C;box-shadow:0 6px 18px rgba(15,180,165,.32)}
.ore-btn--primary:hover{background:var(--ore-teal-dk);color:#fff;box-shadow:0 10px 26px rgba(15,180,165,.4)}
.ore-btn--ink{background:var(--ore-ink);color:#fff}
.ore-btn--ink:hover{background:var(--ore-ink-2);color:#fff}
.ore-btn--ghost{background:transparent;color:var(--ore-ink);border-color:var(--ore-line)}
.ore-btn--ghost:hover{border-color:var(--ore-ink);background:var(--ore-ink);color:#fff}
.ore-btn--light{background:#fff;color:var(--ore-ink);box-shadow:var(--ore-shadow-sm)}
.ore-btn--light:hover{color:var(--ore-teal-xdk)}
.ore-btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.ore-btn--outline-light:hover{background:#fff;color:var(--ore-ink);border-color:#fff}
.ore-btn--sm{padding:11px 18px;font-size:.9rem}
.ore-btn--block{display:flex;width:100%}
.ore-btn-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}

.ore-pill{
  display:inline-flex;align-items:center;gap:.5em;
  background:var(--ore-mint);color:var(--ore-teal-xdk);
  font-family:var(--ore-head);font-weight:700;font-size:.82rem;
  padding:7px 15px;border-radius:999px;
}
.ore-pill svg{width:15px;height:15px;flex:none}

/* =========================================================
   5. HEADER
   ========================================================= */
.ore-topbar{background:var(--ore-ink);color:#A8C0D3;font-size:.85rem}
.ore-topbar .ore-wrap{display:flex;flex-wrap:wrap;gap:8px 26px;align-items:center;justify-content:space-between;min-height:42px;padding-top:6px;padding-bottom:6px}
.ore-topbar__list{display:flex;flex-wrap:wrap;gap:6px 22px;align-items:center;margin:0;padding:0;list-style:none}
.ore-topbar__list li{margin:0;display:flex;align-items:center;gap:7px}
.ore-topbar a{color:#DCE9F3;text-decoration:none}
.ore-topbar a:hover{color:var(--ore-teal);text-decoration:none}
.ore-topbar svg{width:15px;height:15px;color:var(--ore-teal);flex:none}
.ore-topbar__note{display:flex;align-items:center;gap:7px;color:#8FA8BC}

.ore-header{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--ore-line)}
.ore-header.is-stuck{box-shadow:var(--ore-shadow-sm)}
.ore-header__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}

.ore-brand{display:flex;align-items:center;gap:12px;text-decoration:none!important;flex:none}
.ore-brand__mark{
  width:44px;height:44px;border-radius:12px;flex:none;
  background:linear-gradient(135deg,var(--ore-teal) 0%,var(--ore-teal-xdk) 100%);
  display:grid;place-items:center;color:#fff;font-family:var(--ore-head);font-weight:800;
  font-size:1rem;letter-spacing:.02em;box-shadow:0 4px 12px rgba(10,140,129,.32);
}
.ore-brand__text{display:flex;flex-direction:column;line-height:1.1}
.ore-brand__name{font-family:var(--ore-head);font-weight:800;font-size:1.22rem;color:var(--ore-ink);letter-spacing:-.01em}
.ore-brand__name em{font-style:normal;color:var(--ore-teal-dk)}
.ore-brand__tag{font-size:.68rem;letter-spacing:.15em;text-transform:uppercase;color:var(--ore-muted);font-weight:600}
.ore-brand img{max-height:52px;width:auto}

.ore-nav{display:flex;align-items:center;gap:6px;margin-left:auto}
.ore-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:2px}
.ore-nav li{margin:0;position:relative}
.ore-nav a{
  display:block;padding:10px 14px;border-radius:9px;
  font-family:var(--ore-head);font-weight:600;font-size:.96rem;color:var(--ore-ink);
  text-decoration:none!important;transition:background .16s ease,color .16s ease;
}
.ore-nav a:hover{background:var(--ore-mint);color:var(--ore-teal-xdk)}
.ore-nav .current-menu-item>a,.ore-nav .current_page_item>a,.ore-nav .current-menu-ancestor>a{color:var(--ore-teal-xdk);background:var(--ore-mint)}
.ore-nav .sub-menu{
  position:absolute;top:calc(100% + 10px);left:0;min-width:220px;background:#fff;
  border:1px solid var(--ore-line);border-radius:var(--ore-radius);box-shadow:var(--ore-shadow);
  padding:8px;display:block;flex-direction:column;align-items:stretch;gap:0;
  opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .18s ease;
}
.ore-nav li:hover>.sub-menu,.ore-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.ore-nav .sub-menu li{width:100%}
.ore-nav .sub-menu a{padding:9px 13px;font-weight:500}

.ore-nav__cta{display:none}
.ore-header__cta{display:flex;align-items:center;gap:12px;flex:none}
.ore-header__phone{display:inline-flex;align-items:center;gap:8px;font-family:var(--ore-head);font-weight:700;color:var(--ore-ink);text-decoration:none!important;white-space:nowrap}
.ore-header__phone svg{width:19px;height:19px;color:var(--ore-teal-dk)}
.ore-header__phone:hover{color:var(--ore-teal-xdk)}

.ore-burger{
  display:none;width:46px;height:46px;border:1px solid var(--ore-line);background:#fff;
  border-radius:11px;cursor:pointer;padding:0;place-items:center;flex:none;
}
.ore-burger span{display:block;width:20px;height:2px;background:var(--ore-ink);border-radius:2px;position:relative;transition:.2s ease}
.ore-burger span::before,.ore-burger span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ore-ink);border-radius:2px;transition:.2s ease}
.ore-burger span::before{top:-6px}
.ore-burger span::after{top:6px}
.ore-burger[aria-expanded="true"] span{background:transparent}
.ore-burger[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.ore-burger[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

/* =========================================================
   6. HERO
   ========================================================= */
.ore-hero{
  position:relative;overflow:hidden;
  background:linear-gradient(165deg,#F7FCFB 0%,#EAF6F9 45%,#E3F1F6 100%);
  padding:clamp(56px,7vw,96px) 0 clamp(64px,8vw,110px);
}
.ore-hero::before{
  content:"";position:absolute;top:-180px;right:-140px;width:620px;height:620px;border-radius:50%;
  background:radial-gradient(circle at 35% 35%,rgba(15,180,165,.22),rgba(15,180,165,0) 68%);
  pointer-events:none;
}
.ore-hero::after{
  content:"";position:absolute;bottom:-260px;left:-160px;width:560px;height:560px;border-radius:50%;
  background:radial-gradient(circle at 60% 40%,rgba(11,34,57,.10),rgba(11,34,57,0) 70%);
  pointer-events:none;
}
.ore-hero .ore-wrap{position:relative;z-index:1}
.ore-hero__grid{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(30px,5vw,62px);align-items:center}
.ore-hero h1{margin-bottom:.4em}
.ore-hero h1 .ore-hl{color:var(--ore-teal-dk);position:relative;white-space:nowrap}
.ore-hero h1 .ore-hl::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.28em;background:rgba(15,180,165,.20);border-radius:4px;z-index:-1}
.ore-hero__lead{font-size:1.14rem;color:var(--ore-ink-2);max-width:34em;margin-bottom:1.6em}
.ore-hero__points{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-wrap:wrap;gap:10px 24px}
.ore-hero__points li{display:flex;align-items:center;gap:9px;margin:0;font-size:.95rem;font-weight:600;color:var(--ore-ink)}
.ore-hero__points svg{width:20px;height:20px;color:var(--ore-teal-dk);flex:none}

.ore-hero__card{
  background:#fff;border-radius:var(--ore-radius-lg);box-shadow:var(--ore-shadow-lg);
  padding:30px;border:1px solid rgba(255,255,255,.9);
}
.ore-hero__card h3{margin-bottom:6px;font-size:1.3rem}
.ore-hero__card > p{color:var(--ore-muted);font-size:.95rem;margin-bottom:22px}
.ore-hero__badge{
  position:absolute;z-index:2;background:#fff;border-radius:var(--ore-radius);
  box-shadow:var(--ore-shadow);padding:14px 18px;display:flex;align-items:center;gap:12px;
}
.ore-hero__badge strong{font-family:var(--ore-head);color:var(--ore-ink);display:block;font-size:1.35rem;line-height:1}
.ore-hero__badge span{font-size:.78rem;color:var(--ore-muted)}

/* Trust strip */
.ore-trust{border-bottom:1px solid var(--ore-line);background:#fff}
.ore-trust__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;padding:30px 0}
.ore-trust__item{display:flex;align-items:center;gap:14px}
.ore-trust__icon{width:44px;height:44px;border-radius:12px;background:var(--ore-mint);display:grid;place-items:center;flex:none;color:var(--ore-teal-xdk)}
.ore-trust__icon svg{width:22px;height:22px}
.ore-trust__item strong{display:block;font-family:var(--ore-head);color:var(--ore-ink);font-size:.98rem;line-height:1.3}
.ore-trust__item span{font-size:.85rem;color:var(--ore-muted)}

/* =========================================================
   7. CARDS
   ========================================================= */
.ore-card{
  background:#fff;border:1px solid var(--ore-line);border-radius:var(--ore-radius-lg);
  padding:30px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
  display:flex;flex-direction:column;height:100%;
}
.ore-card:hover{transform:translateY(-4px);box-shadow:var(--ore-shadow);border-color:transparent}
.ore-card__icon{
  width:54px;height:54px;border-radius:15px;display:grid;place-items:center;margin-bottom:20px;
  background:linear-gradient(135deg,var(--ore-mint),#D9F0EC);color:var(--ore-teal-xdk);flex:none;
}
.ore-card__icon svg{width:27px;height:27px}
.ore-card h3{font-size:1.22rem;margin-bottom:.45em}
.ore-card p{color:var(--ore-muted);font-size:.97rem;margin-bottom:1em}
.ore-card__list{list-style:none;padding:0;margin:0 0 20px}
.ore-card__list li{position:relative;padding-left:26px;font-size:.94rem;color:var(--ore-ink-2);margin-bottom:8px}
.ore-card__list li::before{
  content:"";position:absolute;left:0;top:.5em;width:14px;height:14px;border-radius:50%;
  background:var(--ore-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A8C81' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/9px no-repeat;
}
.ore-card__foot{margin-top:auto;padding-top:6px}
.ore-card__link{font-family:var(--ore-head);font-weight:700;font-size:.94rem;display:inline-flex;align-items:center;gap:7px;text-decoration:none!important}
.ore-card__link svg{width:16px;height:16px;transition:transform .18s ease}
.ore-card__link:hover svg{transform:translateX(4px)}
.ore-card__thumb{margin:-30px -30px 22px;border-radius:var(--ore-radius-lg) var(--ore-radius-lg) 0 0;overflow:hidden;aspect-ratio:16/10;background:var(--ore-mint)}
.ore-card__thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.ore-card:hover .ore-card__thumb img{transform:scale(1.04)}

/* Steps */
.ore-steps{counter-reset:ore-step;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:26px}
.ore-step{position:relative;padding-top:8px}
.ore-step__num{
  counter-increment:ore-step;width:50px;height:50px;border-radius:50%;
  background:var(--ore-teal);color:#04302C;display:grid;place-items:center;
  font-family:var(--ore-head);font-weight:800;font-size:1.15rem;margin-bottom:18px;
  box-shadow:0 6px 16px rgba(15,180,165,.3);
}
.ore-step__num::before{content:counter(ore-step,decimal-leading-zero)}
.ore-step h3{font-size:1.12rem;margin-bottom:.4em}
.ore-step p{color:var(--ore-muted);font-size:.95rem;margin:0}
.ore-section--ink .ore-step p{color:#9FB6C9}

/* Stats */
.ore-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:26px;text-align:center}
.ore-stat strong{display:block;font-family:var(--ore-head);font-size:clamp(2rem,4vw,2.8rem);font-weight:800;color:var(--ore-teal);line-height:1.05}
.ore-stat span{font-size:.92rem;color:#9FB6C9}
.ore-section--mint .ore-stat strong{color:var(--ore-teal-xdk)}
.ore-section--mint .ore-stat span{color:var(--ore-muted)}

/* Testimonials */
.ore-quote{background:#fff;border:1px solid var(--ore-line);border-radius:var(--ore-radius-lg);padding:30px;height:100%;display:flex;flex-direction:column}
.ore-quote__stars{color:var(--ore-amber);display:flex;gap:3px;margin-bottom:16px}
.ore-quote__stars svg{width:18px;height:18px}
.ore-quote p{font-size:1rem;color:var(--ore-ink-2);margin-bottom:22px}
.ore-quote__by{margin-top:auto;display:flex;align-items:center;gap:13px}
.ore-quote__av{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--ore-teal),var(--ore-teal-xdk));color:#fff;display:grid;place-items:center;font-family:var(--ore-head);font-weight:800;flex:none}
.ore-quote__by strong{display:block;font-family:var(--ore-head);color:var(--ore-ink);font-size:.96rem}
.ore-quote__by span{font-size:.84rem;color:var(--ore-muted)}

/* Split feature */
.ore-split{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:clamp(30px,5vw,60px);align-items:center}
.ore-split__media{border-radius:var(--ore-radius-lg);overflow:hidden;box-shadow:var(--ore-shadow);background:var(--ore-mint);aspect-ratio:4/3}
.ore-split__media img{width:100%;height:100%;object-fit:cover}
.ore-checklist{list-style:none;padding:0;margin:0 0 28px}
.ore-checklist li{position:relative;padding-left:36px;margin-bottom:14px;color:var(--ore-ink-2)}
.ore-checklist li strong{display:block;font-family:var(--ore-head);color:var(--ore-ink);font-size:1.02rem}
.ore-checklist li::before{
  content:"";position:absolute;left:0;top:2px;width:24px;height:24px;border-radius:50%;
  background:var(--ore-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A8C81' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* CTA band */
.ore-cta{
  background:linear-gradient(120deg,var(--ore-ink) 0%,#123A5C 55%,var(--ore-teal-xdk) 130%);
  color:#C6D6E4;border-radius:var(--ore-radius-lg);padding:clamp(34px,5vw,56px);
  display:grid;grid-template-columns:1.4fr auto;gap:30px;align-items:center;
}
.ore-cta h2{color:#fff;margin-bottom:.35em}
.ore-cta p{margin-bottom:0;color:#A9C1D3}
.ore-cta__actions{display:flex;flex-wrap:wrap;gap:14px}

/* =========================================================
   8. SUPPLIES / PRODUCTS
   ========================================================= */
.ore-shopbar{
  display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;
  margin-bottom:30px;padding-bottom:22px;border-bottom:1px solid var(--ore-line);
}
.ore-filters{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0;padding:0}
.ore-filters li{margin:0}
.ore-filters a,.ore-filter-btn{
  display:inline-block;padding:9px 17px;border-radius:999px;border:1px solid var(--ore-line);
  background:#fff;color:var(--ore-ink);font-family:var(--ore-head);font-weight:600;font-size:.9rem;
  cursor:pointer;text-decoration:none!important;transition:all .16s ease;
}
.ore-filters a:hover,.ore-filter-btn:hover{border-color:var(--ore-teal);color:var(--ore-teal-xdk)}
.ore-filters .is-active a,.ore-filter-btn.is-active{background:var(--ore-ink);border-color:var(--ore-ink);color:#fff}
.ore-shopbar__count{font-size:.9rem;color:var(--ore-muted);white-space:nowrap}

.ore-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(258px,1fr));gap:26px}
.ore-product{
  background:#fff;border:1px solid var(--ore-line);border-radius:var(--ore-radius-lg);
  overflow:hidden;display:flex;flex-direction:column;position:relative;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.ore-product:hover{transform:translateY(-5px);box-shadow:var(--ore-shadow);border-color:transparent}
.ore-product__media{
  position:relative;aspect-ratio:1/1;background:linear-gradient(160deg,var(--ore-mint),#DCEFEC);
  display:grid;place-items:center;overflow:hidden;
}
.ore-product__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ore-product:hover .ore-product__media img{transform:scale(1.05)}
.ore-product__ph{
  width:100%;height:100%;display:grid;place-items:center;color:var(--ore-teal-xdk);
  font-family:var(--ore-head);font-weight:800;font-size:2.6rem;opacity:.5;letter-spacing:.04em;
}
.ore-product__flag{
  position:absolute;top:13px;left:13px;z-index:2;background:var(--ore-amber);color:#3D2600;
  font-family:var(--ore-head);font-weight:800;font-size:.7rem;letter-spacing:.07em;text-transform:uppercase;
  padding:6px 11px;border-radius:999px;
}
.ore-product__flag--stock{background:#FDE8E6;color:#A02216;top:auto;bottom:13px;left:13px}
.ore-product__body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.ore-product__cat{font-size:.75rem;letter-spacing:.11em;text-transform:uppercase;color:var(--ore-teal-dk);font-weight:700;font-family:var(--ore-head);margin-bottom:7px}
.ore-product__title{font-size:1.08rem;margin-bottom:7px;line-height:1.3}
.ore-product__title a{color:var(--ore-ink);text-decoration:none!important}
.ore-product__title a:hover{color:var(--ore-teal-xdk)}
.ore-product__excerpt{font-size:.9rem;color:var(--ore-muted);margin-bottom:16px;line-height:1.55}
.ore-product__meta{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid var(--ore-line)}
.ore-product__price{font-family:var(--ore-head);font-weight:800;font-size:1.32rem;color:var(--ore-ink);line-height:1.1}
.ore-product__price small{display:block;font-size:.72rem;font-weight:600;color:var(--ore-muted);letter-spacing:.02em;margin-top:3px}
.ore-product__price del{font-size:.85rem;color:var(--ore-muted);font-weight:600;margin-right:6px}
.ore-product__size{font-size:.82rem;color:var(--ore-muted)}

.ore-empty{text-align:center;padding:70px 20px;background:var(--ore-sky);border-radius:var(--ore-radius-lg);border:1px dashed var(--ore-line)}
.ore-empty h3{margin-bottom:.4em}
.ore-empty p{color:var(--ore-muted);max-width:44ch;margin-left:auto;margin-right:auto}

/* Single product */
.ore-psingle{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,56px);align-items:start}
.ore-psingle__media{border-radius:var(--ore-radius-lg);overflow:hidden;background:linear-gradient(160deg,var(--ore-mint),#DCEFEC);aspect-ratio:1/1;position:relative;box-shadow:var(--ore-shadow-sm)}
.ore-psingle__media img{width:100%;height:100%;object-fit:cover}
.ore-psingle h1{font-size:clamp(1.8rem,3.4vw,2.5rem);margin-bottom:.3em}
.ore-psingle__price{font-family:var(--ore-head);font-weight:800;font-size:2rem;color:var(--ore-ink);margin:0 0 4px}
.ore-psingle__price del{font-size:1.1rem;color:var(--ore-muted);margin-right:10px}
.ore-psingle__tax{font-size:.86rem;color:var(--ore-muted);margin-bottom:22px}
.ore-specs{list-style:none;padding:0;margin:24px 0;border-top:1px solid var(--ore-line)}
.ore-specs li{display:flex;justify-content:space-between;gap:20px;padding:12px 2px;border-bottom:1px solid var(--ore-line);margin:0;font-size:.95rem}
.ore-specs li span:first-child{color:var(--ore-muted)}
.ore-specs li span:last-child{font-weight:600;color:var(--ore-ink);text-align:right;font-family:var(--ore-head)}
.ore-stockdot{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-family:var(--ore-head);font-size:.92rem}
.ore-stockdot::before{content:"";width:9px;height:9px;border-radius:50%;background:#17A673}
.ore-stockdot--out{color:#A02216}
.ore-stockdot--out::before{background:#D0453A}
.ore-stockdot--order{color:#8A6100}
.ore-stockdot--order::before{background:var(--ore-amber)}

/* =========================================================
   9. FORMS
   ========================================================= */
.ore-form{display:grid;gap:16px}
.ore-form__row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ore-field{display:flex;flex-direction:column;gap:7px}
.ore-field label{font-family:var(--ore-head);font-weight:700;font-size:.88rem;color:var(--ore-ink)}
.ore-field label .req{color:#D0453A}
input[type=text],input[type=email],input[type=tel],input[type=url],input[type=number],input[type=search],input[type=date],input[type=password],select,textarea{
  width:100%;font-family:var(--ore-body);font-size:.98rem;color:var(--ore-ink);
  padding:13px 15px;border:1.5px solid var(--ore-line);border-radius:11px;background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease;
}
select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B7285' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:42px}
textarea{min-height:130px;resize:vertical}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--ore-teal);box-shadow:0 0 0 4px rgba(15,180,165,.14)}
::placeholder{color:#9BAEBE}
.ore-field__hint{font-size:.8rem;color:var(--ore-muted)}
.ore-hp{position:absolute!important;left:-9999px!important;opacity:0;height:0;width:0}

.ore-notice{padding:15px 18px;border-radius:12px;margin-bottom:22px;font-size:.95rem;border:1px solid}
.ore-notice--ok{background:#E9F8F1;border-color:#B7E6CE;color:#12694A}
.ore-notice--err{background:#FDEDEB;border-color:#F6C9C3;color:#96271B}
.ore-notice p:last-child{margin-bottom:0}

/* Search form */
.ore-searchform{display:flex;gap:10px}
.ore-searchform input[type=search]{flex:1}

/* =========================================================
   10. PAGE / POSTS
   ========================================================= */
.ore-pagehero{
  background:linear-gradient(160deg,#F7FCFB,#E9F5F8);
  padding:clamp(46px,6vw,74px) 0;border-bottom:1px solid var(--ore-line);position:relative;overflow:hidden;
}
.ore-pagehero::after{
  content:"";position:absolute;top:-140px;right:-100px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(15,180,165,.16),transparent 70%);
}
.ore-pagehero .ore-wrap{position:relative;z-index:1}
.ore-pagehero h1{margin-bottom:.3em}
.ore-pagehero p{color:var(--ore-muted);max-width:60ch;font-size:1.06rem;margin-bottom:0}
.ore-crumbs{font-size:.85rem;color:var(--ore-muted);margin-bottom:14px}
.ore-crumbs a{color:var(--ore-muted)}
.ore-crumbs a:hover{color:var(--ore-teal-dk)}
.ore-crumbs span[aria-hidden]{margin:0 8px;opacity:.5}

.ore-content{font-size:1.03rem}
.ore-content > *:first-child{margin-top:0}
.ore-content h2{margin-top:1.7em}
.ore-content h3{margin-top:1.5em}
.ore-content img{border-radius:var(--ore-radius)}
.ore-content ul li::marker{color:var(--ore-teal)}
.alignleft{float:left;margin:.4em 1.6em 1em 0}
.alignright{float:right;margin:.4em 0 1em 1.6em}
.aligncenter{margin-left:auto;margin-right:auto;display:block}
.alignwide{max-width:1080px;margin-left:auto;margin-right:auto}
.alignfull{max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.wp-caption-text,figcaption{font-size:.85rem;color:var(--ore-muted);text-align:center;margin-top:.6em}
.sticky .ore-postcard{border-color:var(--ore-teal)}

.ore-postcard{background:#fff;border:1px solid var(--ore-line);border-radius:var(--ore-radius-lg);overflow:hidden;display:flex;flex-direction:column;height:100%;transition:transform .2s,box-shadow .2s}
.ore-postcard:hover{transform:translateY(-4px);box-shadow:var(--ore-shadow)}
.ore-postcard__thumb{aspect-ratio:16/10;background:var(--ore-mint);overflow:hidden}
.ore-postcard__thumb img{width:100%;height:100%;object-fit:cover}
.ore-postcard__body{padding:24px;display:flex;flex-direction:column;flex:1}
.ore-postcard__meta{font-size:.82rem;color:var(--ore-muted);margin-bottom:9px}
.ore-postcard h2,.ore-postcard h3{font-size:1.16rem;margin-bottom:.45em}
.ore-postcard h2 a,.ore-postcard h3 a{color:var(--ore-ink);text-decoration:none!important}
.ore-postcard h2 a:hover,.ore-postcard h3 a:hover{color:var(--ore-teal-xdk)}
.ore-postcard p{font-size:.94rem;color:var(--ore-muted)}

.ore-pagination{display:flex;justify-content:center;margin-top:52px}
.ore-pagination .page-numbers{
  display:inline-grid;place-items:center;min-width:42px;height:42px;padding:0 12px;margin:0 4px;
  border-radius:11px;border:1px solid var(--ore-line);background:#fff;color:var(--ore-ink);
  font-family:var(--ore-head);font-weight:600;text-decoration:none!important;
}
.ore-pagination .page-numbers:hover{border-color:var(--ore-teal);color:var(--ore-teal-xdk)}
.ore-pagination .current{background:var(--ore-ink);border-color:var(--ore-ink);color:#fff}

.ore-sidebar .widget{background:#fff;border:1px solid var(--ore-line);border-radius:var(--ore-radius);padding:24px;margin-bottom:24px}
.ore-sidebar .widget-title{font-size:1.05rem;margin-bottom:.8em}
.ore-sidebar ul{list-style:none;padding:0;margin:0}
.ore-sidebar li{padding:7px 0;border-bottom:1px solid var(--ore-line)}
.ore-sidebar li:last-child{border-bottom:0}

/* =========================================================
   11. FOOTER
   ========================================================= */
.ore-footer{background:var(--ore-ink);color:#9FB6C9;padding-top:clamp(48px,6vw,72px);font-size:.95rem}
.ore-footer a{color:#CFDEEA;text-decoration:none}
.ore-footer a:hover{color:var(--ore-teal);text-decoration:none}
.ore-footer__grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:36px;padding-bottom:44px}
.ore-footer h3{color:#fff;font-size:1rem;margin-bottom:1.1em;letter-spacing:.02em}
.ore-footer ul{list-style:none;padding:0;margin:0}
.ore-footer li{margin-bottom:11px}
.ore-footer .ore-brand__name{color:#fff}
.ore-footer .ore-brand__tag{color:#7E97AC}
.ore-footer__about p{margin:20px 0;max-width:34ch;color:#8FA8BC}
.ore-footer__contact li{display:flex;gap:12px;align-items:flex-start}
.ore-footer__contact svg{width:17px;height:17px;color:var(--ore-teal);flex:none;margin-top:4px}
.ore-social{display:flex;gap:10px;margin-top:6px}
.ore-social a{width:38px;height:38px;border-radius:10px;background:rgba(255,255,255,.07);display:grid;place-items:center;color:#CFDEEA;transition:.16s}
.ore-social a:hover{background:var(--ore-teal);color:#04302C}
.ore-social svg{width:18px;height:18px}
.ore-footer__bottom{
  border-top:1px solid rgba(255,255,255,.1);padding:22px 0;display:flex;flex-wrap:wrap;
  gap:10px 26px;justify-content:space-between;align-items:center;font-size:.86rem;color:#7E97AC;
}
.ore-footer__bottom ul{display:flex;flex-wrap:wrap;gap:20px}
.ore-footer__bottom li{margin:0}

/* Mobile sticky call bar */
.ore-callbar{display:none}

/* =========================================================
   12. RESPONSIVE
   ========================================================= */
@media (max-width:1020px){
  .ore-hero__grid{grid-template-columns:1fr}
  .ore-hero__card{max-width:520px}
  .ore-footer__grid{grid-template-columns:1fr 1fr;gap:32px}
  .ore-cta{grid-template-columns:1fr;text-align:center}
  .ore-cta .ore-cta__actions{justify-content:center}
}
@media (max-width:900px){
  .ore-burger{display:grid}
  .ore-header__cta .ore-header__phone{display:none}
  .ore-header__cta .ore-btn{display:none}
  .ore-nav{
    position:fixed;inset:0 0 0 auto;width:min(340px,86vw);background:#fff;
    flex-direction:column;align-items:stretch;justify-content:flex-start;
    padding:96px 22px 32px;box-shadow:-14px 0 40px rgba(11,34,57,.16);
    transform:translateX(105%);transition:transform .26s cubic-bezier(.4,0,.2,1);
    overflow-y:auto;z-index:210;gap:0;
  }
  .ore-nav.is-open{transform:translateX(0)}
  .ore-nav ul{flex-direction:column;align-items:stretch;gap:2px;width:100%}
  .ore-nav a{padding:13px 14px;font-size:1.02rem;border-radius:11px}
  .ore-nav .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
    border:0;border-left:2px solid var(--ore-line);border-radius:0;margin:2px 0 6px 14px;padding:0 0 0 6px;
  }
  .ore-nav__cta{display:flex;flex-direction:column;gap:12px;margin-top:22px;padding-top:22px;border-top:1px solid var(--ore-line)}
  .ore-navscrim{position:fixed;inset:0;background:rgba(11,34,57,.5);opacity:0;visibility:hidden;transition:.24s;z-index:205}
  .ore-navscrim.is-open{opacity:1;visibility:visible}
  body.ore-nav-open{overflow:hidden}
  .ore-psingle{grid-template-columns:1fr}
  .ore-topbar__note{display:none}
}
@media (max-width:640px){
  body{font-size:16px}
  .ore-wrap{padding:0 18px}
  .ore-card,.ore-quote{padding:24px}
  .ore-card__thumb{margin:-24px -24px 20px}
  .ore-form__row{grid-template-columns:1fr}
  .ore-products{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px}
  .ore-product__body{padding:15px 16px 18px}
  .ore-product__title{font-size:.98rem}
  .ore-product__excerpt{display:none}
  .ore-footer__grid{grid-template-columns:1fr;gap:30px}
  .ore-footer__bottom{flex-direction:column;text-align:center}
  .ore-hero__badge{display:none}
  .ore-topbar .ore-wrap{justify-content:center}
  .ore-callbar{
    display:flex;position:fixed;bottom:0;left:0;right:0;z-index:150;
    background:#fff;border-top:1px solid var(--ore-line);padding:9px 12px;gap:9px;
    box-shadow:0 -4px 18px rgba(11,34,57,.10);
  }
  .ore-callbar .ore-btn{flex:1;padding:13px 10px;font-size:.9rem}
  body{padding-bottom:68px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}
@media print{
  .ore-header,.ore-topbar,.ore-footer,.ore-callbar,.ore-cta{display:none!important}
}

/* WP core required classes */
.bypostauthor{}
.gallery-caption{}
.wp-block-image figcaption{font-size:.85rem}

/* =========================================================
   13. ILLUSTRATIONS
   ========================================================= */
.ore-illus{display:block;width:100%;height:auto}

/* Hero artwork */
.ore-hero__art{display:flex;align-items:center;justify-content:center;position:relative}
.ore-illus--hero{max-width:600px}

/* Service card thumbs hold an inline SVG instead of a photo */
.ore-card__thumb{background:var(--ore-mint);display:block}
.ore-card__thumb svg,.ore-card__thumb img{width:100%;height:100%;display:block;object-fit:cover}
.ore-illus--thumb{border-radius:0}
.ore-servicehero{aspect-ratio:16/10;margin:0 0 34px;background:var(--ore-mint)}
.ore-servicehero svg,.ore-servicehero img{width:100%;height:100%;object-fit:cover;display:block}

/* Homepage quote band */
.ore-quoteband{display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(30px,5vw,58px);align-items:center}
.ore-illus--quote{max-width:480px;margin-top:26px}

/* Supplies page intro */
.ore-shopintro{
  display:grid;grid-template-columns:1.02fr .98fr;gap:clamp(28px,5vw,56px);
  align-items:center;margin-bottom:clamp(38px,5vw,60px);
}
.ore-shopintro__art{display:flex;justify-content:center}
.ore-illus--shop{max-width:520px}

/* About page team band */
.ore-teamband{display:grid;grid-template-columns:.95fr 1.05fr;gap:clamp(30px,5vw,56px);align-items:center}
.ore-teamband__art{display:flex;justify-content:center}
.ore-illus--team{max-width:600px}

/* Contact page artwork */
.ore-contact__art{margin:34px 0 0;max-width:460px}

/* 404 artwork */
.ore-404__art{max-width:400px;margin:30px auto 0;border-radius:var(--ore-radius-lg);overflow:hidden}

@media (max-width:1020px){
  .ore-quoteband,.ore-shopintro,.ore-teamband{grid-template-columns:1fr}
  .ore-quoteband__art{order:1}
  .ore-illus--quote,.ore-illus--shop,.ore-illus--team,.ore-illus--hero{max-width:520px;margin-left:auto;margin-right:auto}
}
@media (max-width:640px){
  .ore-illus--quote{margin-top:18px}
  .ore-contact__art{display:none}
  .ore-illus--hero{max-width:100%}
}

/* Product artwork */
.ore-product__media svg,.ore-psingle__media svg{width:100%;height:100%;display:block}
.ore-illus--prod{padding:6%}
.ore-psingle__media .ore-illus--prod{padding:10%}
.ore-teamband .ore-stats{grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:20px}

/* Safety net: an inline icon must never inherit a runaway intrinsic size.
   Context-specific rules (.ore-topbar svg, .ore-trust__icon svg, …) still win. */
.ore-ico{width:1.15em;height:1.15em;flex:none}
.ore-btn .ore-ico{width:1.1em;height:1.1em}
.ore-callbar .ore-btn{gap:.5em;white-space:nowrap}

/* backdrop-filter on .ore-header makes it the containing block for its
   position:fixed descendants, which trapped the mobile drawer inside the
   header box. Drop the frosted effect where the drawer is used. */
@media (max-width:900px){
  /* The header creates its own stacking context, so it must sit above the
     scrim or the drawer nested inside it renders dimmed underneath. */
  .ore-header{backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff;z-index:220}
}

/* "Request a price" replaces the figure when prices are hidden */
.ore-product__ask{margin:0}
.ore-product__ask a{
  display:inline-flex;align-items:center;gap:.4em;
  font-family:var(--ore-head);font-weight:800;font-size:1.02rem;
  color:var(--ore-teal-xdk);text-decoration:none!important;
}
.ore-product__ask a:hover{color:var(--ore-ink)}
.ore-product__ask a .ore-ico{transition:transform .18s ease}
.ore-product__ask a:hover .ore-ico{transform:translateX(4px)}
.ore-product__ask small{
  display:block;font-size:.72rem;font-weight:600;
  color:var(--ore-muted);margin-top:5px;
}
.ore-psingle__ask{
  font-family:var(--ore-head);font-weight:800;
  font-size:clamp(1.5rem,2.6vw,1.9rem);color:var(--ore-ink);margin:0 0 6px;
}
