/**
 * EcommPaaS Marketplace Theme — Core Styles
 *
 * SM Market shop1_en inspired marketplace layout:
 * - Top bar with contacts + currency/language switcher
 * - Mega menu with multi-column dropdowns
 * - Category sidebar navigation
 * - Tab-based product listings by category
 * - Banner grid system
 * - Responsive multi-category grid
 *
 * Color Palette:
 * Primary:    #0068c9 (Blue — links, buttons, accents)
 * Secondary:  #f7941d (Orange — sale badges, CTAs)
 * Dark:       #333333 (Text)
 * Light:      #f5f5f5 (Backgrounds)
 * Border:     #e5e5e5 (Dividers)
 */

/* ===================================================================
   CSS Variables & Reset
   =================================================================== */

:root {
    --mp-primary: #3c3c3c;
    --mp-primary-dark: #2b2b2b;
    --mp-secondary: #f7941d;
    --mp-secondary-dark: #e07800;
    --mp-text: #333333;
    --mp-text-light: #666666;
    --mp-text-muted: #999999;
    --mp-bg-light: #f5f5f5;
    --mp-bg-white: #ffffff;
    --mp-border: #e5e5e5;
    --mp-border-light: #eeeeee;
    --mp-success: #4caf50;
    --mp-danger: #f44336;
    --mp-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --mp-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --mp-radius: 4px;
    --mp-transition: 0.25s ease;
    --mp-font: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --mp-container: 1200px;
}

body {
    font-family: var(--mp-font);
    color: var(--mp-text);
    background: var(--mp-bg-light);
    line-height: 1.6;
}

/* ===================================================================
   Top Bar — Contact info, currency, language
   =================================================================== */

.mp-topbar {
    background: #2b2b2b;
    color: #cccccc;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #3a3a3a;
}

.mp-topbar a {
    color: #cccccc;
    text-decoration: none;
    transition: color var(--mp-transition);
}

.mp-topbar a:hover {
    color: var(--mp-secondary);
}

.mp-topbar__container {
    max-width: var(--mp-container);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mp-topbar__contact {
    display: flex;
    gap: 20px;
}

.mp-topbar__switchers {
    display: flex;
    gap: 12px;
}

/* ===================================================================
   Header — Logo, search, cart, user
   =================================================================== */

.mp-header {
    background: var(--mp-bg-white);
    padding: 15px 0;
    box-shadow: var(--mp-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mp-header__container {
    max-width: var(--mp-container);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.mp-header__logo img {
    max-height: 48px;
}

.mp-header__search {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.mp-header__search input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 2px solid var(--mp-primary);
    border-radius: var(--mp-radius);
    font-size: 14px;
    outline: none;
}

.mp-header__search button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    background: var(--mp-primary);
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 0 var(--mp-radius) var(--mp-radius) 0;
}

.mp-header__actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.mp-header__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--mp-text-light);
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.mp-header__action-icon {
    font-size: 22px;
    margin-bottom: 2px;
}

.mp-header__cart-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--mp-secondary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===================================================================
   Mega Menu — Horizontal nav with multi-column dropdowns
   =================================================================== */

.mp-megamenu {
    background: var(--mp-primary);
    position: relative;
    z-index: 90;
}

.mp-megamenu__container {
    max-width: var(--mp-container);
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: stretch;
}

.mp-megamenu__categories-btn {
    background: var(--mp-primary-dark);
    color: white;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    min-width: 220px;
}

.mp-megamenu__categories-btn:hover {
    background: #003d7a;
}

.mp-megamenu__nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp-megamenu__item {
    position: relative;
}

.mp-megamenu__link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background var(--mp-transition);
}

.mp-megamenu__link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mp-megamenu__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--mp-bg-white);
    min-width: 720px;
    padding: 20px;
    box-shadow: var(--mp-shadow-hover);
    border-top: 3px solid var(--mp-secondary);
    display: none;
    z-index: 100;
}

.mp-megamenu__item:hover .mp-megamenu__dropdown {
    display: block;
}

.mp-megamenu__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mp-megamenu__column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--mp-text);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mp-secondary);
}

.mp-megamenu__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mp-megamenu__column ul li a {
    display: block;
    padding: 4px 0;
    color: var(--mp-text-light);
    text-decoration: none;
    font-size: 13px;
    transition: color var(--mp-transition);
}

