/* ============================================================
   Daman Marketplace – Professional Homepage Styles
   AliExpress / Noon / Amazon-inspired design system
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --mp-primary: #1a56db;
    --mp-primary-light: #eef2ff;
    --mp-primary-dark: #1e40af;
    --mp-primary-rgb: 26, 86, 219;
    --mp-accent: #f59e0b;
    --mp-accent-dark: #d97706;
    --mp-danger: #dc2626;
    --mp-danger-light: #fef2f2;
    --mp-success: #16a34a;
    --mp-success-light: #f0fdf4;
    --mp-text: #111827;
    --mp-text-secondary: #6b7280;
    --mp-text-muted: #9ca3af;
    --mp-border: #e5e7eb;
    --mp-bg: #f9fafb;
    --mp-card-bg: #ffffff;
    --mp-radius: 8px;
    --mp-radius-lg: 12px;
    --mp-radius-xl: 16px;
    --mp-radius-round: 50%;
    --mp-radius-pill: 999px;
    --mp-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --mp-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --mp-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --mp-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --mp-shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --mp-transition: 0.2s ease;
    --mp-transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --mp-gap: 16px;
    --mp-section-gap: 48px;
}

/* --- Page Container --- */
.marketplace-home-page .page-body {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

.marketplace-home-page .block {
    margin-bottom: var(--mp-section-gap);
}

/* --- Section Header (shared) --- */
.mp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--mp-border);
}

.mp-section-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mp-section-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: var(--mp-text);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.mp-section-viewall {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mp-primary);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--mp-transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mp-section-viewall:hover {
    color: var(--mp-primary-dark);
    text-decoration: none;
}

.mp-section-viewall i {
    font-size: 0.75rem;
    transition: transform var(--mp-transition);
}

.mp-section-viewall:hover i {
    transform: translateX(3px);
}

[dir="rtl"] .mp-section-viewall:hover i {
    transform: translateX(-3px);
}

/* ============================================================
   1. Hero Section – Slider + Side Banners
   ============================================================ */
.mp-hero-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 12px;
    margin-bottom: var(--mp-section-gap);
    min-height: 360px;
    overflow: hidden;
}

.mp-hero-slider {
    border-radius: var(--mp-radius-lg);
    overflow: hidden;
    min-height: 360px;
    min-width: 0;
    box-shadow: var(--mp-shadow-sm);
}

.mp-hero-slider .content-slider,
.mp-hero-slider .content-slider-wrapper {
    border-radius: var(--mp-radius-lg);
    height: 100%;
    overflow: hidden;
}

.mp-hero-slider .content-slider img,
.mp-hero-slider .content-slider .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Side banners — white cards with product image */
.mp-hero-side-banners {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-hero-side-banner {
    flex: 1;
    position: relative;
    border-radius: var(--mp-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--mp-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-border);
    transition: transform var(--mp-transition), box-shadow var(--mp-transition);
    min-height: 110px;
    gap: 10px;
}

.mp-hero-side-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--mp-shadow-md);
    text-decoration: none;
    color: var(--mp-text);
    border-color: rgba(var(--mp-primary-rgb), 0.3);
}

.mp-hero-side-banner-discount {
    display: inline-block;
    background: var(--mp-danger);
    color: #fff;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--mp-radius-pill);
    line-height: 1.4;
    margin-bottom: 6px;
}

.mp-hero-side-banner-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.mp-hero-side-banner-name {
    display: block;
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 6px;
    line-height: 1.3;
    color: var(--mp-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-hero-side-banner-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 0.8rem;
}

.mp-hero-side-banner-price del {
    color: var(--mp-text-muted);
    font-size: 0.75rem;
}

.mp-hero-side-banner-price strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--mp-danger);
}

.mp-hero-side-banner-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: var(--mp-radius);
}

/* ============================================================
   2. Trust Badges Bar
   ============================================================ */
.mp-trust-bar {
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-lg);
    margin-bottom: var(--mp-section-gap);
    overflow: hidden;
}

.mp-trust-bar .container {
    max-width: 100%;
    padding: 0;
}

.mp-trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
}

.mp-trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-inline-end: 1px solid var(--mp-border);
    transition: background var(--mp-transition);
}

.mp-trust-badge:last-child {
    border-inline-end: none;
}

.mp-trust-badge:hover {
    background: var(--mp-bg);
}

.mp-trust-badge i {
    width: 40px;
    height: 40px;
    border-radius: var(--mp-radius);
    background: var(--mp-primary-light);
    color: var(--mp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.mp-trust-badge strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mp-text);
    margin-bottom: 1px;
}

.mp-trust-badge small {
    display: block;
    font-size: 0.73rem;
    color: var(--mp-text-secondary);
    line-height: 1.3;
}

