/**
 * Theme Name:     Vantage Child
 * Author:         SiteOrigin
 * Template:       vantage
 * Text Domain:	   vantage-child
 * Description:    Vantage is a flexible multipurpose theme. Its strength lies in its tight integration with some powerful plugins like Page Builder for responsive page layouts, Smart Slider 3 for big beautiful sliders and WooCommerce to help you sell online. Vantage is fully responsive and retina ready. Use it to start a business site, portfolio or online store. We offer free support on our forum (https://siteorigin.com/thread/).
 */
 /* === Custom WooCommerce styling door Janet & Sandra === */
 
/* === GLOBAL LAYOUT CLEANUP === */

#main.site-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content,
.entry-content p {
    line-height: 1.6;
    word-wrap: break-word;
}

/* Remove WooCommerce tab title duplication */
.woocommerce-Tabs-panel > h2:first-of-type {
    display: none;
}

/* Fix related products title wrapping */
.related-products h2 {
    overflow-wrap: normal;
}

/* Product title spacing */
.product_title {
    margin-bottom: 10px;
}

/* Improve spacing around WooCommerce notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    margin-bottom: 20px;
}

/* Buttons: consistent look */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    border-radius: 3px;
    padding: 10px 18px;
    font-weight: 600;
}

/* Product grid spacing */
.woocommerce ul.products li.product {
    margin-bottom: 40px;
}

/* Mobile improvements */
@media (max-width: 768px) {
    #main.site-main {
        padding: 0 15px;
    }

    .product_title {
        font-size: 1.4rem;
    }
}

body,
#page {
    background: none !important;
}

body {
    background: url('https://dierennoodwinkel.nl/wp-content/uploads/2026/03/background-pattern-green.webp') repeat center top;
    background-size: auto;
}

#main.site-main,
#primary,
#content,
.site-content {
    background: transparent !important;
}


#page-wrapper {
    background: url('https://dierennoodwinkel.nl/wp-content/uploads/2026/03/background-pattern-green.webp') repeat center top !important;
    background-size: auto !important;
}


#page-wrapper {
    padding-left: 20px;
    padding-right: 20px;
}

.so-widget-sow-testimonial .sow-testimonial-text {
    box-shadow: 0 6px 25px rgba(0,0,0,0.25);
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.so-widget-sow-testimonial .panel-grid-cell {
    padding: 20px !important;
}

.infinite-carousel {
  width: 100%;
  overflow: hidden;
}

.infinite-carousel .slide {
  margin-right: 10px;
}

.infinite-carousel .slide a {
  display: block;
  background: #fff;
  padding: 8px;
  border: 1px solid #000;
  border-radius: 10px;
  box-sizing: border-box;
}

.infinite-carousel .slide img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes scroll-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.infinite-carousel .slide a {
  display: block;
  background: #fff;
  padding: 1px 1px;
  border: 1px solid #000;
  border-radius: 10px;
  box-sizing: border-box;
}

.infinite-track {
  display: flex;
  width: max-content;
  animation: scroll-horizontal 40s linear infinite;
}

.infinite-track > * {
  flex-shrink: 0;
}

.infinite-track {
  animation-duration: 70s !important;
}


@keyframes scroll-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* hover */
.woocommerce ul.products li.product-category a:hover {
    background: #333;
}
/* kaartje */
.woocommerce ul.products li.product-category {
    border: 1px solid #000;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

/* titel centreren */
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
    text-align: center;
    margin-top: 10px;
}

/* knop-styling op de titel zelf */
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
    display: inline-block;
    background: #8ca869;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    margin: 10px auto 0;
}

.woocommerce ul.products li.product-category > a {
    display: flex;
    flex-direction: column;
    align-items: center;
}*/

.woocommerce ul.products li.product-category a:hover img,
.woocommerce ul.products li.product-category a img:hover {
    filter: none !important;
    opacity: 1 !important;
}

.woocommerce ul.products li.product-category a:hover:before,
.woocommerce ul.products li.product-category a:before {
    background: none !important;
    opacity: 0 !important;
}

.infinite-carousel {
  width: 100%;
  overflow: hidden;
}


@keyframes scroll-horizontal {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.infinite-carousel .slide {
  margin-right: 10px;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.infinite-carousel .slide a {
  margin-right: 10px;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;

  background: #fff;
  padding: 8px;
  border: 1px solid #000;
  border-radius: 10px;
  box-sizing: border-box;
}

.infinite-carousel .slide a {
  display: block;
  background: none;
  padding: 0;
  border: none;
}

.infinite-carousel .slide img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 48px !important;
}

.infinite-carousel .slide img {
    margin-bottom: 48px !important;
}

.infinite-carousel .slide a {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%; /* DIT is de missing link */
}

.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title {
    background: #7a955a !important; /* donkere knop */
    color: #fff !important;
    display: inline-block;
    padding: 8px 14px;
    border-radius: 4px;
}
.woocommerce ul.products li.product-category {
    background: #e8f2e1 !important; /* zachtgroen */
    padding: 15px;
    border-radius: 6px;
}

.infinite-track {
    animation: scroll-horizontal 36s linear infinite;
}


button.single_add_to_cart_button,
.single_add_to_cart_button,
.single-product button.button,
.single-product .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button {
    background-color: #3c5415 !important;
    border-color: #3c5415 !important;
    color: #ffffff !important;
}

/* --- FORCEER groene add-to-cart knop --- */

.single-product form.cart button.single_add_to_cart_button.button.alt {
    background-color: #3c5415 !important;
    border-color: #3c5415 !important;
    color: #ffffff !important;
    padding: 12px 22px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    font-size: 16px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out !important;
}

/* Hover */
.single-product form.cart button.single_add_to_cart_button.button.alt:hover,
.single-product form.cart .single_add_to_cart_button.button.alt:hover {
    background-color: #dfb625 !important;
    border-color: #dfb625 !important;
    color: #000 !important;
    box-shadow: 0 3px 6px rgba(0,0,0,0.22) !important;
}


.single-product .woocommerce a.button.alt:hover,
.single-product .woocommerce button.button.alt:hover,
.single-product .woocommerce input.button.alt:hover,
.single-product form.cart button.single_add_to_cart_button.button.alt:hover {
    background-color: #dfb625 !important;
    border-color: #dfb625 !important;
    color: #000 !important;
}

.single-product .button.alt:hover {
    background-color: #dfb625 !important;
    border-color: #dfb625 !important;
    color: #000 !important;
}

