/*--------------------------------------------------------------*/
/*  WooCommerce Section
/*--------------------------------------------------------------*/


.woocommerce .woocommerce-cart-form table,
.woocommerce .cart-collaterals table,
.woocommerce .woocommerce-checkout-review-order table,
.woocommerce .post-woocommerce table {
    font-size: initial;
}

.woocommerce-module {
    background-color: #ffffff;
    padding: 0px;
    margin: 0 0 50px;
    position: relative;
    width: 100%;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: inherit;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    line-height: 1.3;
    margin-bottom: 0;
    font-weight: 700;
    font-size: .9em;
    margin-top: 8px;
}

.post-woocommerce .products .woo-product-view {
    display: none;
}

.woocommerce span.onsale {
    padding: 5px 10px;
    font-weight: 700;
    position: absolute;
    text-align: center;
    background-color: var(--thm-primary);
    color: #fff;
    font-size: .857em;
    z-index: 9;
    min-height: 0;
    min-width: 0;
    line-height: 2;
    top: 0;
    left: 0;
    margin: 0;
    border-radius: 0;
}

.woocommerce-caption {
    position: absolute;
    display: block;
    background-color: #0f0d1de8;
    padding: 15px 15px 18px;
    color: #fff;
    bottom: -150px;
    width: 100%;
    transition: all 500ms ease;
}

.woocommerce-caption .name {
    position: relative;
    font-size: 20px;
    color: var(--thm-base);
    line-height: 22px;
    text-transform: var(--thm-text-transform);
    font-weight: 700;
    margin-bottom: 6px;
    width: 194px;
    letter-spacing: var(--thm-letter-space-small);
    display: inline-block;
    cursor: pointer;
}

.woocommerce-caption .name:hover:before {
    width: 100%;
}

.woocommerce .post-woocommerce .price {
    z-index: 1;
    color: var(--thm-black);
    border-radius: 10px;
    line-height: 25px;
    transition: all 500ms ease;
    margin-bottom: 15px;
    margin-top: 15px;
}

.woocommerce div.product form.cart .single_variation_wrap .single_variation {
    margin-bottom: 1.2em;
    border-top: 1px solid var(--thm-light);
    padding-top: 0;
    border-top: 0;
}

.woocommerce div.product form.cart .woocommerce-variation-description p {
    font-size: initial;
}

.woocommerce div.product .product_meta>span {
    display: inline-block;
    margin-right: 15px;
    align-items: center;
    font-weight: 500;
}

