

/* PERSONALIZATION PAGE */

/* HIDE RADIO */
[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

    /* IMAGE STYLES */
    [type=radio] + img {
        cursor: pointer;
    }

    /* CHECKED STYLES */
    [type=radio]:checked + img {
        outline: 2px solid #70786e;
    }


/* Default layout for larger screens */
.custom-image-container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap; /* Allow items to wrap */
    gap: 10px; /* Space between items */
}

.custom-image-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    max-width: 250px; /* Ensure images are limited to this size on larger screens */
}

.custom-image {
    max-width: 250px !important;
    border: 1px solid #e8ece6 !important;
    height: auto; /* Maintain aspect ratio */
}

/* Media query for mobile devices (screens <= 768px) */
@media (max-width: 768px) {
    .custom-image-container {
        justify-content: space-between; /* Distribute items evenly */
        flex-wrap: wrap; /* Make sure items can wrap to the next line */
    }

    .custom-image-selector {
        flex: 1 1 48%; /* Take up about half the width of the container */
        max-width: 48%; /* Prevent items from exceeding 48% of the container's width */
        padding: 5px; /* Adjust padding if needed */
    }

    .custom-image {
        max-width: 100% !important; /* Ensure the image fills its parent container */
    }
}

#product-new {
    width: 100% !important;
}


#button-delete-product-item {
    float: right;
}

@media (max-width: 768px) {
    #button-left {
        float: right;
    }
}

#product-title {
    color: #333333; 
    font-weight: 500;
    font-size: 20px;
}


#product-title-boxitem {
    color: #333333;
    font-weight: 400;
    font-size: 16px;
    margin-top: -10px;
}


#buttons-footer {
    margin-top: 50px;
    margin-bottom: 50px;
}

#no-padding {
    padding: 0px;
}

#add-padding {
    padding-top: 15px;
}

[id^="product-item-"] {
    padding-top: 50px; /* Adjust the padding value as per your requirement */
}

#label-for-images {
    padding: 5px;
}





/* SINGLE PRODUCT PAGE */

.cart.has-unit-price-observer, .wc-gzd-additional-info, .wc-gzd-additional-info.delivery-time-info {
    display: none;
}

.summary-padding {
    margin-bottom: 3px;
    font-size: 14px;
}

.woocommerce-Price-amount.amount {
    font-weight: 500;
    font-size: 22px;
    margin-top: 20px;
}

#product-title-single-page {
    font-size: 30px;
}

.p-single-page-italic-information {
    font-style: italic;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.summary.entry-summary {
    margin-top: 7.7em !important;
}

@media (max-width: 768px) {
    
.summary.entry-summary {
    margin-top: 15px !important;
}
}

.related.products ul li a span .woocommerce-Price-amount.amount {
    font-weight: 400;
    font-size: 16px;
}


[id^="tooltip-addons-"], [id^="tooltip-ingredients-"], [id^="tooltip-manufacturer-"] {
    padding-bottom: 10px;
    float: left;
    margin-left: -10px;
}


[id^="tooltip-addons-"]:hover, [id^="tooltip-ingredients-"]:hover, [id^="tooltip-manufacturer-"]:hover {
    cursor: pointer;
}


/* Nutrition table */
#woo-nutrition-table .nutrition-subline th {
    padding-top: 6px !important;
    background-color: rgba(0,0,0,0);
    font-family: Source Sans Pro, HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
    line-height: 1.618;
    color: #333333;
    text-rendering: optimizeLegibility;
    font-weight: 600;
}

#woo-nutrition-table td {
    background-color: rgba(0,0,0,0);
    font-family: Source Sans Pro, HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
    line-height: 1.618;
    color: #333333;
    text-rendering: optimizeLegibility;
    font-weight: 400;
}

table {
    margin: 0 0 0;
}

table td, table th {
    padding: 6px 6px 6px 6px;
}

#width40, #width60 {
    width: 33%;
}

.single_add_to_cart_button.button.alt {
    margin-top: 15px;
}


@media (min-width: 851px) {


    .storefront-full-width-content.single-product div.product .woocommerce-product-gallery {
        width: 50% !important;
        margin-right: 15px !important;
    }

    .summary.entry-summary {
        width: 48% !important;
    }

    .woocommerce-product-gallery__trigger {
        display: none !important;
    }

    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
        margin-bottom: 14px !important;
    }

    /* Make image 75% width to make room to its right */

.single-product div.product .woocommerce-product-gallery .flex-viewport {
    width: 85%;
    float: left;
}
.flex-viewport {
    width: 480px !important;
}

    
}




