/**
 * Custom CSS for Chesmir Theme
 * Add your custom styles here
 */

/* Example custom styles - replace with your own */
body {
    /* Add your custom body styles here */
}

/* select2*/

.select2.select2-container.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 0 !important;
    height: 45px !important;
}

.select2.select2-container.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2.select2-container.select2-container--default .select2-selection--single .select2-selection__clear,
.select2.select2-container.select2-container--default .select2-selection--single .select2-selection__arrow {
    margin-top: 10px;
}

.select2.select2-container.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-top: 5px;
}

/* dual prices */

.old-price {
    display: block;
}

.old-price .price {
    display: inline !important;
    font-size: 0.8em;
}
.old-price .side-price {
    font-size: inherit !important;
    text-decoration: line-through;
}

#featured_products .old-price .side-price {
    font-size: 0.8em !important;
}

.mgz-productpagebuilder .old-price .side-price {
    font-size: inherit;
}

span.side-price {
    font-size: inherit !important;
}

span.conversion-rate {
    font-size: 0.8em;
    font-weight: 500;
    font-style: italic;
    display: block;
}

#shopping-cart-table .price-excluding-tax .cart-price .price,
#shopping-cart-table .price-excluding-tax .cart-price .side-price {
    font-size: 16px !important;
    font-weight: inherit !important;
}

.minicart-items .cart-price .side-price {
    font-size: 0.8125rem !important;
    font-weight: inherit !important;
}

/* logo */

.logo img {
    max-width: 80px !important;
    max-height: none !important;
}

/* porto crap fixes */

.footer-bottom a {
    color: #E3E3E3 !important;
}

.action.btn-go-shop {
    padding: 16px !important;
}

.action.tocart {
    margin-top: 0;
}

@media (min-width: 768px) {
    .opc-wrapper .form-login, 
    .opc-wrapper .form-shipping-address {
        max-width: 100% !important;
    }
    table.table-checkout-shipping-method {
        width: 100% !important;
    }
}

table.table-checkout-shipping-method tbody tr td.col-method {
    text-align: right !important;
}

table.table-checkout-shipping-method tbody tr td.col-method {
    /* max-width: 20px !important; */
    text-align: left !important;
}

.form-shipping-address .field-error {
    color: red !important;
}

/* Edit address button in checkout */
.shipping-address-item {
    position: relative;
}

.shipping-address-item.not-selected-item {
    border: 1px solid #aaa;
}

.shipping-address-actions {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

.shipping-address-actions .action-edit-address {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1979c3;
    color: #ffffff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.shipping-address-actions .action-edit-address:hover {
    background-color: #006bb4;
    color: #ffffff;
    text-decoration: none;
}

.shipping-address-actions .action-edit-address span {
    display: inline-block;
}

@media (max-width: 767px) {
    .shipping-address-actions .action-edit-address {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }
}
