/* Recently Order */
.recently-ordered-section {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 7px;
    margin-top: 22px;
}
a.view-all-link:hover {
    background-color: white !important;
    color: #1979c3 !important;
}
a.view-all-link {
    background-color: white !important;
    color: #1979c3 !important;
}
.recently-ordered-section .block-title {
    color: #282828;
    font-family: var(--tx-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    background-color: transparent;
    text-transform: uppercase;
    border-bottom: 2px solid #282828;
    padding-bottom: 15px;
    width: 100%;
}
.recently-ordered-section .section-divider {
    border: 0;
    border-top: 1px solid #333;
    margin: 0 0 25px;
    width: 100%;
}
.recently-ordered-section .recently-ordered-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.recently-ordered-section .recently-ordered-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
}
.recently-ordered-section .recently-ordered-item:last-child {
    margin-bottom: 0;
}
.recently-ordered-section .recently-ordered-item input[type="checkbox"] {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #222f63;
}
.recently-ordered-section .product-name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: normal;
    color: #161925;
    line-height: 1.4;
    word-break: normal;
    overflow-wrap: break-word;
}
.recently-ordered-section .recently-ordered-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.recently-ordered-section .add-to-cart-button {
    background-color: #c02334;
    color: #fff;
    padding: 7px 15px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    border: 0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.16px;
    flex: 0 1 auto;
    cursor: pointer;
}
button.add-to-cart-button:hover {
    background-color: #222F63;
}
a.view-all-link,
.recently-ordered-section .view-all-link {
    display: inline-flex !important;
    align-items: center;
    float: none !important;
    clear: none;
    width: auto !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    text-align: right !important;
    position: static !important;
    color: #222f63 !important;
    background: transparent !important;
    text-decoration: none;
    font-family: var(--tx-font);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .recently-ordered-section .recently-ordered-actions {
        gap: 8px;
    }
    .recently-ordered-section .add-to-cart-button {
        padding: 7px 12px;
    }
}
.recently-ordered-section .view-all-link:hover {
    text-decoration: underline;
}
.product-name:hover{
    color: #c02334;
}
.theiaStickySidebar .recently-ordered-section {
    margin-top: 0%; /* Adjusted for shop page */
    width: 100%;
}
a.product-name {
    padding-left: 0px !important;
}
.woocommerce-MyAccount-navigation .product-name:hover {
    background-color: white !important;
    color: #c02334;
}
li.recently_ordered_main,
.woocommerce-account .rtsb-builder-content .woocommerce .woocommerce-MyAccount-navigation ul.recently-ordered-list > li,
body.woocommerce-account .woocommerce-MyAccount-navigation .recently-ordered-section li.recently-ordered-item {
    border: 0 !important;
    border-style: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}
.recently-ordered-section .recently-ordered-item {
    align-items: center !important;
    margin-top: 0 !important;
}
.woocommerce .elementor-721 .elementor-element.elementor-element-14eb19e .rtsb-myacount-page .woocommerce-MyAccount-navigation ul li a:hover, .woocommerce .elementor-721 .elementor-element.elementor-element-14eb19e .rtsb-myacount-page .woocommerce-MyAccount-navigation ul li.is-active a{background-color: #222F63 !important;}