/*.select2-container--default .select2-search {*/
    /*display: none;*/
/*}*/

body.single-product .select2-container--default .select2-search--inline .select2-search__field {
    width: 100% !important;
}

/*.select2 {*/
    /*border: 1px solid red;*/
/*}*/

body.single-product .select2-container--default .select2-selection--multiple {
    margin: 0 !important;
}

body.single-product .select2 .selection .select2-selection.select2-selection--single,
body.single-product .select2 .selection .select2-selection.select2-selection--multiple {
    border: none;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 2px 2px 8px 0px rgba(0, 0, 0, 0.04);
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

body.single-product .select2 .selection .select2-selection.select2-selection--single .select2-selection__rendered,
body.single-product .select2 .selection .select2-selection.select2-selection--multiple .select2-selection__rendered {
    font-size: 16px;
    font-weight: 300;
    color: rgba(39, 91, 98, 0.60);
    padding: 0 !important;
    line-height: inherit;
}

body.single-product .select2-container--default .select2-selection--single .select2-selection__placeholder, 
body.single-product .select2 .selection .select2-selection.select2-selection--multiple .select2-selection__placeholder {
    font-weight: inherit;
    line-height: inherit;
    font-size: inherit;
}

body.single-product .select2-container--default .select2-selection--single .select2-selection__arrow,
body.single-product .select2-container--default .select2-selection--single .select2-selection__arrow b {
    position: initial !important;
}

body.single-product .select2-container--default .select2-selection--single .select2-selection__arrow {
    /*border: 1px solid red;*/
    width: 20px !important;
    height: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s linear;
}
body.single-product .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect width='20' height='20' fill='url(%23pattern0_1575_3065)'/%3E%3Cdefs%3E%3Cpattern id='pattern0_1575_3065' patternContentUnits='objectBoundingBox' width='1' height='1'%3E%3Cuse xlink:href='%23image0_1575_3065' transform='scale(0.01)'/%3E%3C/pattern%3E%3Cimage id='image0_1575_3065' width='100' height='100' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAABzUlEQVR4nO3aPUrEQByG8YCNjSB6gK18x48zWHiIBZlB1hk9gKewEUTWU+hRFMwBBDvPICKoREHEzzSb/c/M84M0W4Q3eQgLIU0DAAAAAAAAAAAAAAAAAAAAAMBMjccLzbyshf1t+XitEJ/k460LKTWVUtg/dD7euZCeXUit82ln0AEuJOd8enAhvXw+FOJJUxmFePL9PqTHjd3DreFG+Hj2dUSNUfRDjI/74OP5YEOcTxe/Dakliv6I8X7EyyHHHP09puwo+jfG2/UfDTZoNJksdn/oNUZRnxg+Xnf3aNBho8lkuU8UF9JpUwiFeNzjetv1vb3VuQysKYqsx6gpinKJUUMU5Raj5CjKNUaJUZR7jJKiqJQYJURRaTFyjqJSY+QYRaXHyCmKaomRQxTVFsNyFNUaw2IU1R7DUhQRw04UEeP3KM6nqyGjiBh2oogYdqKIGHaiiBh2oogYdqKIGHaiiBh2oogYdqKIGLO1OT5YcSHe/Bel+5qwzxeF3bm6c854dtlG/Z8UXhRmFKUt/q1tRlFaYtiJ0hLDTpSWGHaitMSwE6Ulxpy4lJbk41Qh3r8dPk673+a1BwAAAAAAAAAAAAAAAAAAAACApgqvXEdDsKJJ0FkAAAAASUVORK5CYII='/%3E%3C/defs%3E%3C/svg%3E%0A");
    width: 20px !important;
    height: 20px !important;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 !important;
}

body.single-product .select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(-180deg);
    transition: .2s linear;
}

body.single-product .box-count-and-countries,
body.single-product .subtotal-and-delivery {
    /*width: calc(50% - 24px);*/
    display: flex;
    flex-direction: column;
    gap: 18px;
}


body.single-product .box-count-and-countries {
    width: 100%;
}

body.single-product .box-count-and-countries .wrapper {
    width: 100% !important;
}

body.single-product .box-count-and-countries .input-block {
    width: 50%;
}

body.single-product .box-count-and-countries .wrapper {
    display: flex;
    align-items: flex-end;
    gap: 30px;
}