@media (max-width: 850px) {

    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
        width: 100% !important;
        display: flex !important;
        float: left !important;
        flex-direction: row !important;
    }


    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
        width: 25%;
    }

    #width40{
        width: 33%;
    } 
    #width60 {
        width: 33%;
    }
  
    .single_add_to_cart_button.button.alt {
        width: 100%;
    }

    .p-single-page-heading {
        text-align: center !important;
    }

    
}




/* Make Gallery 25% width and place it beside the image */

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    width: 15%;
    float: left;
}

    /* Style each Thumbnail with width and margins */

    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
       width: 90%;
        float: none;
        border: 1px solid #333;
    }


.p-single-page {
    width: 100%;
    text-align: left;
    font-family: Source Sans Pro, HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
    line-height: 1.618;
    color: #333333;
    text-rendering: optimizeLegibility;
    font-weight: 400;
}

.p-single-page-heading {
    width: 100%;
    text-align: left;
    font-family: Source Sans Pro, HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
    line-height: 1.618;
    color: #333333;
    text-rendering: optimizeLegibility;
    font-weight: 400;
}



.p-single-page-product-title {
    font-family: Source Sans Pro, HelveticaNeue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
    line-height: 1.618;
    margin-bottom: 10px;
    color: #333333;
    text-rendering: optimizeLegibility;
    font-weight: 600;
}



/* Add add to cart button near quantity input */
.quantity-cart {
    display: flex;
    align-items: center; /* Align items vertically in the center */
}

/* Adjust spacing if needed */
.quantity {
    margin-right: 3px; 
}

.single-product div.product .variations_button {
    display: none;
}

.single-product div.product table.variations select {
    max-width: 50%;
    width: 50%;
}

.single-product div.product form.cart {
    margin-bottom: 0px !important;
    padding: 0 !important;
}

.button.product_type_simple {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
    width: 100%;
}

.input-text.qty.text, .single_add_to_cart_button.button.alt {
    display: none;
}


.rtwpvg-product.product_cat-food .summary.entry-summary .input-text.qty.text, .single_add_to_cart_button.button.alt, .single-product div.product .variations_button { 
    display: block;
}

.rtwpvg-product.product_cat-food .summary.entry-summary .quantity-cart {
    display: none;
}



#single-product-without-box {
    display: inline;
}
.quantity-cart-form {
    display: flex;
    align-items: center; /* Align vertically */
    gap: 10px; /* Add space between elements */
}

.quantity-cart-form .quantity {
    margin: 0;
}

.quantity-cart-form .button {
    white-space: nowrap; /* Prevent text wrapping */
}




/* related products */
.related-productbox {
    text-align: center;
    float: left;
    margin-right: 1.4%;
    margin-left: 1.4%;
    width: 30%;
    margin-top: 45px;
}

/* Tablet styles: two column */
@media (min-width: 481px)  and (max-width:767px){
    .related-productbox {
        width: 47.1%;

    }
}


/* Mobile styles: One column */
@media (max-width: 480px) {
    .related-productbox {
        width: 100%;
    }
}

#productbox-image, #productbox-title, #productbox-button, #productbox-price{
    width: 100%;
}

#productbox-button {
    margin-bottom: 50px;
    margin-top: 10px;
}

#productbox-title {
    margin-bottom: 1px;
    font-size: 20px;
}


.related-productbox .woocommerce-Price-amount.amount {
    font-size: 18px;
}

#productbox-heading {
    margin-bottom: 0px;
    margin-top: 50px;
}








/* HOME PAGE */
#div-row-reverse-2 {
    display: flex;
    flex-direction: row-reverse;
}



#no-padding {
    padding: 0px !important;
}


#p-add-info {
    text-align: right;
    margin-bottom: 0px;
}

#price-info {
    text-align: right;
}

#section-products {
    margin-top: 80px;
}


@media (max-width: 480px) {

    #button-right {
        width: 100%;
    }
    
}

#button-right {
    float: right;
}


table.cart td.product-remove, table.cart td.actions {
    border-top-color: unset !important;
}
table.cart td.product-remove {
    border-top: unset !important;
}

.product-remove {
    margin-top: 50px;
}


/* HEADER SETTINGS */

    /*
#woocommerce-product-search-field-0 {
    background: #333;
    color: #fff;
}

.site-search .widget_product_search form::before {
    color: #fff;
}

#woocommerce-product-search-field-0::placeholder {
    color: #fff;
}

.widget.woocommerce.widget_product_search {
    margin: 0px !important;
}

.site-search {
    margin-bottom: 0px !important;
}



.secondary-navigation {
    display: flex !important ;
    align-items: center !important ;
    justify-content: flex-end !important ;
    margin-bottom: 0px !important;
}

.site-search {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-bottom: 0px !important;
}

.site-branding {
    margin-bottom: 0px !important;
}

.col-full {
    display: flex !important;
}*/

.border-div {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin: 20px;
}

.toggle {
    display: none;
}