/* ============================================================
   3. Category Icons (Round Circles)
   ============================================================ */
.mp-category-icons {
    margin-bottom: var(--mp-section-gap);
}

.mp-category-icons-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 12px;
    scrollbar-width: none;
}

.mp-category-icons-row::-webkit-scrollbar {
    display: none;
}

.mp-category-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--mp-text);
    scroll-snap-align: start;
    flex-shrink: 0;
    min-width: 88px;
    transition: transform var(--mp-transition);
}

.mp-category-icon-item:hover {
    transform: translateY(-4px);
    text-decoration: none;
    color: var(--mp-primary);
}

.mp-category-icon-circle {
    width: 88px;
    height: 88px;
    border-radius: var(--mp-radius-round);
    background: var(--mp-card-bg);
    border: 2px solid var(--mp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all var(--mp-transition);
    box-shadow: var(--mp-shadow-xs);
}

.mp-category-icon-item:hover .mp-category-icon-circle {
    border-color: var(--mp-primary);
    box-shadow: 0 4px 12px rgba(var(--mp-primary-rgb), 0.2);
    background: var(--mp-primary-light);
}

.mp-category-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-category-icon-circle i {
    color: var(--mp-text-secondary);
    font-size: 1.5rem;
}

.mp-category-icon-label {
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    max-width: 96px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--mp-text-secondary);
}

.mp-category-icon-item:hover .mp-category-icon-label {
    color: var(--mp-primary);
}

/* ============================================================
   4. Flash Deals
   ============================================================ */
.mp-flash-deals {
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-lg);
    padding: 24px;
    border: 1px solid var(--mp-border);
    position: relative;
    overflow: hidden;
}

.mp-flash-deals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mp-danger), var(--mp-accent));
}

.mp-flash-deals .mp-section-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 16px;
}

.mp-flash-deals .mp-section-title {
    color: var(--mp-danger);
    font-size: 1.15rem;
}

.mp-flash-deals .mp-section-title::before {
    content: '\f0e7';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-inline-end: 6px;
    font-size: 1rem;
}

/* Countdown timer */
.mp-countdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mp-countdown-label {
    font-size: 0.8rem;
    color: var(--mp-text-secondary);
    font-weight: 500;
}

.mp-countdown-timer {
    display: flex;
    align-items: center;
    gap: 3px;
}

.mp-countdown-unit {
    background: #1f2937;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 34px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.mp-countdown-sep {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
}

/* Carousel wrapper (shared) */
.mp-carousel-wrapper {
    position: relative;
}

.mp-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: var(--mp-radius-round);
    background: var(--mp-card-bg);
    border: 1px solid var(--mp-border);
    box-shadow: var(--mp-shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--mp-transition);
    color: var(--mp-text);
    font-size: 0.8rem;
    opacity: 0;
}

.mp-carousel-wrapper:hover .mp-carousel-arrow {
    opacity: 1;
}

.mp-carousel-arrow:hover {
    background: var(--mp-primary);
    color: #fff;
    border-color: var(--mp-primary);
    box-shadow: var(--mp-shadow);
}

.mp-carousel-arrow-left {
    inset-inline-start: -12px;
}

.mp-carousel-arrow-right {
    inset-inline-end: -12px;
}

.mp-carousel-track {
    overflow: hidden;
    border-radius: var(--mp-radius);
}

/* Flash deals — 2-row horizontal scrollable carousel */
.mp-flash-deals .artlist-grid {
    display: grid !important;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-columns: 200px;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.mp-flash-deals .artlist-grid::-webkit-scrollbar {
    display: none;
}

.mp-flash-deals .artlist-grid .art {
    scroll-snap-align: start;
    min-width: 200px;
}

/* ============================================================
   5. Featured Vendors Carousel
   ============================================================ */
.mp-vendors-section {
    margin-bottom: var(--mp-section-gap);
}

.mp-vendor-cards {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding: 2px 0;
}

.mp-vendor-cards::-webkit-scrollbar {
    display: none;
}

.mp-vendor-card {
    flex-shrink: 0;
    width: 180px;
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-xl);
    border: 1px solid var(--mp-border);
    overflow: hidden;
    scroll-snap-align: start;
    transition: all var(--mp-transition);
    box-shadow: var(--mp-shadow-xs);
}

.mp-vendor-card:hover {
    border-color: rgba(var(--mp-primary-rgb), 0.4);
    box-shadow: var(--mp-shadow-md);
    transform: translateY(-3px);
}

.mp-vendor-card-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 24px 16px 20px;
    text-align: center;
}