.mp-megamenu__column ul li a:hover {
    color: var(--mp-primary);
}

/* ===================================================================
   Category Sidebar — Vertical navigation (shop1_en style)
   =================================================================== */

.mp-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.mp-sidebar__title {
    background: var(--mp-primary);
    color: white;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.mp-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border: 1px solid var(--mp-border);
}

.mp-sidebar__item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid var(--mp-border-light);
    transition: all var(--mp-transition);
}

.mp-sidebar__item a:hover {
    background: var(--mp-bg-light);
    color: var(--mp-primary);
    padding-left: 20px;
}

/* ===================================================================
   Hero Section — Sidebar + Slider + Side Banners (SM Market layout)
   =================================================================== */

.mp-hero {
    max-width: var(--mp-container);
    margin: 0 auto 30px;
    padding: 0 15px;
    display: grid;
    grid-template-columns: 260px 1fr 200px;
    grid-template-rows: auto;
    gap: 0;
    min-height: 400px;
}

.mp-hero__sidebar {
    background: var(--mp-bg-white);
    border: 1px solid var(--mp-border);
    border-right: none;
}

.mp-hero__sidebar-title {
    background: var(--mp-primary);
    color: white;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mp-hero__sidebar-icon {
    font-size: 18px;
}

.mp-hero__sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp-hero__sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--mp-text);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid var(--mp-border-light);
    transition: all var(--mp-transition);
}

.mp-hero__sidebar-nav li a:hover {
    background: var(--mp-bg-light);
    color: var(--mp-secondary);
    padding-left: 24px;
}

.mp-hero__sidebar-nav .cat-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.mp-hero__slider {
    position: relative;
    overflow: hidden;
}

.mp-hero__slide {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 40px 50px;
    color: white;
}

.mp-hero__slide-content {
    max-width: 400px;
}

.mp-hero__label {
    display: inline-block;
    background: var(--mp-secondary);
    color: white;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    margin-bottom: 12px;
}

.mp-hero__slide h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 8px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mp-hero__slide p {
    font-size: 18px;
    margin: 0 0 20px;
    opacity: 0.9;
}

.mp-hero__btn {
    display: inline-block;
    background: var(--mp-secondary);
    color: white;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border-radius: var(--mp-radius);
    transition: background var(--mp-transition);
    text-transform: uppercase;
}

.mp-hero__btn:hover {
    background: var(--mp-secondary-dark);
    color: white;
}

.mp-hero__banners {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mp-hero__banner {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: opacity var(--mp-transition);
}

.mp-hero__banner:hover {
    opacity: 0.9;
}

.mp-hero__banner-text {
    font-size: 13px;
    line-height: 1.5;
}

.mp-hero__banner-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

/* ===================================================================
   Homepage Layout — Banner + Tab Listings
   =================================================================== */

.mp-container {
    max-width: var(--mp-container);
    margin: 0 auto;
    padding: 0 15px;
}

.mp-home-layout {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.mp-home-content {
    flex: 1;
}

/* Banner Slider */
.mp-banner-slider {
    border-radius: var(--mp-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.mp-banner-slider img {
    width: 100%;
    height: auto;
    display: block;
}

/* Banner Grid — SM Market style service banners */
.mp-banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.mp-banner-card {
    background: white;
    border-radius: var(--mp-radius);
    overflow: hidden;
    transition: box-shadow var(--mp-transition);
}

.mp-banner-card:hover {
    box-shadow: var(--mp-shadow-hover);
}

.mp-banner-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================================================
   Tab Listing — Products by category (SM Tab Listing style)
   =================================================================== */

.mp-tab-listing {
    background: white;
    border-radius: var(--mp-radius);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: var(--mp-shadow);
}

.mp-tab-listing__header {
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--mp-primary);
    padding: 0;
}

.mp-tab-listing__title {
    background: var(--mp-primary);
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.mp-tab-listing__tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.mp-tab-listing__tab {
    padding: 12px 18px;
    font-size: 13px;
    color: var(--mp-text-light);
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all var(--mp-transition);
}

.mp-tab-listing__tab:hover,
.mp-tab-listing__tab.active {
    color: var(--mp-primary);
    border-bottom-color: var(--mp-primary);
}

.mp-tab-listing__content {
    padding: 20px;
}

/* ===================================================================
   Product Grid — Card-based product display
   =================================================================== */

.mp-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.mp-product-card {
    background: white;
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    padding: 12px;
    text-align: center;
    transition: all var(--mp-transition);
    position: relative;
    overflow: hidden;
}

.mp-product-card:hover {
    border-color: var(--mp-primary);
    box-shadow: var(--mp-shadow-hover);
}

.mp-product-card__image {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

.mp-product-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--mp-transition);
}

.mp-product-card:hover .mp-product-card__image img {
    transform: scale(1.05);
}

.mp-product-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--mp-secondary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--mp-radius);
    z-index: 1;
}

.mp-product-card__badge--new {
    background: var(--mp-success);
}

/* Product hover action buttons */
.mp-product-card__actions {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.95);
    transition: bottom var(--mp-transition);
}

