/*
 * LCA Twirion PRO — assets/css/main.css
 * Theme Developer: twirion.com
 * Mirrors the React application visual design 1:1
 */

/* ─── Google Fonts already enqueued via functions.php ─── */

/* ═══════════════════════════════════════════════════════════
   CSS Custom Properties (design tokens)
   ═══════════════════════════════════════════════════════════ */
:root {
  --lca-red:          #e82a00;
  --lca-red-hover:    #c82400;
  --lca-black:        #000000;
  --lca-white:        #ffffff;
  --lca-gray-50:      #f9fafb;
  --lca-gray-100:     #f3f4f6;
  --lca-gray-200:     #e5e7eb;
  --lca-gray-400:     #9ca3af;
  --lca-gray-500:     #6b7280;
  --lca-gray-600:     #4b5563;
  --lca-gray-700:     #374151;
  --lca-nav-height:   60px;
  --lca-topbar-h:     32px;
  --lca-max-w:        1400px;
  --lca-max-w-content:1280px;
  --lca-font:         'Inter', system-ui, -apple-system, sans-serif;
  --lca-transition:   150ms ease;
}

/* ═══════════════════════════════════════════════════════════
   Reset / Base
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--lca-font);
  color: var(--lca-gray-700);
  background: var(--lca-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; padding: 0; }

/* ─── Container ── */
.lca-container {
  max-width: var(--lca-max-w-content);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   SITE WRAPPER
   ═══════════════════════════════════════════════════════════ */
.lca-site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.lca-site-content { flex: 1; }

/* Prevent white gap between page content and footer */
.lca-site-content > *:last-child { margin-bottom: 0 !important; }
.lca-main,
.lca-wc-layout-outer { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.woocommerce-page .lca-site-content .woocommerce { margin-bottom: 0 !important; }

/* ═══════════════════════════════════════════════════════════
   HEADER — sticky wrapper
   ═══════════════════════════════════════════════════════════ */
.lca-header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* ─────────────────────────────────────────────────────────
   TOP BAR
   ───────────────────────────────────────────────────────── */
.lca-topbar {
  background: var(--lca-black);
  color: var(--lca-white);
  font-size: 12px;
}
.lca-topbar__inner {
  max-width: var(--lca-max-w);
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--lca-topbar-h);
}

/* Left */
.lca-topbar__left { display: flex; align-items: center; gap: 1rem; }
.lca-topbar__contact {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--lca-white);
  transition: color var(--lca-transition);
  white-space: nowrap;
}
.lca-topbar__contact:hover { color: var(--lca-red); }
.lca-topbar__contact--email { display: none; }
.lca-topbar__contact--location { display: none; color: rgba(255,255,255,.6); }
@media (min-width: 640px) { .lca-topbar__contact--email { display: flex; } }
@media (min-width: 1024px) { .lca-topbar__contact--location { display: flex; } }

/* Right */
.lca-topbar__right { display: flex; align-items: center; gap: 1rem; }
.lca-topbar__promo {
  display: none;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
@media (min-width: 768px) { .lca-topbar__promo { display: inline; } }

/* Social icons – topbar */
.lca-topbar__socials { display: flex; align-items: center; gap: 0.25rem; }
.lca-topbar__social-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lca-white);
  transition: color var(--lca-transition);
}
.lca-topbar__social-icon:hover { color: var(--lca-red); }

/* Divider */
.lca-topbar__divider {
  width: 1px; height: 16px;
  background: rgba(255,255,255,.2);
}

/* Currency switcher */
.lca-currency { position: relative; }
.lca-currency__toggle {
  display: flex; align-items: center; gap: 0.25rem;
  color: var(--lca-white); font-size: 12px;
  transition: color var(--lca-transition);
}
.lca-currency__toggle:hover { color: var(--lca-red); }
.lca-currency__dropdown {
  position: absolute; right: 0; top: 100%;
  margin-top: 4px;
  background: var(--lca-white);
  color: var(--lca-black);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  border-radius: 2px;
  min-width: 160px;
  padding-block: 4px;
  z-index: 1000;
}
.lca-currency__option {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left; padding: 8px 12px;
  font-size: 12px; gap: 1px;
  transition: background var(--lca-transition);
}
.lca-currency__option:hover { background: var(--lca-gray-100); }
.lca-currency__option.is-active .lca-currency__option-code { color: var(--lca-red); }
.lca-currency__option-code { font-weight: 600; font-size: 12px; }
.lca-currency__option-name { font-size: 10px; color: var(--lca-gray-400); }

/* ─────────────────────────────────────────────────────────
   MAIN NAV
   ───────────────────────────────────────────────────────── */
.lca-nav {
  background: var(--lca-white);
  border-bottom: 1px solid var(--lca-gray-200);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: relative;
}
.lca-nav__inner {
  max-width: var(--lca-max-w);
  margin-inline: auto;
  padding-inline: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--lca-nav-height);
}

/* Logo */
.lca-logo {
  display: flex; align-items: center; gap: 0.5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.lca-logo__icon {
  width: 36px; height: 36px;
  background: var(--lca-red);
  display: flex; align-items: center; justify-content: center;
}
.lca-logo__icon span {
  color: var(--lca-white);
  font-size: 11px;
  letter-spacing: .1em;
  font-weight: 600;
}
.lca-logo__text { line-height: 1.2; }
.lca-logo__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--lca-black);
}
.lca-logo__accent { color: var(--lca-red); }
.lca-logo__tagline {
  display: block;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--lca-gray-400);
}
/* Custom logo image */
.lca-logo img { max-height: 50px; width: auto; }
.lca-logo .custom-logo-link { display: flex; align-items: center; }

/* Desktop nav menu */
.lca-nav__menu-wrap { display: none; }
@media (min-width: 1280px) { .lca-nav__menu-wrap { display: flex; } }

.lca-nav__menu {
  display: flex; align-items: center;
  gap: 0;
}
.lca-nav__item { position: relative; }
.lca-nav__link {
  display: flex; align-items: center; gap: 2px;
  padding: 0.5rem 0.625rem;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lca-gray-700);
  white-space: nowrap;
  transition: color var(--lca-transition);
}
.lca-nav__link:hover,
.lca-nav__link.is-active { color: var(--lca-red); }
.lca-nav__chevron { flex-shrink: 0; transition: transform var(--lca-transition); }

/* Dropdown */
.lca-nav__item--has-dropdown:hover .lca-nav__dropdown,
.lca-nav__item--has-dropdown:focus-within .lca-nav__dropdown { display: block; }
.lca-nav__dropdown {
  display: none;
  position: absolute; left: 0; top: 100%;
  background: var(--lca-white);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  border: 1px solid var(--lca-gray-100);
  min-width: 220px;
  padding-block: 8px;
  z-index: 998;
}
.lca-nav__dropdown .lca-nav__item { display: block; }
.lca-nav__dropdown .lca-nav__link {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--lca-gray-600);
}
.lca-nav__dropdown .lca-nav__link:hover { color: var(--lca-red); background: var(--lca-gray-50); }

/* Right actions */
.lca-nav__actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* CTA button */
.lca-nav__cta {
  display: none;
  align-items: center; gap: 0.5rem;
  background: var(--lca-red);
  color: var(--lca-white);
  padding: 0.5rem 1rem;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--lca-transition);
}
.lca-nav__cta:hover { background: var(--lca-red-hover); color: var(--lca-white); }
@media (min-width: 1024px) { .lca-nav__cta { display: inline-flex; } }

