.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;
    }
}

.menu-top-area .right-area .t-h-dropdown.az-translate,
.menu-top-area .az-translate {
    display: inline-block !important;
    vertical-align: middle;
    position: relative;
}

.menu-top-area .az-translate .main-link {
    color: #fff;
}

.az-translate-engine,
.goog-te-gadget,
iframe.skiptranslate,
iframe.goog-te-banner-frame,
.goog-te-banner-frame,
body > .skiptranslate,
.VIpgJd-ZVi9od-ORHb,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-OiiCO,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
}

html,
html.translated-ltr,
html.translated-rtl,
body,
body.translated-ltr,
body.translated-rtl {
    top: 0 !important;
    margin-top: 0 !important;
}

.site-header,
.menu-top-area {
    display: block !important;
    visibility: visible !important;
    transform: none !important;
}

@media (max-width: 991px) {
    .menu-top-area .right-area {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px 12px;
    }

    .menu-top-area .az-translate {
        display: inline-block;
        margin-right: 0;
    }
}

.az-order-email-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(17, 17, 17, 0.45);
}

.az-order-email-modal[hidden] {
    display: none !important;
}

.az-order-email-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 92vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.az-order-email-dialog h3 {
    margin: 0 28px 8px 0;
    font-size: 22px;
    font-weight: 800;
}

.az-order-email-product {
    margin: 0 0 14px;
    color: #444;
}

.az-order-email-dialog label {
    display: block;
    margin: 0 0 4px;
    font-weight: 600;
    font-size: 13px;
}

.az-order-email-dialog input,
.az-order-email-dialog textarea {
    width: 100%;
    margin: 0 0 10px;
    padding: 9px 11px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.az-order-email-hp {
    position: absolute !important;
    left: -9999px !important;
    height: 0 !important;
    opacity: 0 !important;
}

.az-order-email-submit {
    width: 100%;
    background: #f36f21;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 11px 16px;
    font-weight: 700;
}

.az-order-email-submit:disabled {
    opacity: 0.7;
}

.az-order-email-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #666;
}

.az-order-email-status {
    margin: 0 0 10px;
    font-size: 14px;
}

.az-order-email-status.is-ok {
    color: #1b8a3a;
}

.az-order-email-status.is-err {
    color: #c0392b;
}

@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;
    }
}
