/* =========================================================
   THE BIHARI SWAD
   EKOMMART HEADER — REFINED BALANCED DESKTOP
   ========================================================= */

.site-header.header-1 {
    background: #FFFFFF;
    border-bottom: 1px solid #EAE2D7;
    position: relative;
    z-index: 996;
}

@media (min-width: 1024px) {
    /* MAIN CONTAINER */
    .site-header.header-1 .header-container {
        width: 100%;
        max-width: 1380px;
        min-height: 124px;

        margin: 0 auto;
        padding: 0 28px;

        display: flex;
        align-items: stretch;
        flex-wrap: nowrap;
    }

    /* LOGO AREA */
    .site-header.header-1 .header-left {
        width: 135px;
        flex: 0 0 135px;

        padding: 14px 20px 14px 0;

        display: flex;
        align-items: center;
        justify-content: center;

        border-right: 1px solid #EAE2D7;
    }

    .site-header.header-1 .site-branding {
        width: 100%;
        margin: 0;
        padding: 0;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-header.header-1 .custom-logo-link {
        display: block;
        margin: 0;
        padding: 0;
    }

    .site-header.header-1 .custom-logo-link img.custom-logo {
        display: block;

        width: 88px;
        max-width: 88px;
        max-height: 88px;
        height: auto;

        margin: 0 auto;

        object-fit: contain;
    }

    .site-header.header-1 .site-branding-text {
        display: none;
    }

    /* RIGHT SIDE */
    .site-header.header-1 .header-right {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;

        padding: 16px 0 14px 26px;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .site-header.header-1 .header-right .col-fluid {
        width: 100%;
        margin: 0;
        padding: 0 !important;
    }

    /* TOP ROW */
    .site-header.header-1
    .header-right
    .col-fluid:first-child {
        width: 100%;

        display: flex;
        align-items: center;

        gap: 34px;
    }

    /* SEARCH */
    .site-header.header-1 .site-search {
        flex: 1 1 auto;
        width: auto;
        max-width: none;

        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header.header-1 .site-search .widget {
        width: 100%;
        margin: 0;
    }

    .site-header.header-1 .woocommerce-product-search {
        position: relative;

        width: 100%;
        height: 46px;

        margin: 0;
        padding: 0;
    }

    /* SEARCH ICON */
    .site-header.header-1
    .widget_product_search
    form.woocommerce-product-search::before {
        position: absolute;

        top: 50%;
        left: 15px;

        transform: translateY(-50%);

        color: #766B60;

        font-size: 15px;
        line-height: 1;

        z-index: 2;
        pointer-events: none;
    }

    /* SEARCH INPUT */
    .site-header.header-1
    .widget_product_search
    form.woocommerce-product-search
    input[type="search"] {
        width: 100% !important;
        height: 46px;

        margin: 0;

        padding: 0 112px 0 42px !important;

        border: 1px solid #E4DDD3;
        border-radius: 8px;

        background: #FFFFFF;
        color: #292521;

        font-family: "DM Sans", sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 44px;

        box-sizing: border-box !important;

        -webkit-appearance: none;
        appearance: none;

        transition:
            border-color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .site-header.header-1
    .widget_product_search
    form.woocommerce-product-search
    input[type="search"]::placeholder {
        color: #8D857D;
        opacity: 1;
    }

    .site-header.header-1
    .widget_product_search
    form.woocommerce-product-search
    input[type="search"]:focus {
        border-color: #B8202B;
        box-shadow: 0 0 0 3px rgba(184, 32, 43, 0.07);
        outline: none;
    }

    /* SEARCH BUTTON */
    .site-header.header-1
    .widget_product_search
    form.woocommerce-product-search
    button[type="submit"] {
        position: absolute;

        top: 5px;
        right: 5px;

        width: 92px;
        height: 36px;

        margin: 0;
        padding: 0 12px;

        border: 0;
        border-radius: 6px;

        background: #B8202B;
        color: #FFFFFF;

        display: flex;
        align-items: center;
        justify-content: center;

        font-family: "DM Sans", sans-serif;
        font-size: 13px;
        font-weight: 600;
        line-height: 1;

        cursor: pointer;
        z-index: 3;

        transition:
            background-color 0.2s ease,
            box-shadow 0.2s ease;
    }

    .site-header.header-1
    .widget_product_search
    form.woocommerce-product-search
    button[type="submit"]:hover {
        background: #941923;
        box-shadow: 0 3px 10px rgba(184, 32, 43, 0.18);
    }

    /* ACTIONS */
    .site-header.header-1 .header-group-action {
        flex: 0 0 auto;

        margin: 0 !important;
        padding: 0 !important;

        display: flex;
        align-items: center;
        justify-content: flex-end;

        gap: 20px;
    }

    .site-header.header-1
    .header-group-action > div:not(:last-child) {
        margin-right: 0 !important;
    }

    .site-header.header-1
    .header-group-action > div {
        display: flex;
        align-items: center;
    }

    .site-header.header-1 .site-header-account > a,
    .site-header.header-1 .site-header-wishlist > a,
    .site-header.header-1 .site-header-cart > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        margin: 0;
        padding: 0;

        color: #422719;

        line-height: 1;

        transition: color 0.2s ease;
    }

    .site-header.header-1 .site-header-account > a:hover,
    .site-header.header-1 .site-header-wishlist > a:hover,
    .site-header.header-1 .site-header-cart > a:hover {
        color: #B8202B;
    }

    .site-header.header-1 .site-header-account i,
    .site-header.header-1 .site-header-wishlist i {
        font-size: 21px;
        line-height: 1;
        color: inherit;
    }

    /* WISHLIST BADGE */
    .site-header.header-1
    .site-header-wishlist
    .header-wishlist {
        position: relative;

        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header.header-1
    .site-header-wishlist
    .header-wishlist
    .count {
        position: absolute;

        top: -8px;
        right: -11px;
        left: auto;

        width: 18px;
        height: 18px;

        margin: 0;
        padding: 0;

        border-radius: 50%;

        background: #B8202B;
        color: #FFFFFF;

        display: flex;
        align-items: center;
        justify-content: center;

        font-family: "DM Sans", sans-serif;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
    }

    /* CART */
    .site-header.header-1
    .site-header-cart
    .cart-contents {
        display: inline-flex;
        align-items: center;

        gap: 7px;

        margin: 0;
        padding: 0;

        white-space: nowrap;

        color: #422719;
    }

    .site-header.header-1
    .site-header-cart
    .cart-contents
    .count {
        min-width: 18px;
        height: 18px;

        padding: 0 4px;

        border-radius: 999px;

        background: #B8202B;
        color: #FFFFFF;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        font-family: "DM Sans", sans-serif;
        font-size: 10px;
        font-weight: 700;
        line-height: 18px;
    }

    .site-header.header-1
    .site-header-cart
    .woocommerce-Price-amount {
        color: #422719;

        font-family: "DM Sans", sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
    }

    /* NAV ROW */
    .site-header.header-1
    .header-right
    .col-fluid + .col-fluid {
        width: 100%;
        margin-top: 11px;
    }

    .site-header.header-1 .main-navigation {
        width: 100%;

        margin: 0;
        padding: 0;
    }

    .site-header.header-1
    .main-navigation
    .primary-navigation {
        width: 100%;

        margin: 0;
        padding: 0;
    }

    .site-header.header-1
    .main-navigation
    .menu {
        width: 100%;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        gap: 34px;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .site-header.header-1
    .main-navigation
    .menu > li {
        flex: 0 0 auto;

        margin: 0;
        padding: 0;
    }

    .site-header.header-1
    .main-navigation
    .menu > li > a {
        display: inline-flex;
        align-items: center;

        padding: 3px 0;

        color: #292521;

        font-family: "DM Sans", sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;

        transition: color 0.2s ease;
    }

    .site-header.header-1
    .main-navigation
    .menu > li > a:hover,
    .site-header.header-1
    .main-navigation
    .menu > li.current-menu-item > a,
    .site-header.header-1
    .main-navigation
    .menu > li.current-menu-parent > a,
    .site-header.header-1
    .main-navigation
    .menu > li.current-menu-ancestor > a {
        color: #B8202B;
    }
}

/* The Bihari Swad — Remove Add to Cart icons */

.eael-product-wrap a.add_to_cart_button::before,
.eael-product-wrap a.add_to_cart_button::after,
.eael-product-wrap a.added_to_cart::before,
.eael-product-wrap a.added_to_cart::after {
    content: none !important;
    display: none !important;
}

.eael-product-wrap a.add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

/* The Bihari Swad - Hide product ratings */

.eael-product-wrap .eael-star-rating,
.eael-product-wrap .star-rating {
    display: none !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
}

/* =========================================================
   THE BIHARI SWAD
   MOBILE HEADER — COMPACT FINAL
   Desktop remains unchanged
   ========================================================= */

@media (max-width: 767px) {
    /* -----------------------------------------------------
       HEADER
       ----------------------------------------------------- */

    .site-header.header-1 {
        width: 100%;

        background: #FFFFFF;

        border-bottom: 1px solid #EAE2D7;

        position: relative;

        z-index: 996;
    }

    /* -----------------------------------------------------
       MAIN MOBILE HEADER CONTAINER
       ----------------------------------------------------- */

    .site-header.header-1 .header-container {
        width: 100% !important;

        min-height: 88px !important;
        height: 88px !important;

        margin: 0 !important;
        padding: 0 !important;

        position: relative !important;

        display: block !important;

        box-sizing: border-box !important;
    }

    /* -----------------------------------------------------
       LEFT AREA
       Contains menu + logo + cart
       ----------------------------------------------------- */

    .site-header.header-1 .header-left {
        width: 100% !important;

        min-height: 88px !important;
        height: 88px !important;

        margin: 0 !important;
        padding: 0 16px !important;

        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        border: 0 !important;

        box-sizing: border-box !important;
    }

    /* -----------------------------------------------------
       CENTER LOGO
       ----------------------------------------------------- */

    .site-header.header-1 .site-branding {
        width: auto !important;
        height: 72px !important;

        margin: 0 !important;
        padding: 0 !important;

        position: absolute !important;

        top: 50% !important;
        left: 50% !important;

        transform: translate(-50%, -50%) !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        z-index: 2;
    }

    .site-header.header-1 .custom-logo-link {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        height: 72px !important;

        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header.header-1
    .custom-logo-link
    img.custom-logo {
        display: block !important;

        width: auto !important;
        height: 68px !important;

        max-width: 82px !important;
        max-height: 68px !important;

        margin: 0 !important;

        object-fit: contain !important;
    }

    .site-header.header-1 .site-branding-text {
        display: none !important;
    }

    /* -----------------------------------------------------
       MOBILE MENU
       ----------------------------------------------------- */

    .site-header.header-1
    .menu-mobile-nav-button {
        position: absolute !important;

        top: 50% !important;
        left: 16px !important;

        transform: translateY(-50%) !important;

        width: 40px !important;
        height: 40px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        color: #422719 !important;

        text-decoration: none !important;

        z-index: 5;
    }

    .site-header.header-1
    .menu-mobile-nav-button i {
        margin: 0 !important;

        color: #422719 !important;

        font-size: 20px !important;
        line-height: 1 !important;
    }

    /* -----------------------------------------------------
       MOBILE CART
       ----------------------------------------------------- */

    .site-header.header-1
    .site-header-cart.header-cart-mobile {
        position: absolute !important;

        top: 50% !important;
        right: 16px !important;

        transform: translateY(-50%) !important;

        width: 44px !important;
        height: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        z-index: 5;
    }

    .site-header.header-1
    .header-cart-mobile
    .cart-contents {
        width: 44px !important;
        height: 44px !important;

        margin: 0 !important;
        padding: 0 !important;

        position: relative !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        color: #B8202B !important;
    }

    /* Hide cart total on mobile */
    .site-header.header-1
    .header-cart-mobile
    .woocommerce-Price-amount {
        display: none !important;
    }

    /* Cart item count */

    .site-header.header-1
    .header-cart-mobile
    .count {
        position: absolute !important;

        top: 1px !important;
        right: 0 !important;

        min-width: 18px !important;
        height: 18px !important;

        padding: 0 4px !important;

        border-radius: 999px !important;

        background: #B8202B !important;
        color: #FFFFFF !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        font-family: "DM Sans", sans-serif !important;
        font-size: 9px !important;
        line-height: 18px !important;
        font-weight: 700 !important;

        z-index: 3;
    }

    /* -----------------------------------------------------
       HIDE DESKTOP HEADER AREA
       ----------------------------------------------------- */

    .site-header.header-1 .header-right {
        display: none !important;
    }

    /* -----------------------------------------------------
       PRODUCT PAGE — REDUCE GAP BELOW HEADER
       ----------------------------------------------------- */

    .single-product div.product {
        padding-top: 18px !important;
    }
}

/* Mini cart buttons */

.site-header-cart-side
.woocommerce-mini-cart__buttons
a.button.wc-forward {
    background: #422719 !important;
    color: #FFFFFF !important;
    border-color: #422719 !important;
}

.site-header-cart-side
.woocommerce-mini-cart__buttons
a.button.wc-forward:hover {
    background: #B8202B !important;
    color: #FFFFFF !important;
    border-color: #B8202B !important;
}

/* Checkout button */

.site-header-cart-side
.woocommerce-mini-cart__buttons
a.checkout.wc-forward {
    background: #B8202B !important;
    color: #FFFFFF !important;
    border-color: #B8202B !important;
}

.site-header-cart-side
.woocommerce-mini-cart__buttons
a.checkout.wc-forward:hover {
    background: #422719 !important;
    color: #FFFFFF !important;
    border-color: #422719 !important;
}

/* =========================================================
   WC CANCEL ORDER — EXACT BUTTON STYLE
   ========================================================= */

.woocommerce-order-received
.woocommerce-order-details
a.wc-cancel-order.order-actions-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 170px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 18px !important;

    border: 1px solid #B8202B !important;
    border-radius: 8px !important;

    background: #FFFFFF !important;
    background-color: #FFFFFF !important;

    color: #B8202B !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;

    opacity: 1 !important;

    transition:
        background-color .2s ease,
        color .2s ease,
        border-color .2s ease !important;
}


/* Hover */

.woocommerce-order-received
.woocommerce-order-details
a.wc-cancel-order.order-actions-button:hover {
    background: #B8202B !important;
    background-color: #B8202B !important;

    border-color: #B8202B !important;

    color: #FFFFFF !important;
}


/* Focus */

.woocommerce-order-received
.woocommerce-order-details
a.wc-cancel-order.order-actions-button:focus {
    background: #FFFFFF !important;

    color: #B8202B !important;

    outline: 2px solid rgba(184, 32, 43, .18) !important;
    outline-offset: 2px !important;
}


/* =========================================================
   ACTION ROW ALIGNMENT
   ========================================================= */

.woocommerce-order-received
.woocommerce-order-details
th.order-actions--heading {
    vertical-align: middle !important;

    color: #422719 !important;

    font-weight: 600 !important;
}


.woocommerce-order-received
.woocommerce-order-details
th.order-actions--heading + td {
    text-align: right !important;
    vertical-align: middle !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-order-received
    .woocommerce-order-details
    a.wc-cancel-order.order-actions-button {
        width: 100% !important;
        min-width: 0 !important;

        height: 40px !important;

        padding: 0 12px !important;

        font-size: 11px !important;
    }
}

/* =========================================================
   ORDER CANCEL BUTTON — FINAL MOBILE DESIGN
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-order-received
    .wc-cancel-order.order-actions-button,
    
    .woocommerce-account
    .wc-cancel-order.order-actions-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        min-height: 44px !important;

        margin: 8px 0 0 !important;
        padding: 0 14px !important;

        border: 1px solid #B8202B !important;
        border-radius: 8px !important;

        background: #FFFFFF !important;
        color: #B8202B !important;

        font-family: "DM Sans", sans-serif !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;

        text-align: center !important;
        text-decoration: none !important;

        box-shadow: none !important;

        float: none !important;

        box-sizing: border-box !important;

        -webkit-appearance: none !important;
        appearance: none !important;
    }


    .woocommerce-order-received
    .wc-cancel-order.order-actions-button:hover,
    
    .woocommerce-account
    .wc-cancel-order.order-actions-button:hover {
        border-color: #B8202B !important;

        background: #B8202B !important;
        color: #FFFFFF !important;
    }


    /* Actions row — mobile clean layout */

    .woocommerce-order-received
    .order-actions--heading,
    
    .woocommerce-account
    .order-actions--heading {
        display: block !important;

        width: 100% !important;

        padding-bottom: 6px !important;

        text-align: left !important;
    }


    .woocommerce-order-received
    .order-actions--heading + td,
    
    .woocommerce-account
    .order-actions--heading + td {
        display: block !important;

        width: 100% !important;

        padding-top: 0 !important;

        text-align: left !important;
    }
}

/* =========================================================
   THE BIHARI SWAD
   MY ACCOUNT — GOOGLE LOGIN / REGISTER
   ========================================================= */

.woocommerce-account
.tbs-myaccount-google {
    width: 100% !important;

    margin: 0 0 22px !important;
    padding: 16px !important;

    border: 1px solid #EADFCC !important;
    border-radius: 10px !important;

    background: #FFFDF8 !important;

    box-sizing: border-box !important;
}


.woocommerce-account
.tbs-google-label {
    margin: 0 0 10px !important;

    color: #422719 !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}


.woocommerce-account
.tbs-myaccount-google
.nsl-container,
.woocommerce-account
.tbs-myaccount-google
.nsl-container-buttons {
    width: 100% !important;

    margin: 0 !important;
}


.woocommerce-account
.tbs-myaccount-google
.nsl-container-buttons a {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}


.woocommerce-account
.tbs-myaccount-google
.nsl-button {
    width: 100% !important;
    min-height: 46px !important;

    border-radius: 7px !important;

    box-sizing: border-box !important;
}


/* Divider */

.woocommerce-account
.tbs-google-divider {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    margin: 15px 0 0 !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 10px !important;

    color: #9A8E84 !important;

    text-align: center !important;
}


.woocommerce-account
.tbs-google-divider::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    top: 50% !important;

    height: 1px !important;

    background: #EADFCC !important;
}


.woocommerce-account
.tbs-google-divider span {
    position: relative !important;
    z-index: 2 !important;

    padding: 0 10px !important;

    background: #FFFDF8 !important;

    color: #9A8E84 !important;
}


/* Mobile */

@media (max-width: 767px) {

    .woocommerce-account
    .tbs-myaccount-google {
        margin-bottom: 16px !important;
        padding: 14px !important;
    }

    .woocommerce-account
    .tbs-myaccount-google
    .nsl-button {
        min-height: 44px !important;
    }
}

/* =========================================================
   HEADER ACCOUNT DROPDOWN — GOOGLE LOGIN
   ========================================================= */

.site-header-account
.tbs-dropdown-google-login {
    width: 100% !important;

    margin: 14px 0 0 !important;
    padding: 0 !important;

    box-sizing: border-box !important;
}


/* Divider */

.site-header-account
.tbs-dropdown-divider {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;

    margin: 0 0 12px !important;

    color: #9A8E84 !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 10px !important;
    line-height: 1 !important;

    text-align: center !important;
}

.site-header-account
.tbs-dropdown-divider::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    right: 0 !important;
    top: 50% !important;

    height: 1px !important;

    background: #EADFCC !important;
}

.site-header-account
.tbs-dropdown-divider span {
    position: relative !important;

    z-index: 2 !important;

    padding: 0 8px !important;

    background: #FFFFFF !important;

    color: #9A8E84 !important;
}


/* Nextend wrappers */

.site-header-account
.tbs-dropdown-google-login
.nsl-container,
.site-header-account
.tbs-dropdown-google-login
.nsl-container-buttons {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}

.site-header-account
.tbs-dropdown-google-login
.nsl-container-buttons a {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
}


/* Google button */

.site-header-account
.tbs-dropdown-google-login
.nsl-button {
    width: 100% !important;
    min-height: 44px !important;

    border-radius: 7px !important;

    box-sizing: border-box !important;
}

.site-header-account
.tbs-dropdown-google-login
.nsl-button-label-container {
    font-size: 13px !important;
}


/* =========================================================
   MY ACCOUNT — ORDER ACTION BUTTONS
   ========================================================= */

.woocommerce-account
.woocommerce-orders-table__cell-order-actions {
    text-align: right !important;
}


/* Base action button */

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.woocommerce-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 92px !important;
    min-height: 40px !important;

    margin: 3px 0 3px 6px !important;
    padding: 0 16px !important;

    border: 1px solid #B8202B !important;
    border-radius: 8px !important;

    background: #FFFFFF !important;
    color: #B8202B !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;

    transition: all .2s ease !important;

    box-sizing: border-box !important;
}


/* Hover */

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.woocommerce-button:hover {
    border-color: #B8202B !important;

    background: #B8202B !important;
    color: #FFFFFF !important;
}


/* View action */

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.woocommerce-button.view {
    background: #422719 !important;
    border-color: #422719 !important;
    color: #FFFFFF !important;
}

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.woocommerce-button.view:hover {
    background: #B8202B !important;
    border-color: #B8202B !important;
    color: #FFFFFF !important;
}


/* Cancel action — when available */

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.wc-cancel-order {
    background: #FFFFFF !important;
    border-color: #B8202B !important;
    color: #B8202B !important;
}

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.wc-cancel-order:hover {
    background: #B8202B !important;
    color: #FFFFFF !important;
}


/* Pay action */

.woocommerce-account
.woocommerce-orders-table__cell-order-actions
.woocommerce-button.pay {
    background: #B8202B !important;
    border-color: #B8202B !important;
    color: #FFFFFF !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .woocommerce-account
    .woocommerce-orders-table__cell-order-actions {
        display: flex !important;
        flex-direction: column !important;

        gap: 8px !important;

        width: 100% !important;

        text-align: left !important;
    }


    .woocommerce-account
    .woocommerce-orders-table__cell-order-actions
    .woocommerce-button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        min-height: 44px !important;

        margin: 0 !important;
        padding: 0 14px !important;

        border-radius: 8px !important;

        font-size: 12px !important;
    }
}

/* =========================================================
   MY ACCOUNT — VIEW ORDER PAGE ACTION BUTTONS
   ========================================================= */

body.woocommerce-view-order .woocommerce-MyAccount-content .button,
body.woocommerce-view-order .woocommerce-MyAccount-content a.button,
body.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 160px !important;
    min-height: 42px !important;

    padding: 0 18px !important;
    margin: 0 !important;

    background: #B8202B !important;
    border: 1px solid #B8202B !important;
    border-radius: 8px !important;

    color: #FFFFFF !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;
    box-sizing: border-box !important;

    transition: all .2s ease !important;
}

