/* ==========================================
   TAILOR BAZAR - HOME PAGE STYLESHEET
   ========================================== */

/* ==========================================
   SCROLL REVEAL ANIMATIONS
   ========================================== */
.reveal-fade {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .reveal-fade,
    .reveal-scale,
    .reveal-left,
    .reveal-right,
    .reveal-fade.visible,
    .reveal-scale.visible,
    .reveal-left.visible,
    .reveal-right.visible {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================
   SKELETON SHIMMER PLACEHOLDER & LAZY IMAGES
   ========================================== */
.skeleton-img-wrapper {
    position: relative;
    background: #e2e8f0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: block;
}

.skeleton-img-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.25) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    );
    animation: shimmer-effect 1.5s infinite;
}

@keyframes shimmer-effect {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-img-wrapper img {
    opacity: 0;
    transition: opacity 0.45s ease-in-out;
}

.skeleton-img-wrapper.loaded {
    background: transparent !important;
}

.skeleton-img-wrapper.loaded::after {
    display: none !important;
}

.skeleton-img-wrapper.loaded img {
    opacity: 1 !important;
    object-position: top;
}

.carousel-container .skeleton-img-wrapper.loaded img,
.carousel-banner-img {
    object-position: center center !important;
}

/* Snappier reveal for cards */
.product-feed-card.reveal-fade, 
.deal-card.reveal-fade {
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Staggered entry animation on desktop */
@media (min-width: 769px) {
    .product-feed-grid .product-feed-card:nth-child(4n+1) { transition-delay: 0ms; }
    .product-feed-grid .product-feed-card:nth-child(4n+2) { transition-delay: 100ms; }
    .product-feed-grid .product-feed-card:nth-child(4n+3) { transition-delay: 200ms; }
    .product-feed-grid .product-feed-card:nth-child(4n+4) { transition-delay: 300ms; }
    
    .deals-grid .deal-card:nth-child(4n+1) { transition-delay: 0ms; }
    .deals-grid .deal-card:nth-child(4n+2) { transition-delay: 100ms; }
    .deals-grid .deal-card:nth-child(4n+3) { transition-delay: 200ms; }
    .deals-grid .deal-card:nth-child(4n+4) { transition-delay: 300ms; }
}

/* Layout helper classes from User/index.blade.php */
.home-category-circle {
    overflow: hidden;
    padding: 0;
}
.home-category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.home-carousel-pointer {
    cursor: pointer;
}
.home-section-desc-no-margin {
    margin-bottom: 0 !important;
}
.home-product-icons-section {
    background: #f8fafc;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--slate-200);
}
.home-product-icon-circle-radius,
.home-product-icon-square-radius {
    border-radius: 14px;
}
.home-section-header-margin {
    margin-bottom: 1rem;
}
.home-upcoming-card {
    cursor: not-allowed !important;
    opacity: 0.85 !important;
}
.home-upcoming-badge {
    background: var(--slate-600) !important;
}
.home-estimate-price-label {
    font-size: 0.9rem;
    color: var(--indigo-600);
    font-weight: 800;
}
.home-customize-btn {
    background: var(--indigo-600) !important;
    color: white !important;
}
.home-tba-price-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 800;
}
.home-upcoming-btn {
    background: #94a3b8 !important;
    color: white !important;
    cursor: not-allowed;
}
.home-packages-section {
    background: #f8fafc;
}
.home-packages-scroll-wrapper {
    /* margin-top: 3rem; */
}
.home-packages-deals-grid {
    margin-top: 0;
}
.home-testimonials-section {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.home-search-suggestions-skeleton-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
}
.home-search-suggestions-skeleton-line {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}
.home-search-suggestions-skeleton-line.title {
    width: 60%;
    margin-bottom: 6px;
}
.home-search-suggestions-skeleton-line.subtitle {
    width: 40%;
}
.home-lookbook-section-header {
    margin-bottom: 3rem !important;
}

/* Prevent horizontal cards from shifting vertically during reveal animations to avoid overlaps */
.deals-grid .deal-card.reveal-fade,
.testimonials-grid .testimonial-card.reveal-fade {
    transform: translateY(0) !important;
}

/* Compact Viewport & Font Optimization for Mobile Homepage */
@media (max-width: 768px) {
    .section {
        padding: 0.35rem 0 !important;
    }

    .section-header {
        margin-bottom: 0.35rem !important;
    }
}

.section-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    margin-bottom: 0.2rem !important;
    letter-spacing: -0.02em !important;
}