.mp-product-card:hover .mp-product-card__actions {
    bottom: 0;
}

.mp-product-card__action-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    background: white;
    color: var(--mp-text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--mp-transition);
}

.mp-product-card__action-btn:hover {
    background: var(--mp-primary);
    color: white;
    border-color: var(--mp-primary);
}

.mp-product-card__name {
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 6px;
    height: 36px;
    overflow: hidden;
}

.mp-product-card__name a {
    color: var(--mp-text);
    text-decoration: none;
}

.mp-product-card__name a:hover {
    color: var(--mp-primary);
}

.mp-product-card__rating {
    color: #ffc107;
    font-size: 12px;
    margin-bottom: 6px;
}

.mp-product-card__price {
    font-size: 16px;
    font-weight: 700;
    color: var(--mp-danger);
}

.mp-product-card__price-old {
    font-size: 12px;
    color: var(--mp-text-muted);
    text-decoration: line-through;
    margin-left: 6px;
}

/* ===================================================================
   Category Section — Full-width category showcase
   =================================================================== */

.mp-category-section {
    background: white;
    border-radius: var(--mp-radius);
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: var(--mp-shadow);
}

.mp-category-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mp-primary);
}

.mp-category-section__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mp-text);
    text-transform: uppercase;
}

.mp-category-section__view-all {
    color: var(--mp-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

/* Category icon grid */
.mp-category-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.mp-category-icon {
    text-align: center;
    padding: 12px 8px;
    border: 1px solid var(--mp-border-light);
    border-radius: var(--mp-radius);
    transition: all var(--mp-transition);
}

.mp-category-icon:hover {
    border-color: var(--mp-primary);
    box-shadow: var(--mp-shadow);
}

.mp-category-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
}

.mp-category-icon__label {
    font-size: 11px;
    color: var(--mp-text-light);
}

/* ===================================================================
   Top Collections — Icon-based category row
   =================================================================== */

.mp-collections {
    max-width: var(--mp-container);
    margin: 30px auto;
    padding: 25px 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--mp-bg-white);
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
}

.mp-collections__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--mp-text);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all var(--mp-transition);
    border-radius: var(--mp-radius);
}

.mp-collections__item a:hover {
    background: var(--mp-bg-light);
    color: var(--mp-secondary);
}

.mp-collections__icon {
    font-size: 36px;
    display: block;
    line-height: 1;
}

/* ===================================================================
   Hot Categories Grid — SM Market bottom section
   =================================================================== */

.mp-hot-categories {
    max-width: var(--mp-container);
    margin: 30px auto;
    padding: 0 15px;
}

.mp-section-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--mp-border);
    text-align: center;
}

.mp-hot-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mp-hot-cat {
    display: flex;
    gap: 15px;
    background: var(--mp-bg-white);
    padding: 20px;
    border: 1px solid var(--mp-border);
    border-radius: var(--mp-radius);
    transition: box-shadow var(--mp-transition);
}

.mp-hot-cat:hover {
    box-shadow: var(--mp-shadow-hover);
}

.mp-hot-cat__img {
    width: 100px;
    height: 100px;
    border-radius: var(--mp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mp-hot-cat__info h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--mp-text);
}

.mp-hot-cat__info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mp-hot-cat__info ul li {
    padding: 2px 0;
}

.mp-hot-cat__info ul li a {
    color: var(--mp-text-light);
    text-decoration: none;
    font-size: 12px;
    transition: color var(--mp-transition);
}

.mp-hot-cat__info ul li a:hover {
    color: var(--mp-secondary);
}

