.boxwithborder {
    border: solid 1px #000000;
    padding: 15px;
    margin: 25px 0 10px
}

.product_title {
    font-size: var(--product-name-size);
    font-family: var(--product-name-font-family), "sans-serif";
    color: var(--product-name-color);
}

.woocommerce #content div.product div.images, 
.woocommerce div.product div.images, 
.woocommerce-page #content div.product div.images, 
.woocommerce-page div.product div.images {
    float: none;
    width: auto;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button,
#add_payment_method .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart-form button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.invert:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.invert:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.invert:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.invert:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.invert:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.invert:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.invert:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.invert:hover,
#add_payment_method .wc-proceed-to-checkout a.checkout-button.invert:hover, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.invert:hover, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button.invert:hover,
.woocommerce-cart-form button.button.invert:hover{
    font-size: var(--shop-button-font-size) !important;
    color: var(--shop-button-color) !important;
    background-color: var(--shop-button-background-color) !important;
    border: var(--shop-button-border) !important;
    padding: 5px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button:hover,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart-form button.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.invert, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.invert, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.invert, 
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.invert, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.invert, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.invert, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.invert, 
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.invert,
#add_payment_method .wc-proceed-to-checkout a.checkout-button.invert, 
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button.invert, 
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button.invert,
.woocommerce-cart-form button.button.invert {
    font-size: var(--shop-button-hover-font-size) !important;
    color: var(--shop-button-hover-color) !important;
    background-color: var(--shop-button-hover-background-color) !important;
    border: var(--shop-button-hover-border) !important;
    padding: 5px;   
}

/* Preis */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.product-price .price {
    color: var(--shop-price-color);
    font-family: var(--shop-price-font-family);
    font-size: var(--shop-price-font-size);
    font-style: var(--shop-price-font-style);
    font-weight: var(--shop-price-font-weight);
}

/* Bescheibung */
.product__data__description .description_text {
    color: var(--shop-description-color);
    font-family: var(--shop-description-font-family);
    font-size: var(--shop-description-font-size);
}

/* Toast Message */
.woocommerce-notices-wrapper {
    position: absolute;
    z-index: 100;
    bottom: 10px;
    right: 10px;
    max-width: 350px;
}

.woocommerce-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.woocommerce-message .wc-forward {
    margin-top: 20px;
}

/* Warenkorb */
.alignwide {
    margin-inline: 0px;
}

.product.product--table {
    flex-direction: column;
}

.product.product--table {
    flex-direction: row;
    align-items: center;
}

.product.product--table {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: flex-start;
    justify-items: flex-start;
    flex-direction: column;
}

body .product.product--table .product__image .product-image img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    margin-right: 1em;
}

.form-group .select {
    border: 0;
}

.form-group .select input.qty  {
    border-radius: .375rem;
    padding-right: 1.5rem;
    max-width: 80px;
    border: none;
}

.form-group .select::before {
    right: 5px;
    top: 15px;
}

.payment-box span.subheading-price {
    color: var(--shop-price-color);
    font-family: var(--shop-price-font-family);
    font-size: var(--shop-price-font-size);
    font-style: var(--shop-price-font-style);
    font-weight: var(--shop-price-font-weight);
}

.payment-box .product__data__title__variant{
    font-size: var(--product-name-size);
    font-family: var(--product-name-font-family), "sans-serif";
    color: var(--product-name-color);
    line-height: 1.5em;
}

.payment-box span.subheading-category {
    font-size: 1.25rem !important;
    font-weight: 600;
    margin-bottom: 1em;
}

span.subheading-biblio {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 10px;
}

.product_search .spacer {
    padding: 10px;
    border: solid 1px;
    margin: 0;
    position: relative;
    box-shadow: 0 8px 10px -5px rgb(0 0 0 / 20%), 0 16px 24px 2px rgb(0 0 0 / 14%), 0 6px 30px 5px rgb(0 0 0 / 12%);
    margin-bottom: 20px !important;
    border: 1px solid rgba(0,0,0,.125) !important;
    border-radius: 0.25rem
}

.product_search a.product-details {
    background-position: 0 0;
    display: inline-block;
    padding: 3px 8px 1px;
    background: #e8e8e8;
    border: solid #CAC9C9 1px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    color: #777;
    text-decoration: none;
}

.product_search .product-media-container img {
    width: 214px;
    height: 214px;
    object-position: top;
    border-radius: calc(0.25rem + 1px);
    object-fit: cover
}

.biblio-list {
    display: grid;
    margin-bottom: 1.77em;
    font-size: 14px;
    line-height: 16px;
}

@media (min-width: 768px) {
    .p-md-4 {
        padding: 1.5rem !important;
    }

    .product.product--table {
        flex-direction: row;
    }
    
    .product_search .product-media-container img {
        width:170px;
        height: 170px;
    }
}

@media (min-width: 1200px) {
    .product_search .product-media-container img {
        width:191px;
        height: 191px;
    }
}

@media (min-width: 1280px) {
    .checkout--summary .payment-box {
        min-height: 413px;
    }
}

@media (min-width: 1600px) {
    .product__data__cart a.button {
        font-size:.85em;
        padding-top: .375rem;
        padding-bottom: .375rem;
    }
}

@media (min-width: 1680px) {
    .product__data__cart a.button {
        font-size:1em;
        padding-top: .375rem;
        padding-bottom: .375rem;
    }
}

/* Versandkosten Seite */
#germany td, #schweiz td, #europe td {
    border: solid 1px;
    padding: 3px 5px;
    width: 50%;
    font-size: 10pt;
    font-weight: normal
}

