/* --- All lib Overwrite Css --- */

.woocommerce > img, .woocommerce-page >  img {
    max-width: max-content;
}

.woocommerce-remove-coupon {
    text-transform: capitalize;
}

.coupon-discount, .coupon-discount .woocommerce-Price-amount, .coupon-discount .woocommerce-Price-currencySymbol  {
    color: #198754 !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.shipping-calculator-form .woocommerce form .form-row {
    padding: 0;
}

.woocommerce-shipping-calculator .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 14px 15px;
    margin: 0;
}

.woocommerce-shipping-calculator .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px;
}

.woocommerce-shipping-calculator .select2-container .select2-selection--single {
    height: 50px;
}

.woocommerce-shipping-calculator .shipping-calculator-button {
    font-size: 15px;
    font-weight: 600;
    color: #a21127;
    padding: 0 0 15px 0;
    display: block;
}

.woocommerce-shipping-calculator label {
    color: #212529;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.woocommerce form .form-row .input-text {
    height: calc(50px + var(--bs-border-width)* 2);
    min-height: calc(50px + var(--bs-border-width)* 2);
    line-height: 1.25;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    border-radius: 6px;
    border-color: hsl(var(--border));
}

.woocommerce form .form-row .input-text:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 1px rgb(33, 33, 33);
    outline: 0;
}

.shipping-calculator-form .select2-container .select2-dropdown, .select2-container .select2-selection {
    border: 1px solid hsl(var(--border));
}

.shipping-calculator-form .select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
    background-color: hsl(var(--secondary-background));
    color: #000;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: hsl(var(--primary));
    color: #FFF;
}

.woocommerce-error, .woocommerce-info, .woocommerce-message {
    margin-bottom: 1rem;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
    padding: .75rem 1rem;
    border-radius: 0.375rem;
    border: none;
}

.woocommerce-error:focus, .woocommerce-info:focus, .woocommerce-message:focus {
    box-shadow: none;
}

.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before,
.woocommerce-error::after, .woocommerce-info::after, .woocommerce-message::after {
    display: none;
}

.woocommerce-error a, .woocommerce-info a, .woocommerce-message a { 
    color: #a21127;
}

.woocommerce-message {
    --bs-success-text-emphasis: #1E4620;
    --bs-success-bg-subtle: #EDF7ED;
    --bs-success-border-subtle: #EDF7ED;
    --icon: #418945;

    --bs-alert-color: var(--bs-success-text-emphasis);
    --bs-alert-bg: var(--bs-success-bg-subtle);
    --bs-alert-border-color: var(--bs-success-border-subtle);
    
    color: var(--bs-alert-color);
    background: var(--bs-alert-bg);
}

.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 {
    background: hsl(var(--theme-primary));
    color: #FFF;
    border: none;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.838rem 1.25rem !important;
    border-radius: 0.4rem !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.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 {
    background: hsl(var(--theme-primary) / 0.9);
    color: #FFF;
}

#toast-container>div {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
    width: 350px;
    opacity: .9;
    border-radius: 6px;
}

#toast-container>:hover {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 16px;
}

.toast-title {
    font-size: .875rem;
    font-weight: 600;
    margin-bottom: .5rem;
}

.toast-message {
    font-size: .875rem;
    line-height: 1.4;
}

#toast-container > div {
    opacity: 1;
}

#toast-container>div:hover {
    box-shadow: none;
}

.woocommerce .star-rating {
    font-size: 1.125rem;
    height: 20px;
}

.woocommerce .star-rating span::before {
    color: #FFC800;
}

.woocommerce p.stars a {
    height: 24px;
    width: 24px;
}

.woocommerce p.stars a::before {
    font-size: 24px;
    color: #FFC800;
}

.comment-form label {
    font-size: 14px;
    color: #212529;
    margin-bottom: .75rem;
}

.comment-form-rating {
    margin-bottom: 20px;
}

.woocommerce #review_form #respond textarea {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    border-radius: 6px;
    border-color: hsl(var(--border));
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    min-height: calc(1.5em + .75rem + calc(var(--bs-border-width)* 2));
}

.woocommerce #review_form #respond textarea:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 1px rgb(33, 33, 33);
    outline: 0;
}

.required {
    color: #e70f2f !important;
}

.form-submit {
    text-align: right;
    margin: 0px !important;
}