body.single-product .single-price-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--text-green);
    font-weight: 500;
    font-size: 21px;
    line-height: 20px;
}

body.single-product .single-price-container .subtotal-value {
    width: 100%;
    display: flex;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #6b6b6b;
}


body.single-product .delivery-container {
    font-size: 20px;
    color: var(--text-green);
    line-height: 20px;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
}


@media screen and (max-width: 768px) {
    body.single-product .delivery-container {
        /*padding-top: 50px;*/
        gap: 5px;
    }
    
    body.single-product .box-count-and-countries .wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    body.single-product .box-count-and-countries .wrapper .input-block {
        width: 100%;
    }
}

body.single-product .delivery-container .delivery-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}

body.single-product .select2-results {
    padding: 0;
}

/* Disabled button style */
#submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/*button.disabled {*/
/*    opacity: 0.5;*/
/*    cursor: not-allowed;*/
/*}*/
/* Red border for invalid fields */
/*.select2-container--default.select2-container--invalid .select2-selection {*/
/*    border: 1px solid red;*/
/*}*/


/* Style disabled options in the select2 results dropdown */
.select2-results__option[aria-disabled="true"] {
  color: #ccc;
  cursor: not-allowed;
}

/* Optionally, style the disabled options in the container (if any) */
.select2-selection__rendered .select2-selection__choice[aria-disabled="true"] {
  opacity: 0.6;
  color: #ccc;
}

/*dropdown fixes*/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: transparent !important;
    border: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-top: 0px !important;
    color: rgba(39, 91, 98, 0.60);
    font-weight: 300;
}

/* Make sure the arrow is visible for multiple selects */
.select2-container--default .select2-selection--multiple .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 20px;
    display: block !important;
}

/* Style the arrow character */
.select2-container--default .select2-selection--multiple .select2-selection__arrow b,
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: none !important;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Crect width='20' height='20' fill='url(%23pattern0_1575_3065)'/%3E%3Cdefs%3E%3Cpattern id='pattern0_1575_3065' patternContentUnits='objectBoundingBox' width='1' height='1'%3E%3Cuse xlink:href='%23image0_1575_3065' transform='scale(0.01)'/%3E%3C/pattern%3E%3Cimage id='image0_1575_3065' width='100' height='100' xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAABzUlEQVR4nO3aPUrEQByG8YCNjSB6gK18x48zWHiIBZlB1hk9gKewEUTWU+hRFMwBBDvPICKoREHEzzSb/c/M84M0W4Q3eQgLIU0DAAAAAAAAAAAAAAAAAAAAAMBMjccLzbyshf1t+XitEJ/k460LKTWVUtg/dD7euZCeXUit82ln0AEuJOd8enAhvXw+FOJJUxmFePL9PqTHjd3DreFG+Hj2dUSNUfRDjI/74OP5YEOcTxe/Dakliv6I8X7EyyHHHP09puwo+jfG2/UfDTZoNJksdn/oNUZRnxg+Xnf3aNBho8lkuU8UF9JpUwiFeNzjetv1vb3VuQysKYqsx6gpinKJUUMU5Raj5CjKNUaJUZR7jJKiqJQYJURRaTFyjqJSY+QYRaXHyCmKaomRQxTVFsNyFNUaw2IU1R7DUhQRw04UEeP3KM6nqyGjiBh2oogYdqKIGHaiiBh2oogYdqKIGHaiiBh2oogYdqKIGLO1OT5YcSHe/Bel+5qwzxeF3bm6c854dtlG/Z8UXhRmFKUt/q1tRlFaYtiJ0hLDTpSWGHaitMSwE6Ulxpy4lJbk41Qh3r8dPk673+a1BwAAAAAAAAAAAAAAAAAAAACApgqvXEdDsKJJ0FkAAAAASUVORK5CYII='/%3E%3C/defs%3E%3C/svg%3E%0A");
    width: 20px !important;
    height: 20px !important;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 !important;
    display: block !important;
}

/* Rotate arrow when dropdown is open */
.select2-container--default .select2-selection--multiple .select2-selection__arrow b{
    transition: transform 0.2s linear;
}
.select2-container--open .select2-selection--multiple .select2-selection__arrow b{
    transform: rotate(180deg);
    transition: transform 0.2s linear;
}