.section-subtitle {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.15rem !important;
}

.section-desc {
    font-size: 0.82rem !important;
    color: #64748b !important;
    line-height: 1.3 !important;
}

.hero-carousel-section {
    margin: 0.5rem 0 0.85rem 0 !important;
}

@media (max-width: 768px) {
    .hero-carousel-section .carousel-container,
    .middle-carousel-section .carousel-container,
    .hero-carousel-section .carousel-slide,
    .middle-carousel-section .carousel-slide,
    .hero-carousel-section .skeleton-img-wrapper,
    .middle-carousel-section .skeleton-img-wrapper,
    .hero-carousel-section .carousel-banner-img,
    .middle-carousel-section .carousel-banner-img {
        aspect-ratio: 1200 / 600 !important;
        max-height: 400px !important;
        border-radius: 0 !important;
    }
}

.deal-card {
    padding: 0.65rem !important;
    border-radius: 0.95rem !important;
}

.deal-title {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
}

.deal-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
}

.deal-old-price, .deal-discount {
    font-size: 0.78rem !important;
}

.deal-btn {
    font-size: 0.78rem !important;
    padding: 0.4rem 0.75rem !important;
    border-radius: 0.5rem !important;
}

/* TailorBazar Logo Color Palette Theme Harmonization */
.tb-text-blue {
    color: #053E99 !important;
}

.tb-text-red {
    color: #D91B24 !important;
}

.section-subtitle {
    color: #053E99 !important;
    text-transform: uppercase;
}

.deals-countdown {
    background: #ffffff !important;
    border: none !important;
    border-radius: 2rem !important;
    padding: 0.4rem 0.95rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
}

.countdown-clock-icon {
    color: #D91B24 !important;
    font-size: 0.9rem !important;
}

.countdown-label {
    color: #D91B24 !important;
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
}

.countdown-timer {
    color: #0f172a !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    font-family: 'Outfit', 'Courier New', monospace !important;
    letter-spacing: 0.04em !important;
    background: #f8fafc !important;
    padding: 0.15rem 0.5rem !important;
    border-radius: 0.4rem !important;
    border: 1px solid #e2e8f0 !important;
}

.deal-badge.red {
    background: #D91B24 !important;
    color: #ffffff !important;
}

.deal-badge.orange {
    background: #053E99 !important;
    color: #ffffff !important;
}

.deal-badge.green {
    background: #04327c !important;
    color: #ffffff !important;
}

.deal-price {
    color: #053E99 !important;
}

.deal-discount {
    color: #D91B24 !important;
    font-weight: 700 !important;
}

.deal-btn {
    background: #053E99 !important;
    color: #ffffff !important;
    border-radius: 0.65rem !important;
    transition: all 0.25s ease !important;
}

.deal-btn:hover {
    background: #D91B24 !important;
    box-shadow: 0 4px 14px rgba(217, 27, 36, 0.3) !important;
}

.search-input-group:focus-within {
    border-color: #053E99 !important;
    box-shadow: 0 0 0 3.5px rgba(5, 62, 153, 0.12) !important;
}

.search-icon-left {
    color: #053E99 !important;
}

.scroll-btn {
    background: #ffffff !important;
    color: #053E99 !important;
    border: 1.5px solid #e2e8f0 !important;
}

.scroll-btn:hover {
    background: #053E99 !important;
    color: #ffffff !important;
    border-color: #053E99 !important;
}

.carousel-dots {
    bottom: 0.4rem !important;
}

