:root {
  --le-green:   #035659;
  --le-green-2: #35C85A;
  --le-green-3: #52E54B;
  --le-orange:  #FF6B00;
  --le-slate:   #0f172a;
  --le-muted:   #64748b;
  --card:       #ffffff;
  --border:     #e2e8f0;
}

/* ------------------------------------------------------------------
   Global Canvas reset
------------------------------------------------------------------ */

html {
  overflow-y: scroll;
}

body.le-canvas,
body.le-canvas * {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI,
    Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji" !important;
}

body.le-canvas,
body.le-canvas .site,
body.le-canvas #page,
body.le-canvas .hfeed {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove Astra width constraints on Canvas pages */
body.le-canvas .ast-container,
body.le-canvas .site-content,
body.le-canvas .content-area,
body.le-canvas #primary,
body.le-canvas .entry-content,
body.le-canvas .ast-plain-container .site-content .ast-container,
body.le-canvas .ast-separate-container .site-content .ast-container,
body.le-canvas .ast-page-builder-template .site-content .ast-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Remove theme header/footer on Canvas views */
body.le-canvas #masthead,
body.le-canvas #colophon {
  display: none !important;
}

/* Prevent stray horizontal scrollbars from full-bleed sections */
body.le-canvas {
  overflow-x: hidden;
}

/* Keep Woo shop header hidden even if le-canvas missed */
/* .woocommerce-page #masthead {
  display: none !important;
} */

/* Canvas root wrappers */
body.le-canvas .ast-container,
body.le-canvas #content,
body.le-canvas .wp-site-blocks {
  margin: 0 !important;
  padding: 0 !important;
}

/* ------------------------------------------------------------------
   Layout helpers
------------------------------------------------------------------ */

.lec-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.lec-flex-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

/* Full-bleed sections (hero + footer) */
body.le-canvas .lec-bleed {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;
  margin: 0 !important;
}

/* Inner content stays centered */
.lec-hero .lec-container,
.lec-footer .lec-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------------------
   Buttons
------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  border-radius: 12px;
  padding: .75rem 1.1rem;
  text-decoration: none;
}

.btn-white {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.btn-link {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: .95;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--border);
  color: #334155;
  border-radius: 12px;
  padding: .5rem .8rem;
}

.btn-dark {
  background: var(--le-green);
  color: #fff;
  border-radius: 12px;
  padding: .5rem .8rem;
}

.btn-orange {
  background: var(--le-orange);
  color: #fff;
  border-radius: .6rem;
  padding: .6rem 1rem;
}

/* ------------------------------------------------------------------
   Header + nav + icons
------------------------------------------------------------------ */

.lec-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e2e8f0;
}

.lec-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

.lec-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo sizing */
.lec-logo {
  width: auto;
  height: auto;
  max-height: 64px;
}
@media (min-width: 1024px) {
  .lec-logo {
    max-height: 72px;
  }
}
.lec-header .lec-logo {
  max-height: 72px;
}

.lec-tagline {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

/* Desktop nav by default */
.lec-menu-toggle {
  display: none;
}

.lec-nav {
  display: flex;
  gap: 22px;
  align-items: center;
  position: static;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.lec-nav a {
  font-size: 14px;
  color: #0f172a;
  padding: .5rem .75rem;
  border-radius: .6rem;
  text-decoration: none;
}
.lec-nav a:hover {
  background: #f1f5f9;
}

/* Keep header above hero bg */
.lec-header {
  z-index: 10010;
}
.lec-hero__bg {
  pointer-events: none;
}

/* Desktop safety: force-hide hamburger if class lingers */
@media (min-width: 922px) {
  .lec-menu-toggle {
    display: none !important;
  }
  .lec-header.is-open .lec-nav {
    display: flex !important;
  }
}

/* Mobile: hamburger + dropdown nav aligned right */
@media (max-width: 921px) {
  .lec-header .lec-header__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
  }

  /* Default state — light green background, green lines */
  .lec-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    order: 3;
    padding: 8px;
    border-radius: 10px;
    border: 2px solid #16a34a;
    background: #eafff2;
    color: #16a34a;
    line-height: 0;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
  }

  /* Hover/active/open state — dark green with white lines */
  .lec-menu-toggle:hover,
  .lec-menu-toggle:focus,
  .lec-menu-toggle:active,
  .lec-header.is-open .lec-menu-toggle {
    background: #166534;
    border-color: #166534;
    color: #fff;
  }

  .lec-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: auto;
    width: 260px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 14px 16px;
    flex-direction: column;
    gap: 14px;
    text-align: right;
    z-index: 10011;
  }

  .lec-header.is-open .lec-nav {
    display: flex;
  }
}

/* Hamburger icon thickness */
.lec-menu-toggle svg {
  width: 24px;
  height: 24px;
}
.lec-menu-toggle svg path {
  stroke-width: 2.5;
}

