/* ============================================================
   ALIS Valves - Main Stylesheet
   All colours and spacing use CSS custom properties
============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- CSS Variables ---- */
:root {
  --green:        #2e7d32;
  --green-dark:   #1b5e20;
  --green-light:  #43a047;
  --green-bg:     #e8f5e9;
  --white:        #ffffff;
  --off-white:    #f5f5f5;
  --text-dark:    #1a1a1a;
  --text-mid:     #444444;
  --text-light:   #666666;
  --border:       #dddddd;
  --font-main:    'Barlow', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --max-w:        1320px;
  --page-px:      48px;
  --radius:       6px;
  --transition:   .18s ease;
  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow-md:    0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:    0 14px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  color: var(--text-dark);
  font-size: 15px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-px);
}
.container--narrow { max-width: 860px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  font-family: var(--font-main); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; border-radius: 3px; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn--sm { padding: 7px 16px; font-size: 12px; }
.btn-primary     { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn-outline-g   { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline-g:hover { background: var(--green); color: var(--white); }
.btn-outline-w   { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-w:hover { background: var(--white); color: var(--green); }

/* ---- Section helpers ---- */
.section { padding: 72px 0; }
.section--gray  { background: var(--off-white); }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-cond); font-size: clamp(26px, 3vw, 36px);
  font-weight: 700; line-height: 1.15; margin-bottom: 14px; color: var(--text-dark);
}
.section-subtitle {
  font-size: 15px; color: var(--text-light);
  max-width: 640px; margin-bottom: 48px;
}

/* ============================================================
   SITE HEADER
============================================================ */
.site-header {
  position: relative; z-index: 1000;
  background: var(--white);
  box-shadow: none;
}

/* Row 1 */
.header-row1 { border-bottom: none; }
.header-row1__inner {
  display: flex; align-items: center;
  height: 82px; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--page-px);
}

/* Logo */
.logo {
  display: inline-flex; flex-direction: column; gap: 3px;
  text-decoration: none; flex-shrink: 0; line-height: 1;
}
.logo__img { height: 44px; width: auto; }
.logo__main {
  font-family: var(--font-cond); font-size: 42px; font-weight: 700;
  color: var(--green); letter-spacing: .05em; line-height: 1;
}
.logo__sub {
  font-size: 11px; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--green); padding-left: 2px;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: 26px; }
.primary-nav__item { position: relative; }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0; height: 82px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-dark);
  white-space: nowrap; border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.primary-nav__link svg.nav-chevron {
  width: 10px; height: 10px; stroke: currentColor; fill: none;
  stroke-width: 3; transition: transform .2s; flex-shrink: 0;
}
.primary-nav__item:hover .primary-nav__link,
.primary-nav__item.is-active .primary-nav__link { color: var(--green); border-bottom-color: transparent; }
.primary-nav__item:hover .primary-nav__link svg.nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.primary-dropdown {
  display: none; position: absolute; top: 82px; right: 0; left: auto;
  min-width: 210px; background: var(--white);
  border: 1px solid var(--border); border-top: 3px solid var(--green);
  box-shadow: var(--shadow-lg); border-radius: 0 0 5px 5px;
  padding: 8px 0; z-index: 900;
  animation: dropFade .16s ease;
}
.primary-nav__item:hover .primary-dropdown { display: block; }
.primary-dropdown__link {
  display: block; padding: 9px 20px; font-size: 13px;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}
.primary-dropdown__link:hover { background: var(--green-bg); color: var(--green); padding-left: 26px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; background: none;
  border: none; cursor: pointer; margin-left: auto; padding: 6px;
}
.hamburger__bar {
  display: block; width: 100%; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.is-open .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger__bar:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.45); z-index: 998; opacity: 0;
  transition: opacity .25s;
}
.mobile-nav-overlay.is-visible { display: block; opacity: 1; }