/* Search */
.lca-nav__search-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lca-black);
  transition: color var(--lca-transition);
}
.lca-nav__search-toggle:hover { color: var(--lca-red); }
.lca-nav__search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  background: var(--lca-white);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  border-top: 2px solid var(--lca-red);
  border-bottom: 1px solid var(--lca-gray-100);
  padding: 14px 0;
  z-index: 999;
}
.lca-nav__search-panel .search-form {
  display: flex;
  gap: 8px;
  max-width: var(--lca-max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}
.lca-nav__search-panel .search-field {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--lca-gray-200);
  font-size: 13px;
  outline: none;
  font-family: var(--lca-font);
}
.lca-nav__search-panel .search-field:focus { border-color: var(--lca-red); }
.lca-nav__search-panel .search-submit {
  background: var(--lca-red);
  color: var(--lca-white);
  padding: 8px 12px;
  font-size: 13px;
  transition: background var(--lca-transition);
}
.lca-nav__search-panel .search-submit:hover { background: var(--lca-red-hover); }

/* Search results: product grid */
.lca-product-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.lca-product-search-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--lca-gray-200, #e5e7eb);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.2s;
}
.lca-product-search-card__link:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); }
.lca-product-search-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}
.lca-product-search-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.3s;
}
.lca-product-search-card__link:hover .lca-product-search-card__img img { transform: scale(1.04); }
.lca-product-search-card__body {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lca-product-search-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--lca-black, #111);
}
.lca-product-search-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--lca-red, #e82a00);
}

/* Cart icon */
.lca-nav__cart {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lca-black);
  transition: color var(--lca-transition);
}
.lca-nav__cart:hover { color: var(--lca-red); }
.lca-nav__cart-count {
  position: absolute; top: 4px; right: 4px;
  background: var(--lca-red);
  color: var(--lca-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* Hamburger */
.lca-nav__hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
}
@media (min-width: 1280px) { .lca-nav__hamburger { display: none; } }
.lca-nav__hamburger-line {
  display: block;
  width: 22px; height: 2px;
  background: var(--lca-black);
  border-radius: 1px;
  transition: all 200ms ease;
  transform-origin: center;
}
/* Open state */
.lca-nav__hamburger.is-open .lca-nav__hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lca-nav__hamburger.is-open .lca-nav__hamburger-line:nth-child(2) { opacity: 0; }
.lca-nav__hamburger.is-open .lca-nav__hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu panel */
.lca-nav__menu-wrap {
  position: fixed;
  top: calc(var(--lca-topbar-h) + var(--lca-nav-height));
  left: 0; right: 0;
  background: var(--lca-white);
  border-top: 1px solid var(--lca-gray-100);
  max-height: calc(100vh - var(--lca-topbar-h) - var(--lca-nav-height));
  overflow-y: auto;
  z-index: 997;
  display: none;
}
.lca-nav__menu-wrap.is-open { display: block; }
@media (min-width: 1280px) {
  .lca-nav__menu-wrap {
    position: static !important;
    display: flex !important;
    overflow-y: visible;
    max-height: none;
    background: transparent;
    border-top: none;
  }
}

/* Mobile menu items */
@media (max-width: 1279px) {
  .lca-nav__menu { flex-direction: column; align-items: stretch; }
  .lca-nav__item { border-bottom: 1px solid var(--lca-gray-50); }
  .lca-nav__link {
    padding: 12px 16px;
    font-size: 14px;
    justify-content: space-between;
  }
  .lca-nav__dropdown {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--lca-gray-100);
    display: block;
    padding-block: 0;
  }
  .lca-nav__dropdown .lca-nav__link {
    padding-left: 32px;
    font-size: 13px;
    color: var(--lca-gray-500);
  }
  /* CTA in mobile */
  .lca-nav__menu::after {
    content: '';
    display: block;
    padding: 16px;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.lca-footer { background: var(--lca-black); color: var(--lca-white); }

/* Made in Canada Banner */
.lca-contact {
  background: #111;
  padding: 70px 40px;
  text-align: center;
}
.lca-contact-inner {
  max-width: 680px;
  margin: 0 auto;
}
.lca-contact-maple {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lca-contact-maple img {
  display: block;
  width: 60px;
  height: auto;
  margin: 0 auto;
}
.lca-contact h2 {
  font-family: var(--lca-font);
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: none;
}
.lca-contact h2 b {
  color: #e82a00;
  font-weight: 700;
}
.lca-contact p {
  font-family: var(--lca-font);
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin: 0 0 28px;
  text-transform: none;
  letter-spacing: normal;
}
.lca-email-link {
  display: inline-block;
  font-size: 18px;
  font-weight: 600;
  color: #fff !important;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid rgba(232,42,0,0.5);
  transition: border-color 0.25s;
}
.lca-email-link:hover {
  border-color: #e82a00;
}

/* Main grid */
.lca-footer__main {
  max-width: var(--lca-max-w-content);
  margin-inline: auto;
  padding: 3.5rem 1rem;
}
.lca-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px)  { .lca-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lca-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

/* Column title */
.lca-footer__col-title {
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lca-white);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

/* Company column */
.lca-footer__brand {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.lca-footer__brand-icon {
  width: 32px; height: 32px;
  background: var(--lca-red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lca-footer__brand-icon span { color: var(--lca-white); font-size: 11px; letter-spacing: .1em; font-weight: 600; }
.lca-footer__brand-text { line-height: 1.2; }
.lca-footer__brand-name { display: block; font-size: 15px; letter-spacing: .05em; color: var(--lca-white); font-weight: 600; }
.lca-footer__brand-accent { color: var(--lca-red); }
.lca-footer__brand-tagline { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }

/* Custom logo in footer */
.lca-footer__col--company .custom-logo-link img { max-height: 50px; margin-bottom: 1.25rem; }

.lca-footer__company-desc { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.65; }

/* Footer social icons */
.lca-footer__socials { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.lca-footer__social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--lca-white);
  transition: background var(--lca-transition);
}
.lca-footer__social-icon:hover { background: var(--lca-red); }

/* Footer menus */
.lca-footer__menu { display: flex; flex-direction: column; gap: 10px; }
.lca-footer__menu li a {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  transition: color var(--lca-transition);
}
.lca-footer__menu li a:hover { color: var(--lca-red); }

/* Contact column */
.lca-footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.lca-footer__contact-item {
  display: flex; align-items: flex-start; gap: 0.625rem;
  font-size: 13px; color: rgba(255,255,255,.6);
  transition: color var(--lca-transition);
}
a.lca-footer__contact-item:hover { color: var(--lca-red); }
.lca-footer__contact-icon { color: var(--lca-red); flex-shrink: 0; margin-top: 1px; }

.lca-footer__hours {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.lca-footer__hours p { font-size: 13px; color: rgba(255,255,255,.4); }

/* Showroom hours accordion */
.lca-footer__showroom {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.lca-footer__showroom-toggle {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--lca-transition);
}
.lca-footer__showroom-toggle::-webkit-details-marker,
.lca-footer__showroom-toggle::marker { display: none; }
.lca-footer__showroom-toggle:hover { color: var(--lca-red); }
.lca-footer__showroom-toggle:hover .lca-footer__contact-icon { color: var(--lca-red); }
.lca-footer__showroom-arrow {
  margin-left: auto;
  color: rgba(255,255,255,.35);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.lca-footer__showroom[open] .lca-footer__showroom-arrow { transform: rotate(180deg); }
.lca-footer__showroom-body { padding: 0.875rem 0 0.25rem 1.5625rem; }
.lca-footer__showroom-table { border-collapse: collapse; width: 100%; margin-bottom: 0.625rem; }
.lca-footer__showroom-table td {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  padding: 3px 10px 3px 0;
  vertical-align: top;
  line-height: 1.6;
}
.lca-footer__showroom-table td:first-child { color: rgba(255,255,255,.3); min-width: 86px; }
.lca-footer__showroom-note {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}

/* Payment methods strip */
.lca-footer__payments {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.125rem 1rem;
}
.lca-footer__payments-inner {
  max-width: var(--lca-max-w-content);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}
.lca-footer__payments-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.3);
}
.lca-footer__payments-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.lca-footer__payment-icon {
  display: inline-flex;
  opacity: 0.62;
  transition: opacity .2s;
  border-radius: 4px;
  overflow: hidden;
  line-height: 1;
}
.lca-footer__payment-icon:hover { opacity: 1; }

/* Bottom bar */
.lca-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}
.lca-footer__bottom-inner {
  max-width: var(--lca-max-w-content);
  margin-inline: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .lca-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}
.lca-footer__copyright { font-size: 12px; color: rgba(255,255,255,.4); }
.lca-footer__bottom-menu { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.lca-footer__bottom-menu li a {
  font-size: 12px; color: rgba(255,255,255,.4);
  transition: color var(--lca-transition);
}
.lca-footer__bottom-menu li a:hover { color: var(--lca-white); }

/* ═══════════════════════════════════════════════════════════
   MAIN content / page layouts
   ═══════════════════════════════════════════════════════════ */
.lca-main { flex: 1; }

/* Archive header */
.lca-archive-header {
  padding-block: 3rem 2rem;
  border-bottom: 1px solid var(--lca-gray-200);
  margin-bottom: 2.5rem;
}
.lca-archive-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--lca-black);
}
.lca-archive-desc { margin-top: 0.75rem; color: var(--lca-gray-500); font-size: 15px; }

/* Posts grid */
.lca-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding-bottom: 3rem;
}

/* Post card */
.lca-post-card {
  background: var(--lca-white);
  border: 1px solid var(--lca-gray-200);
  overflow: hidden;
  transition: box-shadow 200ms ease;
}
.lca-post-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.10); }
.lca-post-card__thumb { display: block; overflow: hidden; aspect-ratio: 4/3; }
.lca-post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.lca-post-card:hover .lca-post-card__img { transform: scale(1.03); }
.lca-post-card__body { padding: 1.25rem; }
.lca-post-card__meta { font-size: 12px; color: var(--lca-gray-400); margin-bottom: 0.5rem; }
.lca-post-card__title { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 0.5rem; }
.lca-post-card__title a { color: var(--lca-black); transition: color var(--lca-transition); }
.lca-post-card__title a:hover { color: var(--lca-red); }
.lca-post-card__excerpt { font-size: 13px; color: var(--lca-gray-500); line-height: 1.6; margin-bottom: 1rem; }
.lca-post-card__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500;
  color: var(--lca-red);
  transition: gap var(--lca-transition);
}
.lca-post-card__link:hover { gap: 8px; }

