/* ==========================================================================
   ALGEMEEN
   ========================================================================== */

   
/*pijltjes bij numeric input field verbergen in: Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/*pijltjes bij numeric input field verbergen in: Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.woocommerce-section {
    padding: 60px 0;
    background-color: #fff;
}
.btn{
    background-color: #1bac91;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.green {
    color: #1bac91;
    font-weight: 600;
}

.btn:hover {
    background-color: #158c76;
    color: white;
    text-decoration: none;
}
/* Verwijder list markers */
.woocommerce ul.products {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.woocommerce ul.products li.product {
    list-style: none !important;
    list-style-type: none !important;
    margin-left: 0 !important;
}

.woocommerce ul.products li.product::marker {
    display: none !important;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.woocommerce-breadcrumb {
    font-size: 0.9rem;
    margin-top: 120px;
    margin-bottom: 2rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;

}
.breadcrumb-item a{
  text-decoration: none;;
    color: #1bac91;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
    color: #158c76;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color:#1bac91;
}

/* ==========================================================================
   PRODUCT TILES (ARCHIVE)
   ========================================================================== */
.custom-product-tile {
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-product-tile:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 200px; /* Veel kleiner - normale grootte */
    object-fit: cover; /* Cover in plaats van contain voor betere crop */
    object-position: center top; /* Focus op bovenkant van afbeelding */
    transition: all 0.3s ease;
}

.custom-product-tile:hover .product-image-wrapper img {
    transform: scale(1.02); /* Subtielere hover zoom */
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-link {
      text-decoration: none !important;
    color: inherit;
}


.product-link:hover {
    text-decoration: underline;
    color: inherit;
}

.product-title {
    color: #333;
}

.product-link:hover .product-title {
    color: #1bac91;
}


.add-to-cart-wrapper {
    padding: 0 20px 20px;
}

.add_to_cart_button {
    background-color: #1bac91;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.add_to_cart_button:hover {
    background-color: #158c76;
    color: white;
    text-decoration: none;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.product-container {
    margin-bottom: 3rem;
}

/* Product Gallery */
.product-gallery-main {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 1rem;
}

.product-image {
    width: 100% !important;
    height: auto !important;
    object-fit: scale-down !important;
    object-position: center top !important;
    transition: all 0.3s ease;
    padding: 0 !important; 
}

.product-image:hover {
    transform: scale(1.02);
}
.main-product-image {
    width: 100%;
    height: auto;
    object-fit: contain !important;
    max-height: 600px; /* Groter voor detail */
    max-width: 100%;
}

/* Thumbnails */
.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: contain !important;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail.active {
    border-color: #1bac91;
}

.thumbnail:hover {
    border-color: #ddd;
}

/* Product Info */


.product-price {
    color: #1bac91 !important;
    font-weight: 600;
    margin-bottom: 1rem;
	font-size: 1rem;
}

.product-short-description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Quantity Selector */
.quantity-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.quantity-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #495057;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 18px;
    font-weight: bold;
}

.quantity-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.quantity-btn:active {
    background-color: #dee2e6;
}

#quantity {
    text-align: center;
    width: 80px;
    height: 40px;
}

.btn-decrease {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.btn-increase {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Add to cart button */
.add-to-cart {
    background-color: #1bac91;
    border-color: #1bac91;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background-color: #158c76;
    border-color: #158c76;
}

/* Product Meta */
.product-meta {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.product-meta > div {
    margin-bottom: 0.5rem;
}

/* Stock Status */
.stock.in-stock {
    background-color: #28a745;
}

.stock.out-of-stock {
    background-color: #dc3545;
}

/* ==========================================================================
   WINKELWAGEN ICON
   ========================================================================== */
.cart-icon-menu-item .cart-icon-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-icon-menu-item .bi-cart3 {
    font-size: 1.25rem;
}

.cart-icon-menu-item .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #1bac91;
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ==========================================================================
   SHOP ARCHIVE PAGE
   ========================================================================== */
.shop-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.shop-header h1 {
    font-size: 2.5rem;
    color: #2b2b2b;
    margin-bottom: 0.5rem;
}

.shop-description {
    color: #666;
    font-size: 1.1rem;
}

.shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.results-count {
    color: #666;
    font-size: 0.9rem;
}

.shop-sorting select {
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}


/* ==========================================================================
   FLOATING ACTION BUTTON (FAB) VOOR WINKELWAGEN
   ========================================================================== */
.cart-fab {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.cart-fab.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.cart-fab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #1bac91;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(27, 172, 145, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.cart-fab-link:hover {
    background-color: #158c76;
    color: white;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(27, 172, 145, 0.6);
}

.cart-fab-link i {
    font-size: 24px;
}

.cart-fab-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.cart-fab-count.empty {
    display: none;
}

/* ==========================================================================
   RESPONSIVE AANPASSINGEN
   ========================================================================== */
@media (max-width: 768px) {
    .cart-fab {
        bottom: 50px;
        right: 50px;
    }
    
    .cart-fab-link {
        width: 50px;
        height: 50px;
    }
    
    .cart-fab-link i {
        font-size: 20px;
    }
    
    .cart-fab-count {
        min-width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    /* Shop view afbeeldingen op tablet */
    .product-image {
        height: 160px;
    }
    
    /* Single product afbeelding op tablet */
    .main-product-image {
        max-height: 400px;
    }
    
    /* Gerelateerde producten op tablet */
    .related-products .product-image {
        height: 120px;
    }
}

@media (max-width: 576px) {
    /* Shop view afbeeldingen op mobiel */
    .product-image {
        height: 140px;
    }
    
    /* Single product afbeelding op mobiel */
    .main-product-image {
        max-height: 300px;
    }
    
    /* Gerelateerde producten op mobiel */
    .related-products .product-image {
        height: 100px;
    }
}

/* Verberg FAB op cart en checkout pagina's */
.woocommerce-cart .cart-fab,
.woocommerce-checkout .cart-fab {
    display: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .woocommerce-breadcrumb {
        margin-top: 100px;
    }
   
    .product-price {
        font-size: 1.2rem;
    }
    
    .cart-icon-menu-item {
        margin-top: 15px;
    }
    
    .cart-icon-menu-item .cart-icon-link {
        justify-content: center;
        margin: 0 auto;
        width: fit-content;
    }
    
    .shop-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .custom-product-tile {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .product-image-wrapper img {
        height: 200px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .add-to-cart-wrapper {
        padding: 0 15px 15px;
    }
}