.woocommerce.ah-product-addtocart-context div.ah-product-addtocart-element.product:not(.e-loop-item) {
    padding: 0;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border: initial;
}

.woocommerce.ah-product-addtocart-context div.ah-product-addtocart-element.product:not(.e-loop-item) form.cart {
    margin: 0;
}

.ah-product-addtocart-element.product-is-simple {
    display: flex;
    flex-direction: column;
}

.ah-product-addtocart-element.product-is-variable form table {
    border-collapse: separate;
    border-spacing: 0 20px;
}

.ah-product-addtocart-element.product-is-simple form,
.ah-product-addtocart-element.product-is-variable .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: start;
    gap: 10px;
    justify-content: start;
}

.ah-product-addtocart-context.woocommerce .ah-product-addtocart-element.product-is-simple form.cart::before,
.ah-product-addtocart-context.woocommerce .ah-product-addtocart-element.product-is-simple form.cart::after {
    content: none;
    display: none;
}

.ah-product-addtocart-element.product-is-simple form .quantity,
.ah-product-addtocart-element.product-is-variable .single_variation_wrap .woocommerce-variation-add-to-cart .quantity {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border: 1px solid #d4d4d4;
}

.ah-product-addtocart-context.woocommerce .ah-product-addtocart-element.product-is-simple form.cart .quantity,
.ah-product-addtocart-context.woocommerce .ah-product-addtocart-element.product-is-variable form.cart .woocommerce-variation-add-to-cart .quantity {
    float: none;
    margin: 0;
}

.ah-product-addtocart-element.product-is-simple form button,
.ah-product-addtocart-element.product-is-variable .single_variation_wrap .woocommerce-variation-add-to-cart button {
    font-size: 16px;
    padding: 16px 20px;
    border-radius: 5px;
}

.ah-product-addtocart-element.product-is-variable .single_variation_wrap {
    padding-top: 10px;
}

.ah-product-addtocart-element.product-is-variable table.variations {
    border: 0
}

.ah-product-addtocart-element.product-is-variable table.variations tr th,
.ah-product-addtocart-element.product-is-variable table.variations tr td {
    padding: 0;
}

.ah-product-addtocart-element.product-is-variable table.variations tr th {
    padding-left: 20px;
}

body.mw_ltr .ah-product-addtocart-element.product-is-variable table.variations tr th {
    padding-right: 20px;
}

.ah-product-addtocart-element .out-of-stock {
    position: relative;
    left: initial;
    top: initial;
    padding: initial;
    border-radius: initial;
}

.ah-product-addtocart-element .ahura-product-variation-items-wrapper {
    display: flex;
    align-items: center;
}

.ah-product-addtocart-element .reset_variations {
    width: 100px
}

/* WooCommerce toggles these wrappers with inline display styles, so they are hidden without display. */
.woocommerce .ah-product-addtocart-element.ah-addtocart-part-variations form.cart .single_variation_wrap {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    visibility: hidden;
}

.woocommerce .ah-product-addtocart-element.ah-addtocart-part-purchase form.cart .variations,
.woocommerce .ah-product-addtocart-element.ah-addtocart-part-purchase form.cart .reset_variations_alert {
    display: none;
}

.ah-product-addtocart-element.ah-addtocart-part-variations form.cart {
    margin: 0;
}

.ah-product-addtocart-element.ah-addtocart-has-button-icon button[type=submit] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ah-product-addtocart-element .ah-addtocart-button-icon {
    display: inline-flex;
}

.ah-product-addtocart-element .ah-addtocart-button-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.ah-product-addtocart-element .variable-items-wrapper .variable-item::after {
    white-space: nowrap;
}

.ah-product-addtocart-element .ah-selected-variation-value {
    font-weight: 400;
}