/* Row 2 - Sub-nav */
.header-row2 {
  border-top: none; border-bottom: none; background: var(--white);
  margin-bottom: 16px;
  border-top: 1px solid #e8ece8;
}
.header-row2__inner {
  display: flex; justify-content: flex-end;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--page-px);
}
.subnav-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(260px, .62fr);
  width: 100%;
  align-items: stretch;
}
.subnav-col {
  position: relative;
  min-height: 92px;
  padding: 12px 36px 14px; border-left: none;
  display: flex; flex-direction: column; gap: 8px;
  justify-content: center;
}
.subnav-col + .subnav-col::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: #d6d9d6;
}
.subnav-col:first-child { border-left: none; padding-left: 0; }
.subnav-col:last-child  { padding-right: 0; }
.subnav-col__label {
  font-size: 11px; font-weight: 600; letter-spacing: .11em;
  text-transform: uppercase; color: #51635a; line-height: 1.4; margin-bottom: 2px;
  max-width: 92%;
}
.subnav-col__links { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; row-gap: 10px; }
.subnav-col__item  { position: relative; }
.subnav-col__links > li { position: relative; }
.subnav-col__link,
.subnav-col__links > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0; font-size: 16px; font-weight: 700;
  color: #141c16; white-space: nowrap;
  line-height: 1.25;
  transition: color var(--transition), opacity var(--transition);
}
.subnav-col__links > li.menu-item-has-children > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  margin-left: 5px;
  opacity: .9;
}
.subnav-col__link svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 3; transition: transform .15s; }
.subnav-col__item:hover .subnav-col__link,
.subnav-col__links > li > a:hover { color: var(--green); }
.subnav-col__item:hover .subnav-col__link svg { transform: rotate(180deg); }
.subnav-dropdown,
.subnav-col__links > li > .sub-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 200px; background: var(--white);
  border: 1px solid var(--border); border-top: 3px solid var(--green);
  box-shadow: var(--shadow-md); border-radius: 0 0 5px 5px;
  padding: 8px 0; z-index: 800; animation: dropFade .15s ease;
}
.subnav-col__item:hover .subnav-dropdown,
.subnav-col__links > li:hover > .sub-menu { display: block; }
.subnav-dropdown__link,
.subnav-col__links > li > .sub-menu a { display: block; padding: 8px 18px; font-size: 13px; color: var(--text-mid); transition: background .12s, color .12s; }
.subnav-dropdown__link:hover,
.subnav-col__links > li > .sub-menu a:hover { background: var(--green-bg); color: var(--green); }

@keyframes dropFade {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HERO SLIDER
============================================================ */
.hero {
  background: var(--white); position: relative;
  max-width: var(--max-w); margin: 0 auto;
  overflow: hidden;
}
.hero__box { position: relative; width: 100%; min-height: 360px; overflow: hidden; }
.hero__slides { position: relative; width: 100%; }
.hero__slide {
  display: none; position: relative; min-height: 360px; align-items: center;
}
.hero__slide.active { display: flex; }
.hero__bg {
  position: absolute; inset: 0 0 0 42%;
  background-size: cover; background-position: center right; background-repeat: no-repeat;
  background-color: var(--white);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--white) 0%, rgba(255,255,255,.92) 10%, rgba(255,255,255,.28) 38%, rgba(255,255,255,0) 70%);
}
.hero__content {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--max-w); margin: 0 auto; padding: 56px var(--page-px);
}
.hero__tag {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-cond);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700; line-height: 1.05; color: var(--text-dark);
  max-width: 560px; margin-bottom: 18px;
  letter-spacing: .04em;
}
.hero__subtitle {
  font-size: clamp(16px, 1.6vw, 22px); color: var(--text-mid); max-width: 560px;
  margin-bottom: 30px; line-height: 1.55;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__controls {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; z-index: 10;
}
.hero__arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); border: 1px solid rgba(46,125,50,.35);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.hero__arrow:hover { background: var(--green); border-color: var(--green); }
.hero__arrow svg { width: 15px; height: 15px; stroke: var(--green); fill: none; stroke-width: 2.5; }
.hero__arrow:hover svg { stroke: var(--white); }
.hero__dots { display: flex; gap: 8px; align-items: center; }
.hero__dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(46,125,50,.25);
  border: none; cursor: pointer; transition: background .2s, transform .2s;
}
.hero__dot.active { background: var(--green); transform: scale(1.35); }

/* ============================================================
   PAGE HERO BANNER (green bar for inner pages)
============================================================ */
.page-hero {
  background: var(--green); padding: 56px 0;
  background-size: cover; background-position: center;
  position: relative;
}
.page-hero--product-cat {
  background: #2e7d32;
  background-image: none;
}
.page-hero--product-cat::before {
  display: none;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,58,26,.82);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__title {
  font-family: var(--font-cond); font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; color: var(--white); margin-bottom: 10px;
}
.page-hero__sub { font-size: 15px; color: rgba(255,255,255,.86); max-width: 680px; line-height: 1.75; }