.carousel-dots .dot {
    width: 5px !important;
    height: 5px !important;
}

.carousel-dots .dot.active {
    background: #ffffff !important;
    width: 14px !important;
    height: 5px !important;
    border-radius: 3px !important;
}

/* ==========================================================================
   HOMEPAGE REORDERED SECTIONS STYLING
   ========================================================================== */

/* 1. Top Hero Slider (Img1) & Main Content Clearance */
main {
    padding-top: 8.0rem !important;
}

.home-top-hero-slider {
    margin-top: 0.2rem !important;
    margin-bottom: 0.2rem !important;
}

/* 2. Services Icon Section (Img2) */
.services-icon-section {
    background: #ffffff;
    padding: 0.25rem 0 0.2rem 0 !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* 3. Search Bar Section & High Stacking Z-Index for Suggestions */
.home-search-bar-section {
    background: #ffffff;
    padding: 0.15rem 0 0.35rem 0 !important;
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
}

.home-search-bar-section .container,
.search-bar-wrapper {
    position: relative !important;
    z-index: 100 !important;
    overflow: visible !important;
}

.search-suggestions-dropdown {
    z-index: 1000 !important;
}

/* 4. Delivery Banner Section (Img3) */
.home-delivery-banner-section {
    margin: 0.2rem 0 0.35rem 0 !important;
}

/* 5. Recent Orders Section (Img4) */
.home-recent-orders-section {
    padding: 0.2rem 0 0.35rem 0 !important;
}

.recent-orders-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.recent-orders-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.recent-orders-view-all {
    font-size: 0.85rem;
    font-weight: 700;
    color: #053E99;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.recent-orders-view-all:hover {
    color: #D91B24;
}

.recent-order-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.recent-order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 62, 153, 0.08);
    border-color: rgba(5, 62, 153, 0.25);
}

.recent-order-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.recent-order-img-wrapper {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    background: #fff0f3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-order-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-order-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.recent-order-id {
    font-size: 0.85rem;
    font-weight: 800;
    color: #053E99;
}

.recent-order-service {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-order-status-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    margin-top: 4px;
    width: fit-content;
}

.recent-order-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 1px solid #f1f5f9;
    padding-left: 18px;
    flex-shrink: 0;
}

.recent-order-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 600;
}

.recent-order-icon {
    color: #64748b;
    font-size: 0.85rem;
}

.recent-order-chevron {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.recent-order-card:hover .recent-order-chevron {
    transform: translateX(3px);
    color: #053E99;
}

@media (max-width: 640px) {
    .recent-order-card {
        flex-wrap: wrap;
        padding: 12px 14px;
        gap: 12px;
    }
    .recent-order-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #f1f5f9;
        padding-top: 10px;
        width: 100%;
    }
    .recent-order-chevron {
        display: none;
    }
}

/* Static Delivery Banner Image Below Search Bar */
.home-delivery-static-banner-section {
    padding: 0.25rem 0 !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.delivery-static-banner-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.delivery-static-banner-wrapper .skeleton-img-wrapper {
    height: auto !important;
    aspect-ratio: auto !important;
    border-radius: inherit;
    background: transparent !important;
}

.delivery-static-banner-img {
    width: 100%;
    height: auto !important;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* Single Line Clean Section Header Styles */
.home-section-header-clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem !important;
    margin-top: 0.1rem !important;
    margin-left: 0.7rem;
    margin-right: 0.7rem;
}

.home-section-title-clean {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    letter-spacing: -0.01em !important;
    line-height: 1.2 !important;
}

.home-section-view-all {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #053E99 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
}

.home-section-view-all:hover {
    color: #D91B24 !important;
    transform: translateX(2px);
}

/* Full-bleed Edge-to-Edge Cards Scroll Wrapper */
.deals-scroll-wrapper,
.lookbook-scroll-wrapper,
.testimonials-scroll-wrapper {
    width: 100% !important;
    position: relative;
    overflow: visible;
}

.deals-grid,
.lookbook-grid,
.testimonials-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    /* gap: 0.75rem !important; */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-top: 0.2rem !important;
    padding-bottom: 0.4rem !important;
    padding-right: max(0.85rem, calc((100vw - 1200px) / 2 + 0.75rem)) !important;
    scroll-padding-left: max(0.85rem, calc((100vw - 1200px) / 2 + 0.75rem)) !important;
}