.mp-vendor-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.mp-vendor-card-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: var(--mp-radius-round);
    overflow: hidden;
    border: 3px solid var(--mp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mp-bg);
    transition: all var(--mp-transition);
    box-shadow: var(--mp-shadow-xs);
}

.mp-vendor-card:hover .mp-vendor-card-logo {
    border-color: var(--mp-primary);
    box-shadow: 0 4px 12px rgba(var(--mp-primary-rgb), 0.15);
}

.mp-vendor-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-vendor-card-name {
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 4px;
    color: var(--mp-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mp-vendor-card-rating {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 2px;
}

.mp-vendor-card-info small {
    font-size: 0.73rem;
    color: var(--mp-text-muted);
}

/* ============================================================
   6. Category Product Sections
   ============================================================ */
.mp-category-section {
    margin-bottom: var(--mp-section-gap);
    background: var(--mp-card-bg);
    border-radius: var(--mp-radius-lg);
    border: 1px solid var(--mp-border);
    overflow: hidden;
}

.mp-category-section .mp-section-header {
    padding: 16px 20px 12px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--mp-border);
    background: var(--mp-bg);
}

/* Category tabs */
.mp-category-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.mp-tab {
    background: transparent;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-pill);
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--mp-text-secondary);
    cursor: pointer;
    transition: all var(--mp-transition);
    white-space: nowrap;
}

.mp-tab:hover {
    border-color: var(--mp-primary);
    color: var(--mp-primary);
}

.mp-tab.active {
    background: var(--mp-primary);
    border-color: var(--mp-primary);
    color: #fff;
}

.mp-category-section-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 320px;
}

.mp-category-section-banner {
    border-inline-end: 1px solid var(--mp-border);
    overflow: hidden;
}

.mp-category-section-banner a {
    display: block;
    height: 100%;
}

.mp-category-section-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-category-section-products {
    padding: 16px;
}

.mp-category-section-products .artlist-grid {
    gap: 12px;
}

/* Full-width when no category banner image */
.mp-category-section.mp-no-banner .mp-category-section-body {
    grid-template-columns: 1fr;
}

.mp-category-section.mp-no-banner .mp-category-section-banner {
    display: none;
}

/* ============================================================
   7. Popular Brands
   ============================================================ */
.mp-brands-section {
    margin-bottom: var(--mp-section-gap);
}

.mp-brands-row {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0 12px;
    scrollbar-width: none;
}

.mp-brands-row::-webkit-scrollbar {
    display: none;
}

.mp-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--mp-text);
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: transform var(--mp-transition);
}

.mp-brand-item:hover {
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--mp-primary);
}

.mp-brand-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--mp-radius-round);
    border: 1px solid var(--mp-border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--mp-card-bg);
    transition: all var(--mp-transition);
}

.mp-brand-item:hover .mp-brand-logo {
    border-color: var(--mp-primary);
    box-shadow: 0 4px 12px rgba(var(--mp-primary-rgb), 0.15);
}

.mp-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.mp-brand-name {
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    color: var(--mp-text-secondary);
}

.mp-brand-item:hover .mp-brand-name {
    color: var(--mp-primary);
}

/* ============================================================
   8. Trending Products (Tabs)
   ============================================================ */
.mp-trending-section {
    margin-bottom: var(--mp-section-gap);
}

.mp-trending-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mp-trending-tab {
    background: transparent;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius-pill);
    padding: 6px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--mp-text-secondary);
    cursor: pointer;
    transition: all var(--mp-transition);
}

.mp-trending-tab:hover {
    border-color: var(--mp-primary);
    color: var(--mp-primary);
}

.mp-trending-tab.active {
    background: var(--mp-primary);
    border-color: var(--mp-primary);
    color: #fff;
}

.mp-trending-products {
    min-height: 200px;
    position: relative;
    margin-top: 4px;
}

/* ============================================================
   9. Infinite Product Feed
   ============================================================ */
.mp-infinite-feed {
    margin-bottom: var(--mp-section-gap);
}

.mp-infinite-feed .mp-section-header {
    border-bottom: 2px solid var(--mp-primary);
    padding-bottom: 10px;
}

.mp-infinite-feed .mp-section-title::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-inline-end: 6px;
    color: var(--mp-accent);
    font-size: 1rem;
}

.mp-infinite-feed-body .artlist-5-cols {
    grid-template-columns: repeat(5, 1fr);
}

#infinite-feed-spinner {
    padding: 24px;
}

/* Skeleton loading */
.mp-skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: mp-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--mp-radius);
}

@keyframes mp-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.mp-skeleton-card {
    height: 280px;
}

/* ============================================================
   10. Back to Top
   ============================================================ */
