/*
Theme Name:   Strube
Description:  Strube theme
Author:       SoulSurf
Template:     understrap
Version:      1.0.0
*/

:root {
    --bs-link-color: #42B3A9 !important;
    --bs-link-hover-color: #4429cc;
}

.btn-primary, .btn-outline-primary, input[type=submit] {
    --bs-btn-bg: #ffffff !important;
    --bs-btn-color: #42B3A9 !important;
    --bs-btn-border-color: #42B3A9 !important;
    --bs-btn-hover-bg: #42B3A9 !important;
    --bs-btn-hover-border-color: #42B3A9 !important;
    --bs-btn-active-bg: #42B3A9 !important;
    --bs-btn-active-border-color: #42B3A9 !important;
    --bs-btn-disabled-color: #42B3A9 !important;
    --bs-btn-disabled-border-color: #42B3A9 !important;
    --bs-btn-disabled-bg: #ffffff !important;
    border-radius: 3px !important;
    font-family: var(--bs-btn-font-family) !important;
    font-size: 17px !important;
    font-weight: var(--bs-btn-font-weight) !important;
    line-height: var(--bs-btn-line-height) !important;

    &:hover {
        color: var(--bs-btn-hover-color) !important;
    }
}

.list-group {
    --bs-list-group-active-bg: #42B3A9 !important;
    --bs-list-group-active-border-color: #42B3A9 !important;
}

body {
    opacity: 1;
}

.page .entry-title {
    display: none;
}

/* shop settigs */

p.price {
    margin: 1rem 0;
}

/*
b, strong {
    color: var(--e-global-color-accent);
}
*/

.highlight {
    font-weight: bold;
    color: var(--e-global-color-accent);
}

/* hide doubled description */
.woocommerce-product-details__short-description {
    display: none;
}

h1.woocommerce-products-header__title.page-title {
    font-size: clamp(1rem, 2.5vw, 2rem);
}

@media only screen and (max-width: 768px) {
    .summary.entry-summary {
        width: 100% !important;
    }

    .woo-product-gallery-slider.woocommerce-product-gallery.wpgs--with-images.images {
        margin: 0 auto 1rem auto;
    }
}

.woocommerce table.shop_attributes th {
    min-width: 250px;
}

strong.product-quantity {
    flex: 1;
    text-align: right;
}

@media only screen and (min-width: 768px) {
    small.product-sku {
        margin-left: 5px;
    }
}

small.product-sku:before {
    content: '(';
}

small.product-sku:after {
    content: ')';
}


/* home page */
.news-section {
    max-height: 384px;
}

/* CUSTOMIZER CSS */
body .archive-product .products {
    gap: 0px;
    display: flex;
    flex-direction: column;
}

body .archive-product .products li {
    display: flex;
    gap: 0px;
    flex-wrap: wrap;
    position: relative;
    align-items: flex-start;
    padding: 30px !important;
    padding-left: 180px !important;
    justify-content: space-between;
    background: #f8f8f8;

    border-radius: 6px;
    border: 1px solid #eaeaea;
    margin-bottom: 15px !important;
}

.archive-product .products li > a:first-of-type {
    display: flex;
    width: 150px;
    border: 1px solid #f1f1f1;
    order: 1;
    position: absolute;
    left: 7px;
}

.archive-product .products li > a:first-of-type img {
    width: 100%;
    object-fit: contain;
    margin: 0 !important;
}

.archive-product .products li > a:nth-of-type(2) {
    order: 2;
    width: calc(100% - 250px);
}

.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    font-size: 24px;
}

.archive-product .products li .product-params {
    order: 4;
    width: 100%;
}

.wx-price-button {
    order: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 200px;
}

@media (max-width: 991px) {
    .archive-product > div:first-child {
        order: 2;
        margin-top: 50px;
        width: 100%;
    }

    .archive-product > div:last-child {
        order: 1;
        width: 100%;
    }

    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .wx-price-button {
        order: 4;
        width: 100%;
        align-items: flex-start;
    }

    .archive-product .products li > a:nth-of-type(2) {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .archive-product .products li > a:first-of-type {
        position: relative;
        width: 100%;
    }

    body .archive-product .products li {
        padding: 10px !important;
    }
}

.woocommerce ul.products li.product .price {
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: right;
    align-items: center;
    gap: 0px 5px;
    color: #000;
}

.wx-price-button .woocommerce-Price-amount {
    font-size: 30px;

}

.woocommerce-price-suffix {
    display: block;
    width: 100%;
    color: #212529;

}

.product-params p span {
    font-weight: 600;
}

.archive-product-category-list {
    list-style: none;
    padding: 0;
}

.archive-product-category-list li a {
    list-style: none;
    background: #f8f8f8;
    padding: 15px;

    border: 1px solid #eaeaea;
    text-align: left;
    text-decoration: none;
    margin-bottom: 2px;
    border-left: 5px solid #41b3a9;
    display: flex;

}

.archive-product-category-list li a:hover {
    background: #e8e8e8;
}

.archive-product-category-list ul {
    list-style: none;
    padding-left: 0px;
}

.archive-product-category-list ul li a {
    border-left: 5px solid #d0d0d0;
    background: #fcfcfc;
    padding: 5px 15px;
}

.archive-product-category-list a {
    text-decoration: none;
    color: #212529 !important;
    font-weight: 500;
}

.product-params p:last-child {
    border-top: 1px solid #eaeaea;
    padding-top: 10px;
}

.woocommerce-products-header__title {
    margin-bottom: 4px;
}


.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
    padding: 15px;
}

