:root {
    --form-ui-color: #CC3A7C;
    --form-ui-bg: #ffffff;
    --form-size: 2rem;
    --form-border-radius: 0.25rem;
    --form-border: solid 1px rgba(0, 0, 0, 0.2);
    --form-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="time"],
input[type="month"],
input[type="week"],
input[type="url"],
input[type="number"],
input[type="search"],
select,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.select2-container .select2-selection,
#billing_country_field .woocommerce-input-wrapper strong {
    padding: 0 0.75rem;
    color: inherit;
    height: 50px;
    font-size: smaller;
    line-height: 1;
    margin: 0;
    font-family: inherit;
    border-radius: var(--form-border-radius);
    -webkit-border-radius: var(--form-border-radius);
    -moz-border-radius: var(--form-border-radius);
    background-color: var(--form-ui-bg);
    box-shadow: var(--form-box-shadow);
    border: 2px solid var(--blue);
    margin-bottom: 0.75rem;
}

#billing_country_field .woocommerce-input-wrapper strong {
    height: 50px;
    display: flex;
    align-items: center;
    font-weight: 400 !important;
}

.woocommerce .woocommerce-billing-fields__field-wrapper form .form-row-last,
.woocommerce .woocommerce-billing-fields__field-wrapper .form-row-first,
.woocommerce .woocommerce-billing-fields__field-wrapper form .form-row-first,
.woocommerce .woocommerce-billing-fields__field-wrapper .form-row-last {
    width: calc(50% - var(--gap));
}

.amelia-v2-booking #amelia-container .am-checkbox-wrapper .el-checkbox__inner:after {
    width: 5px;
    height: 7px;
    line-height: 200px;
    font-size: 5px;
    top: 1px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-top: 13px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b,
.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
    top: 40% !important;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
    min-width: 100%;
    max-width: 100%;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

.select {
    position: relative;
    display: inline-block;
    width: 100%;
}


/*.select:after {
    border-style: solid;
    border-width: 0.2rem 0.2rem 0 0;
    content: "";
    border-color: var(--form-ui-color);
    display: inline-block;
    height: calc(var(--form-size) * 0.2);
    width: calc(var(--form-size) * 0.2);
    background: transparent;
    position: absolute;
    top: 50%;
    right: 0.75rem;
    margin-top: -0.75rem;
    transform: rotate(135deg);
    pointer-events: none;
}*/

textarea {
    height: 8rem;
    padding: 1rem;
    color: inherit;
    font-size: smaller;
    line-height: 1;
    margin: 0;
    font-family: inherit;
    border-radius: var(--form-border-radius);
    -webkit-border-radius: var(--form-border-radius);
    -moz-border-radius: var(--form-border-radius);
    background-color: var(--form-ui-bg);
    box-shadow: var(--form-box-shadow);
    border: 2px solid var(--blue);
    margin-bottom: 0.75rem;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: var(--form-ui-color);
}

input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.qty {
    display: inline-block;
    line-height: 1;
    margin: 0;
    height: var(--form-size);
    font-family: inherit;
    border-radius: var(--form-border-radius);
    -webkit-border-radius: var(--form-border-radius);
    -moz-border-radius: var(--form-border-radius);
    background-color: var(--form-ui-bg);
    box-shadow: var(--form-box-shadow);
    border: var(--form-border);
}

.qty input[type=number] {
    width: var(--form-size);
    height: 100%;
    padding: 0;
    font-size: smaller;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
    border-bottom: none;
    border-top: none;
    border-left: solid 1px rgba(0, 0, 0, 0.1);
    border-right: solid 1px rgba(0, 0, 0, 0.1);
    background: transparent;
}

.qty button {
    outline: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    margin: 0;
    position: relative;
    box-shadow: none;
    color: inherit;
    vertical-align: middle;
    text-align: center;
    font-family: 'Trebuchet MS';
    font-weight: normal;
    font-size: 1rem;
    padding: 0 0.5rem;
}

input[type="checkbox"],
input[type="radio"] {
    display: none;
}

input[type="checkbox"]+label,
input[type="radio"]+label,
input[type="checkbox"]+span,
input[type="radio"]+span {
    padding: 0;
    display: inline-block;
    overflow: hidden;
    position: relative;
    margin: 0.25rem 0.5rem 0.25rem 0;
    vertical-align: middle;
}

input[type="checkbox"]+label:before,
input[type="radio"]+label:before,
input[type="checkbox"]+span:before,
input[type="radio"]+span:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 2px;
    background: var(--form-ui-bg);
    color: #fff;
    line-height: 1;
    margin-right: 0.5rem;
    box-shadow: var(--form-box-shadow);
    border: 1px solid var(--magenta);
    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

