.favs-page .empty-cart h3 {
    text-align: center;
    font-size: 50px;
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 10px;
}
.favs-page .empty-cart h3  i{
    color: #000;
}

.view-all-header-link {
    font-size: 14px;
    font-weight: 600;
    color: #1a3718;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 6px 18px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.view-all-header-link:hover {
    background: #1a3718;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(26, 55, 24, 0.2);
}

[dir="rtl"] .view-all-header-link:hover {
    transform: translateX(-5px);
}

[dir="ltr"] .view-all-header-link:hover {
    transform: translateX(5px);
}

[dir="ltr"] .view-all-header-link i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .view-all-header-link {
        font-size: 12px;
        padding: 4px 12px;
    }
}


/* Out of stock product styling */
.out-of-stock-product .card-img-top img {
    opacity: 0.55  !important;
    filter: grayscale(1) !important;
}

.out-of-stock-product .card-body,
.out-of-stock-product .card-header-top {
    filter: grayscale(1) !important;
    opacity: 0.7 !important;
}

.out-of-stock-product .badge-custom {
    filter: grayscale(0) !important;
    opacity: 1 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.out-of-stock-product .add-to-cart-btn,
.out-of-stock-product .quantity-control {
    display: none !important;
}

.text-section .d-flex.w-100 {
    padding: 0 30px;
}

.text-section h2 {
    width: auto !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .text-section .d-flex.w-100 {
        padding: 0 20px;
    }
}

/* Single Product Main Image Fix */
.single-product .main-image {
    width: 100% !important;
    height: auto !important;
    max-height: 600px !important;
    object-fit: contain !important;
    background-color: #fff;
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure gallery container doesn't crop */
.single-product .product-gallery {
    overflow: visible !important;
}