/* ─── Page with hero image ── */
.lca-page-hero { position: relative; aspect-ratio: 21/7; overflow: hidden; }
.lca-page-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lca-page-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  pointer-events: none;
}
.lca-page-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.lca-page-hero__slide .lca-page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Single-image hero (no carousel): one slide fills the area */
.lca-page-hero__slides > .lca-page-hero__slide:only-child {
  opacity: 1;
  z-index: 1;
}
.lca-page-hero__img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .lca-page-hero__slide { transition: none; }
}

/* WPBakery — LCA Panels Hero: injected background carousel */
.lca-panels-hero--carousel { position: relative; }
.lca-vc-hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.lca-vc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
}
.lca-vc-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.lca-vc-hero-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .lca-vc-hero-slide { transition: none; }
}

.lca-page-hero__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.2) 100%);
  display: flex; align-items: flex-end;
  padding-bottom: 3rem;
}
.lca-page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--lca-white);
  letter-spacing: -.01em;
}
.lca-page-content { padding-block: 3rem; }

/* ─── Single post ── */
.lca-single-wrap { padding-block: 3rem; }
.lca-single-header { margin-bottom: 2rem; }
.lca-single-title { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 700; color: var(--lca-black); line-height: 1.2; text-transform: uppercase; }
.lca-single-meta { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; font-size: 13px; color: var(--lca-gray-400); flex-wrap: wrap; }
.lca-single-thumbnail { margin-bottom: 2rem; border-radius: 4px; overflow: hidden; }
.lca-single-thumbnail__img { width: 100%; }
.lca-single-content { padding-bottom: 2rem; border-bottom: 1px solid var(--lca-gray-200); }
.lca-single-footer { padding-top: 1.5rem; }
.lca-single-tags a { display: inline-block; margin: 2px; padding: 4px 10px; background: var(--lca-gray-100); font-size: 12px; color: var(--lca-gray-600); border-radius: 2px; }
.lca-single-tags a:hover { background: var(--lca-red); color: var(--lca-white); }

/* ─── Post navigation ── */
.post-navigation {
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem; padding-block: 2rem;
  border-top: 1px solid var(--lca-gray-200);
}
.nav-links { display: flex; gap: 2rem; justify-content: space-between; width: 100%; }
.nav-subtitle { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--lca-gray-400); margin-bottom: 2px; }
.nav-title { font-size: 14px; font-weight: 600; color: var(--lca-black); }
.nav-links a:hover .nav-title { color: var(--lca-red); }

/* ─── Front page hero ── */
.lca-hero { position: relative; min-height: 500px; overflow: hidden; }
.lca-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lca-hero__overlay {
  position: relative; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  min-height: 500px;
  display: flex; align-items: center;
}
.lca-hero__content { max-width: 600px; padding-block: 4rem; }
.lca-hero__title { font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; color: var(--lca-white); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 1.5rem; }
.lca-hero__lead { font-size: 18px; color: rgba(255,255,255,.85); line-height: 1.6; }

/* ─── 404 ── */
.lca-404 { padding-block: 6rem; }
.lca-404__inner { max-width: 540px; margin-inline: auto; text-align: center; }
.lca-404__code { font-size: 120px; font-weight: 900; color: var(--lca-gray-100); line-height: 1; }
.lca-404__title { font-size: 2rem; font-weight: 700; color: var(--lca-black); margin-bottom: 1rem; }
.lca-404__text { color: var(--lca-gray-500); font-size: 15px; margin-bottom: 2rem; }