/* Header icon links (cart + account) */
.lec-icons a,
.lec-cart,
.lec-account {
  color: #16a34a !important;
  text-decoration: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lec-icons a:hover,
.lec-cart:hover,
.lec-account:hover {
  color: #15803d !important;
}

.lec-icons a svg,
.lec-cart svg,
.lec-account svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Strokes inherit link color; icons hollow by default */
.lec-icons a svg *,
.lec-cart svg *,
.lec-account svg * {
  stroke: currentColor !important;
  fill: none !important;
}

/* If you want a filled icon, use .lec-icon--solid on the <svg> */
.lec-icon--solid *,
svg.lec-icon--solid * {
  fill: currentColor !important;
  stroke: none !important;
}

/* Cart badge */
.lec-cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */

/* Tall hero only on home */
#le-canvas-home .lec-hero {
  min-height: 520px;
}

.lec-hero {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 40px 0;
  color: #fff;
}

.lec-hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 86, 89, .9) 0%, rgba(3, 86, 89, .45) 55%, rgba(3, 86, 89, 0) 100%),
    var(--hero);
  background-size: cover;
  background-position: center;
}

.lec-hero__inner {
  position: relative;
  z-index: 2;
  padding: 80px 16px;
}

.lec-hero h1,
.lec-hero p {
  color: #ffffff !important;
}

.lec-hero h1 {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.1;
  margin: 0;
  font-weight: 900;
}

.lec-hero p {
  margin: .75rem 0 0;
  max-width: 720px;
  font-size: clamp(16px, 2vw, 18px);
  opacity: .98;
}

.lec-hero__cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

@media (max-width: 767.98px) {
  .lec-hero__inner {
    padding: 64px 24px;
  }
}

/* Chip bar under hero (home page) */
.lec-chipbar {
  position: relative;
  z-index: 5;
  margin-top: -36px;
}

.lec-chipbar .lec-container {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  max-width: 920px;
}

.lec-chipbar ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #334155;
  font-weight: 500;
}

.lec-chipbar li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.lec-chip-ico {
  display: inline-grid;
  place-items: center;
  height: 28px;
  width: 28px;
  border-radius: 8px;
  background: rgba(3, 86, 89, .10);
}
.lec-chip-ico img {
  height: 18px;
  width: 18px;
  display: block;
}

/* ------------------------------------------------------------------
   Sections, grids, cards
------------------------------------------------------------------ */

.lec-section {
  padding: 56px 0;
}

.lec-section-head {
  text-align: center;
  margin-bottom: 16px;
}

.lec-section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  margin: 0;
}

.lec-sub {
  color: #475569;
  margin: .25rem 0 0;
}

.lec-viewall {
  font-size: 14px;
  color: #035659;
  font-weight: 700;
  text-decoration: none;
}

/* Grid helpers */
.lec-grid-3,
.lec-grid-2,
.lec-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .lec-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lec-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Generic card */
.lec-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, var(--le-green), var(--le-green-2), var(--le-green-3)) border-box;
}