.deals-grid::-webkit-scrollbar,
.lookbook-grid::-webkit-scrollbar,
.testimonials-grid::-webkit-scrollbar {
    display: none;
}

/* Card Sizing Adjustments - Unified Lookbook Style */
.lookbook-card {
    flex: 0 0 190px !important;
    width: 190px !important;
    max-width: 190px !important;
    border-radius: 1rem !important;
    padding: 0.65rem !important;
}

.lookbook-img-wrapper {
    height: 160px !important;
    border-radius: 0.85rem !important;
}




.explore{
margin-left: 0 !important;
}

/* Hide Testimonials Section on Mobile Devices */
@media (max-width: 768px) {
    .home-testimonials-section,
    #testimonials {
        display: none !important;
    }
}

/* ==========================================================================
   TABLET & DESKTOP ENHANCEMENTS (min-width: 769px)
   Mobile layout (< 768px) remains 100% untouched as requested!
   ========================================================================== */
@media (min-width: 769px) {
    main {
        padding-top: 8.5rem !important;
    }

    .section {
        padding: 2.2rem 0 !important;
    }

    .home-top-hero-slider {
        margin-top: 0.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Desktop Banner Aspect Ratio & Height */
    .hero-carousel-section .carousel-container,
    .middle-carousel-section .carousel-container {
        aspect-ratio: 1200 / 420 !important;
        max-height: 420px !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    .carousel-banner-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        max-height: 420px !important;
    }

    .services-icon-section {
        padding: 1.25rem 0 !important;
    }

    /* Our Services Desktop Grid: 6 Columns per row (2 clean rows of 6) */
    .tb-home-category-row {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 1.2rem 0.75rem !important;
        margin-bottom: 1rem !important;
        justify-content: center !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .tb-cat-circle-icon {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 0.35rem !important;
    }

    .tb-cat-circle-icon svg {
        width: 36px !important;
        height: 36px !important;
    }

    .tb-cat-circle-label {
        font-size: 0.86rem !important;
    }

    .home-search-bar-section {
        padding: 1rem 0 !important;
    }

    .search-bar-wrapper {
        max-width: 650px !important;
        margin: 0.5rem auto !important;
    }

    /* Express Delivery Static Banner - Removed on Desktop */
    .home-delivery-static-banner-section {
        display: none !important;
    }

    .home-recent-orders-section {
        padding: 1.25rem 0 !important;
    }

    .recent-order-card {
        max-width: 1240px !important;
        margin: 0 auto !important;
    }

    .home-section-header-clean {
        margin-bottom: 1.2rem !important;
        margin-top: 0.5rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .home-section-title-clean {
        font-size: 1.55rem !important;
    }

    .home-section-view-all {
        font-size: 1rem !important;
    }

    .deals-scroll-wrapper,
    .lookbook-scroll-wrapper,
    .testimonials-scroll-wrapper {
        max-width: 1240px !important;
        margin: 0 auto !important;
        position: relative !important;
        padding: 0 0.75rem !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .deals-grid,
    .lookbook-grid,
    .testimonials-grid {
        gap: 1.25rem !important;
        padding-top: 0.6rem !important;
        padding-bottom: 1.25rem !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        scroll-padding-left: 0 !important;
        overflow-x: auto !important;
    }

    /* Refined Compact Desktop Card Sizing */
    .lookbook-card {
        flex: 0 0 215px !important;
        width: 215px !important;
        max-width: 215px !important;
        padding: 0.75rem !important;
        border-radius: 1.1rem !important;
    }

    .lookbook-img-wrapper {
        height: 160px !important;
        border-radius: 0.85rem !important;
    }

    .lookbook-img {
        object-fit: cover !important;
        object-position: top center !important;
    }

    .lookbook-card-title {
        font-size: 0.96rem !important;
        margin-top: 0.35rem !important;
    }

    .lookbook-price-current {
        font-size: 1.05rem !important;
    }

    .lookbook-btn-action {
        padding: 0.5rem 0.85rem !important;
        font-size: 0.84rem !important;
    }

    /* Scroll Navigation Arrows on Tablet & Desktop */
    .scroll-btn {
        display: flex !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background: #ffffff !important;
        border: 1.5px solid #cbd5e1 !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 50 !important;
        color: #053E99 !important;
        transition: all 0.25s ease !important;
    }

    .scroll-btn.prev {
        left: -12px !important;
    }

    .scroll-btn.next {
        right: -12px !important;
    }

    .scroll-btn:hover {
        background: #053E99 !important;
        color: #ffffff !important;
        border-color: #053E99 !important;
        transform: translateY(-50%) scale(1.1) !important;
    }

    /* Explore Products Filter Bar & Card Footer Responsiveness */
    .filter-pills-bar {
        gap: 0.65rem !important;
        margin-bottom: 1.5rem !important;
        padding: 0.5rem 0 !important;
        overflow-x: auto !important;
        max-width: 1240px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .filter-pill {
        padding: 0.45rem 0.95rem !important;
        font-size: 0.82rem !important;
        border-radius: 2rem !important;
        flex-shrink: 0 !important;
    }

    /* Explore Products Card Image Styling on Desktop */
    .product-feed-grid .card-img-wrapper {
        height: 180px !important;
    }

    .product-feed-grid .card-img {
        object-fit: cover !important;
        object-position: top center !important;
    }

    .card-footer-row {
        gap: 0.5rem !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
    }

    .card-price {
        font-size: 1.08rem !important;
        font-weight: 800 !important;
        flex-shrink: 0 !important;
    }

    .card-btn {
        padding: 0.45rem 0.8rem !important;
        font-size: 0.8rem !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    /* Bottom Faded Trust Image Banner Desktop Responsiveness (Prominent & Clear) */
    .home-bottom-trust-section {
        padding: 3rem 1rem !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .home-bottom-faded-image-wrapper {
        max-width: 1240px !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .home-bottom-faded-image-wrapper .skeleton-img-wrapper {
        height: auto !important;
        overflow: visible !important;
        background: transparent !important;
    }

    .home-bottom-faded-img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        display: block !important;
    }
}

/* Tablet Grid Columns Adjustment */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-feed-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1.25rem !important;
    }
}

/* Desktop Grid Columns Adjustment */
@media (min-width: 1025px) {
    .product-feed-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 1240px !important;
        margin: 0 auto !important;
    }

    .hero-carousel-section .carousel-container,
    .middle-carousel-section .carousel-container {
        aspect-ratio: 1200 / 420 !important;
        max-height: 420px !important;
    }
}

/* Ultra-Wide Monitors (min-width: 1440px) */
@media (min-width: 1440px) {
    .product-feed-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 1.25rem !important;
    }

    .hero-carousel-section .carousel-container,
    .middle-carousel-section .carousel-container {
        aspect-ratio: 1200 / 400 !important;
        max-height: 400px !important;
    }
}

/* Faded Bottom Image Mobile Preserved with Safe Bottom Navigation Spacing */
@media (max-width: 768px) {
    .home-bottom-trust-section {
        background: transparent !important;
        overflow: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 1.5rem 0.5rem calc(80px + env(safe-area-inset-bottom, 0px)) 0.5rem !important;
    }
    .home-bottom-faded-image-wrapper {
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }
    .home-bottom-faded-image-wrapper .skeleton-img-wrapper {
        height: auto !important;
        overflow: visible !important;
        background: transparent !important;
    }
    .home-bottom-faded-img {
        border-radius: 12px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
    }
}