/* Generic page body */
.page-content__body { max-width: 980px; font-size: 15.5px; line-height: 1.85; color: var(--text-mid); }
.page-content__body h2, .page-content__body h3 { font-family: var(--font-cond); font-weight: 700; color: var(--text-dark); margin: 28px 0 14px; }
.page-content__body p { margin-bottom: 18px; }
.page-content__body ul, .page-content__body ol { margin: 0 0 18px 22px; }
.page-content__body ul { list-style: disc; }
.page-content__body ol { list-style: decimal; }
.page-content__body blockquote {
  margin: 24px 0; padding: 18px 22px;
  border-left: 4px solid var(--green); background: var(--off-white);
  color: var(--text-dark); font-weight: 500;
}

/* ============================================================
   WHO WE ARE
============================================================ */
.who__intro-text { font-size: 15px; color: var(--text-mid); max-width: 780px; line-height: 1.75; margin-bottom: 48px; }
.who__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.who__grid > div { display: flex; flex-direction: column; gap: 24px; }
.who__card {
  background: var(--off-white); border-left: 4px solid var(--green);
  padding: 28px; border-radius: 0 var(--radius) var(--radius) 0;
}
.who__card-label {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.who__card-title { font-family: var(--font-cond); font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.who__card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.who__image { width: 100%; height: 220px; border-radius: var(--radius); overflow: hidden; }
.who__img  { width: 100%; height: 100%; object-fit: cover; }

/* About page */
.about-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 44px; align-items: center; }
.about-intro__body { font-size: 15px; color: var(--text-mid); line-height: 1.85; }
.about-intro__body p { margin-bottom: 18px; }
.about-intro__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); min-height: 320px; }
.about-intro__image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   PRODUCT RANGE
============================================================ */
.products__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); border-color: var(--green); transform: translateY(-3px); }
.product-card__icon { width: 100%; height: 180px; overflow: hidden; background: linear-gradient(135deg, #e8f5e9 0%, #f7fbf7 100%); flex-shrink: 0; }
.product-card__icon img,
.product-card__img { width: 100%; height: 100%; object-fit: cover; }
.product-card__icon-placeholder {
  display: block; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 70% 25%, rgba(46,125,50,.12), transparent 34%),
    linear-gradient(135deg, #e8f5e9 0%, #ffffff 100%);
}
.product-card__body { width: 100%; padding: 24px 24px 0; }
.product-card__name { font-family: var(--font-cond); font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.product-card__desc { font-size: 13.5px; color: var(--text-light); line-height: 1.65; margin-bottom: 12px; }
.product-card__count { font-size: 11px; font-weight: 700; color: var(--green); letter-spacing: .1em; text-transform: uppercase; }
.product-card__link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 700; color: var(--green); margin: auto 24px 24px;
  letter-spacing: .04em;
}
.product-card__link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }

/* Product archive grid (3-col separated) */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px; background: transparent;
  border: none; border-radius: 0; overflow: visible;
}
.product-card[role="listitem"] {
  background: var(--white); padding: 24px 24px 22px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px; border-radius: var(--radius); border: 1px solid var(--border); transform: none;
  min-height: 100%; box-shadow: 0 1px 2px rgba(0,0,0,.03);
}
.product-card[role="listitem"]:hover { background: #f9fffe; box-shadow: var(--shadow-md); border-color: var(--green); transform: translateY(-3px); }
.product-card__img-wrap {
  width: 100%; height: 220px; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 22% 18%, rgba(46,125,50,.12), transparent 30%),
    linear-gradient(135deg, #eff6ef 0%, #ffffff 100%);
  display: flex; align-items: center; justify-content: center; padding: 10px;
}
.product-card__img-wrap a {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.product-card__img-wrap img,
.product-card__img {
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; filter: drop-shadow(0 12px 22px rgba(0,0,0,.10));
}
.product-card__img-placeholder {
  display: block; width: 88px; height: 88px; border-radius: 20px;
  background:
    radial-gradient(circle at 35% 35%, rgba(46,125,50,.14), rgba(46,125,50,.05) 60%, transparent 61%),
    linear-gradient(135deg, rgba(46,125,50,.08), rgba(46,125,50,.02));
}
.product-card[role="listitem"] .product-card__body { width: 100%; padding: 0; }
.product-card__name a { color: var(--text-dark); }
.product-card__name a:hover { color: var(--green); }
.product-card[role="listitem"] .product-card__name { font-size: 20px; line-height: 1.2; margin-bottom: 8px; }
.product-card[role="listitem"] .product-card__desc {
  font-size: 13px; color: var(--text-light); line-height: 1.55;
  max-width: 260px; margin: 0 auto;
}
.product-card__actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   CORE CAPABILITIES
============================================================ */
.capabilities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.capability-card {
  border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.capability-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.capability-card__img { width: 100%; height: 200px; overflow: hidden; }
.capability-card__img img { width: 100%; height: 100%; object-fit: cover; }
.capability-card__body { padding: 24px; }
.capability-card__title { font-family: var(--font-cond); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.capability-card__desc { font-size: 13.5px; color: var(--text-light); line-height: 1.65; margin-bottom: 18px; }
.capability-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green); border: 1.5px solid var(--green); border-radius: 3px;
  padding: 7px 14px; transition: background var(--transition), color var(--transition);
}
.capability-card__link:hover { background: var(--green); color: var(--white); }

/* ============================================================
   WHY CHOOSE ALIS
============================================================ */
.why { background: var(--off-white); }
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why__images { position: relative; height: 380px; }
.why__img-main {
  position: absolute; left: 0; top: 0; width: 75%; height: 75%;
  border-radius: var(--radius); overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.why__img-main img { width: 100%; height: 100%; object-fit: cover; }
.why__img-accent {
  position: absolute; right: 0; bottom: 0; width: 52%; height: 52%;
  border-radius: var(--radius); overflow: hidden;
  border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.why__img-accent img { width: 100%; height: 100%; object-fit: cover; }
.why__list { margin: 24px 0 36px; display: flex; flex-direction: column; gap: 14px; }
.why__item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text-mid); }
.why__icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-bg); border: 2px solid var(--green);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.why__icon svg { width: 11px; height: 11px; stroke: var(--green); fill: none; stroke-width: 3; }

/* ============================================================
   KEY FIGURES
============================================================ */
.figures__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.figure-item { background: var(--white); padding: 48px 40px; text-align: center; }
.figure-item__value {
  font-family: var(--font-cond); font-size: clamp(36px, 4vw, 52px);
  font-weight: 700; color: var(--green); line-height: 1; margin-bottom: 10px;
}
.figure-item__label { font-size: 14px; color: var(--text-light); max-width: 180px; margin: 0 auto; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials { background: var(--off-white); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; position: relative;
}
.testimonial-card__quote {
  font-size: 48px; line-height: 1; color: var(--green-light);
  opacity: .35; font-family: Georgia, serif; position: absolute; top: 16px; left: 24px;
}
.testimonial-card__text { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-top: 28px; margin-bottom: 24px; }
.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.testimonial-card__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name { font-weight: 700; font-size: 14px; }
.testimonial-card__role { font-size: 12px; color: var(--text-light); }

/* ============================================================
   BLOG CARDS
============================================================ */
.blogs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition); cursor: pointer;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card__img { width: 100%; height: 200px; overflow: hidden; }
.blog-card__img-tag { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 22px; }
.blog-card__date {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.blog-card__title { font-family: var(--font-cond); font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; }
.blog-card__title a { color: var(--text-dark); }
.blog-card__title a:hover { color: var(--green); }
.blog-card__excerpt { font-size: 13.5px; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner { background: var(--green); padding: 72px var(--page-px); text-align: center; }
.cta-banner__title {
  font-family: var(--font-cond); font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700; color: var(--white); margin-bottom: 12px;
}
.cta-banner__sub { font-size: 15px; color: rgba(255,255,255,.8); max-width: 460px; margin: 0 auto 28px; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: #111111; color: #cccccc; padding: 60px 0 0; }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 48px; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--page-px) 48px;
}
.footer__logo-main { font-family: var(--font-cond); font-size: 28px; font-weight: 700; color: var(--green-light); letter-spacing: .06em; }
.footer__logo-sub  { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #7aab7c; margin-bottom: 14px; }
.footer__logo-img  { height: 40px; width: auto; margin-bottom: 12px; }
.footer__tagline   { font-size: 13px; color: #888888; line-height: 1.7; max-width: 240px; margin-bottom: 22px; }
.footer__social    { display: flex; gap: 10px; }
.footer__social-link {
  width: 34px; height: 34px; border-radius: 4px; background: #222222; border: 1px solid #333333;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer__social-link svg { width: 16px; height: 16px; stroke: #999999; fill: none; stroke-width: 1.8; }
.footer__social-link:hover { background: var(--green); border-color: var(--green); }
.footer__social-link:hover svg { stroke: white; }
.footer__col-title {
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px; padding-bottom: 10px;
  border-bottom: 2px solid var(--green); display: inline-block;
}
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__link, .footer__link-item a {
  font-size: 13.5px; color: #888888; transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer__link svg, .footer__link-item a svg { width: 13px; height: 13px; stroke: var(--green); fill: none; stroke-width: 2; flex-shrink: 0; }
.footer__link:hover, .footer__link-item a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid #222222;
  padding: 18px var(--page-px); max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: center;
  font-size: 12px; color: #555555; text-align: center;
}

/* ============================================================
   PRODUCT HERO (detail page)
============================================================ */
.product-hero { background: var(--green); overflow: hidden; }
.product-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: center;
  min-height: 300px; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--page-px);
}
.product-hero__content { padding: 58px 56px 58px 0; }
.product-hero__title { font-family: var(--font-cond); font-size: clamp(34px, 4vw, 48px); font-weight: 700; color: var(--white); margin-bottom: 14px; line-height: 1.05; }
.product-hero__desc { font-size: 14px; color: rgba(255,255,255,.86); line-height: 1.75; max-width: 500px; margin-bottom: 28px; }
.product-hero__card {
  background: var(--white); border-radius: var(--radius) var(--radius) 0 0;
  align-self: stretch; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 20px 24px; min-height: 340px;
}
.product-hero__img {
  width: 100%; height: 100%;
  border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-hero__img-tag {
  width: 100%; height: 100%;
  object-fit: contain; max-height: 300px;
}

/* Product description */
.product-desc { padding: 42px 0 24px; }
.product-desc__body { font-size: 14.5px; color: var(--text-mid); line-height: 1.9; max-width: 1040px; }
.product-desc__body p { margin-bottom: 16px; }

/* Tab bar */
.tab-bar { border-bottom: 1px solid var(--border); background: var(--white); z-index: 100; }
.tab-bar__inner {
  display: flex; align-items: center; max-width: var(--max-w);
  margin: 0 auto; padding: 0 var(--page-px); gap: 0;
}
.tab-btn {
  display: inline-flex; align-items: center;
  padding: 14px 24px; font-size: 13px; font-weight: 600; color: var(--text-mid);
  background: none; border: none; border-bottom: 3px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn:hover { color: var(--green); }
.tab-btn.active { color: var(--white); background: var(--green); border-bottom-color: var(--green); }
.product-tabs-content { background: var(--white); }
.product-tab-panel { display: none; }
.product-tab-panel.is-active { display: block; }

/* Specifications */
.specs-section { padding: 58px 0; }
.specs-section__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--text-dark); margin-bottom: 32px; }
.specs-layout { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: start; }
.specs-col { display: flex; flex-direction: column; }
.spec-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.spec-item:first-child { border-top: 1px solid var(--border); }
.spec-item__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dark); margin-bottom: 4px; }
.spec-item__value { font-size: 13.5px; color: var(--text-mid); line-height: 1.5; }
.specs-img { width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--green-bg); min-height: 220px; display: flex; align-items: center; justify-content: center; }
.specs-img__tag { width: 100%; height: auto; object-fit: contain; max-height: 260px; }

/* Product images tab */
.product-images-section { padding: 58px 0 70px; }
.product-images-section__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--text-dark); margin-bottom: 32px; }
.product-images-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-image-card {
  border-radius: var(--radius); overflow: hidden; background: var(--off-white);
  border: 1px solid var(--border); min-height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.product-image-card__img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }

