.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 0 35px -14px #e4e4e4;
    background: #fff;
    width: 100%;
    margin: 0 auto;
}

div#customer_login h2 {
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    margin-bottom: 20px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    line-height: normal;
    border-radius: 12px;
    border: 1px solid #dedede;
    margin-top: 7px;
    padding: 7px 10px;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit {
    float: right;
    margin-left: 1em;
    border-radius: 12px;
    width: 100px;
    height: 45px;
    background: var(--adkh-primary-color);
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.4s;
    border: none;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__submit:hover {
    background: var(--adkh-secondary-color);
    color: #fff;
}

.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
    margin-top: 7px;
}

.woocommerce-LostPassword.lost_password a {
    color: var(--adkh-secondary-color);
}

.woocommerce-LostPassword.lost_password a:hover {
    color: var(--adkh-primary-color);
}

.woocommerce-Button.button,
.button.wc-forward,
.button.wc-backward,
button[name="apply_coupon"],
button[name="update_cart"],
button[name="apply_coupon"],
#place_order {
    background-color: var(--adkh-primary-color) !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    transition: all 0.4s;
    border: none;
    height: 45px;
    line-height: 0;
}

.woocommerce-Button.button:hover,
.button.wc-forward:hover,
button[name="update_cart"]:hover,
.button.wc-backward:hover,
button[name="apply_coupon"]:hover,
button[name="apply_coupon"]:hover,
#place_order:hover {
    background-color: var(--adkh-secondary-color) !important;
    color: #ffffff !important;
    border: none;
}

.woocommerce-checkout #payment {
    border-radius: 15px;
}

.woocommerce-cart-form__cart-item.cart_item a {
    color: var(--adkh-secondary-color);
}

.woocommerce-cart-form__cart-item.cart_item a:hover {
    color: var(--adkh-primary-color);
}

#order_comments {
    height: 250px;
}

.woocommerce table.shop_table {
    border-radius: 12px;
}

.cart_totals {
    border-radius: 15px;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-subtotal th {
    width: 100% !important;
}

#coupon_code {
    height: 45px;
    border-radius: 15px;
    width: 250px;
}

.woocommerce-info {
    border-radius: 12px;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
    box-shadow: 0 0 35px -14px #e4e4e4;
}

.showcoupon {
    position: absolute;
    left: 15px;
    color: var(--adkh-primary-color);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #dedede;
    height: 45px;
    padding: 6px;
    border-radius: 15px;
}

.woocommerce-info .button.wc-forward {
    position: absolute;
    left: 12px;
    text-decoration: none;
    line-height: 30px;
    height: 30px;
}

.woocommerce-info::before {
    color: var(--adkh-primary-color);
    top: 45px;
}

.woocommerce-MyAccount-navigation>ul {
    list-style: none;
}

.woocommerce-MyAccount-navigation-link a {
    background: #fff;
    margin: 5px;
    padding: 15px;
    border-radius: 12px;
    color: var(--adkh-primary-color);
    border: 1px solid #D9D9D9;
    margin: 10px 0;
    display: block;
    width: 100%;
    transition: all 0.4s;
    box-shadow: 0 0 35px -14px #e4e4e4;
}

.u-column1.col-1.woocommerce-Address {
    width: 100%;
}

.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation-link a:hover {
    border: 1px solid var(--adkh-primary-color);
    background: var(--adkh-primary-color);
    color: #fff;
}

.woocommerce-MyAccount-content a {
    color: var(--adkh-primary-color);
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: left;
    width: 75%;
    margin-top: 15px;
    line-height: 25px;
    font-size: 16px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: right;
    width: 20%;
    padding: 0;
    margin: 0;
}

header.woocommerce-Address-title.title h2 {
    line-height: 35px;
    font-size: 18px !important;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    height: auto;
    line-height: inherit;
}

.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block,
.wc-block-components-sidebar-layout .wc-block-components-main {
    margin-left: 10px !important;
    width: calc(65% - 10px) !important;
}

.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block,
.wc-block-components-sidebar {
    margin-right: 10px !important;
    width: calc(35% - 10px) !important;
    height: fit-content;
    margin-top: unset !important;
}

.wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block,
.wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block,
.wc-block-components-sidebar,
.wc-block-components-sidebar-layout .wc-block-components-main {

    padding-left: unset !important;
    background: #fff;
    padding: 35px !important;
    border-radius: 12px;
    box-shadow: 0 0 35px -14px #e4e4e4;
}

td.wc-block-cart-item__image img {
    border-radius: 12px;
}

.wc-block-components-product-badge {
    background: var(--adkh-primary-color);
    color: #fff;
    border: none;
}

