/*
Theme Name: rtr-bikes
Description: rtr-bikes Child theme for Uncode theme
Author: Ageno
Author URI: https://ageno.pl/
Template: uncode
Version: 1.1.1
Text Domain: uncodechild
*/


.distributor-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-top: 30px;
}

.store-title {
    color: #000;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: bold;
}


.ebay-label,
.amazon-label {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-type-external div.product form.cart[action*="allegro"]:before,
.ebay-label > .store-logo,
.amazon-label > .store-logo {
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.ebay-label > .store-logo img {
    margin-top: -16px;
}

.ebay-label .select-wrapper,
.amazon-label .select-wrapper {
    position: relative;
}

.ebay-label .select-wrapper img,
.amazon-label .select-wrapper img {
    position: absolute;
}

.amazon-label .select-wrapper img {
    width: 17px;
    left: 10px;
    margin-top: -6px;
    top: 50%;
}

.ebay-label .select-wrapper img {
    width: 65px;
    left: 2px;
    top: 5px;
}

.amazon-label select {
    margin-top: 0;
    padding-left: 35px;
}

.ebay-label select {
    padding-left: 70px;
}

.product-type-external form.cart select {
    cursor: pointer;
    margin: 0;
}

.product-type-external form.cart {
    min-width: 220px !important;
    max-width: 255px !important;
    width: 100%;
    display: inline-flex;
    align-items: flex-end;
    padding: 12px;

    /*float: none;*/
}

html[lang="nb-NO"] .product-type-external form.cart {
    max-width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-type-external form.cart:before,
.product-type-external form.cart:after {
    content: none !important;
}

.product-type-external div.product form.cart[action*="allegro"] {
    display: inline-flex;
    flex-direction: column;
}

.product-type-external div.product form.cart[action*="allegro"] button {
    position: relative;
}

.product-type-external div.product form.cart[action*="allegro"]:before {
    content: "" !important;
    background-image: url("./images/allegro-icon-full.png");
    display: block;
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.product-type-external div.product form.cart[action*="allegro"] button:before {
    content: "";
    background-image: url("./images/allegro-icon.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 17px;
    height: 17px;
    left: 10px;
    margin-top: -8px;
    top: 50%;
    position: absolute;
}

.product-type-external div.product form.cart button {
    border: 1px solid #eaeaea;
    background-color: transparent;
    width: 100%;
    padding: 10px 15px 10px 35px;
    font-size: 15px;
    text-transform: none;
    text-align: left !important;
    font-weight: normal !important;
}


#billing_wooccm11_field {
    grid-column-start: 1;
    grid-column-end: 3;
}

tr.woocommerce-shipping-totals {
    position: relative;
}

.woocommerce-shipping-totals-title {
    position: absolute;
    left: 0;
    top: 20px;
    font-weight: 600;
}

@media only screen and (max-width: 400px) {
    .woocommerce-shipping-totals-title {
        margin-top: 0;
        top: 10px;
    }
}

#omnibus-price-data {
    display: block;
    margin: 8px auto;
    font-size: 10px;
    max-width: 185px;
}

body.single-product #omnibus-price-data,
body.woocommerce-cart #omnibus-price-data {
    margin-left: 0;
    max-width: none;
}

.isotope-system .price-omnibus-wrapper {
    height: 28px;
}

.tmb > .t-inside .spacer.single-space {
    margin-top: 16px;
}


#omnibus-price-data .js-omnibus-price,
#omnibus-price-data .js-omnibus-price .woocommerce-Price-amount {
    font-weight: 600 !important;
}

.checkout-product-price-wrapper {
    display: flex;
    flex-direction: column;
}

.checkout-product-price-wrapper .price-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.checkout-product-price-wrapper #omnibus-price-data {
    margin-bottom: 0;
    margin-right: 0;
}

.cart-totals .shop_table tbody td,
.woocommerce-checkout-review-order .shop_table tbody td {
    width: 50%;
}

.woocommerce-checkout-review-order .cart_item .product-name,
.woocommerce-checkout-review-order .cart_item .product-total {
    border: none;
}

.woocommerce-terms-and-conditions-wrapper a {
    text-decoration: underline;
    font-weight: 600;
}