.mp-back-to-top {
    position: fixed;
    bottom: 32px;
    inset-inline-end: 32px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: var(--mp-radius-round);
    background: var(--mp-primary);
    color: #fff;
    border: none;
    box-shadow: var(--mp-shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--mp-transition);
    opacity: 0;
    visibility: hidden;
}

.mp-back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.mp-back-to-top:hover {
    background: var(--mp-primary-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--mp-shadow-hover);
}

/* ============================================================
   11. Loading States
   ============================================================ */
.mp-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: var(--mp-radius);
}

/* ============================================================
   12. Product Card Enhancements
   ============================================================ */
.marketplace-home-page .artlist-boxed .art {
    border-radius: var(--mp-radius);
    border: 1px solid var(--mp-border);
    box-shadow: none;
    transition: all var(--mp-transition);
    overflow: hidden;
}

.marketplace-home-page .artlist-boxed .art:hover {
    border-color: rgba(var(--mp-primary-rgb), 0.3);
    box-shadow: var(--mp-shadow-md);
    transform: translateY(-2px);
}

.marketplace-home-page .artlist-boxed .art .art-picture-block {
    background: #fff;
}

.marketplace-home-page .artlist-boxed .art .art-badges .badge {
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.7rem;
}

/* Price styling */
.marketplace-home-page .art-price .price {
    font-weight: 600;
}

.marketplace-home-page .art-price .price-old {
    color: var(--mp-text-muted);
}

.marketplace-home-page .art-price .price-actual {
    color: var(--mp-danger);
    font-weight: 700;
}

/* ============================================================
   Responsive
   ============================================================ */

/* Large tablet */
@media (max-width: 1200px) {
    .mp-hero-section {
        grid-template-columns: 1fr 240px;
    }

    .mp-category-section-body {
        grid-template-columns: 160px 1fr;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .mp-hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .mp-hero-slider {
        min-height: 260px;
    }

    .mp-hero-side-banners {
        flex-direction: row;
    }

    .mp-hero-side-banner {
        min-height: 90px;
    }

    .mp-category-section-body {
        grid-template-columns: 1fr;
    }

    .mp-category-section-banner {
        border-inline-end: none;
        border-bottom: 1px solid var(--mp-border);
        max-height: 160px;
    }

    .mp-infinite-feed-body .artlist-5-cols {
        grid-template-columns: repeat(4, 1fr);
    }

    .mp-flash-deals .artlist-grid {
        grid-auto-columns: 180px;
    }

    .mp-flash-deals .artlist-grid .art {
        min-width: 180px;
    }

    .mp-trust-bar-inner {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .mp-trust-badge {
        border-inline-end: none;
        border-bottom: 1px solid var(--mp-border);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --mp-section-gap: 24px;
        --mp-gap: 10px;
    }

    .mp-section-title {
        font-size: 1.1rem;
    }

    .mp-section-header {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .mp-hero-side-banners {
        flex-direction: column;
    }

    .mp-trust-bar-inner {
        grid-template-columns: 1fr 1fr;
    }

    .mp-trust-badge {
        padding: 12px;
        border-inline-end: none;
    }

    .mp-trust-badge:nth-child(odd) {
        border-inline-end: 1px solid var(--mp-border);
    }

    .mp-trust-badge i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .mp-category-icon-circle {
        width: 68px;
        height: 68px;
    }

    .mp-category-icons-row {
        gap: 14px;
    }

    .mp-flash-deals {
        padding: 16px;
    }

    .mp-flash-deals .artlist-grid {
        grid-auto-columns: 160px;
        grid-template-rows: 1fr;
    }

    .mp-flash-deals .artlist-grid .art {
        min-width: 160px;
    }

    .mp-vendor-card {
        width: 160px;
    }

    .mp-brand-logo {
        width: 64px;
        height: 64px;
    }

    .mp-trending-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .mp-trending-tabs::-webkit-scrollbar {
        display: none;
    }

    .mp-infinite-feed-body .artlist-5-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-back-to-top {
        bottom: 20px;
        inset-inline-end: 20px;
        width: 40px;
        height: 40px;
    }

    .marketplace-home-page .page-body {
        padding: 0 10px;
    }

    .mp-carousel-arrow {
        opacity: 1;
        width: 32px;
        height: 32px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .mp-trust-bar-inner {
        grid-template-columns: 1fr;
    }

    .mp-trust-badge {
        border-inline-end: none !important;
    }

    .mp-flash-deals .artlist-grid {
        grid-auto-columns: 140px;
    }

    .mp-flash-deals .artlist-grid .art {
        min-width: 140px;
    }

    .mp-hero-side-banner {
        min-height: 80px;
    }

    .mp-countdown-unit {
        padding: 3px 6px;
        min-width: 30px;
        font-size: 0.8rem;
    }
}