#germany table, #schweiz table, #europe table {
    width: 100%
}

#europe > div {
    width: 100%;
    float: left
}

#germany > p, #schweiz > p, #europe {
    margin: 0;
    font-size: 11pt;
    margin-bottom: 0.5em;
    font-weight: bold
}

#germany:after {
    content: "";
    position: absolute;
    top: 10px;
    right: -110px;
    background: url("/wp-content/uploads/sites/2/2025/01/Deutschland.png");
    width: 100px;
    height: 80px;
    background-size: cover;
    background-position: center
}

#versandcontent {
    width: 95%;
    margin: auto !important;
    align-items: baseline
}

#schweiz:after {
    content: "";
    position: absolute;
    top: 10px;
    right: -90px;
    background: url("/wp-content/uploads/sites/2/2025/01/Schweiz.png");
    width: 90px;
    height: 80px;
    background-size: cover;
    background-position: center
}

#europe > div:nth-child(2) {
    font-weight: normal;
    font-size: 9pt
}

#europe > div:nth-child(2) ul {
    list-style: none;
    padding: 0;
    column-count: 2;
    -webkit-column-count: 2;
    -moz-column-count: 2; 
    margin-top:1em;
    column-gap: 110px
}

#europe {
    width: 100%;
    margin-top: 2em
}

#europe:after {
    content: "";
    position: absolute;
    top: 10px;
    right: -110px;
    background: url("/wp-content/uploads/sites/2/2025/01/Europa.png");
    width: 100px;
    height: 80px;
    background-size: cover;
    background-position: center
}

#germany, #schweiz, #europe {
    position: relative
}

#germany:after, #schweiz:after, #europe:after {
    display: none
}

#germany table, #schweiz table, #europe table {
    margin-bottom: 1em
}

#europe > div:nth-child(2) {
    margin-left: 0 !important
}

#europe table {
    margin-top: .6em
}

@media only screen and (min-width: 1024px) {
    #germany:after, #schweiz:after, #europe:after {
        display:block;
        width: 90px;
        right: -95px
    }

    #europe > div {
        width: 48%
    }

    #europe > div:nth-child(2) ul {
        column-count: 3;
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-gap: 70px
    }

    #europe > div:nth-child(2) {
        margin-left: 15px !important;
        margin-top: 1em
    }
}

@media only screen and (min-width: 1200px) {
    #germany:after, #schweiz:after, #europe:after {
        width:100px;
        right: -110px
    }

    #europe > div:nth-child(2) ul {
        column-count: 4;
        -webkit-column-count: 4;
        -moz-column-count: 4
    }

    #versandcontent {
        width: 80%
    }
}