/* ─── Buttons ── */
.lca-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background var(--lca-transition), color var(--lca-transition);
  cursor: pointer; border: none;
}
.lca-btn--primary { background: var(--lca-red); color: var(--lca-white); }
.lca-btn--primary:hover { background: var(--lca-red-hover); color: var(--lca-white); }
.lca-btn--outline { background: transparent; color: var(--lca-red); border: 2px solid var(--lca-red); }
.lca-btn--outline:hover { background: var(--lca-red); color: var(--lca-white); }

/* ─── No results ── */
.lca-no-results { padding-block: 4rem; text-align: center; max-width: 480px; margin-inline: auto; }
.lca-no-results h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--lca-black); }
.lca-no-results p { color: var(--lca-gray-500); margin-bottom: 1.5rem; }

/* Search term highlight */
.lca-search-term { color: var(--lca-red); font-style: italic; }

/* Posts navigation */
.posts-navigation { padding-block: 2rem; }
.nav-links { display: flex; gap: 1rem; justify-content: space-between; }
.nav-links a {
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--lca-red);
  font-size: 13px; color: var(--lca-red);
  transition: all var(--lca-transition);
}
.nav-links a:hover { background: var(--lca-red); color: var(--lca-white); }

/* ─── Prose / content typography ── */
.lca-prose { font-size: 15px; line-height: 1.75; color: var(--lca-gray-700); }
.lca-prose h1, .lca-prose h2, .lca-prose h3,
.lca-prose h4, .lca-prose h5, .lca-prose h6 {
  font-weight: 700; color: var(--lca-black); line-height: 1.3;
  margin-top: 2em; margin-bottom: .6em;
  text-transform: uppercase;
}
.lca-prose h1 { font-size: 2.25rem; }
.lca-prose h2 { font-size: 1.75rem; }
.lca-prose h3 { font-size: 1.35rem; }
.lca-prose h4 { font-size: 1.1rem; }
.lca-prose p { margin-bottom: 1.25em; }
.lca-prose ul, .lca-prose ol { margin-bottom: 1.25em; padding-left: 1.5rem; }
.lca-prose ul { list-style: disc; }
.lca-prose ol { list-style: decimal; }
.lca-prose li { margin-bottom: .4em; }
.lca-prose a { color: var(--lca-red); text-decoration: underline; text-decoration-color: rgba(232,42,0,.4); }
.lca-prose a:hover { text-decoration-color: var(--lca-red); }
.lca-prose img { width: 100%; border-radius: 4px; margin-block: 1.5em; }
.lca-prose blockquote {
  border-left: 4px solid var(--lca-red);
  margin: 1.5em 0; padding: 1em 1.5em;
  background: var(--lca-gray-50);
  font-style: italic; color: var(--lca-gray-600);
}
.lca-prose code {
  background: var(--lca-gray-100);
  padding: 2px 6px;
  font-size: .9em;
  border-radius: 3px;
}
.lca-prose pre {
  background: var(--lca-black);
  color: var(--lca-white);
  padding: 1.5rem;
  border-radius: 4px;
  overflow-x: auto;
  margin-block: 1.5em;
}
.lca-prose pre code { background: none; color: inherit; padding: 0; }
.lca-prose table { width: 100%; border-collapse: collapse; margin-block: 1.5em; font-size: 14px; }
.lca-prose th { background: var(--lca-black); color: var(--lca-white); padding: 10px 14px; text-align: left; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.lca-prose td { padding: 10px 14px; border-bottom: 1px solid var(--lca-gray-200); }
.lca-prose tr:nth-child(even) td { background: var(--lca-gray-50); }

/* ─── WooCommerce base overrides ── */
.lca-wc-wrapper { background: var(--lca-white); padding-block: 2.5rem; }
/* Hide breadcrumbs (removed via hook; CSS as safety fallback) */
.woocommerce-breadcrumb { display: none !important; }
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
  border-top-color: var(--lca-red);
  padding: 1rem 1.5rem;
  font-size: 14px;
}

/* Remove any leading/iconography from WooCommerce notices — show plain text only */
.woocommerce .woocommerce-message svg,
.woocommerce .woocommerce-error svg,
.woocommerce .woocommerce-info svg,
.woocommerce .woocommerce-message .icon,
.woocommerce .woocommerce-error .icon,
.woocommerce .woocommerce-info .icon,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before,
.woocommerce .woocommerce-info::before {
  display: none !important;
  content: none !important;
}

/* Also remove any background-image/icon that themes or plugins may add to notices
   and reset left padding so notice text sits flush (no leading icon). */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  padding-left: 0.75rem !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--lca-red) !important;
  color: var(--lca-white) !important;
  border: none;
  border-radius: 0;
  letter-spacing: .05em;
  font-size: 13px;
  transition: background var(--lca-transition);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { background: var(--lca-red-hover) !important; }
.woocommerce span.price, .woocommerce span.amount { font-weight: 700; }
/* Currency symbol: red, slightly smaller; amount number: black */
.woocommerce .woocommerce-Price-currencySymbol {
  color: var(--lca-red);
  font-size: .85em;
  margin-right: 3px;
}
.woocommerce .woocommerce-Price-amount.amount bdi {
  color: var(--lca-black);
}
.woocommerce-loop-product__title { font-size: 15px !important; font-weight: 600 !important; color: var(--lca-black) !important; text-transform: uppercase; text-align: center; display: block; overflow: visible; -webkit-line-clamp: unset; -webkit-box-orient: unset; }
.woocommerce ul.products li.product { position: relative; display: flex; flex-direction: column; }
.woocommerce ul.products li.product > a { display: flex; flex-direction: column; flex: 1 1 auto; overflow: visible !important; }
.woocommerce ul.products li.product a img { transition: transform 300ms ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.03); }

/* Ensure product actions (price / button) stick to the bottom */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .woocommerce-loop-product__title { /* spacing handled above */ }
.woocommerce ul.products li.product .product-meta { margin-top: auto; }

/* Add to cart button in product list: hidden by JS which renders overlay button instead.
   Fallback styles only (no-JS / mobile). */
.woocommerce ul.products li.product .button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--lca-red) !important;
  background: transparent !important;
  color: var(--lca-red) !important;
  padding: 10px 12px !important;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}
.woocommerce ul.products li.product .button:hover {
  background: var(--lca-red) !important;
  color: #fff !important;
}