/* Download tab */
.product-download-section { padding: 58px 0 70px; }
.product-download-section__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--text-dark); margin-bottom: 32px; }
.product-download-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(135deg, #f6faf6 0%, #ffffff 100%);
}
.product-download-card__content { display: flex; flex-direction: column; gap: 6px; }
.product-download-card__name { font-family: var(--font-cond); font-size: 28px; font-weight: 700; color: var(--text-dark); }
.product-download-card__meta { font-size: 14px; color: var(--text-light); }

/* Accessories */
.accessories-section { padding: 58px 0 70px; background: var(--off-white); }
.accessories-section__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.accessories-section__desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; max-width: 760px; margin-bottom: 32px; }
.accessories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.accessory-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-align: center; transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer; display: flex; flex-direction: column;
}
.accessory-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.accessory-card__img,
.related-card__img {
  width: 100%; height: 240px; overflow: hidden;
  background:
    radial-gradient(circle at 22% 18%, rgba(46,125,50,.12), transparent 30%),
    linear-gradient(135deg, #eff6ef 0%, #ffffff 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 8px;
}
.accessory-card__img-tag,
.related-card__img-tag {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,.10));
}
.accessory-card__placeholder,
.related-card__placeholder {
  display: block; width: 72px; height: 72px; border-radius: 18px;
  background:
    radial-gradient(circle at 35% 35%, rgba(46,125,50,.14), rgba(46,125,50,.05) 60%, transparent 61%),
    linear-gradient(135deg, rgba(46,125,50,.08), rgba(46,125,50,.02));
}
.accessory-card__name { padding: 16px 14px; font-size: 13px; font-weight: 600; color: var(--text-dark); }
.accessory-card__link { display: flex; flex-direction: column; height: 100%; color: var(--text-dark); }
.accessory-card__link:hover .accessory-card__name { color: var(--green); }