a.wc-block-components-product-name {
    color: var(--adkh-secondary-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
}

del.wc-block-components-product-price__regular {
    color: var(--adkh-primary-color);
}

.wc-block-components-product-price__value.is-discounted {
    margin-right: .5em;
    color: var(--adkh-primary-color);
}

.wc-block-components-button:not(.is-link) {
    color: #fff;
    background: var(--adkh-primary-color);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.4s !important;
    margin-top: 20px;
    border: none;
}

.wc-block-components-button:not(.is-link):hover {
    background: var(--adkh-secondary-color);
}

input#wc-block-components-totals-coupon__input-0 {
    border: 2px solid var(--adkh-primary-color);
    border-radius: 12px !important;
}

input#wc-block-components-totals-coupon__input-0:focus-visible,
input#wc-block-components-totals-coupon__input-0:focus {
    outline: none;
    box-shadow: none;
}

.wc-block-components-form .wc-block-components-text-input input[type=email],
.wc-block-components-form .wc-block-components-text-input input[type=number],
.wc-block-components-form .wc-block-components-text-input input[type=password],
.wc-block-components-form .wc-block-components-text-input input[type=tel],
.wc-block-components-form .wc-block-components-text-input input[type=text],
.wc-block-components-form .wc-block-components-text-input input[type=url],
.wc-block-components-text-input input[type=email],
.wc-block-components-text-input input[type=number],
.wc-block-components-text-input input[type=password],
.wc-block-components-text-input input[type=tel],
.wc-block-components-text-input input[type=text],
.wc-block-components-text-input input[type=url],
.wc-blocks-components-select .wc-blocks-components-select__container {
    border: 1px solid #cfcfcf !important;
    border-radius: 8px !important;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted {
    border: 1px solid #cfcfcf !important;
    border-radius: 8px !important;
    box-shadow: unset !important;
}

.is-large .wp-block-woocommerce-checkout-order-summary-block {
    border: none !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=number]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=password]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=tel]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=text]:focus,
.wc-block-components-form .wc-block-components-text-input input[type=url]:focus,
.wc-block-components-text-input input[type=email]:focus,
.wc-block-components-text-input input[type=number]:focus,
.wc-block-components-text-input input[type=password]:focus,
.wc-block-components-text-input input[type=tel]:focus,
.wc-block-components-text-input input[type=text]:focus,
.wc-block-components-text-input input[type=url]:focus {
    outline: none !important;
    border: 2px solid var(--adkh-primary-color) !important;
    box-shadow: unset !important;
}

.woocommerce-order {
    background: #fff;
    padding: 35px !important;
    border-radius: 12px;
    box-shadow: 0 0 35px -14px #e4e4e4;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
    font-size: 25px;
    color: var(--adkh-secondary-color);
}

