body:not(.home) .page-template-default article {
    padding: 0;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}
.ast-container {
    display: flex;
    flex-direction: column;
    background: #fff;
}

body #ast-scroll-top {
    padding-top: 2px;
    border-radius: 20px;
    background-color: #154A7E;
    border: 1px solid #fff;
}


.sub_category_meta:not(:has(.subProductPage)){
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.sub_category_meta .category_title{
    font-size: 30px;
    text-align: center;
    font-weight: 600!important;
    color: #154A7E;
}
.category_description {
    font-size: 20px;
    font-weight: 600;
    margin-top: -30px;
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
    color: #5a6172;
}

#order_review .bonus-money {
    padding: 0 10px;
    display: none;
    color: #a00;
    font-size: 16px;
    margin-top: -20px;
    margin-bottom: 10px;
}

#order_review p.bonus-money:first-of-type {
    display: block;
}
.woocommerce-products .products.columns-4,
.woocommerce-products .products.columns-3 {
    width: 100%;
    display: flex;
    margin: 0 auto;
    flex-direction: column;
}
.woocommerce-products .products.columns-4,
.woocommerce .products.columns-3 {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 20px 15px 0;
}

.woocommerce-products {
    width: 100%;
    display: flex;
    margin: 0 auto;
    max-width: 1300px;
    position: relative;
    justify-content: space-between;
}

