.woocommerce .woocommerce-products-header{
    width: 100%;
    display: none;
}
.woocommerce .woocommerce-products-header h1{
    margin: 0;
}


.woocommerce .current-cat > a{
    font-weight: bold;
}

.woocommerce.single-product .spacer{
    /* height: 50px;
    display: block; */
}
body.woocommerce.archive .woocommerce-notices-wrapper.display{
    display: block;
}

@media all and (max-width: 1199px) {
    .woocommerce .layout-content--logo + #primary,
    .woocommerce .layout-content--logo + .woocommerce-notices-wrapper,
    .woocommerce-page .layout-content--logo + .layout-content--inner{
        padding-top: 70px;
    }
}


/* woocommerce buttons */
body.woocommerce #respond input#submit.alt,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt,
body.woocommerce #respond input#submit.alt,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt{
    background-color: #444e7a;
    border-radius: 0;
}

body.woocommerce #respond input#submit.alt:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover,
body.woocommerce #respond input#submit.alt:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover{
    background-color: #31374f;
}

/* archive */

body.woocommerce .shop-archive a.added_to_cart.wc-forward {
    text-align: center;
    font-size: 80%;
    background: #009de1;
    color: white;
    padding: 5px;
    margin-top: 5px;
}

body.woocommerce .shop-archive{
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media all and (max-width: 768px) {
    .woocommerce .shop-archive{
        flex-direction: column-reverse;
    }
}


body.woocommerce.archive .woocommerce-notices-wrapper {
    display: none;
}

body.woocommerce nav.woocommerce-pagination {
    flex: 1 0 100%;
    width: 100%;
}

body.woocommerce ul.products{
    flex-grow: 1;
}

body.woocommerce ul.products .woocommerce-loop-product__title{
    text-transform: none;
}

body.woocommerce.archive aside#secondary{
    width: 200px;
}

body.woocommerce.archive ul.products,
body.woocommerce.archive .woocommerce-no-products-found{
    flex: 1 1 auto;
    max-width: calc(100% - 200px - 40px);
}

@media all and (max-width: 768px) {
    body.woocommerce.archive ul.products,
    body.woocommerce.archive .woocommerce-no-products-found{
        max-width: 100%;
    }
}

body.woocommerce ul.products li.product{
    border: 1px solid #ddd;
    padding: 10px;
}

body.woocommerce ul.products li.product .short-description{
    color: var(--color-type);
    font-size: 14px;
    margin-bottom: 10px;
}



body.woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size: 16px;
    color: var(--color-type);
    word-wrap: normal;
}

body.woocommerce ul.products li.product .price{
    font-size: 18px;
    font-weight: bold;
    color: var(--color-type);
}

body.woocommerce ul.products li.product a.product_type_simple{
    font-size: 80%;
    display: block;
    width: 100%;
    float: left;
    text-align: center;
    margin: 0;
    border-radius: 0;
}

body.woocommerce ul.products li.product a > img{
    float: left;
    width: 50%;
    display: inline-block;
    margin-right: 20px;
    max-width: 170px;
    max-height: 128px;
    height: 100%;
    width: 100%;
    object-fit: contain;
    min-width: 170px;
    min-height: 128px;
    object-position: top;
}
@media all and (max-width: 1024px) {
    body.woocommerce ul.products li.product a > img{
        width: 100%;
        margin-right: 0;
        float:none;
        max-width: 100%;
    }
}

body.woocommerce ul.products li.product a:after{
    content: "";
    display: block;
    clear: both;
}



/* single product */

hr.sep {
    width: 100%;
    display: block;
    border: none;
    height: 1px;
    background: #ddd;
}

body.single-product.woocommerce div.product{
    max-width: 100%;
}


body.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2){
    padding: 10px;
}

/*
.wcgs-slider-image img.wcgs-slider-image-tag{
    min-height: 350px;
    object-fit: contain;
} */

body.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2) img,
#wpgs-gallery .wcgs-thumb.swiper-slide img{
    border: 1px solid #ddd;
    min-height: 120px;
    object-fit: contain;
    max-height: 120px; */
}