/* Single product add to cart keeps default width; tweak appearance */
.single-product .single_add_to_cart_button {
  border: 1px solid #e82a00;
  background: transparent;
  color: #e82a00;
  text-transform: uppercase;
  padding: 10px 14px;
}
.single-product .single_add_to_cart_button:hover { background: #e82a00; color: #fff; }

/* Hide appended "View cart" inline link in product list to avoid layout shift */
.woocommerce ul.products li.product .added_to_cart { display: none !important; }

/* Styling for ordering control to look like site buttons */
.woocommerce-ordering,
.woocommerce .woocommerce-ordering { display: inline-block; }
.woocommerce-ordering select,
.woocommerce .woocommerce-ordering .orderby { border: 1px solid #e82a00; padding: 6px 10px; background: transparent; color: var(--lca-black); border-radius: 0; appearance: none; text-transform: uppercase; }
.woocommerce-ordering label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #e82a00; padding: 6px 10px; border-radius: 0; text-transform: uppercase; }

/* Single product title uppercase */
.woocommerce div.product .product_title { text-transform: uppercase; }

/* On single product page hide product_meta if requested */
.single-product .product_meta { display: none !important; }

/* ─── Product gallery: thumbnails on the LEFT ──────────── */
.woocommerce-product-gallery {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 12px;
}
/* Main slider area grows to fill remaining space */
.woocommerce-product-gallery .flex-viewport {
  flex: 1 1 auto;
  min-width: 0;
  order: 1;
}
/* Thumbnail strip: vertical column, pinned to the left */
.woocommerce-product-gallery .flex-control-thumbs {
  order: 0;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 80px;
  width: 80px !important;
  max-height: 560px;
  overflow-y: auto;
  margin: 0 !important;
  padding: 0;
}
.woocommerce-product-gallery .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}
.woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--lca-transition);
}
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery .flex-control-thumbs li img:hover {
  border-color: var(--lca-red);
}
/* Zoom trigger icon stays on top of main image */
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  order: 1;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 9;
}
/* Direction nav arrows: hide on desktop, we use thumbs */
.woocommerce-product-gallery .flex-direction-nav { display: none; }
/* Mobile: revert to stacked layout */
@media (max-width: 600px) {
  .woocommerce-product-gallery {
    flex-direction: column !important;
  }
  .woocommerce-product-gallery .flex-control-thumbs {
    flex-direction: row !important;
    flex: 0 0 auto;
    width: 100% !important;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
  }
  .woocommerce-product-gallery .flex-control-thumbs li {
    width: 64px !important;
    flex-shrink: 0;
  }
}

/* Quantity control styles (square input + hide spinner) */
.lca-qty { display: inline-flex; align-items: center; gap: 6px; }
.lca-qty button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; background: transparent; cursor: pointer; }
.lca-qty input[type="number"] { width: 56px; height: 36px; text-align: center; border: 1px solid #e5e7eb; -moz-appearance: textfield; }
/* hide number input spin buttons */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* Cart: make coupon input wider and match site controls */
.woocommerce-cart .coupon #coupon_code,
.woocommerce-cart input#coupon_code {
  width: 100%;
  max-width: 420px;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--lca-gray-200);
  box-sizing: border-box;
  font-size: 15px;
}
.woocommerce-cart .coupon .button,
.woocommerce-cart .coupon button.button {
  height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lca-red);
  background: var(--lca-red);
  color: #fff;
  text-transform: uppercase;
}

/* Cart table quantity: square centered value with square +/- buttons */
.woocommerce table.shop_table .quantity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.woocommerce table.shop_table .quantity input.qty,
.woocommerce-cart input.qty {
  width: 56px;
  height: 44px;
  text-align: center;
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
  font-size: 15px;
}
.woocommerce table.shop_table .quantity .qty-btn,
.woocommerce-cart .qty-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: transparent;
  cursor: pointer;
}
.woocommerce table.shop_table .quantity .qty-btn svg,
.woocommerce-cart .qty-btn svg { width: 16px; height: 16px; }

/* Fallback: ensure default inline quantity buttons hidden if JS adds its own */
.woocommerce table.shop_table .quantity .increase,
.woocommerce table.shop_table .quantity .decrease {
  display: none !important;
}

/* Style the LCA quantity buttons created by JS */
.lca-qty { display: inline-flex; align-items: center; gap: 6px; }
.lca-qty-decrease, .lca-qty-increase {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid #e5e7eb; background: transparent; cursor: pointer; font-size: 18px; line-height: 1;
}
.lca-qty-decrease { border-right: none; }
.lca-qty-increase { border-left: none; }
.lca-qty input[type="number"] { width: 56px; height: 44px; text-align: center; border-left: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; }

