.menu-top-area .t-m-s-a {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
}

.menu-top-area .t-m-s-a .track-order-link {
    white-space: nowrap;
}

/* Custom CSS for consistent product card sizes */

/* Fix product card image container */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .product-thumb {
    position: relative;
    overflow: hidden;
    height: 280px; /* Fixed height for all product images */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-card .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain aspect ratio without cropping */
    object-position: center;
}

/* Blurred AZ logo + spinner while the real product photo loads */
.product-thumb,
.product-details-slider .item {
    background-color: #f7f7f7;
    position: relative;
}

img.az-img-placeholder {
    object-fit: contain !important;
    padding: 18%;
    filter: blur(6px) saturate(0.6);
    opacity: 0.45;
    transform: scale(1.12);
    pointer-events: none;
}

.az-img-spinner {
    display: none !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 40px !important;
    height: 40px !important;
    margin: -20px 0 0 -20px !important;
    border: 3px solid rgba(255, 107, 53, 0.22) !important;
    border-top-color: #ff6b35 !important;
    border-radius: 50% !important;
    animation: az-spin 0.65s linear infinite !important;
    z-index: 30 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.55) !important;
}

.az-img-loading > .az-img-spinner {
    display: block !important;
}

.az-img-error > .az-img-spinner {
    display: none !important;
}

@keyframes az-spin {
    to { transform: rotate(360deg); }
}

/* Ensure product card body takes remaining space */
.product-card .product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

/* Make all product cards same height in grid */
.slider-item,
.popular-category-slider .slider-item,
.owl-carousel .slider-item {
    height: 100%;
}

.slider-item .product-card {
    height: 100%;
}

/* Product title consistent height */
.product-card .product-title {
    min-height: 48px; /* 2 lines of text */
    margin-bottom: 10px;
}

.product-card .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Flash Deal Section - Horizontal Layout */
.deal-of-day-section .popular-category-slider .slider-item {
    height: auto !important;
}

.deal-of-day-section .slider-item .product-card,
.deal-of-day-section .product-card {
    flex-direction: row !important;
    align-items: stretch !important;
    min-height: 200px !important;
    max-height: 200px !important;
}

.deal-of-day-section .slider-item .product-thumb,
.deal-of-day-section .product-thumb {
    width: 35% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
}

.deal-of-day-section .slider-item .product-thumb img,
.deal-of-day-section .product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.deal-of-day-section .slider-item .product-card-body,
.deal-of-day-section .product-card-body {
    width: 65% !important;
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: hidden !important;
}

.deal-of-day-section .product-title {
    min-height: auto !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
}

.deal-of-day-section .product-button-group {
    position: static !important;
    margin-top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.flash-sell-new-section .product-card,
.campaign-section .product-card,
.flash-deal-section .product-card {
    flex-direction: row !important;
    align-items: stretch;
}

.flash-sell-new-section .product-thumb,
.campaign-section .product-thumb,
.flash-deal-section .product-thumb {
    width: 40% !important;
    height: auto !important;
    min-height: 200px;
    flex-shrink: 0;
}

.flash-sell-new-section .product-card-body,
.campaign-section .product-card-body,
.flash-deal-section .product-card-body {
    width: 60% !important;
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flash-sell-new-section .product-button-group,
.campaign-section .product-button-group,
.flash-deal-section .product-button-group {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-card .product-thumb {
        height: 220px;
    }
    
    .deal-of-day-section .product-card,
    .flash-sell-new-section .product-card,
    .campaign-section .product-card,
    .flash-deal-section .product-card {
        flex-direction: column !important;
    }
    
    .deal-of-day-section .product-thumb,
    .flash-sell-new-section .product-thumb,
    .campaign-section .product-thumb,
    .flash-deal-section .product-thumb {
        width: 100% !important;
        height: 220px !important;
        max-height: 220px !important;
    }
    
    .deal-of-day-section .product-card-body,
    .flash-sell-new-section .product-card-body,
    .campaign-section .product-card-body,
    .flash-deal-section .product-card-body {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .product-card .product-thumb {
        height: 180px;
    }
    
    .deal-of-day-section .product-thumb,
    .flash-sell-new-section .product-thumb,
    .campaign-section .product-thumb,
    .flash-deal-section .product-thumb {
        height: 180px !important;
        max-height: 180px !important;
    }
}