/* Inquiry form */
.inquiry-section { background: var(--green); padding: 72px 0; }
.inquiry-section__title { font-family: var(--font-cond); font-size: 36px; font-weight: 700; color: var(--white); text-align: center; margin-bottom: 36px; }
.inquiry-form { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.inquiry-form .full-width { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); letter-spacing: .04em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 4px; font-family: var(--font-main); font-size: 13.5px; color: var(--white); outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.45); }
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); }
.form-group textarea { resize: vertical; min-height: 110px; }
.inquiry-submit { text-align: center; margin-top: 8px; }
.inquiry-form__response { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.9); min-height: 20px; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info__body { font-size: 14.5px; color: var(--text-mid); line-height: 1.8; margin-bottom: 24px; }
.contact-info__list { margin-top: 16px; }
.contact-form-wrap__title { margin-bottom: 18px; }
.contact-form-wrap .form-group label { color: var(--text-mid); }
.contact-form-wrap .form-group input,
.contact-form-wrap .form-group textarea { background: var(--white); border: 1.5px solid var(--border); color: var(--text-dark); }
.contact-form-wrap .form-group input::placeholder,
.contact-form-wrap .form-group textarea::placeholder { color: var(--text-light); }
.contact-form-wrap .form-group input:focus,
.contact-form-wrap .form-group textarea:focus { border-color: var(--green); }
.contact-form { grid-template-columns: 1fr 1fr; }
.contact-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px; margin-top: 42px;
}
.contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.contact-card__title { font-family: var(--font-cond); font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text-dark); }
.contact-card__line { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 8px; }
.contact-card__line:last-child { margin-bottom: 0; }
.contact-card__line a { color: inherit; }
.contact-card__line a:hover { color: var(--green); }
.contact-map { margin-top: 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.contact-map iframe { display: block; width: 100%; min-height: 360px; border: 0; }

/* Contact Form 7 */
.alis-cf7-form .wpcf7-form {
  display: grid;
  gap: 14px;
}
.alis-cf7-form .wpcf7-form p { margin: 0; }
.alis-cf7-form .wpcf7-form-control-wrap { display: block; }
.alis-cf7-form input[type="text"],
.alis-cf7-form input[type="email"],
.alis-cf7-form input[type="tel"],
.alis-cf7-form input[type="number"],
.alis-cf7-form input[type="url"],
.alis-cf7-form textarea,
.alis-cf7-form select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 13.5px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.alis-cf7-form textarea { min-height: 110px; resize: vertical; }
.alis-cf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 3px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.alis-cf7-form .wpcf7-spinner { margin: 12px 0 0; }
.alis-cf7-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12px; }
.alis-cf7-form .wpcf7-response-output { margin: 14px 0 0 !important; padding: 10px 12px !important; border-radius: 4px; font-size: 13px; }