/* Unified qty block: single bordered group with red accent and hover states */
.lca-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--lca-red);
  background: #fff;
  overflow: hidden;
}
.lca-qty-decrease, .lca-qty-increase {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--lca-red); border: none; margin: 0; font-size: 18px; line-height: 1;
}
.lca-qty input[type="number"] { width: 56px; height: 44px; text-align: center; border: none; margin: 0; background: transparent; }
.lca-qty-decrease:hover, .lca-qty-increase:hover { background: var(--lca-red); color: #fff; }
.lca-qty-decrease:focus, .lca-qty-increase:focus { outline: 3px solid rgba(232,42,0,0.12); }

/* Ensure there are subtle separators between buttons and input */
.lca-qty-decrease { border-right: 1px solid rgba(0,0,0,0.04); }
.lca-qty-increase { border-left: 1px solid rgba(0,0,0,0.04); }

/* Override WooCommerce default borders for qty inputs/buttons so only the red group border shows */
.woocommerce .quantity.lca-qty--inited .lca-qty input.qty,
.woocommerce table.shop_table .quantity.lca-qty--inited .lca-qty input.qty,
.woocommerce-cart .quantity.lca-qty--inited .lca-qty input.qty,
.woocommerce .quantity.lca-qty--inited .lca-qty-decrease,
.woocommerce .quantity.lca-qty--inited .lca-qty-increase,
.woocommerce table.shop_table .quantity .lca-qty input.qty,
.woocommerce-cart input.qty {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Ensure WooCommerce's generic qty sizing doesn't override ours */
.lca-qty input.qty { width: 56px !important; height: 44px !important; }

/* Stronger overrides scoped to WooCommerce qty containers to ensure separators and hover show */
.woocommerce .quantity.lca-qty--inited .lca-qty-decrease,
.woocommerce table.shop_table .quantity.lca-qty--inited .lca-qty-decrease,
.woocommerce-cart .quantity.lca-qty--inited .lca-qty-decrease {
  border-right: 1px solid rgba(0,0,0,0.06) !important;
  color: var(--lca-red) !important;
  background: transparent !important;
}
.woocommerce .quantity.lca-qty--inited .lca-qty-increase,
.woocommerce table.shop_table .quantity.lca-qty--inited .lca-qty-increase,
.woocommerce-cart .quantity.lca-qty--inited .lca-qty-increase {
  border-left: 1px solid rgba(0,0,0,0.06) !important;
  color: var(--lca-red) !important;
  background: transparent !important;
}

/* Force hover background and color even if other CSS has higher specificity */
.woocommerce .quantity.lca-qty--inited .lca-qty-decrease:hover,
.woocommerce table.shop_table .quantity.lca-qty--inited .lca-qty-decrease:hover,
.woocommerce-cart .quantity.lca-qty--inited .lca-qty-decrease:hover,
.woocommerce .quantity.lca-qty--inited .lca-qty-increase:hover,
.woocommerce table.shop_table .quantity.lca-qty--inited .lca-qty-increase:hover,
.woocommerce-cart .quantity.lca-qty--inited .lca-qty-increase:hover {
  background: var(--lca-red) !important;
  color: #fff !important;
}

/* Ensure input shows no extra border and sits flush */
.woocommerce .quantity.lca-qty--inited .lca-qty input.qty,
.woocommerce table.shop_table .quantity.lca-qty--inited .lca-qty input.qty,
.woocommerce-cart .quantity.lca-qty--inited .lca-qty input.qty {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Product page: pricing options full-width row 1; qty + button side-by-side on row 2 */
.single-product form.cart {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Pricing options: full-width first row */
.single-product form.cart .lca-pricing-options {
  flex: 0 0 100%;
  order: 1;
  margin: 0 !important;
}

/* Qty and button: same row, side by side */
.single-product form.cart .quantity {
  flex: 0 0 auto;
  order: 2;
}
.single-product form.cart .single_add_to_cart_button {
  flex: 0 0 auto;
  order: 2;
  height: 44px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lca-red);
  background: var(--lca-red);
  color: #fff;
  text-transform: uppercase;
}
.single-product .single_add_to_cart_button:hover { background: var(--lca-red-hover); }

/* Short description — custom SVG bullet + top spacing */
.woocommerce-product-details__short-description {
  margin-top: 18px;
}
.woocommerce-product-details__short-description ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.woocommerce-product-details__short-description ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.5;
}
.woocommerce-product-details__short-description ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e82a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.801 10A10 10 0 1 1 17 3.335'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* Cart page: ensure qty group doesn't stretch rows */
.woocommerce table.shop_table .quantity .lca-qty,
.woocommerce-cart .quantity .lca-qty { vertical-align: middle; }

/* Pricing option radio labels — match site's sharp-corner style */
.lca-pricing-radio-label { border-radius: 0 !important; }

/* Custom single-select option rows */
.lca-pricing-ss-option {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background .1s, color .1s;
  border-bottom: 1px solid var(--lca-gray-100, #f3f4f6);
  color: var(--lca-black);
}
.lca-pricing-ss-option:last-child { border-bottom: none; }
.lca-pricing-ss-option:hover { background: #fef2f2; color: var(--lca-red); }
.lca-pricing-ss-option.is-selected { background: #fef2f2; color: var(--lca-red); font-weight: 600; }

/* Pricing: multiselect dropdown */
.lca-pricing-multiselect { position: relative; max-width: 360px; }
.lca-pricing-multiselect__trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--lca-gray-200, #e5e7eb);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  color: var(--lca-gray-400, #9ca3af);
  text-align: left;
  border-radius: 0;
  transition: border-color .15s;
}
.lca-pricing-multiselect__trigger:hover { border-color: var(--lca-red); }
.lca-pricing-multiselect.is-open .lca-pricing-multiselect__trigger { border-color: var(--lca-red); }
.lca-pricing-multiselect__trigger svg { flex-shrink: 0; transition: transform .15s; }
.lca-pricing-multiselect.is-open .lca-pricing-multiselect__trigger svg { transform: rotate(180deg); }
.lca-pricing-multiselect__text.has-value { color: var(--lca-black); }

.lca-pricing-multiselect__panel {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--lca-red);
  z-index: 99;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.lca-pricing-multiselect.is-open .lca-pricing-multiselect__panel,
.lca-pricing-singleselect.is-open .lca-pricing-multiselect__panel { display: block; }
.lca-pricing-singleselect { position: relative; max-width: 360px; }
.lca-pricing-ms-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: background .1s;
  border-bottom: 1px solid var(--lca-gray-100, #f3f4f6);
}
.lca-pricing-ms-option:last-child { border-bottom: none; }
.lca-pricing-ms-option:hover { background: #fef2f2; }
.lca-pricing-ms-option.is-disabled { opacity: .4; cursor: not-allowed; }

/* Hide native checkbox */
.lca-pricing-checkbox { display: none; }

/* Custom square box */
.lca-pricing-ms-option__box {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: #fff;
  position: relative;
  transition: border-color .12s, background .12s;
}
.lca-pricing-checkbox:checked ~ .lca-pricing-ms-option__box {
  border-color: var(--lca-red);
  background: var(--lca-red);
}
.lca-pricing-checkbox:checked ~ .lca-pricing-ms-option__box::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 7px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: translate(-50%, -60%) rotate(45deg);
}
.lca-pricing-checkbox:checked ~ .lca-pricing-ms-option__name { color: var(--lca-red); }
.lca-pricing-ms-option__name { font-size: 14px; }

/* Catalog: uppercase titles and center button */
.woocommerce ul.products li.product .woocommerce-loop-product__title { text-transform: uppercase; }
.woocommerce ul.products li.product .button { text-transform: uppercase; }

/* Right sidebar category styling */
.lca-cat-nav__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e82a00;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lca-gray-200, #e5e7eb);
  margin-bottom: 4px;
}
.lca-cat-nav a { font-size: 15px; text-transform: uppercase; color: inherit; display: block; padding: 6px 0; }

/* Post navigation (previous/next) — stacked and centered */
.lca-post-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
}
.lca-post-nav-link { display: block; color: var(--lca-black); text-decoration: none; max-width: 100%; }
.lca-post-nav-link .nav-subtitle { display: block; color: var(--lca-gray-400); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.lca-post-nav-link .nav-title { display: block; font-weight: 700; font-size: 16px; color: var(--lca-black); }

/* Ensure titles wrap fully (no clamp) */
.lca-post-nav .nav-title { -webkit-line-clamp: unset !important; overflow: visible !important; }
.woocommerce .star-rating span::before { color: var(--lca-red); }

/* Quantity group: remove internal vertical gaps, use box-sizing and fixed height */
.lca-qty,
.quantity .lca-qty {
  display: inline-flex !important;
  align-items: stretch !important;
  border: 1px solid var(--lca-red) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

.lca-qty button {
  box-sizing: border-box !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important; /* remove double borders from buttons */
  background: transparent !important;
  color: var(--lca-red) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.lca-qty button:focus { outline: none !important; }

.lca-qty input[type="number"], .lca-qty input.qty {
  border: none !important;
  width: 56px !important;
  height: 44px !important;
  padding: 0 6px !important;
  margin: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

.lca-qty input[type="number"]::-webkit-outer-spin-button,
.lca-qty input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* subtle divider lines between buttons and input */
.lca-qty .minus { border-right: 1px solid rgba(0,0,0,0.06) !important; }
.lca-qty .plus { border-left: 1px solid rgba(0,0,0,0.06) !important; }

.lca-qty button:hover { background: var(--lca-red) !important; color: #fff !important; }

@media (max-width: 900px) {
  .lca-qty, .lca-qty button, .lca-qty input[type="number"] { height: 40px !important; }
  .lca-qty input[type="number"] { width: 56px !important; }
}

/* Pagination: red bordered square blocks, active page red background with white digit */
/* Reset UL/NAV container — no outer border/background */
.woocommerce nav.woocommerce-pagination,
.woocommerce .woocommerce-pagination,
ul.page-numbers,
.woocommerce ul.page-numbers {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Generic rule for a/span items (no border here — controlled per-item below) */
.woocommerce nav.woocommerce-pagination .page-numbers,
.woocommerce .woocommerce-pagination .page-numbers,
.woocommerce .page-numbers a,
.woocommerce .page-numbers span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  color: var(--lca-red) !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  border: none !important; /* reset — individual borders set below */
}

/* Give each page link / span its own red square border */
.woocommerce ul.page-numbers li a.page-numbers,
.woocommerce ul.page-numbers li span.page-numbers {
  border: 1px solid var(--lca-red) !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  transition: background 150ms ease, color 150ms ease;
}
.woocommerce ul.page-numbers li a.page-numbers:hover {
  background: var(--lca-red) !important;
  color: #fff !important;
}
.woocommerce ul.page-numbers li span.current {
  background: var(--lca-red) !important;
  color: #fff !important;
  border-color: var(--lca-red) !important;
}

.woocommerce .page-numbers .current,
.woocommerce nav.woocommerce-pagination .page-numbers.current,
.woocommerce .woocommerce-pagination .current {
  background: var(--lca-red) !important;
  color: #fff !important;
  border-color: var(--lca-red) !important;
}

/* allow bigger blocks for two-digit numbers */
.woocommerce .page-numbers a, .woocommerce .page-numbers span { min-width: 44px; padding: 0 12px; }

/* Remove default list/box decoration WooCommerce or browser may add */
.woocommerce nav.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination ul,
.woocommerce .woocommerce-pagination,
.woocommerce .woocommerce-pagination ul,
.woocommerce .page-numbers {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  gap: 8px !important;
  align-items: center !important;
  justify-content: center !important;
}

.woocommerce nav.woocommerce-pagination ul li,
.woocommerce .woocommerce-pagination ul li {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Ensure dots use same square style */
.woocommerce .page-numbers.dots { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 44px !important; height: 44px !important; border: 1px solid var(--lca-red) !important; color: var(--lca-red) !important; border-radius: 0 !important; background: transparent !important; }

/* Re-style inner <a> and <span> inside pagination items */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce .woocommerce-pagination ul li a,
.woocommerce .woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 44px !important;
  height: 44px !important;
  padding: 0 10px !important;
  margin: 0 !important;
  border: 1px solid var(--lca-red) !important;
  border-radius: 0 !important;
  color: var(--lca-red) !important;
  background: transparent !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: background 150ms ease, color 150ms ease;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce .woocommerce-pagination ul li a:hover {
  background: var(--lca-red) !important;
  color: #fff !important;
}
/* Active / current page */
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce .woocommerce-pagination ul li span.current {
  background: var(--lca-red) !important;
  color: #fff !important;
  border-color: var(--lca-red) !important;
}

/* ─── Utility ── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ─── WordPress alignment classes ── */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { text-align: center; margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.alignwide { max-width: min(100%, 1200px); margin-inline: auto; }

/* ─── Print ── */
@media print {
  .lca-header, .lca-footer { display: none; }
  .lca-main { padding: 0; }
}

/* ═════════════════════════════════════════════════
   FLOATING CURRENCY WIDGET
   ═════════════════════════════════════════════════ */
.lca-fcw {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 900;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}
.lca-fcw.is-visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
  display: flex !important; /* override [hidden] once visible */
}
/* keep the [hidden] default but allow JS to add is-visible */
.lca-fcw[hidden] { display: flex; } /* flex so children lay out */

/* Trigger pill */
.lca-fcw__trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 48px;
  min-height: 64px;
  padding: 10px 6px;
  background: var(--lca-red);
  color: #fff;
  border: none;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  box-shadow: -3px 0 14px rgba(0,0,0,.18);
  transition: background 0.2s, width 0.2s;
  font-family: inherit;
  line-height: 1;
}
.lca-fcw__trigger:hover { background: #c82200; width: 52px; }
.lca-fcw__trigger svg { flex-shrink: 0; }
.lca-fcw__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Slide-out panel */
.lca-fcw__panel {
  position: absolute;
  right: 48px; /* sits left of trigger */
  top: 50%;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right center;
  background: #fff;
  border-radius: 10px 0 0 10px;
  box-shadow: -4px 0 20px rgba(0,0,0,.15);
  min-width: 190px;
  padding: 12px 0 8px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.lca-fcw__panel:not([hidden]).is-open {
  transform: translateY(-50%) scaleX(1);
  opacity: 1;
  pointer-events: auto;
}
.lca-fcw__panel-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lca-gray-400, #9ca3af);
  padding: 0 16px 8px;
  border-bottom: 1px solid var(--lca-gray-100, #f3f4f6);
  margin-bottom: 4px;
}
.lca-fcw__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.15s;
}
.lca-fcw__option:hover { background: var(--lca-gray-100, #f3f4f6); }
.lca-fcw__option.is-active { background: rgba(232, 42, 0, .06); }
.lca-fcw__option-symbol {
  font-size: 15px;
  font-weight: 700;
  color: var(--lca-black);
  min-width: 30px;
}
.lca-fcw__option.is-active .lca-fcw__option-symbol { color: var(--lca-red); }
.lca-fcw__option-info { display: flex; flex-direction: column; flex: 1; }
.lca-fcw__option-code { font-size: 12px; font-weight: 600; color: var(--lca-black); }
.lca-fcw__option-name { font-size: 10px; color: var(--lca-gray-400, #9ca3af); }
.lca-fcw__check { color: var(--lca-red); margin-left: auto; flex-shrink: 0; }

@media (max-width: 480px) {
  .lca-fcw__trigger { width: 42px; min-height: 56px; }
  .lca-fcw__panel { min-width: 160px; }
}

/* ─── Catalog layout (shop / category pages) ── */
.lca-wc-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}
.lca-wc-main {
  flex: 1;
  min-width: 0;
}

/* ─── Catalog sidebar ── */
.lca-catalog-sidebar {
  flex-shrink: 0;
  width: 260px;
  position: sticky;
  top: 100px;
}

/* ─── Category nav ── */
.lca-cat-nav__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #e82a00;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lca-gray-200, #e5e7eb);
  margin-bottom: 4px;
}
.lca-cat-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* nested lists */
.lca-cat-nav__sub .lca-cat-nav__list {
  padding-left: 14px;
  border-left: 2px solid var(--lca-gray-200, #e5e7eb);
  margin-top: 2px;
}
.lca-cat-nav__item {
  margin: 0;
}
.lca-cat-nav__row {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lca-cat-nav__link {
  flex: 1;
  display: block;
  padding: 7px 8px 7px 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--lca-black, #111);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  line-height: 1.3;
}
.lca-cat-nav__link:hover {
  color: var(--lca-red, #e82a00);
  background: rgba(232,42,0,.04);
}
.lca-cat-nav__link.is-active {
  color: var(--lca-red, #e82a00);
  font-weight: 700;
}
.lca-cat-nav__toggle {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--lca-gray-400, #9ca3af);
  border-radius: 4px;
  transition: color 0.15s, transform 0.2s;
  line-height: 1;
}
.lca-cat-nav__toggle:hover { color: var(--lca-red, #e82a00); }
.lca-cat-nav__item.is-open > .lca-cat-nav__row .lca-cat-nav__toggle {
  transform: rotate(180deg);
  color: var(--lca-red, #e82a00);
}
.lca-cat-nav__sub { margin-bottom: 4px; }
.lca-cat-nav__sub[hidden] { display: none; }

/* ─── Sidebar banner ── */
.lca-sidebar-banner {
  margin-top: 24px;
  border-radius: 6px;
  overflow: hidden;
}
.lca-sidebar-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.lca-sidebar-banner a:hover img { transform: scale(1.02); }

/* ─── Catalog promotions block ─────────────────────────── */
.lca-catalog-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 24px;
}
.lca-promo-card {
  flex: 0 0 100%;
  min-width: 0;
}
.lca-promo-card--half {
  flex: 0 0 calc(50% - 6px);
  max-width: calc(50% - 6px);
}
.lca-promo-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--lca-gray-200, #e5e7eb);
  background: #fff;
  border-radius: 0;
}
.lca-promo-card__img {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  overflow: hidden;
  border-radius: 0;
}
.lca-promo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lca-promo-card__body {
  flex: 1;
  min-width: 0;
}
.lca-promo-card__title {
  font-size: 17px;
  font-weight: 700;
  color: #e82a00;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}
.lca-promo-card__desc {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 600px) {
  .lca-promo-card,
  .lca-promo-card--half {
    flex: 0 0 100%;
    max-width: 100%;
    flex-direction: column;
  }
  .lca-promo-card__img { display: none; }
}

/* ─── Fence Toppers — mounting sections (e.g. /fence-toppers/) ──
   Wrap section in .lca-toppers-mounting for scoped headings. Auto-wrap: inc/toppers-mount-wrap.php */
.lca-toppers-mount-group {
  margin-bottom: 2rem;
}
.lca-toppers-mount-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px 24px;
  align-items: stretch;
  margin-bottom: 2rem;
}
.lca-toppers-mount-wrap > .lca-toppers-mount-group {
  flex: 1 1 260px;
  min-width: 0;
  margin-bottom: 0;
}
.lca-toppers-mount-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 1024px) {
  .lca-toppers-mount-lead,
  .lca-toppers-mounting .lca-toppers-mount-group h3 {
    text-align: center;
  }
  .lca-toppers-mount-wrap > .lca-toppers-mount-group {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .lca-toppers-mounting .lca-toppers-mount-group > h3 {
    flex-shrink: 0;
  }
  .lca-toppers-mount-items {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
  }
  .lca-toppers-mount-item {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 0;
  }
  .lca-toppers-mount-item img {
    flex-shrink: 0;
  }
  .lca-toppers-mounting .lca-toppers-mount-group h3 {
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  .lca-toppers-mount-lead {
    text-align: left;
  }
  .lca-toppers-mounting .lca-toppers-mount-group h3 {
    text-align: left;
    margin-top: 2em;
  }
}
@media (max-width: 1023px) {
  .lca-toppers-mount-wrap {
    flex-direction: column;
  }
}

/* ─── Gates — Hardware (e.g. /gates/) ──
   Markup: .lca-gates-hardware > .lca-gates-hardware-inner > (label, h2, h3) + .lca-gates-hw-group × N
   Each group: h4 + .lca-gates-hw-entries > .lca-gates-hw-item */
.lca-gates-hardware-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 24px;
  align-items: stretch;
  margin-bottom: 2rem;
  min-width: 0;
}
.lca-gates-hardware-inner > .lca-section-label,
.lca-gates-hardware-inner > h2,
.lca-gates-hardware-inner > h3 {
  grid-column: 1 / -1;
}
.lca-gates-hw-group {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.lca-gates-hw-group > h4 {
  flex-shrink: 0;
}
.lca-gates-hw-entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lca-gates-hw-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (min-width: 1024px) {
  .lca-gates-hardware-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
    align-items: stretch;
  }
  .lca-gates-hw-group {
    height: 100%;
    min-height: 0;
  }
  .lca-gates-hw-entries {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
    flex: 1 1 auto;
    min-height: 0;
  }
  .lca-gates-hw-item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .lca-gates-hw-item img {
    flex-shrink: 0;
  }
  .lca-gates-hardware .lca-gates-hardware-inner > .lca-section-label,
  .lca-gates-hardware .lca-gates-hardware-inner > h2,
  .lca-gates-hardware .lca-gates-hardware-inner > h3 {
    text-align: center;
  }
  .lca-gates-hardware .lca-gates-hardware-inner > h3 {
    margin-top: 0;
  }
}
@media (max-width: 1023px) {
  .lca-gates-hardware-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .lca-gates-hardware .lca-gates-hardware-inner > .lca-section-label,
  .lca-gates-hardware .lca-gates-hardware-inner > h2,
  .lca-gates-hardware .lca-gates-hardware-inner > h3 {
    text-align: left;
  }
  .lca-gates-hardware .lca-gates-hardware-inner > h3 {
    margin-top: 2em;
  }
}

/* Optional: multiple .lca-gates-hardware-inner in a row (WPBakery); rare */
.lca-gates-hardware-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 28px 24px;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.lca-gates-hardware-wrap > .lca-gates-hardware-inner {
  flex: 1 1 260px;
  min-width: 0;
  margin-bottom: 0;
}
@media (max-width: 1023px) {
  .lca-gates-hardware-wrap {
    flex-direction: column;
  }
}

/* ─── Responsive: sidebar stacks on mobile ── */
@media (max-width: 900px) {
  .lca-wc-layout {
    flex-direction: column;
  }
  .lca-catalog-sidebar {
    width: 100%;
    position: static;
  }
}

/* ── Product image wrapper (created by JS) ── */
.woocommerce ul.products li.product span.lca-img-wrap {
  display: block;
  position: relative;
  overflow: visible;   /* must NOT clip so overlay button can expand */
  line-height: 0;
}
/* Inner span clips only the img zoom — does not contain the overlay button */
.woocommerce ul.products li.product span.lca-img-inner {
  display: block;
  overflow: hidden;
  line-height: 0;
}
.woocommerce ul.products li.product span.lca-img-wrap img,
.woocommerce ul.products li.product span.lca-img-inner img {
  width: 100%;
  display: block;
  transition: transform 300ms ease;
}
.woocommerce ul.products li.product:hover span.lca-img-inner img {
  transform: scale(1.04);
}

/* Center price on product cards */
.woocommerce ul.products li.product .price {
  display: block;
  text-align: center;
}

/* ── Cart overlay button (injected by JS onto the image) ── */
.lca-cart-overlay-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  height: 38px;
  padding: 0 16px !important;
  box-sizing: border-box;
  background: var(--lca-red) !important;
  border: none !important;
  color: #fff !important;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: background 200ms ease, transform 100ms ease;
}
.lca-cart-overlay-btn:hover {
  background: var(--lca-red-hover, #c42200) !important;
}
.lca-cart-overlay-btn:active {
  transform: translateX(-50%) scale(0.96);
}
.lca-cart-overlay-btn .lca-cart-icon {
  flex-shrink: 0;
  display: block;
}
.lca-cart-overlay-btn .lca-cart-overlay-text {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff !important;
  white-space: nowrap;
}
/* Adding state — pulse */
.lca-cart-overlay-btn.lca-adding {
  opacity: 0.7;
  cursor: wait;
}
/* Added state — green */
.lca-cart-overlay-btn.lca-added {
  background: #2a7a2a !important;
  transition: background 200ms ease;
}
/* "Added" state */
.lca-cart-overlay-btn.added {
  background: #2c7a2c;
}

/* Mobile: smaller */
@media (max-width: 900px) {
  .lca-cart-overlay-btn { height: 34px; padding: 0 12px !important; font-size: 10px; }
}

@media (max-width: 600px) {
  .lca-wc-main{
          max-width: 100%;
  }
  h1{
          transform: translateY(0px);
  }
}
@media (max-width: 400px) {
  .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product{
  width: 100%;
  }
  .woocommerce-pagination {
  overflow: scroll;
  width: 100vw;
  transform: translateX(-32px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.woocommerce-pagination::-webkit-scrollbar {
  display: none;
}
.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering{
float: left;
}
}