.woocommerce.single-product .product_meta{
    font-size: 14px;
}

body.woocommerce div.product .product_title{
    font-size: 24px;
    font-weight: bold;
}

body.woocommerce div.product p.price, body.woocommerce div.product span.price{
    color: var(--color-type);
}


body.woocommerce.single ul.products,
body.woocommerce-js ul.products
{
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
    justify-content: flex-start;
    align-items: stretch;
}

body.woocommerce-js div.shop-archive ul.products
{
    align-items: flex-start;
}
@media all and (max-width: 768px) {
    body.woocommerce.single ul.products,
    body.woocommerce-js ul.products
    {
        gap: 10px;
    }
}
@media all and (max-width: 640px) {
    body.woocommerce.single ul.products,
    body.woocommerce-js ul.products
    {
        flex-direction: column;
        gap: 0;
    }
}

body.woocommerce.single ul.products li.product,
body.woocommerce-js ul.products li.product
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media all and (max-width: 640px) {
    body.woocommerce ul.products[class*=columns-] li.product,
    body.woocommerce-page ul.products[class*=columns-] li.product
    {
        width: 100%;
    }
}

body.page.woocommerce-js ul.products li.product a img {
    min-height: 270px;
    object-fit: contain;
}

.woocommerce ul.products li.product .button {
    text-align: center;
}


.shop-nav{
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
    margin: 40px 0;
    width: 100%;
}
@media all and (max-width: 768px) {
    .shop-nav{
        flex-wrap: wrap;

    }
}

.shop-nav-top {
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px;
}

.content .shop-nav-top ul,
.content .shop-nav-bottom ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
@media all and (max-width: 768px) {
    .content .shop-nav-top ul,
    .content .shop-nav-bottom ul{
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
}

.shop-nav-top ul li,
.shop-nav-bottom ul li{
    display: inline-block;
}

.shop-nav-top ul li:first-child,
.shop-nav-bottom ul li:first-child{
    margin-left: 0;
}

@media all and (max-width: 768px) {
    .content .shop-nav-top ul li,
    .content .shop-nav-bottom ul li{
        margin: 0;
    }
}

.cart-info{
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-icon {
    height: 19px;
    width: 17px;
}

.cart-items{
    background-color: #444e7a;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cart-items-count{
    color: white;
}


select.qty.text{
    /* remove default styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* add custom arrow */
    /* background-image: url(../img/arrow-down.svg); */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 10px;
    /* add custom border */
    border: 1px solid #ddd;
    border-radius: 0;
    /* add custom padding */
    padding: 6px;
    font-weight: bold;
    color: var(--color-type);

}


/* cart */

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
body.woocommerce #respond input#submit.alt,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt,
body.woocommerce #respond input#submit.alt,
body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt
{
    background-color: #444e7a;
    border-radius: 0;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
body.woocommerce #respond input#submit.alt:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover,
body.woocommerce #respond input#submit.alt:hover,
body.woocommerce a.button.alt:hover,
body.woocommerce button.button.alt:hover,
body.woocommerce input.button.alt:hover
{
    background-color: var(--color-brand);
}

body.woocommerce-cart div.woocommerce{
    margin-top: 50px;
}

.woocommerce table.shop_table.cart{
    padding: 0;
}


.woocommerce-page article.page {
    width: 100%;
}


/* checkout */

body.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order
{
    background-color: #444e7a;
    border-radius: 0;
}

body.woocommerce #payment #place_order:hover,
.woocommerce-page #payment #place_order:hover
{
    background-color: var(--color-brand);
}

.hph_agb p, .hph_unternehmer p {
    line-height: normal !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    text-align: left !important;
}


/* checkout */

.woocommerce-order-received .layout-content--inner {
    margin-top: 100px;
}


ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li {
    padding: 20px;
    border: none;
    margin: 0;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    border: 1px solid #ddd;
}

/* single page woocommerce shortcode */

BODY.single .woocommerce ul.products li.product a.button.ajax_add_to_cart{
    display: none;
}
