/* Witte header op ALLE pagina's behalve homepage */
body:not(.home) .site-header {
  background-color: #ffffff !important;
}

/* Groene tekst in navbar op niet-homepage pagina's */
body:not(.home) .main-header-menu .menu-link {
  color: #79BA7B !important;
}

/* Logo in originele kleur op alle pagina's behalve homepage */
body:not(.home) .ast-header-logo-img {
  filter: none !important;
}

/* Winkel paginatitel */
.woocommerce-products-header__title.page-title {
  font-size: 0 !important;
}
.woocommerce-products-header__title.page-title::before {
  content: "Onze cursussen";
  font-size: 2rem !important;
  color: #2c2c2a !important;
  display: block;
  font-weight: 600;
}

/* Broodkruimel "Winkel" → "Cursussen" */
.woocommerce-breadcrumb a:last-of-type,
nav.woocommerce-breadcrumb {
  font-size: 0.85rem !important;
  color: #888 !important;
}

/* Sortering en resultaattekst verbergen */
.woocommerce-result-count,
.woocommerce-ordering {
  display: none !important;
}

/* Grid: 3 kolommen met meer lucht */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
}

/* Productkaart */
.woocommerce ul.products li.product {
  border: 1px solid #ebebeb !important;
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.09) !important;
  transform: translateY(-3px) !important;
}

/* Productafbeelding vult de bovenkant */
.woocommerce ul.products li.product a img {
  border-radius: 0 !important;
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  margin: 0 !important;
  display: block !important;
}

/* Kaartinhoud */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .wc-forward {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

/* Categorie label */
.woocommerce ul.products li.product .ast-woo-product-category {
  padding: 0.75rem 1.25rem 0 !important;
  font-size: 0.75rem !important;
  color: #79BA7B !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 500 !important;
}

/* Producttitel */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #2c2c2a !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.25rem !important;
}

/* Prijs */
.woocommerce ul.products li.product .price {
  color: #79BA7B !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding-bottom: 0.75rem !important;
}

/* Knoppen */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .wc-forward {
  background: #79BA7B !important;
  color: #fff !important;
  border-radius: 50px !important;
  border: none !important;
  padding: 0.65rem 1.5rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  width: calc(100% - 2.5rem) !important;
  text-align: center !important;
  display: block !important;
  margin: 0 1.25rem 1.25rem !important;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .wc-forward:hover {
  background: #5a9e5c !important;
  color: #fff !important;
}

/* Binnenkort beschikbaar tekst netjes afkappen */
.woocommerce ul.products li.product p {
  padding: 0 1.25rem !important;
  font-size: 0.85rem !important;
  color: #79BA7B !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

/* Placeholder als er geen afbeelding is */
.woocommerce ul.products li.product a:first-child:not(:has(img))::before {
  content: "";
  display: block;
  width: 100%;
  height: 200px;
  background: #EAF3DE;
}/* Ruimte tussen titel en productgrid */
.woocommerce .products {
  margin-top: 2rem !important;
  clear: both !important;
}

/* Extra ruimte boven de winkelpagina */
.woocommerce-shop .entry-content,
.woocommerce-page .woocommerce {
  margin-top: 2rem !important;
}/* Pagina meer ademruimte geven */
.woocommerce-page .woocommerce {
  padding: 2rem 0 !important;
}

/* 2 kolommen ipv 3 zolang er weinig producten zijn */
.woocommerce ul.products {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 900px !important;
}/* Kaarten even hoog */
.woocommerce ul.products {
  align-items: stretch !important;
}

.woocommerce ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
}

/* Knop altijd onderaan */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .wc-forward {
  margin-top: auto !important;
}/* Hamburger zichtbaar op winkel en andere niet-homepage pagina's */
body:not(.home) .ast-mobile-menu-buttons svg,
body:not(.home) .ast-mobile-menu-buttons .menu-toggle-icon,
body:not(.home) .ast-mobile-menu-buttons span {
  color: #2c2c2a !important;
  background-color: #2c2c2a !important;
  stroke: #2c2c2a !important;
}body:not(.home) button.ast-mobile-menu-buttons-fill {
  color: #2c2c2a !important;
}

body:not(.home) .ast-mobile-menu-buttons button svg path {
  stroke: #2c2c2a !important;
  fill: #2c2c2a !important;
}

body:not(.home) #ast-mobile-header .ast-mobile-menu-buttons {
  color: #2c2c2a !important;
}@media (max-width: 768px) {
  .ast-footer-copyright {
    text-align: center !important;
  }
}/* Navbar tekst groen op mijn account pagina */
.woocommerce-account .main-header-menu .menu-link {
  color: #79BA7B !important;
}/* Verberg WordPress paginatitel op accountpagina's */
.woocommerce-account .entry-title {
  display: none !important;
}

/* Verberg alleen de Elementor welkom-sectie op subpagina's */
.lost-password .elementor-section,
.woocommerce-account.lost-password .elementor-widget {
  display: none !important;
}

/* Toon het WooCommerce formulier WEL op lost-password */
.woocommerce-account.lost-password .woocommerce {
  display: block !important;
  padding: 80px 20px;
  max-width: 560px;
  margin: 0 auto;
}/* Verberg Welkom terug tekst en knop op lost-password pagina */
.woocommerce-account.lost-password h2,
.woocommerce-account.lost-password .elementor-button-wrapper {
  display: none !important;
}/* Lost-password: verberg Elementor content, toon alleen formulier */
.lost-password .elementor-location-single {
  display: none !important;
}

.lost-password .woocommerce {
  display: block !important;
  padding: 80px 20px !important;
  max-width: 560px !important;
  margin: 0 auto !important;
}

.lost-password .entry-title {
  display: none !important;
}/* Verberg specifieke Elementor container op lost-password pagina */
.lost-password .elementor-element-627c098 {
  display: none !important;
}

/* Verberg Welkom terug titel */
.lost-password .elementor-element {
  display: none !important;
}

/* Toon WooCommerce formulier WEL */
.lost-password .woocommerce {
  display: block !important;
  padding: 60px 20px !important;
  max-width: 560px !important;
  margin: 0 auto !important;
}