.mp-hot-cat__info ul li::before {
    content: "▸ ";
    color: var(--mp-text-muted);
    font-size: 10px;
}

/* ===================================================================
   Footer — Multi-column marketplace footer
   =================================================================== */

.mp-footer {
    background: #2b2b2b;
    color: #cccccc;
    padding: 40px 0 0;
    margin-top: 40px;
}

.mp-footer__container {
    max-width: var(--mp-container);
    margin: 0 auto;
    padding: 0 15px;
}

.mp-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #3a3a3a;
}

.mp-footer__column h4 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px;
    text-transform: uppercase;
}

.mp-footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mp-footer__column ul li {
    margin-bottom: 8px;
}

.mp-footer__column ul li a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 13px;
    transition: color var(--mp-transition);
}

.mp-footer__column ul li a:hover {
    color: var(--mp-secondary);
}

.mp-footer__bottom {
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: #777777;
}

/* ===================================================================
   Utilities
   =================================================================== */

.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--mp-radius);
    cursor: pointer;
    transition: all var(--mp-transition);
    text-decoration: none;
}

.mp-btn--primary {
    background: var(--mp-primary);
    color: white;
}

.mp-btn--primary:hover {
    background: var(--mp-primary-dark);
}

.mp-btn--secondary {
    background: var(--mp-secondary);
    color: white;
}

.mp-btn--secondary:hover {
    background: var(--mp-secondary-dark);
}

.mp-btn--outline {
    background: transparent;
    border: 1px solid var(--mp-border);
    color: var(--mp-text);
}

.mp-btn--outline:hover {
    border-color: var(--mp-primary);
    color: var(--mp-primary);
}

/* ===================================================================
   Service Features Bar (Free Shipping, 24/7 Support, etc.)
   =================================================================== */

.mp-services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border-radius: var(--mp-radius);
    margin-bottom: 30px;
    box-shadow: var(--mp-shadow);
}

.mp-service {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-right: 1px solid var(--mp-border-light);
}

.mp-service:last-child {
    border-right: none;
}

.mp-service__icon {
    font-size: 28px;
    color: var(--mp-primary);
}

.mp-service__text h5 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 2px;
    color: var(--mp-text);
}

.mp-service__text p {
    font-size: 12px;
    margin: 0;
    color: var(--mp-text-muted);
}

/* ===================================================================
   Responsive — Mobile & Tablet
   =================================================================== */

@media (max-width: 991px) {
    .mp-hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .mp-hero__sidebar {
        display: none;
    }

    .mp-hero__banners {
        flex-direction: row;
    }

    .mp-hero__slide h2 {
        font-size: 28px;
    }

    .mp-home-layout {
        flex-direction: column;
    }

    .mp-sidebar {
        width: 100%;
    }

    .mp-megamenu__categories-btn {
        display: none;
    }

    .mp-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-service {
        border-bottom: 1px solid var(--mp-border-light);
    }
}

@media (max-width: 767px) {
    .mp-topbar {
        display: none;
    }

    .mp-hero {
        grid-template-columns: 1fr;
    }

    .mp-hero__sidebar,
    .mp-hero__banners {
        display: none;
    }

    .mp-hero__slide h2 {
        font-size: 22px;
    }

    .mp-collections {
        gap: 5px;
    }

    .mp-collections__item a {
        padding: 10px 12px;
        font-size: 10px;
    }

    .mp-collections__icon {
        font-size: 24px;
    }

    .mp-hot-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mp-hot-cat {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mp-header__container {
        flex-wrap: wrap;
    }

    .mp-header__search {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 10px;
    }

    .mp-megamenu__nav {
        flex-direction: column;
    }

    .mp-megamenu__dropdown {
        position: static;
        min-width: 100%;
    }

    .mp-megamenu__columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .mp-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .mp-banner-grid {
        grid-template-columns: 1fr;
    }

    .mp-footer__grid {
        grid-template-columns: 1fr;
    }

    .mp-services {
        grid-template-columns: 1fr;
    }

    .mp-tab-listing__header {
        flex-direction: column;
        align-items: stretch;
    }

    .mp-tab-listing__tabs {
        overflow-x: auto;
    }

    .mp-category-icons {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .mp-product-grid {
        grid-template-columns: 1fr;
    }

    .mp-category-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}