.lec-card__head {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.lec-card__icon {
  height: 40px;
  width: 40px;
  border-radius: 12px;
  background: rgba(3, 86, 89, .1);
  display: grid;
  place-items: center;
  color: #035659;
  font-size: 18px;
}
.lec-card__icon img {
  height: 20px;
  width: 20px;
  display: block;
}

.lec-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.lec-card p {
  margin: .5rem 0 0;
  color: #475569;
}

.lec-link {
  display: inline-flex;
  margin-top: .75rem;
  color: #035659;
  font-weight: 700;
  text-decoration: none;
}
.lec-link:hover {
  text-decoration: underline;
}

/* Product-style card (home) */
.lec-prod {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.lec-prod__media {
  height: 12rem;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 80px !important;
}
.lec-prod__media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.lec-prod__body {
  padding: 16px;
  padding-top: 0;
  margin-top: 80px !important;
}

.lec-badge {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #334155;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.lec-price {
  color: #035659;
  font-weight: 900;
  margin-top: 6px;
}

.lec-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

/* Simple horizontal slider */
.lec-slider-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lec-slider-nav button {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0 !important;
  line-height: 0;
  border-radius: 999px !important;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
  aspect-ratio: 1 / 1;
}

.lec-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.lec-slider::-webkit-scrollbar {
  display: none;
}

.lec-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
@media (min-width: 768px) {
  .lec-slide {
    flex-basis: calc((100% - 40px) / 3);
  }
}

.lec-slide__media {
  position: relative;
  height: 180px;
  background: #e2e8f0;
}
.lec-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lec-slide__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
}

.lec-slide__body {
  padding: 18px;
}
.lec-slide__body h3 {
  margin: .25rem 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

/* Slider dots */
.lec-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.lec-dot {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  display: inline-block;
}
.lec-dot.is-active {
  background: #035659;
}

/* ------------------------------------------------------------------
   CTA
------------------------------------------------------------------ */

.lec-cta {
  padding: 56px 0;
}
.lec-cta__inner {
  background: linear-gradient(135deg, var(--le-green-3), var(--le-green-2));
  border-radius: 24px;
  color: #fff;
  padding: 28px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.lec-cta h2,
.lec-cta p {
  color: #fff !important;
}
.lec-cta__actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.lec-cta__actions .btn.btn-white svg {
  margin-right: 6px;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */

.lec-footer {
  background: #035659;
  color: #fff;
  padding: 40px 0;
}

.lec-footer__brand {
  font-size: 20px;
  font-weight: 900;
}

.lec-footer__title {
  font-weight: 700;
  margin-bottom: 8px;
}

.lec-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lec-footer__links li {
  margin: 4px 0;
}
.lec-footer__links a {
  color: #d1fae5;
  text-decoration: none;
}
.lec-footer__links a:hover {
  text-decoration: underline;
}

.lec-footer__muted {
  color: #d1d5db;
  font-size: 14px;
}

.lec-footer__copy {
  text-align: center;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 20px;
}

/* ------------------------------------------------------------------
   Team section
------------------------------------------------------------------ */

.lec-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .lec-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lec-team {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}

.lec-team__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
}

.lec-team__photo {
  width: 140px;
  height: 140px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  display: grid;
  place-items: center;
  border: 4px solid #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}
@media (min-width: 768px) {
  .lec-team__photo {
    width: 180px;
    height: 180px;
  }
}
.lec-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lec-team__name {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 900;
  color: #0f172a;
}

.lec-team__role {
  font-weight: 700;
  color: #035659;
  margin-top: 4px;
  font-size: clamp(16px, 1.6vw, 20px);
}

.lec-team__body p {
  margin: .5rem 0 0;
  color: #475569;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.9;
}

.lec-team__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #035659;
  font-weight: 700;
  text-decoration: none;
}
.lec-team__links a:hover {
  text-decoration: underline;
}

/* ------------------------------------------------------------------
   Workshops grid (base — shortcode adds extra CSS)
------------------------------------------------------------------ */

.lec-grid--workshops {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
@media (min-width: 640px) {
  .lec-grid--workshops {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .lec-grid--workshops {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lec-card--workshop {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  overflow: hidden;
}
.lec-card--workshop .lec-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 240px;
}
.lec-card--workshop .lec-card__body {
  padding: 16px;
}

.lec-card__title {
  font-size: clamp(18px, 2vw, 20px);
  margin: 0 0 6px;
}
.lec-card__meta {
  font-size: 14px;
  opacity: .8;
  display: flex;
  gap: 12px;
  margin-bottom: 6px;
}
.lec-card__excerpt {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
  margin: 8px 0 12px;
}

/* ------------------------------------------------------------------
   Contact form styling
------------------------------------------------------------------ */

.lec-form label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}

.lec-form input[type="text"],
.lec-form input[type="email"],
.lec-form textarea {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 16px;
  background: #fff;
  box-sizing: border-box;
}

.lec-form textarea {
  resize: vertical;
}

/* ------------------------------------------------------------------
   WooCommerce: shop grid + spacing
------------------------------------------------------------------ */



/* Product title/price slightly tighter */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price {
  font-size: .95rem;
  line-height: 1.3;
}

/* Grid layout for products */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Neutralize old float layout */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Woo adds .columns-3 on the <ul> – pin that too */
.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

/* Mobile: 1 column */
@media (max-width: 921px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce-page ul.products.columns-3 {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
}
@media (max-width: 782px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  .woocommerce ul.products.columns-3,
  .woocommerce-page ul.products.columns-3 {
    grid-template-columns: 1fr !important;
  }
}


/* ===========================
   Woo cart + checkout + single product
   Keep content in a 1200px centered container
   =========================== */

body.woocommerce-cart .site-content > .ast-container,
body.woocommerce-checkout .site-content > .ast-container,
body.single-product .site-content > .ast-container,
body.woocommerce-account .site-content > .ast-container {
  max-width: 1200px !important;
  margin-inline: auto !important;
  padding-inline: 20px !important;
  box-sizing: border-box;
}

/* Tidy the "Cart" title alignment */
body.woocommerce-cart .entry-header,
body.woocommerce-account .entry-header {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 0 20px;
  padding-top: 40px; 
}

/* Optional: if you *don’t* want to see the word “Cart” at the top,
   comment the block above and uncomment this:

   body.woocommerce-cart .entry-header { display:none; }
*/
/* Add the same top spacing on single product pages */


body.single-product .site-content > .ast-container,
body.woocommerce-checkout .site-content > .ast-container {
  padding-top: 40px !important;
}