input[type="radio"]+label:before,
input[type="radio"]+span:before {
    border-radius: 50%;
}

input[type="checkbox"]:checked+label:before,
input[type="checkbox"]:checked+span:before {
    content: "";
    background: var(--form-ui-color);
    color: #fff;
    box-shadow: var(--form-box-shadow);
    border: var(--form-border);
}

input[type="radio"]:checked+label:before,
input[type="radio"]:checked+span:before {
    content: "";
    color: #fff;
    box-shadow: var(--form-box-shadow);
    border: solid calc(var(--form-size) * 0.2) var(--form-ui-color);
    border-radius: 50%;
    background: #fff;
}

input[type="checkbox"]:checked+label:after,
input[type="checkbox"]:checked+span:after {
    display: inline-block;
    text-align: center;
    width: calc(var(--form-size) * 0.75);
    height: calc(var(--form-size) * 0.75);
    line-height: calc(var(--form-size) * 0.75);
    font-size: calc(var(--form-size) * 0.5);
    font-family: sans-serif;
    color: #fff;
    vertical-align: middle;
    cursor: pointer;
    content: 'L';
    position: absolute;
    top: 2px;
    left: -2px;
    transform: rotate(45deg) scale(-1, 1);
}

.qty-wrapper {
    display: flex;
    align-items: center;
}

.qty-wrapper button {
    line-height: 0;
    cursor: pointer;
    background: transparent;
    border: none;
}

.woocommerce .quantity .qty {
    width: 3.631em;
    height: 25px;
    border: none;
    box-shadow: none;
    margin: 0;
}

.product-quantity {
    text-align: right;
}

.qty-wrapper {
    justify-content: end;
}


/* */

:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt{
    white-space: nowrap;
}

input[type="submit"],
input[type="button"],
.button,
.btn-1 .wp-block-button__link,
.coupon button.button,
#place_order,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button {
    color: var(--light);
    background-color: var(--magenta);
    border-radius: 8px;
    padding: 10px 20px;
    font-size: clamp(19px, 1.09vw, 1.3125rem);
    font-weight: 600;
    text-transform: none;
    max-height: 50px;
    border: 2px solid var(--magenta);
    transition: all 0.3s ease-out;
}

input[type="submit"]:hover,
input[type="button"]:hover,
.button:hover,
.btn-1 .wp-block-button__link:hover,
.coupon button.buttonk:hover,
#place_orderk:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.altk:hover,
.btn-2:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.btn-3 .wp-block-button__link:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover {
    color: var(--black);
    background-color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-2,
.btn-3 .wp-block-button__link,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button {
    color: var(--magenta);
    background-color: transparent;
    border: 2px solid var(--magenta);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: clamp(19px, 1.09vw, 1.3125rem);
    font-weight: 600;
    text-transform: none;
    max-height: 50px;
    display: block;
    text-align: center;
    transition: all 0.3s ease-out;
}

.accept input[type="checkbox"]:checked+span:after {
    top: 0!important;
}


/* == Notice == */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    outline: none !important;
}

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

.woocommerce-message {
    border-top-color: #85C1B6;
}

.woocommerce-info {
    border-top-color: var(--blue);
}

.woocommerce-error {
    border-top-color: var(--wc-red);
}

.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
    font-size: 16px;
    color: var(--black);
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 1em 2em 1em 2em;
    background: var(--light);
}

@media screen and (max-width: 540px) {

    .btn-1 .wp-block-button__link,
    #place_order,
    .woocommerce:where(body: not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
    :where(body: not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
    .btn-2,
    :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt,
    .btn-3 .wp-block-button__link,
    :where(body: not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
    .woocommerce:where(body: not(.woocommerce-block-theme-has-button-styles)) a.button {
        font-size: 17px;
        max-height: none;
    }

    .coupon button.button {
        font-size: 17px;
    }

    .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
        height: auto !important;
    }
}

@media screen and (min-width: 1921px) {

    .btn-1 .wp-block-button__link,
    .coupon button.button,
    #place_order,
    .woocommerce:where(body: not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
    :where(body: not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button,
    .btn-2,
    .btn-3 .wp-block-button__link,
    :where(body: not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button,
    .woocommerce:where(body: not(.woocommerce-block-theme-has-button-styles)) a.button {
        max-height: none;
    }

    .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt {
        height: auto !important;
    }
}