.woocommerce ul.order_details {
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-order-details__title,
.woocommerce .woocommerce-customer-details .woocommerce-column__title {
    text-align: center;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 5px;
    font-size: 25px;
    color: var(--adkh-secondary-color);
}

.woocommerce-order p {
    text-align: center;
}

.woocommerce-customer-details--email {
    text-align: start !important;
}

.woocommerce table.shop_table td {
    color: var(--adkh-secondary-color);
}

.woocommerce table.shop_table td a {
    transition: all 0.4s;
    color: var(--adkh-secondary-color);
}

.woocommerce table.shop_table td a:hover {
    color: var(--adkh-primary-color);
}

.woocommerce .woocommerce-customer-details address {
    border: 1px solid rgba(0, 0, 0, .1) !important;
    border-radius: 12px;
    padding: 25px;
}

.woocommerce ul.order_details li {
    float: right;
    margin-right: 2em;
    text-transform: uppercase;
    font-size: .715em;
    line-height: 1;
    border-right: 1px solid var(--adkh-primary-color);
    border-left: none;
    padding-right: 2em;
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}

.woocommerce ul.order_details li:last-of-type {
    border-right: 1px solid var(--adkh-primary-color);
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone {
    padding-right: 1.5em;
    text-align: start;
}


.custom-select-wrapper {
    border: 1.3px solid var(--adkh-primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: var(--adkh-button-border-radius);
    position: relative;
    float: left;
    padding: 0 8px;
}

.custom-select {
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    color: var(--adkh-primary-color);
    font-size: 14px;
}

.custom-select .product-filters__icon {
    pointer-events: none;
    width: 20px;
    height: auto;
}

.custom-select.open .custom-options {
    max-height: 300px;
    min-width: 150px;
    max-width: 150px;
    opacity: 1;
}

.custom-options {
    position: absolute;
    top: 115%;
    left: 0;
    right: auto;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
    z-index: 10;
    border-radius: 8px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
    list-style: none;
    padding: 10px;
    opacity: 0;
}

.custom-options li {
    padding: 8px;
    cursor: pointer;
    color: var(--adkh-body-text-color);
    font-size: 13px;
    border-radius: 8px;
}

.custom-options li:hover {
    background-color: var(--e-global-color-accent);
    color: var(--adkh-primary-color);
}

.woocommerce ul.products .product.type-product {
    background: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
    padding: 1.5px !important;
    border-radius: var(--adkh-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.8s ease;
    perspective: 800px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.woocommerce ul.products .product.type-product::before,
.woocommerce ul.products .product.type-product::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--adkh-border-radius);
    backface-visibility: hidden;
    transition: transform 0.8s ease;
}

.woocommerce ul.products .product.type-product::before {
    background-image: linear-gradient(180deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
    transform: rotateY(0deg);
}

.woocommerce ul.products .product.type-product::after {
    background-image: linear-gradient(0deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -2;
    transform: rotateY(-90deg);
}

.woocommerce ul.products .product.type-product:hover::before {
    transform: rotateY(90deg);
}

.woocommerce ul.products .product.type-product:hover::after {
    transform: rotateY(0deg);
}

.woocommerce ul.products .product.type-product .type-product-wrapper {
    background: #fff;
    padding: 15px;
    border-radius: var(--adkh-border-radius);
}

.woocommerce ul.products .product.type-product .woocommerce-loop-product__title {
    font-size: 18px !important;
    line-height: 26px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.woocommerce ul.products .product.type-product .type-product-wrapper img {
    border-radius: 16px;
    max-height: 140px;
    object-fit: cover;
}

.woocommerce ul.products .product.type-product .type-product-wrapper .onsale {
    background-color: var(--adkh-secondary-color) !important;
    left: 35px !important;
    border-radius: 0 0 10px 10px !important;
    font-size: 13px !important;
}

.woocommerce ul.products .product.type-product .added_to_cart.wc-forward {
    display: none !important;
    opacity: 0 !important;
}

.woocommerce ul.products li.product.type-product .button {
    background: var(--adkh-primary-color);
    border: 1.3px solid var(--adkh-primary-color);
    border-radius: var(--adkh-button-border-radius);
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    padding: 10px;
    width: fit-content;
    margin: 0 !important;
}

.woocommerce ul.products li.product.type-product .button::after,
.woocommerce ul.products li.product.type-product .button::before {
    display: none !important;
}

.woocommerce ul.products li.product.type-product .price {
    margin: 0 !important;
    width: min-content !important;
    color: var(--adkh-link-text-color) !important;
}

.woocommerce ul.products .product.type-product .price-button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.woocommerce nav.woocommerce-pagination ul li span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 25px !important;
    height: 25px !important;
    padding: 5px !important;
}

.woocommerce nav.woocommerce-pagination ul li a.page-numbers {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 25px !important;
    height: 25px !important;
    padding: 5px !important;
    transition: all 300ms !important;
}

.woocommerce nav.woocommerce-pagination ul li span.page-numbers.current {
    color: #fff !important;
    background: var(--adkh-primary-color) !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}

.woocommerce-pagination a.prev.page-numbers {
    transform: unset !important;
}

.woocommerce ul.products {
    padding-top: 50px;
}

.woocommerce nav.woocommerce-pagination ul li a.page-numbers:hover {
    color: #fff !important;
    background: var(--adkh-primary-color) !important;
}

.woocommerce nav.woocommerce-pagination ul {
    display: flex !important;
    width: 100% !important;
    border: none !important;
    gap: 5px !important;
}

.woocommerce-pagination .page-numbers:hover {
    background: unset !important;
}

@media screen and (max-width: 1250px) and (min-width: 768px) {

    .wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block,
    .wc-block-components-sidebar-layout .wc-block-components-main {
        margin-left: 10px !important;
        margin-right: 10px !important;
        width: calc(65% - 20px) !important;
    }

    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block,
    .wc-block-components-sidebar {
        width: calc(35% - 20px) !important;
        height: fit-content;
        margin-top: unset !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
}

@media screen and (max-width: 720px) {

    .wc-block-components-main.wc-block-cart__main.wp-block-woocommerce-cart-items-block,
    .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 100% !important;
        margin: 0px !important;
    }

    .wc-block-components-sidebar.wc-block-cart__sidebar.wp-block-woocommerce-cart-totals-block,
    .wc-block-components-sidebar {
        width: 100% !important;
        height: fit-content;
        margin: 0px !important;
        margin-top: 10px !important;
    }

    tr.wc-block-cart-items__row {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }

    table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
        width: 75px !important;
    }

    .wc-block-components-sidebar {
        margin-bottom: 10px !important;
    }

    .woocommerce ul.order_details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        align-content: flex-start;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .woocommerce-order {
        padding: 25px;
    }

    p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
        font-size: 19px;
        text-align: start;
    }

    .woocommerce-order-details__title,
    .woocommerce .woocommerce-customer-details .woocommerce-column__title {
        text-align: start;
    }

    .woocommerce-order p {
        text-align: start;
    }

    .woocommerce ul.order_details li {
        margin: 0;
    }

}