.inquiry-section .alis-cf7-form input[type="text"],
.inquiry-section .alis-cf7-form input[type="email"],
.inquiry-section .alis-cf7-form input[type="tel"],
.inquiry-section .alis-cf7-form input[type="number"],
.inquiry-section .alis-cf7-form input[type="url"],
.inquiry-section .alis-cf7-form textarea,
.inquiry-section .alis-cf7-form select {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
}
.inquiry-section .alis-cf7-form input::placeholder,
.inquiry-section .alis-cf7-form textarea::placeholder { color: rgba(255,255,255,.45); }
.inquiry-section .alis-cf7-form input:focus,
.inquiry-section .alis-cf7-form textarea:focus,
.inquiry-section .alis-cf7-form select:focus {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.18);
}
.inquiry-section .alis-cf7-form input[type="submit"] {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.inquiry-section .alis-cf7-form input[type="submit"]:hover {
  background: var(--white);
  color: var(--green);
}
.inquiry-section .alis-cf7-form .wpcf7-response-output {
  color: rgba(255,255,255,.95);
  border-color: rgba(255,255,255,.3) !important;
}

.contact-form-wrap .alis-cf7-form input[type="text"],
.contact-form-wrap .alis-cf7-form input[type="email"],
.contact-form-wrap .alis-cf7-form input[type="tel"],
.contact-form-wrap .alis-cf7-form input[type="number"],
.contact-form-wrap .alis-cf7-form input[type="url"],
.contact-form-wrap .alis-cf7-form textarea,
.contact-form-wrap .alis-cf7-form select {
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--text-dark);
}
.contact-form-wrap .alis-cf7-form input::placeholder,
.contact-form-wrap .alis-cf7-form textarea::placeholder { color: var(--text-light); }
.contact-form-wrap .alis-cf7-form input:focus,
.contact-form-wrap .alis-cf7-form textarea:focus,
.contact-form-wrap .alis-cf7-form select:focus { border-color: var(--green); }
.contact-form-wrap .alis-cf7-form input[type="submit"] {
  background: var(--green);
  color: var(--white);
  border: 1.5px solid var(--green);
}
.contact-form-wrap .alis-cf7-form input[type="submit"]:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* FAQ */
.faq-section { padding: 72px 0; }
.faq-section__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; color: var(--text-dark); margin-bottom: 32px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-item.open { border-color: #b2dfb4; }
.faq-item__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; background: var(--white); border: none; cursor: pointer;
  text-align: left; font-family: var(--font-main); font-size: 13.5px; font-weight: 600;
  color: var(--text-dark); transition: background var(--transition), color var(--transition); line-height: 1.45;
}
.faq-item.open .faq-item__trigger { background: var(--green-bg); color: var(--green); }
.faq-item__icon {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}
.faq-item__icon svg { width: 12px; height: 12px; stroke: var(--text-light); fill: none; stroke-width: 2.5; }
.faq-item.open .faq-item__icon { background: var(--green); border-color: var(--green); }
.faq-item.open .faq-item__icon svg { stroke: var(--white); }
.faq-item__body {
  display: none; padding: 12px 20px 18px; font-size: 13.5px;
  color: var(--text-mid); line-height: 1.7; background: var(--white); border-top: 1px solid #e8f5e9;
}
.faq-item.open .faq-item__body { display: block; }