.elementor-78049 .elementor-element.elementor-element-f4fa037 .sub-menu li a.uael-sub-menu-item, .elementor-78049 .elementor-element.elementor-element-f4fa037 nav.uael-dropdown li a.uael-menu-item, .elementor-78049 .elementor-element.elementor-element-f4fa037 nav.uael-dropdown li a.uael-sub-menu-item, .elementor-78049 .elementor-element.elementor-element-f4fa037 nav.uael-dropdown-expandible li a.uael-menu-item {
    padding-left: 10px !important;
}

.woocommerce ul.products li.product a img {
    height: 200px;
    object-fit: contain;
    background: #f8f8f8;
    padding: 15px;
}

.related.products .wx-price-button {
    align-items: flex-start;
}

.woocommerce-products-header__title.page-title {
    border-bottom: 3px solid #eaeaea;
    margin-bottom: 21px;
    padding-bottom: 15px;
}

.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    width: 300px;
}

.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    width: calc(100% - 330px);
}

.shop_attributes ul {
    margin: 0;
}

.product_meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    /*padding: 8px;*/
}

.sku_wrapper {
    font-weight: 600;
    order: 2;

}

.sku_wrapper span {
    font-weight: 400;
    margin-left: 34px

}

.posted_in {

    font-weight: 600;
    margin-bottom: 20px;
}

.posted_in a {
    font-weight: 400;

}

.woocommerce table.shop_attributes {
    /*margin-top: - 20 px;*/
}

.woocommerce table.shop_attributes tr:nth-child(odd) td, .woocommerce table.shop_attributes tr:nth-child(odd) th {
    background: rgba(0, 0, 0, .025);
}

.woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
    background: rgba(255, 255, 255, 0);
}

.woocommerce-price-suffix {
    display: none;
}

.komponist_image {
    border-radius: 6px;
}

.komponist_image + p {
    font-size: 12px;
    margin-top: 10px;
    text-align: justify;
    color: #383838;
}


li.menu-item {
    cursor: pointer;
}


.add-to-cart-container a:hover {
    background-color: var(--e-global-color-accent) !important;
    border-color: #198754 !important;
    color: white !important;
}

.elementor-menu-cart__products {
    height: 100%;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout, .elementor-menu-cart__footer-buttons .elementor-button--view-cart, a.button.wc-forward {
    background-color: var(--e-global-color-accent) !important;
    border-radius: 3px !important;
    border-color: #198754 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.alert-success, .woocommerce-notices-wrapper .woocommerce-message, .alert-info, .woocommerce-info {
    --bs-alert-color: black !important;
    --bs-alert-bg: #f5fbfa !important;
    --bs-alert-border-color: var(--e-global-color-accent) !important;
    border-radius: 3px !important;
}

.woocommerce-checkout-payment, .woocommerce table.shop_table, .woocommerce_checkout_place_order {
    background: none !important;
    border: 1px solid var(--e-global-color-accent) !important;
    border-radius: 3px !important;

    > ul {
        border-bottom: 0 !important;
    }
}

.wc-gzd-cart-item-thumbnail > img {
    max-height: 100px;
    width: auto;
}

button#place_order {
    float: right;
    background: #52b2a9;
    border: 1px solid #198754 !important;
    border-radius: 3px;
    padding: 15px 30px;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    font-size: 1rem;
    padding-top: 4px;
}

.elementor-nav-menu--main > .elementor-nav-menu > li > .elementor-nav-menu--dropdown {
    margin-top: 0 !important;
    border-radius: 3px;
}

/* Product page*/

select#pa_instrument-ausgabe {
    /* appearance: none; */
    height: 36px;
    border-radius: 5px;
    border-color: #42B3A9 !important;
    /* color: #42B3A9 !important;*/
    padding: 0 10px;
}

.woocommerce-tabs.wc-tabs-wrapper {
    margin-bottom: 50px;
    padding-bottom: 25px;
    border-bottom: 1px solid #cfc8d8;
}

.list-group-item.active {
    z-index: 1 !important;
}

/* MOBILE SEARCH UPDATE */
.aws-mobile-fixed-close > svg {
    fill: white;
}

.aws-overlay .aws-overlay-mask {
    opacity: .8;
}

.aws-overlay-mask {
    background: black;
}

@media (max-width: 992px) {
    .row.archive-product > .col-md-3 {
        display: none !important;
    }

    .row.archive-product > .col-md-9 {
        width: 100%;
    }

    .container, .container-md, .container-sm {
        max-width: 100% !important;
    }
}

.swiper-pagination {
	z-index: 1 !important;
}

.swiper-slide-bg {
    background-position: top !important;
}