.btn {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
    width: 50%;
    justify-content: space-around;
    font-size: 14px;
    cursor: pointer;
    background-color: #fff;
    border: 1px solid #333;
    margin: 0px !important;
}

.toggle:checked + .btn {
    background-color: #333;
    color: #ffffff;
}

#firmenkunde-label {
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
}

#privatkunde-label {
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}


/* Modal window for product box images details view */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    padding-top: 40px;
    padding-bottom: 40px;
    left: 25%;
    top: 25%;
    bottom: 25%;
    width: 50%;
    overflow:auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    align-content: center;
    justify-content: center;
    align-items: center;
}



@media (max-width: 480px) {
        
    .modal {
        z-index: 100; 
        padding-top: 40px; 
        left: 2%; 
        top: 2%; 
        width: 100%; 
    }

    .modal-content {
        width: 100% !important; 
    }
    
}

.close {
    position: absolute; 
    cursor: pointer;
    top: 15px; 
    right: 35px; 
    color: #f1f1f1; 
    font-size: 40px; 
    font-weight: bold; 
    transition: 0.3s;
}

.modal-content {
    width: 100%; /* Make the image take the full width of the modal */
    height: 100%; /* Make the image take the full height of the modal */
    object-fit: contain; /* Ensures the whole image fits inside the modal without cropping */
    display: block; /* Removes any extra space around the image */
    margin: auto; /* Centers the image */
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
  }
  
  @keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)} 
  }



  /* CART SETTINGS */
.woocommerce-cart-form__cart-item.cart_item td, .shop_table.shop_table_responsive td, .shop_table.shop_table_responsive th, #order_review, .shop_table.woocommerce-checkout-review-order-table td, .shop_table.woocommerce-checkout-review-order-table th, .woocommerce-checkout .shop_table {
    background: unset !important;
}

.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents th{
    background: unset;
    border-top: 1px solid rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    padding: 10px;

}

.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents {
    margin-top: 30px;
}

.shop_table.shop_table_responsive.cart.woocommerce-cart-form__contents .actions{
    background: unset;
    border-top: 1px solid rgba(0,0,0,0.5);
    padding-top: 10px;
}

table.cart td.actions {
    border-top: 1px solid rgba(0,0,0,0.5);
}

table:not( .has-background ) tbody tr:nth-child(2n) td, fieldset, fieldset legend {
    background-color: unset;
}
#payment .payment_methods > li .payment_box, #payment .place-order, #payment .payment_methods > li:not(.woocommerce-notice) {
    background-color: unset !important;
}

.woocommerce-gzd-checkout #order_review_heading {
    float: left;
}

.shop_table.woocommerce-checkout-review-order-table thead th {
    border-bottom: 1px solid rgba(0,0,0,0.5);
    border-top: 1px solid rgba(0,0,0,0.5);
    padding: 10px;
}

.shop_table.woocommerce-checkout-review-order-table tbody {
    padding-top: 15px;
}

.cart-subtotal th, .cart-subtotal td {
    border-top: 1px solid rgba(0,0,0,0.5);
}

.checkout_coupon.woocommerce-form-coupon {display:block!important;}

 


/* Variation Gallery */
.rtwpvg-images .rtwpvg-grid-layout .rtwpvg-container,.rtwpvg-images .rtwpvg-wrapper .rtwpvg-container {
    display: flex;
    filter: none;
    gap: var(--rtwpvg-thumbnail-gap);
    opacity: 1;
    transition: opacity .25s ease-in-out;
    visibility: visible;
    align-items: center;
}

.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-thumbnail-wrapper,.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper {
    zoom:1; 
    margin: 0;
    overflow: hidden;
    padding: 10px;
    position: relative;
    width: 180%;
    display: flex;
    align-items: center;
    flex-direction: unset;
}

.product.product_cat-produkt .rtwpvg-images .rtwpvg-thumbnail-wrapper, .product.product_cat-nonfoodprodukt .rtwpvg-images .rtwpvg-thumbnail-wrapper {
    width: 100%;
}

.product.product_cat-variableprodukt .rtwpvg-images .rtwpvg-thumbnail-wrapper, .product.product_cat-nonfoodprodukt .rtwpvg-images .rtwpvg-thumbnail-wrapper {
    width: 100%;
}

.product.product_cat-nonfoodprodukt .rtwpvg-images .rtwpvg-thumbnail-wrapper, .product.product_cat-nonfoodprodukt .rtwpvg-images .rtwpvg-thumbnail-wrapper {
    width: 100%;
}


.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image,.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider .rtwpvg-thumbnail-image {
    cursor: pointer;
    display: inline-block;
    margin: 0;
    opacity: 1;
    width: 100%;
    border: 1px solid #333;
    border-radius: 3px;
}