/* Related Products */
.related-section { padding: 56px 0 84px; background: var(--off-white); }
.related-section__title { font-family: var(--font-cond); font-size: 34px; font-weight: 700; margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; text-align: center; transition: box-shadow var(--transition), transform var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.related-card__link { display: flex; flex-direction: column; height: 100%; color: var(--text-dark); }
.related-card__link:hover .related-card__name { color: var(--green); }
.related-card__name { padding: 16px 14px; font-size: 13px; font-weight: 600; color: var(--text-dark); }

/* Products layout */
.products-section { padding: 56px 0 80px; }
.products-layout  { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.products-main { min-width: 0; }

/* Sidebar */
.sidebar { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; position: sticky; top: 160px; }
.sidebar__header { padding: 12px 18px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); border-bottom: 1px solid var(--border); background: var(--off-white); }
.sidebar__cat { border-bottom: 1px solid var(--border); }
.sidebar__cat:last-child { border-bottom: none; }
.sidebar__cat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; background: var(--white); transition: color var(--transition), background var(--transition);
}
.sidebar__cat-row.active { background: #fbfdfb; }
.sidebar__cat-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; padding: 0; font-size: 14px; font-weight: 700; color: var(--text-dark);
  background: transparent; border: none; cursor: pointer; text-align: center;
  transition: color var(--transition), background var(--transition); border-radius: 50%;
}
.sidebar__cat-toggle:hover { background: var(--green-bg); }
.sidebar__cat-toggle.active { color: var(--green); }
.cat-icon { font-size: 18px; font-weight: 300; color: var(--text-light); line-height: 1; flex-shrink: 0; }
.sidebar__cat-toggle.active .cat-icon { color: var(--green); }
.sidebar__sub { display: none; padding: 6px 18px 14px; background: var(--off-white); }
.sidebar__sub.open { display: block; }
.sidebar__sub-item { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--text-mid); cursor: pointer; transition: color var(--transition); }
.sidebar__sub-item:hover { color: var(--green); }
.sidebar__sub-link.is-current { color: var(--green); font-weight: 700; }
.sidebar__sub-item input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--green); flex-shrink: 0; cursor: pointer; }
.sidebar__sub-note { font-size: 13px; color: var(--text-light); padding: 6px 0; }
.sidebar__checkbox { accent-color: var(--green); }