.product-item {
    display: flex;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.product-item img {
    max-width: 100%;
    object-fit: cover;
}

.product-item h2 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-item table {
    width: 100%;
    margin-bottom: 15px;
    border-collapse: collapse;
}

.product-item table th,
.product-item table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.product-item table th {
    font-weight: bold;
    background-color: #f4f4f4;
}

.product-item table tbody tr:last-child td {
    border-bottom: none;
}

.product-item input[type="number"] {
    width: 80px;
    padding: 6px;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.product-item p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.product-item strong{
    color: #212529;
}

.mcorder_item_row {
    width: 100%;
    display: flex;
    padding: 10px 0;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: 1px solid #e6e6e6;
}

.mcorder_item_row div {
    width: 33%;
    padding-left: 10px;
}

.mcorder_item_row div strong {
    font-weight: 600;
    font-size: 18px;
}

.mcorder_item_row .mcorder_warning {
    color: #ef1313;
    font-size: 15px;
}
.mcorder_item_row .count_boxes:has(.overstock-btn){
    display: flex;
    justify-content: end;
}
.mcorder_item_row .overstock-btn {
    display: inline-block;
    background: red;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: bold;
    cursor: default !important;
    pointer-events: none;
}
.woocommerce-products .product-title {
    width: 100%;
    color: #fff!important;
    font-size: 18px;
    font-weight: 600;
    background-color: #154A7E;
    padding: 9px 15px 3px 15px;
}

.woocommerce-products .product-title a{
    color: #fff!important;
    font-size: 20px;
    font-weight: 600;
}

.woocommerce-products .product-title a:hover {
    color: #e0e0e0!important;
}

.exp-unit-boxes {
    width: 100%;
    display: flex;
    color: #6b7280;
    background: #efefef;
    justify-content: space-between;
}

.exp-unit-boxes div {
    width: 33%;
    color: #6b7280;
    padding: 15px 10px 10px 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    line-height: 1.25rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sub-total {
    width: 100%;
    padding: 10px 0;
    text-align: end;
}

.product-info-container .mcorder_item_row .input-count {
    text-align: center;
    width: 100%;
    padding: 0;
    height: 35px;
}

.product-item > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.product-item > div > div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.product-item .product-image-container{
    width: 30%;
    min-width: 150px;
    max-width: 210px;
    justify-content: center;
}

.product-item .product-info-container{
    width: 80%;
}

.categories-nav {
    padding: 20px;
    height: fit-content;
    border-radius: 5px;
    margin-bottom: 35px;
    background: aliceblue;
}

.categories-nav h4 {
    font-size: 26px;
    margin: 0 auto;
    margin-bottom: 15px;
    text-transform: capitalize;
    position: relative;
    color: #575757;
    margin-bottom: 15px;
}

.categories-filter {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.categories-filter li {
    margin-bottom: 7px;
}

.categories-filter li a {
    text-decoration: none;
    display: block;
    padding: 0 16px;
    transition: color 0.3s ease;
    cursor: pointer;
    font-size: 22px;
    color: #505050;
    position: relative;
    font-weight: 400;
}

#main-content .categories-filter li a {
    color: #505050;
}

#main-content .categories-filter li a:hover {
    color: #3ea7d3;
}

.categories-filter li a:hover {
    color: #3ea7d3;
}

.categories-title {
    color: #222;
    font-size: 20px;
    padding-left: 0;
    font-weight: bold;
    padding-left: 10px;
    margin-bottom: 20px;
    border-left: 3px solid #007bff;
}

.cart-collaterals .categories-nav {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-collaterals .categories-nav .categories-filter{
    padding: 0;
    margin: 0;
    list-style: none;
}

.cart-collaterals .categories-nav .full-unstyled-link{
    display: inline-block;
}

.total_price_cart{
    z-index: 98;
    width: 33%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.total_price_cart div{
    padding-right: 20px;
}

.total_price{
    height: 60px;
    width: 100%;
    display: flex;
    color: #575757;
    font-size: 20px;
    font-weight: 600;
    margin-top: 14px;
    border-radius: 3px;
    align-items: center;
    margin-bottom: 17px;
    justify-content: space-between;
    transition: top 0.3s ease;
    padding: 9px 13px 5px 13px;
    background: aliceblue;
}

.total_price .text {
    white-space: nowrap;
    margin-right: 5px;
}

.categories-div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.fas.fa-arrow-down.mobile-arrow-down-icon ,.fas.fa-arrow-up.mobile-arrow-up-icon {
    display: none;
    color: #616161;
}

.add_to_cart_custom {
    margin-bottom: 20px;
    width: 100%;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    background-color: #154A7E;
    padding: 15px 15px 12px 15px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}


.add_to_cart_custom:hover {
    background-color: #4873B8 !important;
}


.spinner {
    width: 18px;
    height: 18px;
    animation: spin 0.8s linear infinite;
}

.path {
    stroke: #fff;
    stroke-linecap: round;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-width: 5;
    animation: dash 1.2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

@media (max-width: 1215px) {
    .total_price_cart{
        position: sticky;
        top: 77px;
        background: #fff;
        width: 100%;
    }

    .categories-nav h4 {
        font-size: 18px;
        font-weight: 600;
    }

    .fas.fa-arrow-down.mobile-arrow-down-icon ,.fas.fa-arrow-up.mobile-arrow-up-icon {
        display: block;
    }

    .product-item .product-info-container {
        width: 100%;
    }

    .total_price {
        width: 100%;
        justify-content: space-between;
    }

    .woocommerce-products {
        display: flex;
        padding: 0 15px;
        flex-direction: column;
    }

    .woocommerce-products .total_price {
        order: -1;
        margin-bottom: 1rem;
    }
    .woocommerce-cart .categories-nav,
    .woocommerce-products .categories-nav {
        max-height: 45px;
        overflow: hidden;
        padding: 13px;
        width: 100%;
        margin-bottom: 0;
        transition: max-height 0.5s ease-in-out;
        order: 0;
    }

    .woocommerce-products .categories-nav.expanded,
    .woocommerce-cart .categories-nav.expanded {
        max-height: 500px;
    }

    .categories-filter {
        flex-wrap: wrap;
        display: flex;
    }

    .categories-filter li a {
        padding-left: 0;
        padding-right: 0;
    }

    .categories-filter li {
        width: 160px;
    }

    .woocommerce-products .products {
        order: 1;
    }

    .woocommerce-products .products.columns-4,
    .woocommerce .products.columns-3 {
        padding: 0;
    }
    .total_price_cart div{
        padding-right: 0;
    }
}
@media (max-width: 768px) {
    .product-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-item img {
        margin-bottom: 10px;
    }

    .product-item table {
        display: block;
        overflow-x: auto;
    }
}