body.woocommerce-view-order .woocommerce-MyAccount-content .button:hover,
body.woocommerce-view-order .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-view-order .woocommerce-MyAccount-content .woocommerce-button:hover {
    background: #422719 !important;
    border-color: #422719 !important;
    color: #FFFFFF !important;
}


/* Order Again button */

body.woocommerce-view-order .order-again {
    margin-top: 22px !important;
    margin-bottom: 0 !important;
}

body.woocommerce-view-order .order-again .button {
    min-width: 170px !important;
}


/* WC Cancel Order button — appears only for eligible orders */

body.woocommerce-view-order .wc-cancel-order,
body.woocommerce-view-order a.wc-cancel-order,
body.woocommerce-view-order .order-actions-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-width: 170px !important;
    min-height: 42px !important;

    padding: 0 18px !important;

    background: #FFFFFF !important;
    border: 1px solid #B8202B !important;
    border-radius: 8px !important;

    color: #B8202B !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
    text-transform: none !important;

    box-shadow: none !important;
}

body.woocommerce-view-order .wc-cancel-order:hover,
body.woocommerce-view-order a.wc-cancel-order:hover,
body.woocommerce-view-order .order-actions-button:hover {
    background: #B8202B !important;
    border-color: #B8202B !important;
    color: #FFFFFF !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.woocommerce-view-order .order-again {
        width: 100% !important;
        margin-top: 18px !important;
    }

    body.woocommerce-view-order .order-again .button,
    body.woocommerce-view-order .wc-cancel-order,
    body.woocommerce-view-order a.wc-cancel-order,
    body.woocommerce-view-order .order-actions-button {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        min-height: 44px !important;

        margin: 0 !important;
        padding: 0 14px !important;

        border-radius: 8px !important;

        font-size: 12px !important;
    }
}