/* Breadcrumbs */
.breadcrumbs { margin-bottom: 16px; }
.breadcrumbs__list { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.breadcrumbs__item { font-size: 13px; color: rgba(255,255,255,.7); }
.breadcrumbs__item a { color: rgba(255,255,255,.85); }
.breadcrumbs__item a:hover { color: var(--white); }
.breadcrumbs__item + .breadcrumbs__item::before { content: '/'; margin-right: 6px; }

/* Pagination */
.pagination { margin: 40px 0; }
.pagination__list { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pagination__item .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 3px;
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 600;
  color: var(--text-mid); transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.pagination__item .page-numbers.current,
.pagination__item .page-numbers:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* Case study blocks */
.cs-block { margin-bottom: 36px; }
.cs-block__title { font-family: var(--font-cond); font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--green); }
.cs-block__body { font-size: 14.5px; color: var(--text-mid); line-height: 1.8; }

/* Single post */
.single-post__hero-img { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.single-post__hero-img img { width: 100%; height: auto; }
.single-post__hero-sep { display: inline-block; margin: 0 10px; opacity: .7; }
.single-post__body { font-size: 15.5px; line-height: 1.85; color: var(--text-mid); }
.single-post__body h2, .single-post__body h3 { font-family: var(--font-cond); font-weight: 700; color: var(--text-dark); margin: 28px 0 14px; }
.single-post__body p { margin-bottom: 18px; }
.single-post__body ul, .single-post__body ol { margin: 0 0 18px 22px; list-style: disc; }
.single-post__body ol { list-style: decimal; }
.single-post__body img { border-radius: var(--radius); }
.single-post__body blockquote {
  margin: 24px 0; padding: 18px 22px;
  border-left: 4px solid var(--green); background: var(--off-white);
  color: var(--text-dark); font-weight: 500;
}
.single-post__body a { color: var(--green); text-decoration: underline; }
.single-post__nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }

/* No results */
.no-results { padding: 40px; text-align: center; color: var(--text-light); font-size: 15px; }

/* WooCommerce placeholder */
.woocommerce-page .page-hero { background: var(--green); }

/* ============================================================
   WOOCOMMERCE PRODUCT GRID - ALIS styled overrides
============================================================ */

/* Grid wrapper matches our product-grid style */
.woo-product-grid.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 24px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Each product card in the loop */
.woo-product-grid li.product,
li.product.product-card {
  background: var(--white) !important;
  padding: 28px 20px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  transition: background var(--transition) !important;
}
.woo-product-grid li.product:hover { background: #f9fffe !important; }

/* Product image in loop */
.woo-product-grid li.product a img,
li.product .product-card__img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: var(--radius) !important;
  margin: 0 auto !important;
}

/* Product title in loop */
.woo-product-grid li.product .woocommerce-loop-product__title,
.woo-product-grid li.product h2 {
  font-family: var(--font-cond) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woo-product-grid li.product .woocommerce-loop-product__title a,
.woo-product-grid li.product h2 a { color: var(--text-dark) !important; }
.woo-product-grid li.product .woocommerce-loop-product__title a:hover { color: var(--green) !important; }

/* Hide WooCommerce price and rating in loop */
.woo-product-grid li.product .price,
.woo-product-grid li.product .star-rating { display: none !important; }

/* Keep actions visible on archive cards */
.woo-product-grid li.product .product-card__actions { display: flex; gap: 8px; }

/* Sidebar link items (non-checkbox version) */
.sidebar__cat-label { color: inherit; text-decoration: none; flex: 1; display: block; }
.sidebar__sub-link {
  display: block; padding: 6px 0;
  font-size: 13px; color: var(--text-mid);
  text-decoration: none;
  transition: color var(--transition);
}
.sidebar__sub-link:hover { color: var(--green); }

/* WooCommerce product category page meta */
/* WooCommerce pagination */
.woocommerce nav.woocommerce-pagination ul {
  display: flex; gap: 6px; justify-content: center;
  flex-wrap: wrap; margin: 40px 0; padding: 0; list-style: none; border: none;
}
.woocommerce nav.woocommerce-pagination ul li { border: none; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 3px;
  border: 1.5px solid var(--border); font-size: 13px; font-weight: 600;
  color: var(--text-mid); background: var(--white);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--green) !important; color: var(--white) !important;
  border-color: var(--green) !important;
}

/* WooCommerce notices */
.woocommerce-info,
.woocommerce-message {
  border-top-color: var(--green) !important;
  background: var(--green-bg) !important;
}