.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout.rtwpvg-thumbnail-position-bottom .rtwpvg-container,.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper.rtwpvg-thumbnail-position-bottom .rtwpvg-container {
    flex-direction: unset;
}


.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.slick-initialized).rtwpvg-thumbnail-columns-4,.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.slick-initialized).rtwpvg-thumbnail-columns-4 {
    grid-template-columns: unset;
}


.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-grid-layout .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.slick-initialized),.rtwpvg-images.rtwpvg-has-product-thumbnail .rtwpvg-wrapper .rtwpvg-thumbnail-wrapper .rtwpvg-thumbnail-slider:not(.slick-initialized) {
    grid-gap: var(--rtwpvg-thumbnail-gap);
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
}

.rtwpvg-images {
    max-width: 51.5%;
    width: 100%;
    float: none;
}


.rtwpvg-images .zoomImg {
    background:unset; 
    background-image: url("https://pacribo.de/wp-content/uploads/2023/11/background.png");
}



/* Additional Price information for products */
.additional-price-info-product {
    margin-top: -15px;
    margin-bottom: 25px;
}

.price.price-unit.smaller.wc-gzd-additional-info{
    display: none !important;
}

.wc-gzd-additional-info.product-units-wrapper.product-units.variation_modified.variation_gzd_modified {
    display: none !important;
}






/* PRODUKT PAGE */

.all-products img {
    padding: 30px;
    border: 1px solid rgba(1, 0, 0, 0.1);
}

.all-products .woocommerce-loop-product__title {
    text-align: center;
    color: #333333 !important;
    font-size: 17px !important;
    margin-top: 20px !important;
    margin-bottom: -5px !important;
}

.all-products .price {
    text-align: center;
    color: #7a7a7a !important;
    font-size: 16px;
    margin-top: -5px !important;
    margin-bottom: 20px !important;
}

.all-products .woocommerce-Price-amount.amount {
    font-size: 18px !important;
}

.all-products .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    background-color: #000000 !important;
    width: 100% !important;
    margin-bottom: 30px !important;
}


.additional-price-info-product .woocommerce-Price-amount.amount {
    font-size: 16px !important;
}

/*

.swiper {
    width: 100%;
  }

  .swiper-wrapper {
    display: flex;
    align-items: center;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px; 
    margin-right: 5px !important;
  }

  .swiper-slide img {
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
  }


  .swiper-pagination {
    position: relative !important; 
    margin-top: 8px !important;  
  }


  .swiper-pagination-bullet-active {
    background: #000 !important;
    opacity: 1;
  }
  
@media (max-width: 601px) {

    .swiper-wrapper {
        justify-content: center;
      }

    .swiper-slide {
    margin-right: 10px !important;
    padding: 5px !important;
    }
}

*/


/* MYBOX PAGE SETTINGS */
.button-overview-page {
    background-color: #000000;
    width: 100% !important;
    text-align: center !important;
        border: 0;
    border-radius: 0;
    border-color: #000000;
    color: #fff;
    cursor: pointer;
    padding: .6180469716em 1.41575em;
    text-decoration: none;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
}

.woocommerce-loop-product__title {
    text-align: center;
    font-weight: 500 !important;
    font-size: 17px !important;  
    padding-bottom: 10px;
    margin-top: -20px !important;
}


/* Displaying add to cart button only for variable products as standard woocommerce cart functionality*/

.product.product_cat-variableprodukt .cart {
    display: block;
}

.product.product_cat-produkt .cart .single_add_to_cart_button.button.alt{
    display: none;
}

.product.product_cat-nonfoodprodukt .cart {
    display: none;
}


.product.product_cat-pacribobox .single_add_to_cart_button.button {
    display: none;
}

.product.product_cat-variableprodukt .single_add_to_cart_button.button.alt {
    margin-top: 0px;
}

.product.product_cat-variableprodukt .single-product div.product form.cart .quantity {
    margin-right: 0px;
}


/* SEARCH SETTINGS */

.custom-search-wrapper {
    position: relative;
    display: inline-block;
}

#search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.custom-search-modal {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 300px;
    margin-right: -95px;
}

.custom-search-modal form {
    display: flex;
    flex-direction: row;
}

#search-form-products {
    margin-bottom: 5px !important;
    margin: 5px;
}

/* Style specific to the product search results page */
.search-results .attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    padding: 30px;
border: 1px solid rgba(1, 0, 0, 0.1);
 margin-bottom: 40px;
}

.storefront-sorting {
    display: none;
}

.woocommerce-products-header {
    margin-bottom: -20px !important;
    margin-top: 20px;
}

.search-results .button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
    margin-bottom: 30px !important;
}


/* BREVO SETTING */
#ws_opt_in_field {
    margin-bottom: 20px;
}