/* [ignoring loop detection] */
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-top: 45px;
    margin-bottom: 45px;
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs {
    display: inline-flex;
    background-color: #f1f5f9;
    padding: 6px;
    border-radius: 10px;
    border: none;
    margin: 0 0 25px 0;
    list-style: none;
    gap: 4px;
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 0;
    margin: 0;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li::after {
    display: none;
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li a {
    display: block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li:hover a {
    color: #0f172a;
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active {
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper ul.tabs li.active a {
    color: var(--thm-primary);
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    border: 0;
    vertical-align: top;
    line-height: 2em;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    padding-left: 0;
    display: block;
}

.woocommerce div.product form.cart .variations select {
    max-width: 100%;
    min-width: 75%;
    display: inline-block;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg class='ast-arrow-svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='26px' height='16.043px' fill='%234B4F58' viewBox='57 35.171 26 16.043' enable-background='new 57 35.171 26 16.043' xml:space='preserve' %3E%3Cpath d='M57.5,38.193l12.5,12.5l12.5-12.5l-2.5-2.5l-10,10l-10-10L57.5,38.193z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 0.8em;
    background-repeat: no-repeat;
    background-position-x: calc(100% - 10px);
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2em;

}

.woocommerce .select2-container .select2-selection--single:focus,
.woocommerce select:focus,
.woocommerce-page .select2-container .select2-selection--single:focus,
.woocommerce-page select:focus {
    outline: 0;
}

.woocommerce .select2-container .select2-selection--single,
.woocommerce select,
.woocommerce-page .select2-container .select2-selection--single,
.woocommerce-page select {
    height: 48px;
    width: 100%;
    background: #ffffff;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0 !important;
    border-radius: 8px;
    font-size: 14px;
    color: var(--thm-gray);
    font-weight: 500;
    display: block;
}

.woocommerce-caption p {
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    line-height: 24px;
    text-transform: var(--thm-text-transform);
    letter-spacing: var(--thm-letter-space-big);
    transition: all 500ms ease;
}

.woocommerce-caption:hover {
    bottom: 0px;
}

.woocommerce-section .woocommerce-caption .add_to_cart_button {
    font-size: 15px;
    background: var(--thm-primary);
    position: absolute;
    text-align: center;
    padding: 15px 10px;
    top: 20px;
    right: 15px;
    border-radius: 0;
    color: #fff;
}

.woocommerce-section .woocommerce-caption .add_to_cart_button:hover {
    background-color: #fff;
    color: var(--thm-primary);
}

.woocommerce-section .woocommerce-caption .added_to_cart {
    font-size: 15px;
    background: var(--thm-primary);
    position: absolute;
    text-align: center;
    padding: 6px 30px;
    top: 20px;
    right: 15px;
    border-radius: 0;
    color: #fff;
}

.woocommerce-section .woocommerce-caption .added_to_cart:hover {
    background-color: #fff;
    color: var(--thm-primary);
}

.woocommerce-overlay {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.woocommerce-module:hover .woocommerce-overlay {
    visibility: visible;
    opacity: 1;
}

.woocommerce-overlay-inner {
    position: absolute;
    top: -18px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    /* transform: translateY(-50%); */
    width: 100%;
}

.woocommerce-avatar:hover+.woocommerce-caption {
    bottom: 0px;
    transition: all 500ms ease;
}


.woocommerce-avatar img {
    transition: all 300ms ease-out;
    -webkit-transition: all 300ms ease-out;
    width: 100%;
}

.woocommerce-module .woocommerce-social-icons {
    display: flex;
    margin-top: 0px;
    text-align: center;
    width: 100%;
}

.woocommerce-module .woocommerce-social-icons a {
    display: inline-block;
    padding-left: 0px;
    color: #fff;
    padding: 0;
    text-decoration: none;
    background-color: #0F0D1D;
    transition: all 0.1s ease;
    height: 37px;
    width: 37px;
    -wekbit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -wekbit-transform: translateY(70px);
    -moz-transform: translateY(70px);
    -o-transform: translateY(70px);
    -ms-transform: translateY(70px);
    transform: translateY(70px);
}

.woocommerce .woocommerce-module:hover .woocommerce-social-icons a {
    -wekbit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.woocommerce-module .woocommerce-social-icons a:hover {
    color: #FFFFFF;
}

.woocommerce-module .woocommerce-social-icons a i {
    font-size: 0.875rem;
    line-height: 2.2;
}

.woocommerce-module .woocommerce-social-icons a:hover {
    background-color: var(--thm-primary);
}

.woocommerce-cart-form input[type=number],
.woocommerce-cart-form input[type=text],
.post-woocommerce input[type=number] {
    padding-left: 5px;
    padding-right: 5px;
}

.blog .woocommerce .entry-content .cart_item a {
    display: block;
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: red;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}

.post-woocommerce .comment_container {
    padding: 1%;
}

.post-woocommerce .product_meta a:hover {
    color: var(--thm-primary);
}

.woocommerce div.product .woocommerce-product-rating,
.woocommerce .star-rating::before {
    color: var(--thm-primary);
}

.woocommerce .quantity .qty {
    width: 3.631em;
    text-align: center;
    min-height: 35px;
}

/* Modern Scoped Theme Button System for WooCommerce Main Action Buttons */
.post-woocommerce div.product form.cart .button.single_add_to_cart_button,
.woocommerce div.product form.cart .button,
.woocommerce #place_order,
.woocommerce-checkout #payment #place_order,
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-EditAccountForm .button,
.woocommerce-address-fields .button,
.woocommerce-ResetPassword .button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce a.button.wc-forward,
.woocommerce-page a.button.wc-forward {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    border-radius: 6px;
    background-color: var(--thm-primary);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none;
}

.post-woocommerce div.product form.cart .button.single_add_to_cart_button:hover,
.woocommerce div.product form.cart .button:hover,
.woocommerce #place_order:hover,
.woocommerce-checkout #payment #place_order:hover,
.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover,
.woocommerce-EditAccountForm .button:hover,
.woocommerce-address-fields .button:hover,
.woocommerce-ResetPassword .button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
.woocommerce a.button.wc-forward:hover,
.woocommerce-page a.button.wc-forward:hover {
    background-color: var(--thm-primary);
    opacity: 0.9;
    color: #ffffff;
    text-decoration: none;
    box-shadow: none;
}

/* Shop Loop Added To Cart "VIEW CART" Button & Spacing Reset */
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce-page ul.products li.product a.added_to_cart,
a.added_to_cart.wc-forward,
a.added_to_cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 42px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
    background-color: #10b981 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25) !important;
    transition: all 0.2s ease !important;
}

.woocommerce ul.products li.product a.added_to_cart:hover,
a.added_to_cart.wc-forward:hover {
    background-color: #059669 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35) !important;
    transform: translateY(-1px) !important;
}



/* Dedicated WooCommerce Show/Hide Password Eye Toggle Styling */
.password-input,
span.password-input {
    position: relative !important;
    display: block !important;
    width: 100% !important;
}

.password-input input[type="password"],
.password-input input[type="text"] {
    padding-right: 42px !important;
}

.show-password-input,
span.show-password-input,
button.show-password-input,
.woocommerce-form-row .show-password-input {
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 24px !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #64748b !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    border-radius: 0 !important;
}

.show-password-input::after,
span.show-password-input::after {
    color: #64748b !important;
}

.show-password-input:hover,
span.show-password-input:hover,
button.show-password-input:hover {
    color: var(--thm-primary) !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transform: translateY(-50%) !important;
}

/* Premium WooCommerce Alert Notices Banner System */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info,
.woocommerce-page .woocommerce-error {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 14px 20px !important;
    margin: 0 0 25px 0 !important;
    border-radius: 8px !important;
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 3px solid var(--thm-primary) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: #1e293b !important;
    line-height: 1.5 !important;
    outline: none !important;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-error::before,
.woocommerce-page .woocommerce-message::before,
.woocommerce-page .woocommerce-info::before,
.woocommerce-page .woocommerce-error::before {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    float: none !important;
    display: inline-flex !important;
    font-size: 18px !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

.woocommerce .woocommerce-message::before,
.woocommerce-page .woocommerce-message::before {
    color: #10b981 !important;
}

.woocommerce .woocommerce-info::before,
.woocommerce-page .woocommerce-info::before {
    color: var(--thm-primary) !important;
}

.woocommerce .woocommerce-error::before,
.woocommerce-page .woocommerce-error::before {
    color: #ef4444 !important;
}

.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-error {
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #ef4444 !important;
    color: #991b1b !important;
}

/* Coupon Form Flex Wrapper & Error Notice Positioning */
.woocommerce table.cart td.actions .coupon,
.woocommerce-page table.cart td.actions .coupon,
.coupon {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
}

.woocommerce table.cart td.actions .coupon #coupon_code,
.woocommerce-page table.cart td.actions .coupon #coupon_code,
.coupon #coupon_code {
    margin: 0 !important;
}

.woocommerce table.cart td.actions .coupon .button,
.woocommerce-page table.cart td.actions .coupon .button,
.coupon .button {
    margin: 0 !important;
}

/* Coupon Error Notice & Gutenberg Block Validation Banners */
.wc-block-components-notice-banner.is-error,
.wc-block-components-totals-coupon__notice-banner,
.wc-block-components-validation-error,
.coupon-error-notice,
.wc-block-components-totals-coupon__error {
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #ef4444 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    color: #991b1b !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.06) !important;
    flex-basis: 100% !important;
    width: 100% !important;
    clear: both !important;
}

.woocommerce-error li,
.woocommerce-page .woocommerce-error li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #991b1b !important;
}

.wc-block-components-notice-banner.is-error svg,
.wc-block-components-validation-error svg {
    fill: #ef4444 !important;
    color: #ef4444 !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

/* Notice Action Buttons (e.g. View Cart button, Confirm Email Address, Browse Products & Undo? link) */
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
.woocommerce a.button,
.woocommerce a.woocommerce-Button,
.woocommerce-page a.button,
.woocommerce-page a.woocommerce-Button,
.woocommerce a.button.wc-forward,
.woocommerce-page a.button.wc-forward,
.woocommerce-message a.restore-item,
.woocommerce-page a.restore-item,
a.restore-item {
    order: 99 !important;
    margin-left: auto !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 36px !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.2px !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
.woocommerce a.button.wc-forward:hover,
.woocommerce-page a.button.wc-forward:hover,
.woocommerce-message a.restore-item:hover,
.woocommerce-page a.restore-item:hover,
a.restore-item:hover {
    background-color: var(--thm-primary);
    opacity: 0.9;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(123, 64, 192, 0.2);
}

.woocommerce p.stars a {
    font-size: 20px;
}

.woocommerce p.stars a::before {
    color: var(--thm-primary);
    background-color: transparent;
}

.woocommerce .checkout-button,
.place-order button {
    padding: 0 30px;
    width: 100%;
}

.woocommerce-info {
    border-top-color: var(--thm-primary);
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: var(--thm-light);
    border-radius: 0;
}

.woocommerce-section .post img {
    width: 100%;
    transform: scale(1);
    transition: all 500ms ease;
    max-width: 100%;
}

.woocommerce-section .post:hover .portfolio-thumbnail>img {
    transform: scale(1.05);
    opacity: 1;
}

.woocommerce-section .woocommerce-avatar figcaption {
    position: absolute;
    display: block;
    background-color: var(--thm-black);
    padding: 25px 25px 25px;
    transition: background 500ms ease;
    max-width: 420px;
    width: 100%;
    bottom: -55px;
}

.woocommerce-section .woocommerce-avatar figcaption p.branding {
    font-size: 14px;
    font-weight: 800;
    margin: 0;
    line-height: 24px;
    text-transform: var(--thm-text-transform);
    padding-bottom: 5px;
    letter-spacing: var(--thm-letter-space-big);
    transition: all 500ms ease
}

.woocommerce-section .woocommerce-avatar figcaption .entry-title {
    font-size: 20px;
    color: var(--thm-base);
    font-weight: 900;
    text-transform: var(--thm-text-transform);
    line-height: 34px;
    letter-spacing: var(--thm-letter-space-small);
}

.woocommerce-section .woocommerce-avatar figcaption .entry-title a,
.woocommerce-section .woocommerce-avatar figcaption .price {
    position: relative;
    color: var(--thm-base) !important;
    margin: 0
}

.woocommerce-section .woocommerce-module:hover figcaption {
    background-color: var(--thm-primary);
}

.woocommerce-section .woocommerce-module:hover figcaption p {
    color: var(--thm-base);
}

.woocommerce-section .woocommerce-module figcaption .entry-title a:before {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 2px;
    width: 10px;
    background-color: currentColor;
    transition: width 500ms ease;
}

.woocommerce-section .woocommerce-module figcaption .entry-title a:hover::before {
    width: 100%;
}

.woo-overlay {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 0px;
}

.woocommerce-section .woocommerce-module:hover .woo-overlay {
    visibility: visible;
    opacity: 1;
}

.woo-overlay-inner {
    position: absolute;
    left: 0;
    margin-top: 0px;
    top: -25px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.woocommerce-avatar .portfolio-icons {
    margin-top: 0px;
    text-align: center;
    width: 100%;
}

.woocommerce-avatar .woo-icons .woo-product-view {
    display: inline-block;
    text-align: center;
    padding-left: 0px;
    color: #fff;
    padding: 0;
    text-decoration: none;
    background-color: #0f0d1d;
    transition: all 0.1s ease;
    height: 100%;
    width: 60px;
    font-size: 17px;
    line-height: 50px;
    -wekbit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -wekbit-transform: translateY(70px);
    -moz-transform: translateY(70px);
    -o-transform: translateY(70px);
    -ms-transform: translateY(70px);
    transform: translateY(70px);
}

.woocommerce-avatar .woo-icons .button {
    font-size: 18px;
    line-height: 24px;
    -wekbit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -wekbit-transform: translateY(70px);
    -moz-transform: translateY(70px);
    -o-transform: translateY(70px);
    -ms-transform: translateY(70px);
    transform: translateY(70px);
}

.woocommerce-avatar .woo-icons .added_to_cart {
    width: 105px !important;
}

.woocommerce-section .woocommerce-module:hover .woocommerce-avatar .woo-icons a {
    -wekbit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.woocommerce-avatar .woo-icons a:hover {
    color: #ffffff;
}

/* .woocommerce-avatar .woo-icons a i {
    font-size: 20px;
    line-height: 50px;
} */

.woocommerce-avatar .woo-icons a:hover {
    background-color: var(--thm-primary);
}

[ignoring loop detection]

/* Modern WooCommerce Cart Design Overhaul (Classic & Gutenberg Blocks) */
.woocommerce table.shop_table.cart,
.woocommerce-page table.shop_table.cart {
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border-collapse: separate;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 30px;
}

.woocommerce table.shop_table.cart thead,
.woocommerce-page table.shop_table.cart thead {
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce table.shop_table.cart th,
.woocommerce-page table.shop_table.cart th {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-bottom-width: 0;
}

.woocommerce table.shop_table.cart td,
.woocommerce-page table.shop_table.cart td {
    padding: 20px !important;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce table.shop_table.cart tr:last-child td,
.woocommerce-page table.shop_table.cart tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table .product-thumbnail img,
.woocommerce-page table.shop_table .product-thumbnail img {
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    width: 70px;
    height: auto;
    object-fit: cover;
}

/* Modern Remove Item Button */
.woocommerce a.remove,
.woocommerce-page a.remove {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 26px;
    border-radius: 50%;
    text-align: center;
    color: #94a3b8 !important;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
}

.woocommerce a.remove:hover,
.woocommerce-page a.remove:hover {
    background-color: #fee2e2;
    color: #ef4444 !important;
    border-color: #fca5a5;
    transform: scale(1.05);
}

.woocommerce #content table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text,
#coupon_code {
    width: auto;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    padding: 0 15px;
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .added_to_cart {
    border-radius: 6px;
    color: #ffffff;
    background-color: #0f172a;
    transition: all 0.2s ease;
}

/* Match Apply Coupon & Update Cart Buttons with Theme Primary Color */
.woocommerce table.shop_table.cart td.actions .coupon button[name="apply_coupon"],
.woocommerce table.shop_table.cart td.actions button[name="update_cart"],
.woocommerce-page table.shop_table.cart td.actions .coupon button[name="apply_coupon"],
.woocommerce-page table.shop_table.cart td.actions button[name="update_cart"] {
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
    font-size: 13.5px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    border-radius: 6px;
    background-color: var(--thm-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce table.shop_table.cart td.actions .coupon button[name="apply_coupon"]:hover,
.woocommerce table.shop_table.cart td.actions button[name="update_cart"]:hover:not(:disabled),
.woocommerce-page table.shop_table.cart td.actions .coupon button[name="apply_coupon"]:hover,
.woocommerce-page table.shop_table.cart td.actions button[name="update_cart"]:hover:not(:disabled) {
    opacity: 0.9;
    background-color: var(--thm-primary);
    color: #ffffff;
}

.woocommerce table.shop_table.cart td.actions button[name="update_cart"]:disabled,
.woocommerce-page table.shop_table.cart td.actions button[name="update_cart"]:disabled {
    background-color: var(--thm-primary);
    opacity: 0.55;
    cursor: not-allowed;
}

.woocommerce input[type=text],
.woocommerce input[type=url],
.woocommerce textarea,
.woocommerce-page form .form-row textarea,
.woocommerce-page input[type=email],
.woocommerce-page input[type=number],
.woocommerce-page input[type=password],
.woocommerce-page input[type=reset],
.woocommerce-page input[type=search],
.woocommerce-page input[type=tel],
.woocommerce-page input[type=text],
.woocommerce-page input[type=url],
.woocommerce-page textarea {
    height: 40px;
    width: 100%;
    border: none;
    background: var(--thm-light);
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
    border-radius: 0px;
    font-size: 14px;
    color: var(--thm-gray);
    font-weight: 500;
    display: block;
}

.woocommerce-product-search input[type="search"],
.widget_product_search input[type="search"],
.woocommerce-page .woocommerce-product-search input[type="search"],
.woocommerce-page .widget_product_search .woocommerce-product-search input[type="search"] {
    margin-bottom: 0 !important;
}

/* Fix generic inputs from overriding and breaking WooCommerce Quantity selectors */
.woocommerce .quantity .qty,
.woocommerce-page .quantity .qty,
.woocommerce .wc-block-components-quantity-selector__input,
.woocommerce-page .wc-block-components-quantity-selector__input {
    width: 48px !important;
    height: 36px !important;
    margin-bottom: 0 !important;
    display: inline-block !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Checkout form */
@media (min-width: 922px) {

    .woocommerce.woocommerce-checkout form #customer_details.col2-set,
    .woocommerce-page.woocommerce-checkout form #customer_details.col2-set {
        width: 55%;
        float: left;
        margin-right: 4.347826087%;
    }
}

@media (min-width: 922px) {

    .woocommerce.woocommerce-checkout form #order_review,
    .woocommerce.woocommerce-checkout form #order_review_heading,
    .woocommerce-page.woocommerce-checkout form #order_review,
    .woocommerce-page.woocommerce-checkout form #order_review_heading {
        width: 40%;
        float: right;
        margin-right: 0;
        clear: right;
    }
}

.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2,
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
    width: 100% !important
}

.woocommerce form .form-row label {
    line-height: 2;
    font-weight: 700;
    font-size: 13.5px;
    font-size: .9rem;
}


/* High-specificity overrides for WooCommerce default pagination styles to match the Blog pagination */
.woocommerce .woocommerce-pagination,
.woocommerce-page .woocommerce-pagination {
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.woocommerce .woocommerce-pagination ul.page-numbers,
.woocommerce-page .woocommerce-pagination ul.page-numbers {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.woocommerce .woocommerce-pagination ul.page-numbers li,
.woocommerce-page .woocommerce-pagination ul.page-numbers li {
    border: none;
    margin: 0;
    padding: 0;
    float: none;
    display: inline-block;
}

.woocommerce .woocommerce-pagination .page-numbers li span,
.woocommerce .woocommerce-pagination .page-numbers li a,
.woocommerce-page .woocommerce-pagination .page-numbers li span,
.woocommerce-page .woocommerce-pagination .page-numbers li a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    height: auto;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--thm-black);
    background-color: #f1f5f9;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1 !important;
    width: auto;
    cursor: pointer;
    border: none;
}

/* Hover and active states */
.woocommerce .woocommerce-pagination .page-numbers li a:hover,
.woocommerce-page .woocommerce-pagination .page-numbers li a:hover {
    background-color: var(--thm-primary);
    color: #fff !important;
}

.woocommerce .woocommerce-pagination .page-numbers li span.current,
.woocommerce-page .woocommerce-pagination .page-numbers li span.current {
    background-color: var(--thm-primary);
    color: #fff !important;
}

/* Dots styling */
.woocommerce .woocommerce-pagination .page-numbers li span.dots,
.woocommerce-page .woocommerce-pagination .page-numbers li span.dots {
    background-color: transparent;
    color: #94a3b8;
    min-width: auto;
    padding: 0 5px;
}

#woocommerce-carousel .owl-dots {
    margin-top: 40px
}

/* ==========================================================================
   Redesigned Premium Woocommerce Card (Atelier-inspired Luxury Card Layout)
   ========================================================================== */
.woocommerce-section .woocommerce-module {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    border-radius: var(--thm-card-radius, 0);
    overflow: hidden;
    margin-bottom: 30px;
}

.woocommerce-section .woocommerce-module:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.woocommerce-section .woo-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    /* Clean rectangular premium aspect ratio */
    overflow: hidden;
    background-color: #f8fafc;
    border-radius: var(--thm-card-radius, 0) var(--thm-card-radius, 0) 0 0;
    transform: translateZ(0);
    /* Standard anti-alias compositing boundary */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.woocommerce-section .woo-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 0;
}

.woocommerce-section .woocommerce-module:hover .woo-product-img {
    transform: scale(1.06);
}

/* On Sale Badge */
.woocommerce-section .onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #5c1dcf;
    /* Premium luxury purple */
    color: #ffffff;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 10;
    border-radius: 0;
    /* Force sharp corner badge */
    line-height: 1.2;
    min-height: 0;
    min-width: 0;
}

/* Wishlist Heart Icon overlay */
.woocommerce-section .woo-wishlist-heart {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 0;
    /* Square wishlist container */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.woocommerce-section .woo-wishlist-heart:hover {
    background: #1e293b;
    color: #ffffff;
}

/* View Eye Icon Hover Overlay */
.woocommerce-section .woo-img-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 13, 29, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 5;
}

.woocommerce-section .woocommerce-module:hover .woo-img-hover-overlay {
    opacity: 1;
}

.woocommerce-section .woo-view-btn {
    width: 48px;
    height: 48px;
    background: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: 0;
    /* Square view button */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.woocommerce-section .woo-view-btn:hover {
    background: #5c1dcf;
    color: #ffffff;
    transform: scale(1.05);
}

/* Details Info Wrapper */
.woocommerce-section .woo-info-wrapper {
    padding: 20px;
    background-color: #ffffff;
    text-align: left;
}

/* Meta Row (Category & Rating) */
.woocommerce-section .woo-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.woocommerce-section .woo-category {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    /* Slate 500 */
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.woocommerce-section .woo-rating {
    font-size: 12px;
    font-weight: 600;
    color: #eab308;
    /* Yellow 500 / Gold */
    display: flex;
    align-items: center;
    gap: 4px;
}

.woocommerce-section .woo-rating i {
    font-size: 11px;
}

/* Product Title */
.woocommerce-section .woo-product-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: inherit;
}

.woocommerce-section .woo-product-title a {
    color: #0f172a;
    /* Slate 900 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-section .woo-product-title a:hover {
    color: #5c1dcf;
}

/* Price block */
.woocommerce-section .woo-price {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    /* Slate 900 */
}

.woocommerce-section .woo-price del {
    color: #94a3b8;
    /* Slate 400 */
    font-weight: 400;
    font-size: 14px;
    margin-right: 8px;
    text-decoration: line-through;
}

.woocommerce-section .woo-price ins {
    text-decoration: none;
    color: #0f172a;
}

/* Footer Row Flex Layout */
.woocommerce-section .woo-footer-row {
    display: flex;
    justify-content: center;
    /* Center the price for maximum focus */
    align-items: center;
    margin-top: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
}

/* ==========================================================================
   Redesigned Hover Icons Bar (Sliding up from Info Wrapper)
   ========================================================================== */
.woocommerce-section .woo-hover-icons-bar {
    position: absolute;
    bottom: -1px;
    /* Offset by 1px to tuck cleanly behind boundaries and stop sub-pixel bleeding */
    left: 0;
    width: 100%;
    background: #ffffff;
    /* Ultra-smooth rendering fill without expensive CPU-intensive blur filters */
    border: none;
    /* Removed the top border border rule for a seamless, floating premium look */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
    z-index: 15;
    transform: translate3d(0, calc(100% + 5px), 0);
    /* 3D composition translation with extra hide-offset */
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    pointer-events: none;
    will-change: transform, opacity;
    /* Lock high-framerate GPU hardware acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.woocommerce-section .woocommerce-module:hover .woo-hover-icons-bar {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    pointer-events: auto;
}

/* Staggered double-layer fluid slide-in for the buttons inside the bar */
.woocommerce-section .woo-hover-icons-bar .woo-view-btn,
.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper {
    transform: translateY(8px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
    will-change: transform;
}

.woocommerce-section .woocommerce-module:hover .woo-hover-icons-bar .woo-view-btn,
.woocommerce-section .woocommerce-module:hover .woo-hover-icons-bar .woo-add-btn-wrapper {
    transform: translateY(0);
}

/* View Eye Icon Button */
.woocommerce-section .woo-hover-icons-bar .woo-view-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #1e293b;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    border-radius: 0;
}

.woocommerce-section .woo-hover-icons-bar .woo-view-btn:hover {
    background: #1e293b;
    color: #ffffff;
}

/* Add to Cart Button wrapper & trigger */
.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper .button {
    min-height: 40px;
    height: auto;
    padding: 0 20px;
    background: #5c1dcf;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: none;
    line-height: 1.3;
}

.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper .button:hover {
    background: #1e293b;
    color: #ffffff;
    text-decoration: none;
}

/* Woo Add to Cart Loading State */
.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper .button.loading {
    opacity: 0.8;
    cursor: default;
    pointer-events: none;
    padding-right: 35px !important;
}

/* High-Fidelity Font Awesome Segmented Rolling Loader */
.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper span.loading {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    text-indent: 0 !important;
    width: 18px !important;
    height: 18px !important;
    margin-left: 0 !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    line-height: 1 !important;
    z-index: 10;
}

.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper span.loading::before {
    display: none !important;
    /* Hide any default WooCommerce loader icon */
}

.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper span.loading::after {
    content: "\f110";
    /* Font Awesome Segmented Spinner Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: #ffffff !important;
    /* White color to contrast with button */
    display: inline-block;
    animation: woo-fa-spin 1s infinite linear;
}

@keyframes woo-fa-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Success "Added" link override */
.woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper .added_to_cart {
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 40px;
    height: auto;
    line-height: 1.3;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    border-radius: 0;
}

/* Ensure mobile layout displays this bar at all times naturally since hover is not active */
@media (max-width: 1024px) {
    .woocommerce-section .woo-hover-icons-bar {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.95);
        padding: 10px;
    }

    .woocommerce-section .woo-hover-icons-bar .woo-view-btn,
    .woocommerce-section .woo-hover-icons-bar .woo-add-btn-wrapper {
        transform: translateY(0) !important;
    }
}

/* Heartbeat Micro-Animation for Wishlist Heart Button */
.woocommerce-section .woo-wishlist-heart.active {
    color: #ef4444;
    /* Vibrant Red */
    background: #ffe4e6;
    /* Soft Rose background tint */
}

.woocommerce-section .woo-wishlist-heart.heartbeat-anim {
    animation: woo-heartbeat 0.6s ease-in-out;
}

@keyframes woo-heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

/* Modern WooCommerce Loop Add to Cart and View Cart styling */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce-page ul.products li.product .button.add_to_cart_button {
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 40px;
    height: auto;
    padding: 0 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(123, 64, 192, 0.15);
    line-height: 1.3;
    box-sizing: border-box;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce-page ul.products li.product .button.add_to_cart_button:hover {
    background-color: var(--thm-black) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Adjust default WooCommerce loading spinner vertical position globally */
.woocommerce a.button.loading::after,
.woocommerce button.button.loading::after,
.woocommerce input.button.loading::after,
.woocommerce #respond input#submit.loading::after {
    top: .9em;
}

/* Add to Cart Loading State (Rotating/Spinner animation) */
.woocommerce ul.products li.product .button.add_to_cart_button.loading,
.woocommerce-page ul.products li.product .button.add_to_cart_button.loading {
    padding-right: 40px !important;
    opacity: 0.8;
}

/* Hide default WooCommerce spinner bullet & inject FontAwesome spinner */
.woocommerce ul.products li.product .button.add_to_cart_button.loading::after,
.woocommerce-page ul.products li.product .button.add_to_cart_button.loading::after {
    content: "\f110" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 14px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -7px;
    display: inline-block;
    animation: fa-spin-rotate 1s infinite linear;
    color: #ffffff !important;
}

@keyframes fa-spin-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* View Cart Link (.added_to_cart) next to the button */
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce-page ul.products li.product a.added_to_cart {
    background-color: #10b981 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 40px;
    height: auto;
    padding: 0 20px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-left: 0;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
    border: none;
    width: auto;
    line-height: 1.3;
    box-sizing: border-box;
}

.woocommerce ul.products li.product a.added_to_cart:hover,
.woocommerce-page ul.products li.product a.added_to_cart:hover {
    background-color: #059669 !important;
    box-shadow: 0 6px 15px rgba(5, 150, 105, 0.25);
    transform: translateY(-2px);
}

/* Modern WooCommerce Loop Product Card Layout */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: var(--thm-card-radius, 8px);
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Product Image Hover Zoom */
.woocommerce ul.products li.product a.woocommerce-loop-product__link,
.woocommerce-page ul.products li.product a.woocommerce-loop-product__link {
    display: block;
    overflow: hidden;
    border-radius: var(--thm-card-radius, 6px);
    margin-bottom: 12px;
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link img,
.woocommerce-page ul.products li.product a.woocommerce-loop-product__link img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin-bottom: 0 !important;
}

.woocommerce ul.products li.product:hover a.woocommerce-loop-product__link img,
.woocommerce-page ul.products li.product:hover a.woocommerce-loop-product__link img {
    transform: scale(1.04);
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 8px 0 !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}

/* Star Ratings */
.woocommerce ul.products li.product .star-rating,
.woocommerce-page ul.products li.product .star-rating {
    margin: 4px 0 8px 0 !important;
    font-size: 12px;
}

/* Price styling */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--thm-primary) !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    display: block;
}

/* Force buttons to align at the bottom of the card and stretch full width */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce-page ul.products li.product .button.add_to_cart_button {
    margin-top: auto !important;
    width: 100% !important;
}

.woocommerce ul.products li.product a.added_to_cart,
.woocommerce-page ul.products li.product a.added_to_cart {
    margin-top: 8px !important;
    width: 100% !important;
}

/* Modern Relocated Sale Badge styling */
.woocommerce ul.products li.product span.onsale,
.woocommerce-page ul.products li.product span.onsale {
    position: absolute;
    width: max-content;
    top: 30px;
    left: 30px;
    margin: 0;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--thm-primary);
    color: #ffffff;
    border-radius: 30px;
    /* Modern Pill shape */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    line-height: 1;
    min-height: auto;
    min-width: auto;
}

/* Modern Grid Spacing overrides to enlarge product cards and shrink gaps */
@media (min-width: 992px) {

    /* For 4 Columns (Default/Shop Page) */
    .woocommerce.columns-4 ul.products li.product,
    .woocommerce-page.columns-4 ul.products li.product,
    .woocommerce ul.products.columns-4 li.product,
    .woocommerce-page ul.products.columns-4 li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product {
        width: 23.875% !important;
        margin-right: 1.5% !important;
        margin-bottom: 20px !important;
    }

    .woocommerce.columns-4 ul.products li.product:nth-child(4n),
    .woocommerce-page.columns-4 ul.products li.product:nth-child(4n),
    .woocommerce ul.products.columns-4 li.product:nth-child(4n),
    .woocommerce-page ul.products.columns-4 li.product:nth-child(4n),
    .woocommerce ul.products li.product:nth-child(4n),
    .woocommerce-page ul.products li.product:nth-child(4n) {
        margin-right: 0 !important;
        clear: right !important;
    }

    .woocommerce.columns-4 ul.products li.product:nth-child(4n+1),
    .woocommerce-page.columns-4 ul.products li.product:nth-child(4n+1),
    .woocommerce ul.products.columns-4 li.product:nth-child(4n+1),
    .woocommerce-page ul.products.columns-4 li.product:nth-child(4n+1),
    .woocommerce ul.products li.product:nth-child(4n+1),
    .woocommerce-page ul.products li.product:nth-child(4n+1) {
        clear: left !important;
    }

    /* For 3 Columns (Sidebars / Widgets / Archives) */
    .woocommerce.columns-3 ul.products li.product,
    .woocommerce-page.columns-3 ul.products li.product,
    .woocommerce ul.products.columns-3 li.product,
    .woocommerce-page ul.products.columns-3 li.product {
        width: 32.33% !important;
        margin-right: 1.5% !important;
        margin-bottom: 20px !important;
    }

    .woocommerce.columns-3 ul.products li.product:nth-child(3n),
    .woocommerce-page.columns-3 ul.products li.product:nth-child(3n),
    .woocommerce ul.products.columns-3 li.product:nth-child(3n),
    .woocommerce-page ul.products.columns-3 li.product:nth-child(3n) {
        margin-right: 0 !important;
        clear: right !important;
    }

    .woocommerce.columns-3 ul.products li.product:nth-child(3n+1),
    .woocommerce-page.columns-3 ul.products li.product:nth-child(3n+1),
    .woocommerce ul.products.columns-3 li.product:nth-child(3n+1),
    .woocommerce-page ul.products.columns-3 li.product:nth-child(3n+1) {
        clear: left !important;
    }
}

/* Hide Redundant WooCommerce loop header title */
.woocommerce .page-title,
.woocommerce-page .page-title,
.post-woocommerce .page-title,
.woocommerce-products-header .page-title {
    display: none !important;
}

/* Modernize Shop Results and Ordering dropdowns */
.woocommerce .woocommerce-result-count,
.woocommerce-page .woocommerce-result-count {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    margin: 0 0 25px 0;
    line-height: 40px;
}

.woocommerce .woocommerce-ordering,
.woocommerce-page .woocommerce-ordering {
    margin: 0 0 25px 0;
}

.woocommerce .woocommerce-ordering select,
.woocommerce-page .woocommerce-ordering select {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px 36px 8px 16px;
    border-radius: 6px;
    height: 40px;
    line-height: 22px;
    cursor: pointer;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.woocommerce .woocommerce-ordering select:hover,
.woocommerce-page .woocommerce-ordering select:hover {
    border-color: var(--thm-primary);
    box-shadow: 0 2px 8px rgba(123, 64, 192, 0.08);
}

.woocommerce .woocommerce-ordering select:focus,
.woocommerce-page .woocommerce-ordering select:focus {
    border-color: var(--thm-primary);
    box-shadow: 0 0 0 3px rgba(123, 64, 192, 0.15);
}

[ignoring loop detection]

/* Gutenberg Cart Block Styling overrides */
.wc-block-cart-items {
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    background: #ffffff !important;
    padding: 20px !important;
}

.wc-block-cart-item {
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}

.wc-block-cart-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.wc-block-cart-item__image img {
    border-radius: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05) !important;
}

.wc-block-cart-item__wrap .wc-block-cart-item__title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    transition: color 0.3s ease !important;
}

.wc-block-cart-item__wrap .wc-block-cart-item__title:hover {
    color: var(--thm-primary) !important;
}

/* Modern Quantity Selector for Blocks */
.wc-block-components-quantity-selector {
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 36px !important;
}

.wc-block-components-quantity-selector__button {
    background-color: #f8fafc !important;
    color: #64748b !important;
    border: none !important;
    width: 32px !important;
    height: 100% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wc-block-components-quantity-selector__button:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.wc-block-components-quantity-selector__input {
    border: none !important;
    background: #ffffff !important;
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    width: 40px !important;
    height: 100% !important;
    text-align: center !important;
    padding: 0 !important;
}

/* Modern Cart Item Remove Link */
.wc-block-cart-item__remove-link {
    color: #94a3b8 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #ef4444 !important;
    transform: scale(1.15) !important;
}

/* Cart Sidebar & Totals Overhaul - Compact Modern Sizing */
.woocommerce .cart-collaterals,
.woocommerce-page .cart-collaterals {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals,
.wc-block-cart__totals-column .wc-block-components-totals-card {
    width: 100%;
    max-width: 400px;
    float: right;
    margin-left: auto;
    background-color: #ffffff !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 8px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-page .cart-collaterals .cart_totals h2 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}

/* Checkout submit button styling */
.woocommerce.woocommerce-page .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-button a {
    display: block;
    text-align: center;
    width: 100%;
    height: 44px;
    line-height: 44px;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    background-color: var(--thm-primary);
    color: #ffffff;
    border: none;
    box-shadow: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.woocommerce.woocommerce-page .cart-collaterals .cart_totals .wc-proceed-to-checkout a.checkout-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-button a:hover {
    background-color: var(--thm-primary);
    opacity: 0.9;
    transform: none;
    box-shadow: none;
    color: #ffffff;
}

[ignoring loop detection]

/* Typography and Text Size Enhancements for the Cart Page */
.wc-block-cart-item__wrap .wc-block-cart-item__title,
.woocommerce-cart-form__cart-item .product-name a {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

/* Prices & Subtotals */
.wc-block-cart-item__price,
.wc-block-cart-item__total,
.woocommerce-cart-form__cart-item .product-price,
.woocommerce-cart-form__cart-item .product-subtotal {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

/* Product Meta / Descriptions / Subtext */
.wc-block-cart-item__metadata,
.wc-block-cart-item__description,
.woocommerce-cart-form__cart-item .product-meta,
.product-details,
.wc-block-cart-item__wrap dl {
    font-size: 13.5px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

/* Cart Totals Title and Table Typography */
.woocommerce.woocommerce-page .cart-collaterals .cart_totals h2,
.wc-block-cart__totals-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #ffffff;
}

.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr th,
.woocommerce .cart-collaterals .cart_totals table.shop_table tr th {
    padding: 10px 14px;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #475569;
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    white-space: nowrap !important;
    width: auto !important;
    vertical-align: middle !important;
}

.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr td,
.woocommerce .cart-collaterals .cart_totals table.shop_table tr td {
    padding: 10px 14px;
    text-align: right;
    font-size: 14.5px;
    font-weight: 600;
    color: #1e293b;
    background-color: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle !important;
}

.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr:last-child th,
.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Maintain static plain backgrounds on Cart Totals rows (prevent hover highlights) */
.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr:hover th {
    background-color: #f8fafc;
}

.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr:hover td {
    background-color: #ffffff;
}

.cart-subtotal .amount,
.wc-block-components-totals-item__value {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.order-total .amount,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

/* Modern Applied Coupon Tag & Discount System (Checkout & Cart) */
.wc-block-components-totals-discount__coupon-list,
.wc-block-components-totals-discount ul,
ul.wc-block-components-totals-discount__coupon-list {
    padding-left: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    margin: 4px 0 0 0 !important;
    list-style: none !important;
}

.wc-block-components-totals-discount__coupon-tag,
.wc-block-components-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 4px 10px 4px 10px !important;
    height: 28px !important;
    background-color: #f3e8ff !important;
    border: 1px solid #e9d5ff !important;
    border-radius: 20px !important;
    color: var(--thm-primary) !important;
    margin-top: 4px !important;
}

.wc-block-components-chip__text,
.wc-block-components-totals-discount__coupon-tag span {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--thm-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Coupon Icon Before Code */
.wc-block-components-chip__text::before,
.wc-block-components-totals-discount__coupon-tag span::before {
    content: "\f02b";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    font-size: 11px;
    margin-right: 5px;
    color: var(--thm-primary);
    display: inline-block;
    line-height: 1;
}

/* Classic WooCommerce Cart Totals Coupon Row */
.cart-discount th,
.cart-discount td,
.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr.cart-discount th,
.woocommerce.woocommerce-page .cart-collaterals .cart_totals table.shop_table tr.cart-discount td {
    border-bottom: none !important;
}

.cart-discount th {
    vertical-align: middle;
}

.cart-discount td {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    color: #10b981 !important;
    background-color: #ffffff !important;
    white-space: nowrap !important;
}

.cart-discount br {
    display: none !important;
}

.cart-discount .amount {
    color: #10b981 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    margin-right: 0 !important;
    order: 2 !important;
    line-height: 1 !important;
}

.cart-discount .amount::before {
    content: "-" !important;
    margin-right: 1px !important;
    display: inline !important;
}

.woocommerce a.woocommerce-remove-coupon,
.woocommerce-page a.woocommerce-remove-coupon {
    order: 1 !important;
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
    border: none !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
}

.woocommerce a.woocommerce-remove-coupon::before,
.woocommerce-page a.woocommerce-remove-coupon::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome;
    font-weight: 900;
    font-size: 10px;
    color: #ef4444;
    line-height: 1;
}

.woocommerce a.woocommerce-remove-coupon:hover,
.woocommerce-page a.woocommerce-remove-coupon:hover {
    background-color: #ef4444 !important;
}

.woocommerce a.woocommerce-remove-coupon:hover::before,
.woocommerce-page a.woocommerce-remove-coupon:hover::before {
    color: #ffffff !important;
}

/* Coupon Remove Cross Button for Gutenberg Checkout Block Chips */
.wc-block-components-chip__remove,
.wc-block-components-chip__remove-button,
.wc-block-components-totals-discount__coupon-tag button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background-color: rgba(123, 64, 192, 0.15) !important;
    color: var(--thm-primary) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 0 0 4px !important;
}

.wc-block-components-chip__remove:hover,
.wc-block-components-chip__remove-button:hover,
.wc-block-components-totals-discount__coupon-tag button:hover {
    background-color: #ef4444 !important;
    color: #ffffff !important;
}

/* Discount Amount Highlight */
.wc-block-components-totals-item__value--discount,
.cart-discount .amount,
.wc-block-components-totals-discount .wc-block-components-totals-item__value {
    color: #10b981;
    font-weight: 700;
}



/* [ignoring loop detection] */
/* Premium Single Product Page - Main Image & Gallery Overhaul */
.woocommerce.woocommerce-page div.product div.images,
.woocommerce div.product div.images {
    margin-bottom: 30px;
}

/* Main Featured Image Wrapper */
.woocommerce.woocommerce-page div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.woocommerce.woocommerce-page div.product div.images .woocommerce-product-gallery__wrapper img,
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img {
    border-radius: 12px;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    box-shadow: none;
}

/* Product Gallery Zoom Trigger Button */
.woocommerce.woocommerce-page div.product div.images .woocommerce-product-gallery__trigger,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    border-radius: 50%;
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    z-index: 9;
    transition: all 0.3s ease;
}

.woocommerce.woocommerce-page div.product div.images .woocommerce-product-gallery__trigger:hover,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover {
    transform: scale(1.1);
    background-color: var(--thm-primary);
    color: #ffffff;
}

/* Gallery Thumbnails List (FlexSlider & Standard WooCommerce Grid) */
.woocommerce.woocommerce-page div.product div.images ol.flex-control-thumbs,
.woocommerce div.product div.images ol.flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 0 0;
    padding: 6px 2px 4px 2px;
    list-style: none;
    width: 100%;
    overflow: visible;
    box-sizing: border-box;
}

.woocommerce.woocommerce-page div.product div.images ol.flex-control-thumbs li,
.woocommerce div.product div.images ol.flex-control-thumbs li {
    flex: 1 1 0;
    max-width: calc(25% - 9px);
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    overflow: visible;
}

.woocommerce.woocommerce-page div.product div.images ol.flex-control-thumbs li img,
.woocommerce div.product div.images ol.flex-control-thumbs li img {
    width: 100%;
    height: auto;
    max-height: 100%;
    display: block;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    padding: 2px;
    opacity: 0.75;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
    object-fit: cover;
    box-sizing: border-box;
}

.woocommerce.woocommerce-page div.product div.images ol.flex-control-thumbs li img:hover,
.woocommerce.woocommerce-page div.product div.images ol.flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images ol.flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: var(--thm-primary);
    box-shadow: 0 4px 12px rgba(123, 64, 192, 0.25);
    transform: none;
}

/* Summary Details Column */
.woocommerce-page div.product .product_title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.woocommerce-page div.product p.price,
.woocommerce-page div.product span.price {
    font-size: 24px !important;
    /* Required to override inherit !important defined at top of file */
    font-weight: 700 !important;
    color: var(--thm-primary) !important;
    margin-bottom: 20px !important;
}

.woocommerce-page div.product p.price del,
.woocommerce-page div.product span.price del {
    font-size: 18px !important;
    color: #94a3b8 !important;
    margin-right: 8px !important;
    font-weight: 400 !important;
}

.woocommerce-page div.product p.price ins,
.woocommerce-page div.product span.price ins {
    text-decoration: none !important;
}

.woocommerce-page div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 25px;
}

.woocommerce-page div.product .woocommerce-product-details__short-description p {
    margin-bottom: 8px;
}

/* Cart Form & Add to Cart button alignment */
.woocommerce-page div.product form.cart {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}

/* Custom Single Product Quantity Selector */
.woocommerce-page div.product form.cart .quantity {
    margin: 0;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    height: 44px;
    background: #ffffff;
}

.woocommerce-page div.product form.cart .quantity .qty {
    width: 60px;
    height: 100%;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    padding: 0;
}

.woocommerce-page div.product form.cart .button {
    height: 44px !important;
    /* Button heights are heavily overridden by core WooCommerce */
    line-height: 44px !important;
    padding: 0 35px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(123, 64, 192, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
}

.woocommerce-page div.product form.cart .button:hover {
    background-color: #632ea8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(123, 64, 192, 0.25) !important;
}

/* Product Metadata */
.woocommerce-page div.product .product_meta {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.8;
    border-top: 0;
    padding-top: 0;
}

.woocommerce-page div.product .product_meta>span {
    display: block;
    margin-bottom: 6px;
}

.woocommerce-page div.product .product_meta a {
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-page div.product .product_meta a:hover {
    color: var(--thm-primary);
}

/* Product Tabs Panel Content */
.woocommerce-page div.product .woocommerce-Tabs__panel {
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
}

.woocommerce-page div.product .woocommerce-Tabs__panel>h2 {
    display: none !important;
}

/* Reviews Styling */
.woocommerce-page div.product #reviews #comments h2 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
}

.woocommerce-page div.product .commentlist li {
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
    list-style: none;
}

.woocommerce-page div.product .commentlist li img.avatar {
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    padding: 2px;
    background: #ffffff;
}

.woocommerce-page div.product .commentlist li .comment-text {
    border: none;
    padding: 0;
    background: transparent;
    margin-left: 80px;
}

.woocommerce-page div.product .commentlist li .comment-text .meta {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.woocommerce-page div.product #review_form_wrapper {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.woocommerce-page div.product #review_form_wrapper #reply-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
}

.woocommerce-page div.product #commentform input[type=text],
.woocommerce-page div.product #commentform input[type=email],
.woocommerce-page div.product #commentform textarea {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    height: 44px;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #475569;
    width: 100%;
}

.woocommerce-page div.product #commentform textarea {
    height: 120px;
}

.woocommerce-page div.product #commentform input[type=text]:focus,
.woocommerce-page div.product #commentform input[type=email]:focus,
.woocommerce-page div.product #commentform textarea:focus {
    border-color: var(--thm-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 64, 192, 0.15);
}

.woocommerce-page div.product #commentform #submit {
    height: 44px !important;
    line-height: 44px !important;
    padding: 0 35px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 6px !important;
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(123, 64, 192, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    cursor: pointer !important;
}

.woocommerce-page div.product #commentform #submit:hover {
    background-color: #632ea8 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(123, 64, 192, 0.25) !important;
}

/* Related Products Section */
.woocommerce-page .related.products>h2,
.woocommerce-page .up-sells.products>h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
}

.woocommerce-page .related.products>h2::after,
.woocommerce-page .up-sells.products>h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--thm-primary);
    border-radius: 2px;
}

/* ==========================================================================
   WooCommerce Blocks - New in Store Grid Modernization
   ========================================================================== */

.woocommerce-page .wc-block-grid__products {
    margin-top: 35px;
    display: grid;
    gap: 30px;
}

.woocommerce-page .wc-block-grid.has-1-columns .wc-block-grid__products {
    grid-template-columns: 1fr;
}

.woocommerce-page .wc-block-grid.has-2-columns .wc-block-grid__products {
    grid-template-columns: repeat(2, 1fr);
}

.woocommerce-page .wc-block-grid.has-3-columns .wc-block-grid__products {
    grid-template-columns: repeat(3, 1fr);
}

.woocommerce-page .wc-block-grid.has-4-columns .wc-block-grid__products {
    grid-template-columns: repeat(4, 1fr);
}

.woocommerce-page .wc-block-grid.has-5-columns .wc-block-grid__products {
    grid-template-columns: repeat(5, 1fr);
}

.woocommerce-page .wc-block-grid.has-6-columns .wc-block-grid__products {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 991px) {

    .woocommerce-page .wc-block-grid.has-4-columns .wc-block-grid__products,
    .woocommerce-page .wc-block-grid.has-5-columns .wc-block-grid__products,
    .woocommerce-page .wc-block-grid.has-6-columns .wc-block-grid__products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    .woocommerce-page .wc-block-grid.has-3-columns .wc-block-grid__products,
    .woocommerce-page .wc-block-grid.has-4-columns .wc-block-grid__products,
    .woocommerce-page .wc-block-grid.has-5-columns .wc-block-grid__products,
    .woocommerce-page .wc-block-grid.has-6-columns .wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .woocommerce-page .wc-block-grid[class*="has-"] .wc-block-grid__products {
        grid-template-columns: 1fr;
    }
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product {
    background-color: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    text-align: left;
    max-width: 100% !important;
    margin: 0 !important;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

/* Image Container & Hover Zoom */
.woocommerce-page .wc-block-grid__products .wc-block-grid__product-link {
    display: block;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 4px;
    flex-grow: 0;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product-image {
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 0;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin-bottom: 0;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product:hover .wc-block-grid__product-image img {
    transform: scale(1.04);
}

/* Title - Aligned Left */
.woocommerce-page .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 8px 0;
    line-height: 1.4;
    padding: 0;
    text-align: left;
}

/* Rating Container - Aligned Left */
.woocommerce-page .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-rating {
    margin: 4px 0 8px 0;
    font-size: 12px;
    text-align: left;
    display: block;
    line-height: 1;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-rating .star-rating {
    margin: 0;
    display: inline-block;
    float: none;
}

/* Price - Aligned Left & Positioned Directly Below Title/Rating */
.woocommerce-page .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--thm-primary);
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    text-align: left;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price del {
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product .wc-block-grid__product-price ins {
    text-decoration: none;
}

/* Add to Cart button styles */
.woocommerce-page .wc-block-grid__products .wc-block-grid__product-add-to-cart {
    margin: auto 0 0 0;
    width: 100%;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product-add-to-cart .wp-block-button__link {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: auto;
    background-color: var(--thm-primary);
    color: #ffffff;
    border-radius: 4px;
    padding: 0 20px;
    line-height: 1.3;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(123, 64, 192, 0.15);
    box-sizing: border-box;
}

.woocommerce-page .wc-block-grid__products .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background-color: var(--thm-black);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Sale Badge */
.woocommerce-page .wc-block-grid__products .wc-block-grid__product-onsale {
    position: absolute;
    width: max-content;
    top: 30px;
    left: 30px;
    margin: 0;
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--thm-primary);
    color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    line-height: 1;
    min-height: auto;
    min-width: auto;
}

/* Specific override for sale badge on the Cart Page's "New in store" block */
.woocommerce-cart .wp-block-woocommerce-product-new .wc-block-grid__product-onsale {
    top: 15px;
    left: 15px;
}

/* Coupon Button & Input Size Calibration */
.wc-block-components-totals-coupon__form {
    display: flex !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 25px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button .wc-block-components-button__text {
    line-height: 1 !important;
}

.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input input,
.wc-block-components-totals-coupon__form .wc-block-components-text-input {
    height: 48px !important;
    min-height: 48px !important;
    margin-bottom: 0 !important;
    border-radius: 4px !important;
}

/* ==========================================================================
   Order Received (Thank You) Page Redesign
   ========================================================================== */
.woocommerce-order {
    margin: 40px auto;
    padding: 20px;
}

/* Success Notice Banner */
.woocommerce-order .woocommerce-notice--success {
    background-color: #f0fdf4 !important;
    border-left: 5px solid #22c55e !important;
    color: #15803d !important;
    padding: 20px 25px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 35px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.05) !important;
}

.woocommerce-order .woocommerce-notice--success::before {
    content: "\f058" !important;
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 22px !important;
}

/* Payment Instructions Callout */
.woocommerce-order p:not(.woocommerce-notice) {
    margin-bottom: 25px;
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
}

/* Order Overview Grid Card */
ul.woocommerce-order-overview {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin: 0 0 40px 0 !important;
    list-style: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

ul.woocommerce-order-overview li {
    flex: 0 1 auto !important;
    min-width: 120px !important;
    border: none !important;
    border-right: 1px solid #e2e8f0 !important;
    padding: 0 30px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

ul.woocommerce-order-overview li:first-child {
    padding-left: 0 !important;
}

ul.woocommerce-order-overview li:last-child {
    border-right: none !important;
    padding-right: 0 !important;
}

ul.woocommerce-order-overview li strong {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    display: block !important;
}

ul.woocommerce-order-overview li {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.75px !important;
    color: #64748b !important;
}

/* Section Titles */
.woocommerce-order h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 45px 0 25px 0 !important;
    position: relative !important;
    padding-bottom: 12px !important;
    border: none !important;
}

.woocommerce-order h2::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 45px !important;
    height: 4px !important;
    background-color: var(--thm-primary) !important;
    border-radius: 4px !important;
}

/* Order Details Table */
.woocommerce-order table.shop_table.order_details {
    border: 1px solid #e2e8f0 !important;
    border-collapse: separate !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 40px !important;
}

.woocommerce-order table.shop_table.order_details th {
    background-color: #f8fafc !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #475569 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 18px 24px !important;
}

.woocommerce-order table.shop_table.order_details td {
    padding: 18px 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    color: #0f172a !important;
    font-size: 15px !important;
    vertical-align: middle !important;
}

.woocommerce-order table.shop_table.order_details tr:last-of-type td {
    border-bottom: none !important;
}

.woocommerce-order table.shop_table.order_details tfoot tr td:first-of-type {
    font-weight: 600 !important;
    color: #475569 !important;
}

.woocommerce-order table.shop_table.order_details tfoot tr td:last-of-type {
    font-weight: 700 !important;
    color: var(--thm-primary) !important;
}

/* Address Card */
.woocommerce-order .woocommerce-customer-details address {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    font-style: normal !important;
    color: #475569 !important;
    line-height: 1.8 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    font-size: 15px !important;
}

@media (max-width: 768px) {
    ul.woocommerce-order-overview li {
        flex: 1 1 calc(50% - 10px) !important;
        border-right: none !important;
        padding-right: 0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding-bottom: 10px !important;
    }

    ul.woocommerce-order-overview li:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
}

/* ==========================================================================
   WooCommerce Grouped Product Table Styling
   ========================================================================== */
.woocommerce-page div.product form.cart.grouped_form {
    margin-bottom: 30px;
    background: transparent;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.woocommerce-page div.product form.cart.grouped_form table.group_table tr {
    border-bottom: 1px solid #e2e8f0;
    background: transparent !important;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table tr:last-child {
    border-bottom: none;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table td {
    padding: 15px 20px;
    vertical-align: middle;
    border: none;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table td.woocommerce-grouped-product-list-item__quantity {
    width: 90px;
}

/* Specific adjustment for quantity selector in grouped tables */
.woocommerce-page div.product form.cart.grouped_form .quantity {
    height: 40px;
    border-radius: 4px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.woocommerce-page div.product form.cart.grouped_form .quantity .qty {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    background: transparent;
    color: #0f172a;
    font-weight: 600;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table td.woocommerce-grouped-product-list-item__label {
    padding-left: 0;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table td.woocommerce-grouped-product-list-item__label label {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
}

.woocommerce-page div.product form.cart.grouped_form table.group_table td.woocommerce-grouped-product-list-item__price {
    text-align: right;
    font-weight: 700;
    color: var(--thm-primary);
    font-size: 15px;
}

/* Adjust the Add to Cart button layout for Grouped forms */
.woocommerce-page div.product form.cart.grouped_form .button {
    width: 100%;
    max-width: 300px;
    margin-top: 10px;
}

/* WooCommerce Login Form Redesign */
/* Removed rogue global .woocommerce max-width that broke shop/cart pages */

.woocommerce-form.woocommerce-form-login.login {
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s ease;
}

.woocommerce-form.woocommerce-form-login.login:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.woocommerce-form.woocommerce-form-login.login p.form-row {
    margin-bottom: 24px;
}

.woocommerce-form.woocommerce-form-login.login label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.woocommerce-form.woocommerce-form-login.login input[type="text"],
.woocommerce-form.woocommerce-form-login.login input[type="password"],
.woocommerce-form.woocommerce-form-login.login input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #4b5563;
    background-color: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.woocommerce-form.woocommerce-form-login.login input[type="text"]:focus,
.woocommerce-form.woocommerce-form-login.login input[type="password"]:focus,
.woocommerce-form.woocommerce-form-login.login input[type="email"]:focus {
    border-color: #6366f1;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__submit {
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__submit:active {
    transform: translateY(0);
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #6b7280;
    font-size: 14px;
}

.woocommerce-form.woocommerce-form-login.login input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
    cursor: pointer;
    margin: 0;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-LostPassword {
    text-align: center;
    margin-top: 24px;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-LostPassword a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-LostPassword a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 576px) {
    .woocommerce-form.woocommerce-form-login.login {
        padding: 30px 20px;
    }
}

/* WooCommerce Login Form Redesign */
/* Scope wrapper styles so it doesn't break shop/cart pages */
.woocommerce-account:not(.logged-in) .woocommerce {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 15px;
}

.woocommerce-account:not(.logged-in) .woocommerce>h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 40px;
}

.woocommerce-form.woocommerce-form-login.login {
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s ease;
}

.woocommerce-form.woocommerce-form-login.login:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.woocommerce-form.woocommerce-form-login.login p.form-row {
    margin-bottom: 24px;
}

.woocommerce-form.woocommerce-form-login.login label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.woocommerce-form.woocommerce-form-login.login input[type="text"],
.woocommerce-form.woocommerce-form-login.login input[type="password"],
.woocommerce-form.woocommerce-form-login.login input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #4b5563;
    background-color: #f9fafb;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.woocommerce-form.woocommerce-form-login.login input[type="text"]:focus,
.woocommerce-form.woocommerce-form-login.login input[type="password"]:focus,
.woocommerce-form.woocommerce-form-login.login input[type="email"]:focus {
    border-color: #6366f1;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__submit {
    width: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 8px;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__submit:active {
    transform: translateY(0);
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-form-login__rememberme {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #6b7280;
    font-size: 14px;
}

.woocommerce-form.woocommerce-form-login.login input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
    cursor: pointer;
    margin: 0;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-LostPassword {
    text-align: center;
    margin-top: 24px;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-LostPassword a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

.woocommerce-form.woocommerce-form-login.login .woocommerce-LostPassword a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 576px) {
    .woocommerce-form.woocommerce-form-login.login {
        padding: 30px 20px;
    }
}

/* WooCommerce My Account Dashboard Redesign */
.woocommerce-account.logged-in .woocommerce {
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 60px 15px;
}

.woocommerce-MyAccount-navigation {
    width: 28%;
    min-width: 250px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    transition: box-shadow 0.3s ease;
}

.woocommerce-MyAccount-navigation:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 8px;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    margin-bottom: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 14px 20px;
    border-radius: 10px;
    color: #4b5563;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f9fafb;
    color: #6366f1;
    transform: translateX(4px);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #eef2ff;
    color: #4f46e5;
}

.woocommerce-MyAccount-content {
    width: 72%;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f3f4f6;
    color: #374151;
    line-height: 1.6;
}

.woocommerce-MyAccount-content:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
}

.woocommerce-MyAccount-content p {
    margin-bottom: 16px;
}

.woocommerce-MyAccount-content a:not(.button) {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.woocommerce-MyAccount-content a:not(.button):hover {
    text-decoration: underline;
    color: #4338ca;
}

.woocommerce-MyAccount-content fieldset {
    background: #f9fafb;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 24px;
}

.woocommerce-MyAccount-content legend {
    font-weight: 700;
    color: #1f2937;
    padding: 0 10px;
}

/* Premium Select Dropdowns & Select2 System (My Account & Checkout) */
.woocommerce-MyAccount-content select,
.woocommerce-address-fields select,
.woocommerce-billing-fields select,
.woocommerce-shipping-fields select,
.woocommerce select,
select.country_to_state,
select.state_select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 40px 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: inherit !important;
    color: #0f172a !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px 16px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    line-height: 46px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
}

.woocommerce-MyAccount-content select:hover,
.woocommerce-address-fields select:hover,
.woocommerce select:hover {
    border-color: #94a3b8 !important;
}

.woocommerce-MyAccount-content select:focus,
.woocommerce-address-fields select:focus,
.woocommerce select:focus {
    border-color: var(--thm-primary) !important;
    box-shadow: 0 0 0 4px rgba(123, 64, 192, 0.12) !important;
}

/* Select2 Component Overhaul */
.select2-container {
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.select2-container .select2-selection--single,
.select2-container--default .select2-selection--single {
    height: 48px !important;
    padding: 0 14px !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    margin: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0f172a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 46px !important;
    height: 46px !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 24px !important;
}

.select2-selection__placeholder,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
    line-height: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    position: absolute !important;
    top: 0 !important;
    right: 12px !important;
    width: 20px !important;
}

.select2-container--open .select2-selection--single {
    border-color: var(--thm-primary) !important;
    box-shadow: 0 0 0 4px rgba(123, 64, 192, 0.12) !important;
}

.select2-dropdown {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

.select2-results__option {
    padding: 10px 16px !important;
    font-size: 14px !important;
    color: #334155 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
}

.select2-search--dropdown {
    padding: 10px !important;
}

.select2-search--dropdown .select2-search__field,
.select2-container .select2-search__field,
input.select2-search__field {
    height: 38px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 13.5px !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Address Fields Wrapper & Form Spacing */
.woocommerce-address-fields .form-row,
.woocommerce-MyAccount-content .form-row {
    margin-bottom: 20px !important;
}

.woocommerce-address-fields label,
.woocommerce-MyAccount-content label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.2px !important;
}

/* Apply button styles for My Account content */
.woocommerce-MyAccount-content .button,
.woocommerce-MyAccount-content input[type="submit"] {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.woocommerce-MyAccount-content .button:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    color: #ffffff;
}

.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.woocommerce-MyAccount-content table th {
    background: #f9fafb;
    padding: 16px;
    font-weight: 600;
    color: #374151;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.woocommerce-MyAccount-content table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.woocommerce-MyAccount-content table tr:last-child td {
    border-bottom: none;
}

/* Dashboard Responsiveness */
@media (max-width: 991px) {
    .woocommerce-account.logged-in .woocommerce {
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce-MyAccount-navigation {
        width: 100%;
        margin-bottom: 30px;
    }

    .woocommerce-MyAccount-content {
        width: 100%;
        padding: 30px 20px;
    }
}

/* ==========================================================================
   WooCommerce Featured Category Gutenberg Block
   ========================================================================== */
.wc-block-featured-category,
.wp-block-woocommerce-featured-category {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    padding: 60px 40px;
    margin-bottom: 40px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.wc-block-featured-category.has-background-dim::before,
.wp-block-woocommerce-featured-category.has-background-dim::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.55);
    z-index: 1;
}

.wc-block-featured-category__title,
.wc-block-featured-category h2,
.wc-block-featured-category h3,
.wp-block-woocommerce-featured-category h2,
.wp-block-woocommerce-featured-category h3 {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.wc-block-featured-category__description,
.wc-block-featured-category p,
.wp-block-woocommerce-featured-category p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.wc-block-featured-category__link,
.wp-block-woocommerce-featured-category .wp-block-button__link,
.wc-block-featured-category .wc-block-featured-category__link {
    position: relative;
    z-index: 2;
    display: inline-block;
    background-color: var(--thm-primary) !important;
    color: #ffffff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.wc-block-featured-category__link:hover,
.wp-block-woocommerce-featured-category .wp-block-button__link:hover,
.wc-block-featured-category .wc-block-featured-category__link:hover {
    background-color: #ffffff !important;
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Modern & Sleek Gutenberg Block Components Textarea System */
.wc-block-components-textarea,
.wc-block-components-text-input,
.wc-block-checkout__add-note {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.wc-block-components-textarea label,
.wc-block-components-text-input label,
.wc-block-components-textarea__label,
.wc-block-components-text-input__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.wc-block-components-textarea textarea,
.wc-block-components-textarea__input,
.wc-block-components-text-input textarea,
textarea.wc-block-components-textarea,
textarea.wc-block-components-text-input__input {
    width: 100% !important;
    min-height: 110px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #0f172a !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    line-height: 1.6 !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.2s ease-in-out !important;
    resize: vertical !important;
    outline: none !important;
}

.wc-block-components-textarea textarea::placeholder,
.wc-block-components-textarea__input::placeholder,
textarea.wc-block-components-textarea::placeholder {
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

.wc-block-components-textarea textarea:hover,
.wc-block-components-textarea__input:hover,
textarea.wc-block-components-textarea:hover {
    background-color: #ffffff !important;
    border-color: #94a3b8 !important;
}

.wc-block-components-textarea textarea:focus,
.wc-block-components-textarea__input:focus,
textarea.wc-block-components-textarea:focus {
    background-color: #ffffff !important;
    border-color: var(--thm-primary) !important;
    box-shadow: 0 0 0 4px rgba(123, 64, 192, 0.12), inset 0 1px 2px rgba(0, 0, 0, 0.01) !important;
    color: #0f172a !important;
}

/* Premium Order Summary Design & Layout System (Classic & Gutenberg Checkout) */
.woocommerce-page .wc-block-checkout__sidebar,
.woocommerce-page .wc-block-components-sidebar,
.woocommerce-page .wc-block-components-totals-card,
.woocommerce-page .wc-block-components-panel,
.woocommerce-page #order_review {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

/* Remove bottom margin & reset padding on Coupon Form Wrapper */
.woocommerce-page .wc-block-components-totals-coupon,
.woocommerce-page .wc-block-components-totals-coupon.wc-block-components-panel,
.woocommerce-page .wc-block-components-panel.wc-block-components-totals-coupon {
    margin-bottom: 0 !important;
}

.woocommerce-page .wp-block-woocommerce-checkout-order-summary-coupon-form-block,
.woocommerce-page .wp-block-woocommerce-checkout-order-summary-coupon-form-block.wc-block-components-totals-wrapper {
    padding: 0 !important;
}

/* Order Summary Header */
.woocommerce-page .wc-block-components-title,
.woocommerce-page .wc-block-checkout__totals-title,
.woocommerce-page h3#order_review_heading {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

/* Product Item Row */
.woocommerce-page .wc-block-components-order-summary-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f8fafc;
}

.woocommerce-page .wc-block-components-order-summary-item:last-child {
    border-bottom: none;
}

/* Clean High-Specificity Order Summary Thumbnail System */
.woocommerce-page .wc-block-components-order-summary-item__image,
.wc-block-components-order-summary-item__image {
    position: relative !important;
    flex-shrink: 0 !important;
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
}

.woocommerce-page .wc-block-components-order-summary-item__image img,
.wc-block-components-order-summary-item__image img,
.wc-block-components-order-summary-item .wc-block-components-order-summary-item__image img {
    width: 100px !important;
    height: 100px !important;
    min-width: 100px !important;
    min-height: 100px !important;
    max-width: 100px !important;
    max-height: 100px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Circular Quantity Badge on Thumbnail */
.woocommerce-page .wc-block-components-order-summary-item__quantity {
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    bottom: auto;
    left: auto;
    background-color: #475569;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid #ffffff;
    padding: 0;
    margin: 0;
    line-height: 1;
    z-index: 10;
}

.woocommerce-page .wc-block-components-order-summary-item__quantity::before {
    content: "" !important;
    display: none !important;
}

/* Product Title & Details */
.woocommerce-page .wc-block-components-order-summary-item__title,
.woocommerce-page .wc-block-components-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.woocommerce-page .wc-block-components-order-summary-item__description,
.woocommerce-page .wc-block-components-product-metadata {
    padding: 0 !important;
    margin: 2px 0 0 0;
    font-size: 12px;
    color: #64748b;
}

/* Hide duplicated unit prices under title */
.woocommerce-page .wc-block-components-order-summary-item__description .wc-block-components-product-price,
.woocommerce-page .wc-block-components-order-summary-item__description del,
.woocommerce-page .wc-block-components-order-summary-item__description ins {
    display: none !important;
}

/* Product Price Column Layout */
.woocommerce-page .wc-block-components-order-summary-item__price,
.woocommerce-page .wc-block-components-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
}

.woocommerce-page .wc-block-components-order-summary-item__price del,
.woocommerce-page .wc-block-components-product-price del {
    display: inline-block;
    color: #94a3b8;
    font-weight: 400;
    font-size: 12px;
    text-decoration: line-through;
    margin-right: 4px;
}

.woocommerce-page .wc-block-components-order-summary-item__price ins,
.woocommerce-page .wc-block-components-product-price ins {
    text-decoration: none;
    color: #0f172a;
    font-weight: 700;
    font-size: 14.5px;
}

/* Savings Badge e.g. "Save ₹2.00" */
.woocommerce-page .wc-block-components-sale-badge,
.woocommerce-page .wc-block-components-order-summary-item__badge {
    display: inline-block;
    background-color: #ecfdf5;
    color: #10b981;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
}