/* =========================================================
   MauMarket — Clean Professional UI System v2
   Replace your whole styles.css with this file.
   Removed duplicate/old header systems and rebuilt the UI around:
   - shared nav.js header
   - marketplace homepage
   - product cards
   - cart / checkout / wishlist / orders / dashboard
   - seller / admin reusable cards
   ========================================================= */

/* =========================
   1. DESIGN TOKENS
   ========================= */

:root {
  --primary: #4f35f5;
  --primary-dark: #24166f;
  --primary-soft: #ede9ff;
  --primary-light: #7557ff;

  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-soft: #fff7ed;

  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --success: #16a34a;
  --success-soft: #dcfce7;
  --blue: #2563eb;
  --blue-soft: #dbeafe;

  --dark: #070b28;
  --dark-2: #101746;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #667085;

  --bg: #f7f8ff;
  --bg-2: #eef2ff;
  --card: #ffffff;
  --border: #e6e8f0;

  --shadow-xs: 0 6px 16px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 22px 60px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 35px 100px rgba(15, 23, 42, 0.18);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --container: min(1500px, 94%);
  --transition: 0.22s ease;
}

/* =========================
   2. GLOBAL RESET
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(79, 53, 245, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 42%, #ffffff 100%);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 0;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button,
.btn {
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(79, 53, 245, 0.24);
  transition: var(--transition);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(79, 53, 245, 0.30);
}

button:disabled,
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.secondary-btn,
.btn-outline,
.hero-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--primary);
  border: 1px solid #d9d4ff;
  font-weight: 900;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.secondary-btn:hover,
.btn-outline:hover,
.hero-secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-light);
}

.danger-btn {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.approve-btn,
.ready-btn {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.edit-btn {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
}

.toggle-btn {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #111827;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  margin: 8px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(117, 87, 255, 0.15);
}

textarea {
  min-height: 115px;
  resize: vertical;
}

label {
  display: block;
  margin-top: 12px;
  font-weight: 900;
  color: var(--text-soft);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 18px 0;
}

.container,
.marketplace-home,
.market-pro-page,
.dashboard-page,
.cart-page,
.checkout-page,
.orders-page,
.wishlist-page,
.shop-page,
.product-page {
  width: var(--container);
  margin: 24px auto 70px;
}

.muted {
  color: var(--muted);
}

/* =========================
   3. SHARED NAV.JS HEADER
   ========================= */

.mm-nav {
  position: sticky;
  top: 0;
  z-index: 5000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 232, 240, 0.8);
}

.mm-nav-inner {
  width: min(1600px, 96%);
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 56px 250px minmax(360px, 1fr) auto 58px;
  gap: 14px;
  align-items: center;
  background:
    radial-gradient(circle at 0 0, rgba(117, 87, 255, 0.28), transparent 32%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 12px 18px;
  box-shadow: 0 22px 60px rgba(7, 11, 40, 0.28);
}

.mm-logo{
    width:240px !important;
    min-width:240px !important;
    height:72px !important;

    display:flex;
    align-items:center;
    justify-content:flex-start;

    overflow:visible;
}

.mm-logo img{

    width:230px !important;
    height:100px !important;

    max-width:none;
    max-height:none;

    object-fit:contain;
    object-position:left center;

    display:block;

}

.mm-icon-btn,
.mm-cart-btn {
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.mm-icon-btn span {
  width: 22px;
  height: 3px;
  display: block;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--text);
}

.mm-search {
  height: 58px;
  display: grid;
  grid-template-columns: 180px minmax(220px, 1fr) 68px;
  background: #ffffff;
  border: 1px solid rgba(230, 232, 240, 0.95);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.mm-search select,
.mm-search input,
.mm-search button {
  height: 58px;
  min-height: 58px;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.mm-search select {
  border-right: 1px solid var(--border);
  font-weight: 900;
  color: var(--text);
}

.mm-search input {
  color: var(--text);
}

.mm-search button {
  font-size: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
}

.mm-search button::before {
  content: "🔍";
  font-size: 24px;
}

.mm-desktop-links {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.mm-desktop-links a,
.mm-link-button {
  min-height: auto;
  padding: 8px 4px;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  font-size: 13px;
  font-weight: 950;
}

.mm-desktop-links a:hover,
.mm-link-button:hover,
.mm-desktop-links a.active {
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.mm-cart-btn {
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  border-color: transparent;
  font-size: 25px;
}

.mm-cart-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 950;
  border: 2px solid var(--primary);
}

.mm-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5001;
  background: rgba(7, 11, 40, 0.56);
  backdrop-filter: blur(4px);
}

.mm-menu-overlay.show {
  display: block;
}

.mm-side-menu {
  position: fixed;
  top: 0;
  left: -380px;
  z-index: 5002;
  width: 360px;
  max-width: 90vw;
  height: 100vh;
  padding: 22px;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: 35px 0 90px rgba(15, 23, 42, 0.28);
  transition: left 0.24s ease;
}

.mm-side-menu.show {
  left: 0;
}

.mm-side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mm-side-head img {
  height: 78px;
  width: auto;
}

.mm-side-head button {
  width: 46px;
  height: 46px;
  min-height: 46px;
  border-radius: 50%;
  padding: 0;
}

.mm-user-box {
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f5f3ff, #ffffff);
  border: 1px solid #dedaff;
}

.mm-user-box strong,
.mm-user-box span {
  display: block;
}

.mm-user-box strong {
  color: var(--text);
  margin-bottom: 3px;
}

.mm-user-box span {
  color: var(--muted);
  font-weight: 750;
}

.mm-mobile-links {
  display: grid;
  gap: 11px;
}

.mm-mobile-link {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  color: var(--text);
  border: 1px solid var(--border);
  font-weight: 950;
  box-shadow: none;
  text-align: left;
}

.mm-mobile-link.active {
  background: var(--primary-soft);
  color: var(--primary);
  border-color: #d9d4ff;
}

.mm-bottom-nav {
  display: none;
}

/* Hide old headers after nav injection */
.mm-nav ~ .amazon-topbar,
.mm-nav ~ .amazon-subnav,
.mm-nav ~ .navbar,
.mm-nav ~ .market-mobile-header,
.mm-nav ~ .market-pro-header,
.mm-nav ~ .mobile-market-header,
.mm-nav ~ .mobile-search-area,
.mm-nav ~ .mobile-side-menu,
.mm-nav ~ .mobile-menu-overlay {
  display: none !important;
}

/* =========================
   4. MARKETPLACE HERO V2
   ========================= */

.marketplace-home {
  margin-top: 18px;
}

.market-hero,
.market-pro-hero {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 34px;
  padding: 58px 70px;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 11, 40, 0.98), rgba(7, 11, 40, 0.72), rgba(7, 11, 40, 0.28)),
    radial-gradient(circle at 82% 36%, rgba(245, 158, 11, 0.26), transparent 28%),
    radial-gradient(circle at 70% 70%, rgba(79, 53, 245, 0.35), transparent 38%),
    linear-gradient(135deg, #05091f, #20206d);
  box-shadow: var(--shadow-lg);
}

.market-hero::after,
.market-pro-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.market-hero-content,
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge,
.hero-mini-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  font-weight: 950;
  backdrop-filter: blur(14px);
}

.market-hero h1,
.market-pro-hero h1 {
  max-width: 820px;
  margin: 18px 0 18px;
  font-size: clamp(46px, 6.7vw, 88px);
  line-height: 0.98;
  letter-spacing: -3px;
  color: #ffffff;
}

.market-hero p,
.market-pro-hero p {
  max-width: 680px;
  margin: 0;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.55;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-primary,
.hero-shop-btn {
  min-width: 150px;
}

.hero-secondary,
.hero-secondary-btn {
  min-width: 170px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 14px;
  max-width: 900px;
  margin-top: 32px;
}

.hero-features div {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.hero-features span {
  color: var(--accent);
}

.market-hero-image,
.hero-illustration {
  position: relative;
  z-index: 2;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.hero-image-placeholder {
  width: 310px;
  height: 430px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.05)),
    linear-gradient(135deg, #101746, #090d2d);
  border: 10px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 40px 90px rgba(0,0,0,0.26);
  transform: rotate(9deg);
  display: grid;
  place-items: center;
}

.hero-bag {
  width: 170px;
  height: 150px;
  border-radius: 25px;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(135deg, #20168f, var(--primary));
  color: #ffffff;
  font-size: 80px;
  font-weight: 950;
}

.hero-bag::before {
  content: "";
  position: absolute;
  width: 74px;
  height: 58px;
  border: 8px solid #ffffff;
  border-bottom: 0;
  border-radius: 40px 40px 0 0;
  top: -48px;
}

/* =========================
   5. SECTIONS
   ========================= */

.homepage-section,
.featured-shops-section,
.related-section,
.market-premium-ad,
.market-heading,
.cart-section-head,
.orders-toolbar,
.dashboard-section-title,
.form-card,
.card,
.auth-card,
.order-card,
.cart-summary-card,
.checkout-summary-card,
.wishlist-info-card,
.orders-info-card,
.pro-side-card,
.details-box,
.shop-header {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(230, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.homepage-section,
.featured-shops-section,
.related-section {
  padding: 26px 30px;
  margin: 24px 0;
}

.section-row-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.section-row-title h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.5px;
}

.section-row-title p {
  margin: 5px 0 0;
  color: var(--muted);
}

.section-row-title a {
  color: var(--primary);
  font-weight: 950;
}

/* =========================
   6. CATEGORY CARDS
   ========================= */

.category-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.category-icon-card {
  min-height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 14px 28px rgba(15,23,42,.06);
  transition: var(--transition);
}

.category-icon-card:hover,
.category-icon-card.active {
  transform: translateY(-5px);
  border-color: #d7d0ff;
  box-shadow: 0 25px 55px rgba(15,23,42,.12);
  background: linear-gradient(180deg, #ffffff, #f8f7ff);
}

.category-icon-circle {
  width: 66px;
  height: 66px;
  margin: 0 auto 9px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f7f5ff;
}

.category-svg-icon {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.category-icon-card span:last-child {
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

/* =========================
   7. TRUST CARDS
   ========================= */

.buyer-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.buyer-trust-strip > div,
.trust-card {
  min-height: 128px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.trust-icon,
.why-icon,
.shortcut-icon,
.hero-card-icon,
.dash-icon,
.dash-stat-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 24px;
}

.buyer-trust-strip strong,
.trust-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-weight: 950;
}

.buyer-trust-strip span,
.trust-card span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
}

/* =========================
   8. MARKETPLACE LAYOUT
   ========================= */

.market-layout,
.market-pro-products-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin: 24px 0 60px;
}

.market-sidebar,
.market-pro-sidebar {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 18px;
}

.filter-card,
.sidebar-info-box {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.filter-card h3,
.market-pro-sidebar h3,
.sidebar-info-box h4 {
  margin: 0 0 14px;
}

.sidebar-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.sidebar-benefit:last-child {
  border-bottom: 0;
}

.sidebar-benefit span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-soft);
}

.sidebar-benefit small,
.sidebar-info-box li,
.sidebar-info-box p {
  color: var(--muted);
  font-weight: 700;
}

.sidebar-info-box ul {
  padding-left: 18px;
  margin: 8px 0 0;
}

.market-heading {
  padding: 22px 24px;
  margin-bottom: 20px;
}

.market-heading h2 {
  margin: 0;
}

.market-heading p {
  margin: 5px 0 0;
  color: var(--muted);
}

/* =========================
   9. PRODUCT CARDS
   ========================= */

.market-product-grid,
.pro-product-grid,
.cards,
.dashboard-grid,
.why-grid,
.dashboard-shortcuts,
.dashboard-stats {
  display: grid;
  gap: 20px;
}

.market-product-grid,
.pro-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.market-product-card,
.pro-product-card,
.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.market-product-card:hover,
.pro-product-card:hover,
.product-card:hover,
.dashboard-card:hover,
.dashboard-shortcut-card:hover,
.featured-shop-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.market-product-img,
.pro-product-img {
  position: relative;
  height: 250px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffffff, #f7f8ff);
  overflow: hidden;
}

.market-product-img img,
.pro-product-img img,
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.market-product-body,
.pro-product-body {
  padding: 16px;
}

.product-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: capitalize;
}

.market-product-body h3,
.pro-product-body h3,
.product-card h3 {
  min-height: 42px;
  margin: 10px 0 8px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--text);
}

.seller-line,
.product-location,
.rating-line-small,
.pro-product-body p,
.market-product-body p {
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.35;
}

.seller-line,
.product-location {
  color: var(--muted);
}

.seller-line span {
  color: var(--primary);
  font-weight: 950;
}

.rating-line-small,
.rating-line {
  color: var(--accent-dark);
  font-weight: 950;
}

.price,
.pro-price,
.product-price {
  margin: 10px 0;
  color: #b91c1c;
  font-size: 21px;
  font-weight: 950;
}

.product-main-btn,
.pro-product-card .btn,
.market-product-card .btn {
  width: 100%;
  margin-top: 8px;
  text-align: center;
}

.product-heart {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  color: var(--text);
  background: #f8fafc;
  border: 1px solid var(--border);
  box-shadow: none;
}

.product-heart:hover {
  color: #e11d48;
  background: #fff1f2;
}

.product-discount-badge,
.product-stock-badge {
  position: absolute;
  left: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
}

.product-discount-badge {
  top: 12px;
  background: linear-gradient(135deg, #ef4444, #be123c);
}

.product-stock-badge {
  bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.product-stock-badge.danger {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.no-img {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
  font-weight: 900;
  background: #f1f5f9;
}

/* =========================
   10. FEATURED SHOPS / WHY
   ========================= */

.featured-shops-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 3px 3px 8px;
}

.featured-shop-card {
  min-width: 165px;
  padding: 16px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-shop-card img,
.shop-logo-fallback {
  width: 78px;
  height: 78px;
  object-fit: cover;
  margin: 0 auto 10px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 950;
}

.featured-shop-card strong,
.featured-shop-card span,
.featured-shop-card small {
  display: block;
}

.featured-shop-card strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.featured-shop-card span {
  margin-top: 5px;
  color: var(--success);
  font-weight: 950;
  font-size: 12px;
}

.featured-shop-card small {
  margin-top: 3px;
  color: var(--muted);
  font-weight: 700;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.why-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card h3 {
  margin: 0 0 8px;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================
   11. ADS
   ========================= */

.market-premium-ad,
.top-ad-banner {
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}

.top-ad-inner,
.premium-ad-inner {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark);
}

.top-ad-inner img,
.premium-ad-inner img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.top-ad-inner::after,
.premium-ad-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,40,0.88), rgba(7,11,40,0.18));
}

.top-ad-content,
.premium-ad-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  max-width: 600px;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  color: #ffffff;
}

.top-ad-content span {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 950;
  background: rgba(255,255,255,0.16);
}

.top-ad-content h2 {
  margin: 12px 0 6px;
  font-size: clamp(32px, 5vw, 56px);
}

.top-ad-content p {
  color: #e5e7eb;
}

/* =========================
   12. PRODUCT DETAILS
   ========================= */

.product-page-hero,
.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 42px;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    radial-gradient(circle at right, rgba(245, 158, 11, 0.25), transparent 32%),
    linear-gradient(135deg, var(--dark), var(--primary-dark));
  box-shadow: var(--shadow-lg);
}

.product-page-hero h1,
.dashboard-hero h1 {
  margin: 14px 0 8px;
  color: #ffffff;
  font-size: clamp(36px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -2px;
}

.product-page-hero p,
.dashboard-hero p {
  margin: 0;
  max-width: 760px;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.55;
}

.pro-details-box {
  margin: 28px 0 32px;
}

.pro-product-details,
.clean-product-details {
  display: grid;
  grid-template-columns: 1fr 1.08fr 320px;
  gap: 26px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.pro-gallery,
.clean-gallery {
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f7f8ff);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.main-product-img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  padding: 20px;
  background: transparent;
  border-radius: 20px;
}

.pro-product-info h1,
.clean-product-info h1 {
  margin: 12px 0 8px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.product-description {
  color: var(--text-soft);
  line-height: 1.6;
}

.product-trust-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 14px 0;
}

.product-trust-mini span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.stock-line {
  color: var(--success);
}

.cart-actions,
.clean-cart-actions,
.seller-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.cart-actions input,
.clean-cart-actions input {
  max-width: 120px;
}

.buy-box,
.clean-buy-box {
  height: fit-content;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.mini-shop {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 14px 0;
}

.mini-shop img,
.mini-shop .shop-logo-fallback {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 16px;
  object-fit: cover;
}

.seller-safe-info {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: var(--text-soft);
  font-weight: 750;
}

.product-reviews-section {
  padding: 24px;
}

.review-card {
  margin-bottom: 14px;
}

/* =========================
   13. SHOP PAGE
   ========================= */

.breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 850;
  font-size: 14px;
}

.pro-shop-header {
  overflow: hidden;
  margin-bottom: 22px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.pro-shop-banner {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(circle at right, rgba(245, 158, 11, 0.25), transparent 35%),
    linear-gradient(135deg, var(--dark), var(--primary));
  background-size: cover;
  background-position: center;
}

.pro-shop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,11,40,0.88), rgba(7,11,40,0.32));
}

.pro-shop-info {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 28px;
  color: #ffffff;
}

.pro-shop-logo {
  width: 105px;
  height: 105px;
  border-radius: 24px;
  border: 4px solid #ffffff;
  object-fit: cover;
  background: #ffffff;
}

.empty-logo {
  display: grid;
  place-items: center;
  color: var(--primary);
  font-weight: 950;
}

.shop-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-title-row h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 48px);
}

.online-badge {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--success);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  color: #e5e7eb;
  font-weight: 850;
}

.pro-shop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 28px;
}

.pro-shop-stats div {
  border-right: 1px solid var(--border);
}

.pro-shop-stats strong {
  display: block;
  font-size: 24px;
}

.pro-shop-stats span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.shop-tabs {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  min-height: auto;
  padding: 14px 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-soft);
  box-shadow: none;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.shop-content-layout,
.shop-wow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: 120px;
}

.shop-section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.shop-filter-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  min-width: min(520px, 100%);
}

.policy-list {
  padding-left: 20px;
}

/* =========================
   14. DASHBOARD
   ========================= */

.dashboard-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.dashboard-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.dashboard-hero-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.dashboard-section {
  margin: 28px 0;
}

.dashboard-section-title {
  padding: 22px 24px;
  margin: 28px 0 18px;
}

.dashboard-section-title h1,
.dashboard-section-title h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.7px;
}

.dashboard-section-title p {
  margin: 0;
  color: var(--muted);
}

.dashboard-stats {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin: 20px 0;
}

.dash-stat,
.dashboard-card,
.dashboard-shortcut-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dash-stat strong {
  display: block;
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 5px;
}

.dash-stat span,
.dashboard-card p,
.dashboard-shortcut-card p {
  color: var(--muted);
  line-height: 1.5;
}

.dashboard-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.dashboard-card h3,
.dashboard-shortcut-card h3 {
  margin: 0 0 8px;
}

.dashboard-card span {
  color: var(--primary);
  font-weight: 950;
}

.dashboard-shortcuts {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.dashboard-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin: 32px 0;
  padding: 32px;
  border-radius: var(--radius-xl);
  color: #ffffff;
  background:
    radial-gradient(circle at right, rgba(245,158,11,0.28), transparent 34%),
    linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-md);
}

.dashboard-banner h2 {
  margin: 0 0 6px;
  color: #ffffff;
}

.dashboard-banner p {
  margin: 0;
  color: #e5e7eb;
}

/* =========================
   15. CART / CHECKOUT / WISHLIST / ORDERS
   ========================= */

.cart-layout,
.checkout-layout,
.orders-layout,
.wishlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 365px;
  gap: 24px;
  align-items: start;
}

.cart-section-head,
.orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.cart-section-head h2 {
  margin: 0;
}

.cart-section-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cart-summary-card,
.checkout-summary-card,
.orders-sidebar,
.wishlist-sidebar {
  position: sticky;
  top: 120px;
}

.cart-summary-card,
.checkout-summary-card {
  padding: 22px;
}

.cart-summary-card h2,
.checkout-summary-card h2 {
  margin-top: 0;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0;
}

.summary-row span {
  color: var(--text-soft);
}

.summary-total {
  align-items: center;
  font-size: 20px;
}

.summary-total strong {
  color: #b91c1c;
  font-size: 26px;
}

.checkout-btn,
.continue-shopping-btn {
  width: 100%;
  margin-top: 12px;
}

.cart-guarantee {
  margin-top: 20px;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.cart-guarantee h3 {
  margin: 0 0 8px;
}

.cart-guarantee ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 750;
}

.cart-seller-section {
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cart-seller-head,
.cart-seller-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  background: #f8fafc;
}

.cart-seller-head h2 {
  margin: 0;
}

.cart-seller-head p,
.cart-seller-head span {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.cart-seller-items {
  display: grid;
  gap: 0;
}

.cart-item,
.pro-cart-item {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}

.cart-item-img img,
.cart-item img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 18px;
  background: #f8fafc;
}

.cart-info h3 {
  margin: 8px 0 6px;
}

.cart-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.cart-qty-row input,
.qty-update {
  max-width: 95px;
}

.cart-line-total strong {
  color: #b91c1c;
}

.empty-cart-card,
.empty-market-card {
  padding: 36px;
  text-align: center;
}

.checkout-main {
  display: grid;
  gap: 18px;
}

.form-card {
  padding: 24px;
}

.form-group {
  margin-bottom: 10px;
}

.checkout-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f8fafc;
}

.juice-box {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-soft), #ffffff);
  border: 1px solid #d9d4ff;
}

.juice-box h2 {
  margin-top: 0;
}

.orders-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
}

.orders-list {
  display: grid;
  gap: 16px;
}

.orders-info-card,
.wishlist-info-card {
  padding: 22px;
  margin-bottom: 16px;
}

.orders-info-card h2,
.orders-info-card h3,
.wishlist-info-card h2,
.wishlist-info-card h3 {
  margin-top: 0;
}

.orders-info-card ul,
.wishlist-info-card ul {
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--muted);
  font-weight: 750;
}

.wishlist-main {
  min-width: 0;
}

/* =========================
   16. ORDERS / TRACKING
   ========================= */

.order-card {
  padding: 22px;
}

.order-card h3 {
  margin-top: 0;
}

.order-card ul {
  padding-left: 20px;
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tracking-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.track-step {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
}

.track-step.done {
  background: var(--success-soft);
  color: #166534;
}

.track-step.cancelled {
  background: var(--danger-soft);
  color: #991b1b;
}

/* =========================
   17. SELLER / ADMIN REUSABLE
   ========================= */

.card,
.form-card,
.auth-card,
.details-box,
.order-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin: 24px 0;
}

.card {
  padding: 22px;
}

.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at top left, rgba(117,87,255,0.35), transparent 34%),
    linear-gradient(135deg, var(--dark), var(--primary-dark));
}

.auth-card {
  width: min(460px, 94%);
  padding: 26px;
}

.auth-card h1 {
  margin-top: 0;
  font-size: 34px;
}

.commission-info-box,
.sidebar-info-box {
  margin: 16px 0;
}

.commission-info-box {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid #d9d4ff;
  background: linear-gradient(135deg, #f5f3ff, #ffffff);
}

.commission-example {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.commission-example div {
  padding: 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.commission-example strong,
.commission-example span {
  display: block;
}

.commission-example span {
  color: var(--primary);
  font-size: 20px;
  font-weight: 950;
}

/* =========================
   18. FOOTER / HOME COMPATIBILITY
   ========================= */

.footer {
  margin-top: 55px;
  padding: 38px 7%;
  text-align: center;
  color: #ffffff;
  background: var(--dark);
}

.footer a {
  margin: 0 10px;
  color: #e0e7ff;
  font-weight: 900;
}

.home-hero,
.hero,
.market-hero-old,
.amazon-hero {
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(117,87,255,0.35), transparent 35%),
    linear-gradient(135deg, var(--dark), var(--primary));
}

/* =========================
   19. RESPONSIVE DESIGN
   ========================= */

@media (max-width: 1180px) {
  .mm-nav-inner {
    grid-template-columns: 54px 190px minmax(280px, 1fr) auto 56px;
  }

  .mm-desktop-links {
    gap: 12px;
  }

  .market-hero,
  .market-pro-hero {
    grid-template-columns: 1fr;
  }

  .market-hero-image,
  .hero-illustration {
    display: none;
  }

  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-product-details,
  .clean-product-details {
    grid-template-columns: 1fr;
  }

  .buy-box,
  .clean-buy-box {
    order: 3;
  }

  .shop-content-layout,
  .shop-wow-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
  }
}

@media (max-width: 1050px) {
  body {
    padding-bottom: 72px;
  }

  .mm-nav-inner {
    grid-template-columns: 54px 1fr 54px;
    min-height: 82px;
    width: 100%;
    border-radius: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  }

  .mm-logo {
    justify-content: center;
  }

  .mm-logo img {
    height: 78px;
  }

  .mm-search,
  .mm-desktop-links {
    display: none;
  }

  .mm-cart-btn {
    grid-column: 3;
  }

  .mm-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 4800;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    padding: 8px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(15,23,42,0.18);
    backdrop-filter: blur(16px);
  }

  .mm-bottom-link {
    display: grid;
    place-items: center;
    gap: 2px;
    color: var(--muted);
    font-weight: 900;
    font-size: 11px;
  }

  .mm-bottom-link span {
    font-size: 20px;
  }

  .mm-bottom-link.active {
    color: var(--primary);
  }

  .market-layout,
  .market-pro-products-layout,
  .cart-layout,
  .checkout-layout,
  .orders-layout,
  .wishlist-layout,
  .dashboard-hero,
  .product-page-hero {
    grid-template-columns: 1fr;
  }

  .market-sidebar,
  .market-pro-sidebar,
  .cart-summary-card,
  .checkout-summary-card,
  .orders-sidebar,
  .wishlist-sidebar {
    position: static;
  }

  .buyer-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .pro-shop-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-shop-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: 94%;
  }

  .mm-nav {
    padding: 0;
  }

  .mm-nav-inner {
    padding: 12px 16px;
  }

  .mm-logo img {
    height: 72px;
  }

  .marketplace-home,
  .market-pro-page,
  .container,
  .dashboard-page,
  .cart-page,
  .orders-page,
  .wishlist-page,
  .checkout-page,
  .shop-page,
  .product-page {
    margin-top: 18px;
    margin-bottom: 60px;
  }

  .market-hero,
  .market-pro-hero {
    min-height: auto;
    padding: 34px 24px;
    border-radius: 26px;
  }

  .market-hero h1,
  .market-pro-hero h1,
  .dashboard-hero h1,
  .product-page-hero h1 {
    font-size: 40px;
    letter-spacing: -1.3px;
  }

  .market-hero p,
  .market-pro-hero p,
  .dashboard-hero p,
  .product-page-hero p {
    font-size: 16px;
  }

  .hero-buttons,
  .dashboard-hero-buttons {
    flex-direction: column;
  }

  .hero-shop-btn,
  .hero-secondary-btn,
  .hero-primary,
  .hero-secondary,
  .btn,
  .secondary-btn,
  .btn-outline {
    width: 100%;
    text-align: center;
  }

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

  .homepage-section,
  .featured-shops-section,
  .related-section,
  .form-card,
  .product-reviews-section {
    padding: 20px;
    border-radius: 22px;
  }

  .section-row-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .buyer-trust-strip {
    grid-template-columns: 1fr;
  }

  .category-icon-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .category-icon-card {
    min-height: 90px;
    padding: 10px 7px;
    border-radius: 16px;
  }

  .category-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .category-svg-icon {
    width: 27px;
    height: 27px;
  }

  .category-icon-card span:last-child {
    font-size: 11px;
  }

  .market-product-grid,
  .pro-product-grid,
  .cards,
  .dashboard-grid,
  .dashboard-shortcuts,
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .market-product-img,
  .pro-product-img {
    height: 165px;
  }

  .market-product-img img,
  .pro-product-img img,
  .product-card img {
    padding: 12px;
  }

  .market-product-body,
  .pro-product-body {
    padding: 12px;
  }

  .market-product-body h3,
  .pro-product-body h3 {
    min-height: 36px;
    font-size: 13px;
  }

  .seller-line,
  .product-location,
  .rating-line-small {
    font-size: 11px;
  }

  .price,
  .pro-price,
  .product-price {
    font-size: 17px;
  }

  .product-main-btn,
  .pro-product-card .btn,
  .market-product-card .btn {
    min-height: 40px;
    padding: 9px;
    font-size: 12px;
  }

  .dashboard-hero,
  .product-page-hero {
    padding: 28px;
    border-radius: 24px;
  }

  .cart-section-head,
  .orders-toolbar {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .orders-toolbar {
    display: grid;
  }

  .cart-item,
  .pro-cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item-img img,
  .cart-item img {
    width: 100%;
    height: 220px;
  }

  .checkout-line {
    grid-template-columns: 1fr;
  }

  .main-product-img {
    height: 330px;
  }

  .pro-shop-info {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-filter-row {
    grid-template-columns: 1fr;
  }

  .shop-tabs {
    overflow-x: auto;
  }

  .pro-shop-stats {
    grid-template-columns: 1fr 1fr;
  }

  .order-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .market-product-grid,
  .pro-product-grid,
  .cards,
  .dashboard-grid,
  .dashboard-shortcuts,
  .dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-product-img,
  .pro-product-img {
    height: 140px;
  }

  .market-product-body,
  .pro-product-body {
    padding: 10px;
  }

  .badge {
    font-size: 10px;
    padding: 4px 8px;
  }

  .product-heart {
    width: 34px;
    height: 34px;
    min-height: 34px;
  }

  .price,
  .pro-price,
  .product-price {
    font-size: 16px;
  }

  .mm-side-menu {
    width: 330px;
  }
}

/* =========================
   20. LEGACY COMPATIBILITY
   ========================= */

.amazon-topbar,
.amazon-subnav,
.navbar,
.market-mobile-header,
.market-pro-header,
.mobile-market-header,
.mobile-search-area,
.mobile-side-menu,
.mobile-menu-overlay {
  /* hidden after nav.js loads; kept visible before injection only if used on old pages */
}

.logo-brand {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo-brand img {
  height: 80px;
  width: auto;
  max-width: none;
}

.admin-thumb,
.banner-preview {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
}

.banner-preview {
  width: 100%;
  height: auto;
  max-height: 240px;
  margin-bottom: 14px;
}

/* End of clean styles.css */


/* =========================================================
   MAUMARKET CLEAN MARKETPLACE OVERRIDE V3
   Cleaner, smaller, consistent marketplace design.
   Put at the bottom of styles.css or use this full file.
   ========================================================= */

/* Remove visual noise and keep the marketplace consistent */
.marketplace-home {
  width: min(1420px, 94%);
  margin: 18px auto 70px;
}

/* HERO: smaller, cleaner, no empty right side */
.clean-market-hero,
.market-hero.clean-market-hero {
  min-height: 420px !important;
  display: flex !important;
  align-items: center !important;
  padding: 48px 56px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  position: relative !important;
  background:
    linear-gradient(90deg, rgba(7, 11, 40, 0.94), rgba(20, 22, 70, 0.78), rgba(45, 30, 120, 0.45)),
    linear-gradient(135deg, #070b28, #24166f) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18) !important;
}

.clean-market-hero::after {
  display: none !important;
}

.market-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.38;
}

/* Later, after adding your image, use:
.market-hero-bg {
  background-image: url("images/mauritius-hero.jpg");
}
*/

.clean-market-hero .market-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.clean-market-hero .hero-badge {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  letter-spacing: 0.2px;
}

.clean-market-hero h1 {
  max-width: 720px !important;
  margin: 18px 0 14px !important;
  color: #ffffff !important;
  font-size: clamp(42px, 5.4vw, 72px) !important;
  line-height: 1 !important;
  letter-spacing: -2px !important;
}

.clean-market-hero p {
  max-width: 620px !important;
  margin: 0 !important;
  color: #e5e7eb !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

.clean-market-hero .hero-buttons {
  margin-top: 26px !important;
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}

.clean-market-hero .hero-primary,
.clean-market-hero .hero-secondary {
  min-width: 145px !important;
  border-radius: 14px !important;
}

.clean-hero-features {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) !important;
  gap: 10px !important;
  max-width: 780px !important;
  margin-top: 24px !important;
}

.clean-hero-features div {
  min-height: auto !important;
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(8px);
}

.clean-hero-features span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #f59e0b;
  color: #111827 !important;
  font-weight: 950;
  font-size: 12px;
}

.clean-hero-features strong {
  display: block;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.2;
}

.clean-hero-features small {
  display: block;
  margin-top: 3px;
  color: #dbe2ff;
  font-size: 11px;
  font-weight: 700;
}

/* SECTION SPACING */
.homepage-section.clean-category-section,
.homepage-section.clean-products-section,
.homepage-section.clean-shops-section,
.homepage-section.why-market {
  padding: 22px !important;
  margin: 18px 0 !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07) !important;
}

.section-row-title {
  margin-bottom: 16px !important;
}

.section-row-title h2 {
  font-size: 24px !important;
  letter-spacing: -0.4px !important;
}

.section-row-title a {
  font-size: 14px !important;
}

/* CATEGORIES: smaller and cleaner */
.category-icon-grid {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  gap: 12px !important;
}

.category-icon-card {
  min-height: 92px !important;
  padding: 10px 8px !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.055) !important;
}

.category-icon-card:hover,
.category-icon-card.active {
  transform: translateY(-3px) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10) !important;
}

.category-icon-circle {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  margin-bottom: 7px !important;
}

.category-svg-icon {
  width: 28px !important;
  height: 28px !important;
}

.category-icon-card span:last-child {
  font-size: 12px !important;
}

/* Horizontal product rows for Top Deals and Trending */
.compact-product-row {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 178px !important;
  grid-template-columns: unset !important;
  gap: 14px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 4px 12px !important;
  scroll-snap-type: x mandatory;
}

.compact-product-row::-webkit-scrollbar,
.featured-shops-row::-webkit-scrollbar {
  height: 8px;
}

.compact-product-row::-webkit-scrollbar-thumb,
.featured-shops-row::-webkit-scrollbar-thumb {
  background: #d8d3ff;
  border-radius: 999px;
}

/* Main grid: smaller cards */
.market-main .market-product-grid:not(.compact-product-row),
#productsGrid.market-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important;
  gap: 14px !important;
}

/* Product card: smaller, cleaner */
.market-product-card,
.pro-product-card,
.product-card,
.compact-market-card {
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.065) !important;
}

.market-product-card:hover,
.pro-product-card:hover,
.product-card:hover,
.compact-market-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12) !important;
}

.market-product-img,
.pro-product-img {
  height: 160px !important;
  background: #f8fafc !important;
}

.market-product-img img,
.pro-product-img img,
.product-card img {
  padding: 10px !important;
  object-fit: contain !important;
}

.market-product-body,
.pro-product-body {
  padding: 11px !important;
}

.product-card-top-row {
  gap: 8px !important;
}

.badge {
  padding: 4px 8px !important;
  font-size: 10px !important;
}

.product-heart {
  width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  font-size: 16px !important;
}

.market-product-body h3,
.pro-product-body h3,
.product-card h3 {
  min-height: 35px !important;
  margin: 8px 0 6px !important;
  font-size: 13px !important;
  line-height: 1.32 !important;
}

.seller-line,
.product-location,
.rating-line-small,
.pro-product-body p,
.market-product-body p {
  margin: 4px 0 !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.price,
.pro-price,
.product-price {
  margin: 7px 0 !important;
  font-size: 16px !important;
}

.product-main-btn,
.pro-product-card .btn,
.market-product-card .btn {
  min-height: 36px !important;
  padding: 8px 10px !important;
  border-radius: 11px !important;
  font-size: 12px !important;
  margin-top: 7px !important;
}

.product-discount-badge,
.product-stock-badge {
  left: 8px !important;
  padding: 4px 7px !important;
  border-radius: 7px !important;
  font-size: 10px !important;
}

.product-discount-badge {
  top: 8px !important;
}

.product-stock-badge {
  bottom: 8px !important;
}

/* Featured shops: smaller, horizontal */
.featured-shops-row {
  gap: 12px !important;
  padding-bottom: 10px !important;
}

.featured-shop-card {
  min-width: 138px !important;
  padding: 13px !important;
  border-radius: 16px !important;
}

.featured-shop-card img,
.shop-logo-fallback {
  width: 58px !important;
  height: 58px !important;
  border-radius: 16px !important;
}

.featured-shop-card strong {
  font-size: 13px !important;
}

.featured-shop-card span,
.featured-shop-card small {
  font-size: 11px !important;
}

/* Filters: calmer */
.clean-market-layout {
  grid-template-columns: 235px minmax(0, 1fr) !important;
  gap: 18px !important;
}

.filter-card {
  padding: 18px !important;
  border-radius: 18px !important;
}

.filter-card h3 {
  font-size: 18px !important;
}

.sidebar-benefit {
  padding: 10px 0 !important;
}

.sidebar-benefit span {
  width: 30px !important;
  height: 30px !important;
}

/* Why section */
.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 14px !important;
}

.why-card {
  padding: 18px !important;
  border-radius: 18px !important;
}

.why-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 13px !important;
  font-size: 18px !important;
}

.why-card h3 {
  font-size: 16px !important;
}

.why-card p {
  font-size: 13px !important;
}

/* Mobile */
@media (max-width: 1050px) {
  .clean-market-layout {
    grid-template-columns: 1fr !important;
  }

  .market-sidebar {
    position: static !important;
  }

  .clean-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .marketplace-home {
    width: 94% !important;
    margin-top: 16px !important;
  }

  .clean-market-hero,
  .market-hero.clean-market-hero {
    min-height: auto !important;
    padding: 30px 22px !important;
    border-radius: 22px !important;
  }

  .clean-market-hero h1 {
    font-size: 38px !important;
    letter-spacing: -1.2px !important;
  }

  .clean-market-hero p {
    font-size: 15px !important;
  }

  .clean-hero-features {
    grid-template-columns: 1fr !important;
  }

  .homepage-section.clean-category-section,
  .homepage-section.clean-products-section,
  .homepage-section.clean-shops-section,
  .homepage-section.why-market {
    padding: 17px !important;
  }

  .category-icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .category-icon-card {
    min-height: 78px !important;
    padding: 8px 5px !important;
  }

  .category-icon-circle {
    width: 36px !important;
    height: 36px !important;
  }

  .category-svg-icon {
    width: 22px !important;
    height: 22px !important;
  }

  .category-icon-card span:last-child {
    font-size: 10px !important;
  }

  .compact-product-row {
    grid-auto-columns: 150px !important;
  }

  .market-main .market-product-grid:not(.compact-product-row),
  #productsGrid.market-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .market-product-img,
  .pro-product-img {
    height: 132px !important;
  }

  .market-product-body h3,
  .pro-product-body h3,
  .product-card h3 {
    font-size: 12px !important;
    min-height: 32px !important;
  }

  .seller-line,
  .product-location,
  .rating-line-small {
    font-size: 10px !important;
  }

  .price,
  .pro-price,
  .product-price {
    font-size: 15px !important;
  }

  .product-main-btn {
    font-size: 11px !important;
  }
}

@media (max-width: 420px) {
  .compact-product-row {
    grid-auto-columns: 142px !important;
  }

  .market-product-img,
  .pro-product-img {
    height: 118px !important;
  }
}


/* =========================================================
   MAUMARKET SEARCH-FIRST MARKETPLACE OVERRIDE V4
   - Removes messy Top Deals / Trending horizontal sections
   - Makes search results feel direct
   - Keeps product cards small and consistent
   ========================================================= */

#productsGridDeals,
#productsGridTrending {
  display: none !important;
}

.clean-products-section {
  display: none !important;
}

.market-heading {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.clear-search-top {
  width: auto !important;
  min-height: 40px !important;
  padding: 9px 14px !important;
  white-space: nowrap !important;
}

#marketTitle {
  font-size: 24px !important;
  letter-spacing: -0.4px !important;
}

#resultCount {
  font-size: 14px !important;
}

#productsGrid.market-product-grid {
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)) !important;
  gap: 14px !important;
}

.market-product-img,
.pro-product-img {
  height: 155px !important;
}

.market-product-body,
.pro-product-body {
  padding: 11px !important;
}

.market-product-body h3,
.pro-product-body h3,
.product-card h3 {
  font-size: 13px !important;
  min-height: 34px !important;
}

.product-main-btn {
  min-height: 36px !important;
  font-size: 12px !important;
  border-radius: 10px !important;
}

.price,
.pro-price,
.product-price {
  font-size: 16px !important;
}

.seller-line,
.product-location,
.rating-line-small {
  font-size: 11px !important;
}

@media (max-width: 700px) {
  .market-heading {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .clear-search-top {
    width: 100% !important;
  }

  #productsGrid.market-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .market-product-img,
  .pro-product-img {
    height: 125px !important;
  }
}


/* =========================================================
   MAUMARKET PREMIUM UX FINAL OVERRIDE V5
   - Better animated hamburger
   - Sticky / floating search
   - Cleaner hero
   - Smaller product cards
   - Better spacing
   - Modern category cards
   - Horizontal featured shops
   - Better shadows and hover
   - Mobile bottom nav
   ========================================================= */

/* NAV overall */
.premium-mm-nav,
.mm-nav {
  position: sticky !important;
  top: 0 !important;
  z-index: 9000 !important;
  padding: 10px 0 !important;
  background: rgba(255, 255, 255, 0.76) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85) !important;
}

.mm-nav-inner {
  width: min(1620px, 96%) !important;
  min-height: 76px !important;
  grid-template-columns: 58px 220px minmax(380px, 1fr) auto 56px !important;
  gap: 16px !important;
  border-radius: 0 0 24px 24px !important;
  padding: 12px 16px !important;
  background:
    radial-gradient(circle at 0 0, rgba(117, 87, 255, 0.20), transparent 34%),
    linear-gradient(135deg, #060a24, #131852 58%, #1f176b) !important;
  box-shadow: 0 18px 50px rgba(7, 11, 40, 0.22) !important;
}

/* Better hamburger */
.mm-icon-btn.premium-menu-btn,
.mm-icon-btn {
  width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background:
    linear-gradient(180deg, #ffffff, #f4f6ff) !important;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.65) !important;
  transition: 0.28s ease !important;
}

.mm-icon-btn:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow:
    0 18px 40px rgba(79, 53, 245, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9) !important;
}

.mm-icon-btn span {
  width: 24px !important;
  height: 3px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #121631 !important;
  transition: transform 0.28s ease, opacity 0.2s ease, width 0.28s ease !important;
}

.mm-icon-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg) !important;
}

.mm-icon-btn.active span:nth-child(2) {
  opacity: 0 !important;
  width: 0 !important;
}

.mm-icon-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg) !important;
}

/* Logo */
.mm-logo {
  height: 58px !important;
  align-items: center !important;
}

.mm-logo img {
  height: 78px !important;
}

/* Premium sticky search */
.mm-search,
.premium-search {
  height: 56px !important;
  border-radius: 18px !important;
  grid-template-columns: 175px minmax(220px, 1fr) 64px !important;
  background: #ffffff !important;
  box-shadow:
    0 14px 35px rgba(15, 23, 42, 0.12),
    inset 0 0 0 1px rgba(226, 232, 240, 0.9) !important;
  transition: 0.25s ease !important;
}

.mm-search:focus-within {
  transform: translateY(-1px) !important;
  box-shadow:
    0 20px 45px rgba(79, 53, 245, 0.18),
    0 0 0 4px rgba(117, 87, 255, 0.12) !important;
}

.mm-search select,
.mm-search input,
.mm-search button {
  height: 56px !important;
  min-height: 56px !important;
}

.mm-search input {
  font-size: 15px !important;
}

.mm-search button {
  background: linear-gradient(135deg, #4f35f5, #6d4cff) !important;
}

.mm-search button::before {
  content: "⌕" !important;
  font-size: 29px !important;
  line-height: 1 !important;
}

/* Desktop links less noisy */
.mm-desktop-links {
  gap: 18px !important;
}

.mm-desktop-links a,
.mm-link-button {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: -0.1px !important;
}

.mm-desktop-links a.active {
  color: #ffffff !important;
}

/* Cart button */
.mm-cart-btn {
  width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #4f35f5, #7b61ff) !important;
  box-shadow: 0 14px 30px rgba(79, 53, 245, 0.30) !important;
}

.mm-cart-btn .cart-icon {
  font-size: 23px !important;
}

/* Cleaner side menu */
.premium-side-menu,
.mm-side-menu {
  width: 360px !important;
  padding: 24px !important;
  border-radius: 0 30px 30px 0 !important;
  box-shadow: 34px 0 90px rgba(15, 23, 42, 0.25) !important;
}

.mm-side-head button {
  border-radius: 50% !important;
}

.mm-mobile-link {
  border-radius: 18px !important;
  min-height: 58px !important;
  transition: 0.22s ease !important;
}

.mm-mobile-link:hover {
  transform: translateX(4px) !important;
  background: #f5f3ff !important;
  border-color: #d9d4ff !important;
}

/* Cleaner hero */
.clean-market-hero,
.market-hero.clean-market-hero {
  min-height: 370px !important;
  padding: 42px 50px !important;
  margin-top: 18px !important;
  border-radius: 28px !important;
  background:
    linear-gradient(90deg, rgba(7, 11, 40, 0.94), rgba(13, 18, 64, 0.80), rgba(42, 28, 118, 0.44)),
    linear-gradient(135deg, #070b28, #24166f) !important;
}

.clean-market-hero h1 {
  font-size: clamp(40px, 4.8vw, 64px) !important;
  letter-spacing: -1.8px !important;
}

.clean-market-hero p {
  font-size: 17px !important;
  max-width: 560px !important;
}

.clean-hero-features {
  grid-template-columns: repeat(4, minmax(105px, 1fr)) !important;
  gap: 10px !important;
  max-width: 720px !important;
}

.clean-hero-features div {
  padding: 11px 13px !important;
  border-radius: 14px !important;
}

/* Better spacing */
.homepage-section.clean-category-section,
.homepage-section.clean-shops-section,
.homepage-section.why-market {
  margin: 18px 0 !important;
  padding: 21px !important;
  border-radius: 22px !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07) !important;
}

.market-layout.clean-market-layout {
  margin-top: 18px !important;
}

/* Modern category cards */
.category-icon-grid {
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)) !important;
  gap: 12px !important;
}

.category-icon-card {
  min-height: 90px !important;
  padding: 10px 8px !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg, #ffffff, #fbfbff) !important;
  box-shadow:
    0 10px 25px rgba(15, 23, 42, 0.055),
    inset 0 0 0 1px rgba(255,255,255,0.7) !important;
}

.category-icon-card:hover,
.category-icon-card.active {
  transform: translateY(-4px) !important;
  border-color: #cfc7ff !important;
  background: linear-gradient(180deg, #ffffff, #f5f3ff) !important;
}

.category-icon-circle {
  width: 46px !important;
  height: 46px !important;
  border-radius: 15px !important;
}

.category-svg-icon {
  width: 27px !important;
  height: 27px !important;
}

/* Horizontal featured shops */
.featured-shops-row {
  display: grid !important;
  grid-auto-flow: column !important;
  grid-auto-columns: 145px !important;
  grid-template-columns: unset !important;
  gap: 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding: 4px 4px 12px !important;
}

.featured-shop-card {
  min-width: 0 !important;
  width: 145px !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 25px rgba(15,23,42,0.06) !important;
}

.featured-shop-card:hover {
  transform: translateY(-4px) !important;
}

/* Smaller product cards */
#productsGrid.market-product-grid,
.market-main .market-product-grid:not(.compact-product-row) {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  gap: 13px !important;
}

.market-product-card,
.pro-product-card,
.product-card,
.compact-market-card {
  border-radius: 17px !important;
  box-shadow:
    0 10px 26px rgba(15, 23, 42, 0.065),
    inset 0 0 0 1px rgba(255,255,255,0.8) !important;
}

.market-product-card:hover,
.pro-product-card:hover,
.product-card:hover,
.compact-market-card:hover {
  transform: translateY(-4px) !important;
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.13),
    0 0 0 1px rgba(207, 199, 255, 0.8) !important;
}

.market-product-img,
.pro-product-img {
  height: 150px !important;
  background:
    radial-gradient(circle at top, #ffffff, #f8fafc) !important;
}

.market-product-img img,
.pro-product-img img,
.product-card img {
  padding: 9px !important;
}

.market-product-body,
.pro-product-body {
  padding: 10px !important;
}

.market-product-body h3,
.pro-product-body h3,
.product-card h3 {
  min-height: 33px !important;
  font-size: 12.5px !important;
}

.seller-line,
.product-location,
.rating-line-small {
  font-size: 10.5px !important;
}

.price,
.pro-price,
.product-price {
  font-size: 15.5px !important;
}

.product-main-btn {
  min-height: 35px !important;
  font-size: 11.5px !important;
}

/* Search result header */
.market-heading {
  border-radius: 20px !important;
  padding: 18px 20px !important;
}

/* Mobile bottom nav */
.mm-bottom-nav {
  display: none;
}

@media (max-width: 1050px) {
  body {
    padding-bottom: 86px !important;
  }

  .mm-nav {
    padding: 0 !important;
  }

  .mm-nav-inner {
    width: 100% !important;
    min-height: 82px !important;
    grid-template-columns: 58px 1fr 58px !important;
    border-radius: 0 !important;
    padding: 12px 16px !important;
  }

  .mm-logo {
    justify-content: center !important;
  }

  .mm-search,
  .mm-desktop-links {
    display: none !important;
  }

  .mm-bottom-nav {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    z-index: 8500 !important;
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 4px !important;
    padding: 9px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.20) !important;
    backdrop-filter: blur(18px) !important;
  }

  .mm-bottom-link {
    display: grid !important;
    place-items: center !important;
    gap: 2px !important;
    min-height: 48px !important;
    color: #667085 !important;
    border-radius: 16px !important;
    font-weight: 900 !important;
  }

  .mm-bottom-link span {
    font-size: 21px !important;
    line-height: 1 !important;
  }

  .mm-bottom-link small {
    font-size: 10px !important;
    font-weight: 900 !important;
  }

  .mm-bottom-link.active {
    background: #ede9ff !important;
    color: #4f35f5 !important;
  }

  .clean-hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 700px) {
  .clean-market-hero,
  .market-hero.clean-market-hero {
    min-height: auto !important;
    padding: 28px 20px !important;
    border-radius: 22px !important;
  }

  .clean-market-hero h1 {
    font-size: 36px !important;
    letter-spacing: -1px !important;
  }

  .clean-market-hero p {
    font-size: 15px !important;
  }

  .clean-hero-features {
    grid-template-columns: 1fr !important;
  }

  .category-icon-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .category-icon-card {
    min-height: 76px !important;
    padding: 8px 5px !important;
    border-radius: 15px !important;
  }

  .category-icon-circle {
    width: 36px !important;
    height: 36px !important;
  }

  .category-svg-icon {
    width: 21px !important;
    height: 21px !important;
  }

  #productsGrid.market-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .market-product-img,
  .pro-product-img {
    height: 126px !important;
  }

  .market-product-body h3,
  .pro-product-body h3,
  .product-card h3 {
    font-size: 12px !important;
  }

  .mm-side-menu {
    width: 340px !important;
  }
}


/* =========================================================
   MAUMARKET MOBILE SEARCH FINAL OVERRIDE V6
   Mobile marketplace search below navbar, sticky and instant.
   ========================================================= */

.mm-mobile-search-wrap {
  display: none;
}

@media (max-width: 1050px) {
  .mm-mobile-search-wrap {
    position: sticky;
    top: 82px;
    z-index: 8200;
    display: block;
    padding: 10px 14px 12px;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(18px);
  }

  .mm-mobile-search {
    width: min(720px, 100%);
    height: 54px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 58px;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
      0 12px 32px rgba(15, 23, 42, 0.10),
      0 0 0 4px rgba(79, 53, 245, 0.04);
  }

  .mm-mobile-search:focus-within {
    border-color: #c8bfff;
    box-shadow:
      0 18px 42px rgba(79, 53, 245, 0.16),
      0 0 0 4px rgba(79, 53, 245, 0.10);
  }

  .mm-mobile-search input {
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f172a;
    font-size: 15px;
    box-shadow: none;
  }

  .mm-mobile-search input:focus {
    box-shadow: none;
    border: 0;
  }

  .mm-mobile-search button {
    height: 54px;
    min-height: 54px;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: linear-gradient(135deg, #4f35f5, #7557ff);
    color: #ffffff;
    box-shadow: none;
    font-size: 28px;
    font-weight: 950;
  }

  .mm-mobile-search button:hover {
    transform: none;
    box-shadow: none;
  }

  .marketplace-home,
  .market-pro-page,
  .container,
  .dashboard-page,
  .cart-page,
  .orders-page,
  .wishlist-page,
  .checkout-page,
  .shop-page,
  .product-page {
    margin-top: 14px !important;
  }
}

@media (max-width: 700px) {
  .mm-mobile-search-wrap {
    top: 82px;
    padding: 9px 12px 11px;
  }

  .mm-mobile-search {
    height: 50px;
    border-radius: 16px;
  }

  .mm-mobile-search input {
    height: 50px;
    min-height: 50px;
    font-size: 14px;
  }

  .mm-mobile-search button {
    height: 50px;
    min-height: 50px;
    font-size: 25px;
  }
}

.cart-icon{
    width:24px;
    height:24px;
    color:#fff;
    display:block;
}

/* ==========================================================
   ANALYTICS DASHBOARD
========================================================== */

.analytics-page{
    max-width:1600px;
    margin:auto;
    padding:40px 24px 80px;
}

.analytics-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    margin-bottom:35px;
    padding:45px;
    border-radius:28px;
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
    color:#fff;
    box-shadow:0 18px 45px rgba(79,70,229,.22);
}

.analytics-hero h1{
    font-size:42px;
    margin:12px 0;
    font-weight:800;
}

.analytics-hero p{
    max-width:650px;
    line-height:1.7;
    opacity:.95;
}

.analytics-hero-card{
    background:rgba(255,255,255,.12);
    backdrop-filter:blur(12px);
    padding:30px;
    border-radius:24px;
    min-width:260px;
    text-align:center;
    border:1px solid rgba(255,255,255,.18);
}

.analytics-hero-card strong{
    display:block;
    font-size:15px;
    margin-bottom:10px;
    opacity:.9;
}

.analytics-hero-card span{
    display:block;
    font-size:28px;
    font-weight:800;
}

/* KPI */

.analytics-kpi-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:22px;
    margin:35px 0;
}

.analytics-kpi-card{
    background:#fff;
    border-radius:22px;
    padding:26px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
    transition:.25s;
    border:1px solid #ececec;
}

.analytics-kpi-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.analytics-kpi-card span{
    display:block;
    color:#6b7280;
    font-size:14px;
}

.analytics-kpi-card strong{
    display:block;
    margin:12px 0;
    font-size:34px;
    color:#111827;
}

.analytics-kpi-card small{
    color:#9ca3af;
    font-size:13px;
}

.revenue-card{
    background:linear-gradient(135deg,#f59e0b,#fbbf24);
    color:#fff;
}

.revenue-card strong,
.revenue-card span,
.revenue-card small{
    color:#fff;
}

/* Cards */

.analytics-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    box-shadow:0 12px 32px rgba(0,0,0,.06);
    border:1px solid #ececec;
    margin-bottom:26px;
}

.analytics-card-head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.analytics-card-head h2{
    margin:0;
    font-size:24px;
    color:#111827;
}

.analytics-card-head p{
    margin-top:6px;
    color:#6b7280;
    font-size:14px;
}

/* Charts */

.analytics-charts-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(420px,1fr));
    gap:24px;
    margin:35px 0;
}

.chart-container{
    height:320px;
    position:relative;
}

.compact-chart{
    height:280px;
}

.chart-container canvas{
    width:100%!important;
    height:100%!important;
}

/* Layout */

.analytics-main-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:28px;
    margin-top:35px;
}

.analytics-main-column,
.analytics-side-column{
    display:flex;
    flex-direction:column;
    gap:25px;
}

/* Lists */

.analytics-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.analytics-list .order-card{
    margin:0;
    border-radius:18px;
    border:1px solid #ececec;
    background:#fafafa;
    transition:.25s;
}

.analytics-list .order-card:hover{
    background:#fff;
    transform:translateY(-4px);
    box-shadow:0 12px 24px rgba(0,0,0,.08);
}

.analytics-list p{
    margin:10px 0;
}

.analytics-list strong{
    color:#111827;
}

/* Seller Performance */

.review-benefits{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
}

.review-benefit{
    background:#f8fafc;
    border-radius:18px;
    padding:24px;
    text-align:center;
    border:1px solid #edf2f7;
}

.review-benefit span{
    font-size:34px;
    display:block;
    margin-bottom:10px;
}

.review-benefit strong{
    display:block;
    font-size:22px;
    color:#111827;
    margin-bottom:6px;
}

.review-benefit p{
    margin:0;
    color:#6b7280;
}

/* Sidebar */

.analytics-side-column .analytics-card{
    position:sticky;
    top:100px;
}

/* Mobile */

@media(max-width:1200px){

.analytics-main-layout{
grid-template-columns:1fr;
}

.analytics-side-column .analytics-card{
position:static;
}

}

@media(max-width:900px){

.analytics-hero{
flex-direction:column;
text-align:center;
}

.analytics-hero-card{
width:100%;
}

.analytics-charts-grid{
grid-template-columns:1fr;
}

.chart-container{
height:260px;
}

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

}

@media(max-width:600px){

.analytics-page{
padding:20px 15px 50px;
}

.analytics-kpi-grid{
grid-template-columns:1fr;
}

.analytics-card{
padding:20px;
}

.analytics-hero{
padding:30px 22px;
}

.analytics-hero h1{
font-size:30px;
}

.analytics-card-head{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.review-benefits{
grid-template-columns:1fr;
}

}

/* ===============================
   ADMIN DELIVERY DASHBOARD
================================ */

.delivery-admin-page{
  max-width:1600px;
  margin:auto;
  padding:34px 22px 90px;
}

.delivery-admin-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:28px;
  padding:36px;
  border-radius:28px;
  background:linear-gradient(135deg,#080b2f,#4f35f5);
  color:#fff;
  box-shadow:0 22px 60px rgba(15,23,42,.18);
  margin-bottom:24px;
}

.delivery-admin-hero h1{
  font-size:42px;
  margin:12px 0;
}

.delivery-admin-hero p{
  max-width:720px;
  color:#e5e7eb;
  line-height:1.6;
}

.delivery-admin-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* STATS */

.delivery-stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:16px;
  margin:24px 0;
}

.delivery-stat-card{
  background:#fff;
  border-radius:22px;
  padding:22px;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 30px rgba(15,23,42,.06);
}

.delivery-stat-card span{
  color:#667085;
  font-size:13px;
  font-weight:800;
}

.delivery-stat-card strong{
  display:block;
  font-size:34px;
  margin:10px 0;
  color:#101828;
}

.delivery-stat-card small{
  color:#98a2b3;
}

/* TOOLBAR */

.delivery-toolbar-card,
.delivery-scheduler-card,
.delivery-table-card{
  background:#fff;
  border-radius:24px;
  padding:24px;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 34px rgba(15,23,42,.06);
  margin-bottom:24px;
}

.delivery-toolbar-main{
  display:grid;
  grid-template-columns:2fr repeat(4,1fr);
  gap:14px;
}

.delivery-toolbar-main label,
.delivery-scheduler-grid label{
  display:block;
  margin-bottom:7px;
  color:#344054;
  font-weight:900;
  font-size:13px;
}

.delivery-toolbar-main input,
.delivery-toolbar-main select,
.delivery-scheduler-grid input,
.delivery-scheduler-grid select{
  width:100%;
  min-height:46px;
  border-radius:14px;
  border:1px solid #d0d5dd;
  padding:0 13px;
  background:#fff;
}

.delivery-toolbar-main input:focus,
.delivery-toolbar-main select:focus,
.delivery-scheduler-grid input:focus,
.delivery-scheduler-grid select:focus{
  outline:none;
  border-color:#4f35f5;
  box-shadow:0 0 0 4px rgba(79,53,245,.12);
}

.delivery-toolbar-bottom,
.delivery-scheduler-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:18px;
  flex-wrap:wrap;
}

/* SCHEDULER */

.delivery-scheduler-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.delivery-message{
  margin:0;
  font-weight:900;
}

.delivery-message.success{
  color:#16a34a;
}

.delivery-message.error{
  color:#dc2626;
}

/* ORDERS */

.delivery-orders-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.delivery-order-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:22px;
  box-shadow:0 10px 28px rgba(15,23,42,.055);
  transition:.25s;
}

.delivery-order-card:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 45px rgba(15,23,42,.10);
}

.delivery-order-top{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}

.delivery-order-id{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#f2f4f7;
  color:#475467;
  font-size:12px;
  font-weight:900;
}

.delivery-order-top h3{
  margin:10px 0 6px;
  font-size:22px;
}

.delivery-order-top p{
  margin:0;
  color:#667085;
}

.delivery-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.delivery-status,
.delivery-priority{
  padding:7px 11px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
}

.delivery-status.success,
.delivery-priority.success{
  background:#dcfce7;
  color:#166534;
}

.delivery-status.warning,
.delivery-priority.warning{
  background:#fef3c7;
  color:#92400e;
}

.delivery-status.danger,
.delivery-priority.danger{
  background:#fee2e2;
  color:#991b1b;
}

.delivery-status.info,
.delivery-priority.info{
  background:#dbeafe;
  color:#1e40af;
}

.delivery-status.purple,
.delivery-priority.purple{
  background:#ede9fe;
  color:#5b21b6;
}

.delivery-status.neutral,
.delivery-priority.neutral{
  background:#f2f4f7;
  color:#475467;
}

/* TIMELINE */

.delivery-progress{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
  margin:20px 0;
}

.delivery-step{
  min-height:38px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#f2f4f7;
  color:#667085;
  font-size:11px;
  font-weight:900;
  text-align:center;
}

.delivery-step.done{
  background:linear-gradient(135deg,#4f35f5,#7557ff);
  color:#fff;
}

.delivery-step.cancelled{
  background:#fee2e2;
  color:#991b1b;
}

/* INFO GRID */

.delivery-order-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
  margin:18px 0;
}

.delivery-info-box{
  background:#f8fafc;
  border:1px solid #edf2f7;
  border-radius:18px;
  padding:14px;
}

.delivery-info-box small{
  display:block;
  color:#98a2b3;
  font-weight:900;
  font-size:11px;
  margin-bottom:6px;
}

.delivery-info-box strong{
  display:block;
  color:#101828;
  font-size:14px;
  margin-bottom:4px;
}

.delivery-info-box span{
  display:block;
  color:#667085;
  font-size:12px;
}

/* DETAILS */

.delivery-details{
  margin-top:14px;
  border-top:1px solid #edf2f7;
  padding-top:14px;
}

.delivery-details summary{
  cursor:pointer;
  font-weight:900;
  color:#4f35f5;
}

.delivery-detail-body{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:15px;
}

.delivery-detail-body h4{
  margin:0 0 10px;
}

.delivery-detail-body ul{
  margin:0;
  padding-left:18px;
}

.delivery-signature-box{
  margin-top:12px;
  padding:14px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e5e7eb;
}

.delivery-signature-box img{
  max-width:100%;
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:8px;
}

/* ACTIONS */

.delivery-card-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}

.delivery-card-actions button{
  width:auto;
  min-height:40px;
  padding:9px 14px;
  border-radius:12px;
}

/* EMPTY */

.delivery-empty-state{
  text-align:center;
  padding:38px;
  border-radius:22px;
  background:#f8fafc;
  border:1px dashed #cbd5e1;
}

.delivery-empty-state h3{
  margin:0 0 8px;
}

/* PRINT */

@media print{
  .mm-nav,
  .mm-mobile-search-wrap,
  .mm-bottom-nav,
  .delivery-admin-actions,
  .delivery-toolbar-card,
  .delivery-scheduler-card,
  .delivery-card-actions{
    display:none!important;
  }

  .delivery-admin-page{
    padding:0;
  }

  .delivery-admin-hero,
  .delivery-order-card{
    box-shadow:none;
  }

  .delivery-order-card{
    break-inside:avoid;
  }
}

/* MOBILE */

@media(max-width:1150px){
  .delivery-toolbar-main{
    grid-template-columns:1fr 1fr;
  }

  .delivery-scheduler-grid{
    grid-template-columns:1fr 1fr;
  }

  .delivery-order-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .delivery-admin-page{
    padding:18px 14px 90px;
  }

  .delivery-admin-hero{
    flex-direction:column;
    align-items:flex-start;
    padding:26px;
  }

  .delivery-admin-hero h1{
    font-size:30px;
  }

  .delivery-admin-actions{
    width:100%;
  }

  .delivery-admin-actions .btn,
  .delivery-admin-actions .secondary-btn{
    width:100%;
  }

  .delivery-toolbar-main,
  .delivery-scheduler-grid,
  .delivery-order-grid,
  .delivery-detail-body{
    grid-template-columns:1fr;
  }

  .delivery-order-top{
    flex-direction:column;
  }

  .delivery-badges{
    justify-content:flex-start;
  }

  .delivery-progress{
    grid-template-columns:1fr 1fr;
  }

  .delivery-card-actions button{
    width:100%;
  }
}


/* ==========================================================
   PAYMENT ADMIN PAGE
========================================================== */

.payment-admin-page{
    max-width:1600px;
    margin:auto;
    padding:32px;
}

.payment-admin-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    margin-bottom:30px;
}

.payment-admin-hero h1{
    margin:10px 0;
    font-size:40px;
    font-weight:800;
    color:#111827;
}

.payment-admin-hero p{
    color:#6b7280;
    max-width:700px;
    line-height:1.7;
}

.payment-admin-actions{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.payment-stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:30px;
}

.payment-stat-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    box-shadow:0 10px 30px rgba(15,23,42,.06);
    border:1px solid #ececf4;
}

.payment-stat-card span{
    display:block;
    color:#6b7280;
    font-size:14px;
}

.payment-stat-card strong{
    display:block;
    margin-top:10px;
    font-size:34px;
    font-weight:800;
    color:#111827;
}

.payment-stat-card small{
    display:block;
    margin-top:8px;
    color:#9ca3af;
}

.revenue-card{
    background:linear-gradient(135deg,#4f46e5,#7c3aed);
}

.revenue-card span,
.revenue-card strong,
.revenue-card small{
    color:white;
}

.payment-toolbar-card{
    background:white;
    border-radius:20px;
    padding:24px;
    margin-bottom:30px;
    box-shadow:0 12px 35px rgba(15,23,42,.05);
    border:1px solid #ececf4;
}

.payment-toolbar-main{
    display:grid;
    grid-template-columns:2fr 220px 220px;
    gap:18px;
}

.payment-toolbar-main label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#374151;
}

.payment-toolbar-main input,
.payment-toolbar-main select{
    width:100%;
    padding:14px 18px;
    border-radius:12px;
    border:1px solid #d1d5db;
    background:#fafafa;
    font-size:15px;
    transition:.25s;
}

.payment-toolbar-main input:focus,
.payment-toolbar-main select:focus{
    outline:none;
    border-color:#6d4cff;
    background:white;
    box-shadow:0 0 0 4px rgba(109,76,255,.12);
}

.payment-toolbar-bottom{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    margin-top:22px;
}

.payment-table-card{
    background:white;
    border-radius:22px;
    padding:30px;
    box-shadow:0 12px 35px rgba(15,23,42,.06);
    border:1px solid #ececf4;
}

.payment-records-list{
    display:flex;
    flex-direction:column;
    gap:24px;
}

/* ==========================================================
   PAYMENT RECORD CARD
========================================================== */

.payment-card{
    background:white;
    border:1px solid #ececf4;
    border-radius:20px;
    padding:30px;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.payment-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    flex-wrap:wrap;
    gap:15px;
}

.payment-card-header h2{
    margin:0;
    font-size:26px;
    color:#111827;
}

.payment-status{
    padding:8px 16px;
    border-radius:999px;
    font-weight:700;
    font-size:13px;
}

.payment-status.pending{
    background:#fef3c7;
    color:#92400e;
}

.payment-status.verified{
    background:#dcfce7;
    color:#166534;
}

.payment-status.rejected{
    background:#fee2e2;
    color:#991b1b;
}

.payment-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:30px;
    margin-top:20px;
}

.payment-info{
    display:grid;
    gap:15px;
}

.payment-info-row{
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #f3f4f6;
    padding-bottom:12px;
}

.payment-info-row strong{
    color:#111827;
}

.payment-info-row span{
    color:#6b7280;
}

.payment-proof{
    text-align:center;
}

.payment-proof img{
    width:100%;
    border-radius:16px;
    border:1px solid #e5e7eb;
    cursor:pointer;
    transition:.25s;
}

.payment-proof img:hover{
    transform:scale(1.02);
}

.payment-actions{
    display:flex;
    gap:15px;
    margin-top:25px;
    flex-wrap:wrap;
}

.payment-actions button{
    flex:1;
    min-width:180px;
}

/* ==========================================================
   ITEMS
========================================================== */

.payment-items{
    margin-top:20px;
    border-top:1px solid #ececf4;
    padding-top:20px;
}

.payment-item{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:16px 0;
    border-bottom:1px solid #f3f4f6;
}

.payment-item:last-child{
    border-bottom:none;
}

.payment-total{
    margin-top:20px;
    background:#f8fafc;
    padding:18px;
    border-radius:14px;
    display:flex;
    justify-content:space-between;
    font-size:22px;
    font-weight:800;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:1000px){

.payment-admin-hero{
    flex-direction:column;
    align-items:flex-start;
}

.payment-toolbar-main{
    grid-template-columns:1fr;
}

.payment-grid{
    grid-template-columns:1fr;
}

.payment-actions{
    flex-direction:column;
}

.payment-actions button{
    width:100%;
}

}

@media(max-width:700px){

.payment-admin-page{
    padding:18px;
}

.payment-admin-hero h1{
    font-size:32px;
}

.payment-stat-card strong{
    font-size:28px;
}

.payment-card{
    padding:20px;
}

.payment-card-header{
    flex-direction:column;
    align-items:flex-start;
}

.payment-total{
    font-size:18px;
}

}


/* ==========================================================
   MAUMARKET DELIVERY DASHBOARD (PROFESSIONAL)
==========================================================*/

.driver-dashboard{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.driver-hero{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:25px;
    padding:35px;
    border-radius:24px;
    background:linear-gradient(135deg,#4f35f5,#6d5dfc);
    color:#fff;
    box-shadow:0 20px 50px rgba(79,53,245,.18);
}

.driver-hero h1{
    margin:0;
    font-size:36px;
}

.driver-hero p{
    margin-top:10px;
    opacity:.9;
    max-width:650px;
}

.driver-summary{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
    gap:18px;
}

.driver-summary-card{
    background:#fff;
    border-radius:20px;
    padding:24px;
    box-shadow:0 8px 30px rgba(15,23,42,.08);
    border:1px solid #eef2ff;
}

.driver-summary-card span{
    display:block;
    font-size:13px;
    color:#64748b;
    margin-bottom:8px;
}

.driver-summary-card h2{
    margin:0;
    font-size:34px;
    color:#111827;
}

.driver-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}

.driver-toolbar-left{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.driver-toolbar input,
.driver-toolbar select{
    height:48px;
    padding:0 18px;
    border-radius:14px;
    border:1px solid #dbe4f0;
    background:#fff;
    min-width:180px;
    font-size:15px;
}

.driver-toolbar input:focus,
.driver-toolbar select:focus{
    outline:none;
    border-color:#4f35f5;
    box-shadow:0 0 0 4px rgba(79,53,245,.12);
}

.driver-toolbar-right{
    display:flex;
    align-items:center;
    gap:15px;
}

.driver-toolbar-right span{
    color:#64748b;
    font-size:14px;
}

.driver-delivery-card{
    background:#fff;
    border-radius:24px;
    padding:28px;
    border:1px solid #edf2f7;
    box-shadow:0 10px 35px rgba(15,23,42,.07);
    margin-bottom:26px;
    transition:.25s;
}

.driver-delivery-card:hover{
    transform:translateY(-3px);
    box-shadow:0 20px 45px rgba(15,23,42,.12);
}

.driver-card-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
    margin-bottom:20px;
}

.driver-card-head h3{
    margin:4px 0;
    font-size:24px;
}

.driver-order-id{
    color:#6b7280;
    font-size:13px;
    font-weight:600;
    text-transform:uppercase;
}

.driver-status-pill{
    padding:10px 18px;
    border-radius:50px;
    font-size:13px;
    font-weight:700;
}

.driver-status-pill.success{
    background:#dcfce7;
    color:#15803d;
}

.driver-status-pill.warning{
    background:#fff7ed;
    color:#ea580c;
}

.driver-status-pill.info{
    background:#ede9fe;
    color:#6d28d9;
}

.driver-status-pill.purple{
    background:#ede9fe;
    color:#5b21b6;
}

.driver-status-pill.neutral{
    background:#e5e7eb;
    color:#374151;
}

/* progress */

.driver-progress{
    display:flex;
    justify-content:space-between;
    gap:10px;
    margin:30px 0;
    flex-wrap:wrap;
}

.driver-step{
    flex:1;
    min-width:110px;
    padding:14px;
    text-align:center;
    border-radius:14px;
    background:#f1f5f9;
    color:#64748b;
    font-size:14px;
    font-weight:700;
    position:relative;
}

.driver-step.done{
    background:#dcfce7;
    color:#166534;
}

.driver-step.cancelled{
    background:#fee2e2;
    color:#b91c1c;
}

/* info */

.driver-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:18px;
    margin-bottom:25px;
}

.driver-info-grid>div{
    background:#f8fafc;
    padding:18px;
    border-radius:18px;
}

.driver-info-grid small{
    display:block;
    color:#94a3b8;
    margin-bottom:8px;
}

.driver-info-grid strong{
    display:block;
    font-size:18px;
    color:#111827;
}

.driver-info-grid span{
    color:#64748b;
    font-size:14px;
}

/* details */

.driver-details{
    margin-top:15px;
    border-top:1px solid #edf2f7;
    padding-top:18px;
}

.driver-details summary{
    cursor:pointer;
    font-weight:700;
    font-size:16px;
    margin-bottom:15px;
}

.driver-detail-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:24px;
    margin-top:18px;
}

.driver-items-list{
    margin:0;
    padding-left:18px;
}

.driver-items-list li{
    padding:10px 0;
    border-bottom:1px solid #f1f5f9;
}

.driver-warning-box{
    background:#fff7ed;
    border-left:4px solid #f59e0b;
    padding:16px;
    border-radius:12px;
    margin-top:16px;
}

/* signature */

.driver-signature-section{
    margin-top:28px;
    background:#fafafa;
    border:1px solid #ececec;
    border-radius:18px;
    padding:24px;
}

.driver-signature-section canvas{
    width:100%;
    height:220px;
    background:#fff;
    border:2px dashed #cbd5e1;
    border-radius:16px;
    margin:20px 0;
}

.driver-signature-fields{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.driver-signature-fields input,
.driver-signature-fields textarea{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid #dbe4f0;
    font-size:15px;
}

.driver-signature-fields textarea{
    resize:vertical;
    min-height:110px;
}

.driver-signature-preview{
    margin-top:20px;
    padding:20px;
    background:#fafafa;
    border-radius:18px;
}

.driver-signature-preview img{
    width:100%;
    max-width:420px;
    border-radius:12px;
    border:1px solid #ddd;
    margin:15px 0;
}

/* actions */

.driver-card-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
}

.driver-card-actions button,
.driver-card-actions a{
    text-decoration:none;
}

/* empty */

.driver-empty-state{
    background:#fff;
    border-radius:24px;
    text-align:center;
    padding:70px 20px;
    box-shadow:0 8px 30px rgba(15,23,42,.08);
}

.driver-empty-state h3{
    margin-bottom:10px;
}

/* responsive */

@media(max-width:900px){

.driver-card-head{
    flex-direction:column;
}

.driver-detail-grid{
    grid-template-columns:1fr;
}

.driver-signature-fields{
    grid-template-columns:1fr;
}

.driver-progress{
    flex-direction:column;
}

.driver-toolbar{
    flex-direction:column;
    align-items:stretch;
}

.driver-toolbar-left{
    flex-direction:column;
}

.driver-toolbar input,
.driver-toolbar select{
    width:100%;
}

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

}

@media(max-width:600px){

.driver-summary{
    grid-template-columns:1fr;
}

.driver-hero{
    padding:25px;
}

.driver-hero h1{
    font-size:28px;
}

.driver-delivery-card{
    padding:20px;
}

}

/* ==========================================================
   GOOGLE MAP PIN CHECKOUT
========================================================== */

.checkout-map-card{
    margin-top:20px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.checkout-map-header{
    padding:18px 24px;
    border-bottom:1px solid #ececec;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    background:#fafafa;
}

.checkout-map-header h3{
    margin:0;
    font-size:20px;
    color:#111827;
}

.checkout-map-header p{
    margin-top:6px;
    color:#6b7280;
    font-size:14px;
}

#checkoutMap{
    width:100%;
    height:420px;
}

.selected-location-card{
    padding:22px;
    background:#fff;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.location-info{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:18px;
}

.location-info strong{
    display:block;
    margin-bottom:8px;
    color:#111827;
}

.location-info span{
    color:#6b7280;
    display:block;
    line-height:1.6;
}

.location-success{
    margin-top:18px;
    padding:18px;
    border-radius:16px;
    background:#ecfdf5;
    border:1px solid #10b981;
    color:#065f46;
    font-weight:700;
}

.location-warning{
    margin-top:18px;
    padding:18px;
    border-radius:16px;
    background:#fef3c7;
    border:1px solid #f59e0b;
    color:#92400e;
}

.location-actions{
    display:flex;
    gap:14px;
    margin-top:18px;
    flex-wrap:wrap;
}

.location-actions .btn{
    flex:1;
}

.google-map{
    width:100%;
    height:420px;
}

.map-pin-indicator{
    display:flex;
    align-items:center;
    gap:10px;
    color:#4f35f5;
    font-weight:700;
}

.map-pin-indicator::before{
    content:"📍";
    font-size:22px;
}

/* ==========================================================
   DRIVER DELIVERY LOCATION
========================================================== */

.driver-location-box{
    margin-top:18px;
    padding:20px;
    background:#eef2ff;
    border:1px solid #c7d2fe;
    border-radius:18px;
}

.driver-location-box strong{
    display:block;
    margin-bottom:10px;
    color:#4338ca;
    font-size:16px;
}

.driver-location-box p{
    margin:0;
    color:#3730a3;
    font-weight:600;
    line-height:1.6;
}

.driver-card-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:22px;
}

.driver-card-actions a,
.driver-card-actions button{
    flex:1;
    min-width:180px;
}

.map-btn{
    background:#4f35f5;
    color:#fff!important;
    border:none;
    border-radius:12px;
    padding:13px 18px;
    cursor:pointer;
    transition:.25s;
    font-weight:700;
    text-decoration:none;
    text-align:center;
}

.map-btn:hover{
    background:#3c27d8;
    transform:translateY(-3px);
    box-shadow:0 12px 24px rgba(79,53,245,.25);
}

.driver-signature-preview{
    margin-top:22px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:20px;
}

.driver-signature-preview img{
    width:100%;
    max-width:420px;
    border-radius:12px;
    border:1px solid #ddd;
    background:#fff;
    margin-top:12px;
}

.driver-warning-box{
    margin-top:18px;
    padding:18px;
    border-radius:16px;
    background:#fff7ed;
    border:1px solid #fb923c;
    color:#9a3412;
}

.driver-warning-box strong{
    display:block;
    margin-bottom:8px;
}

.driver-progress{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:22px 0;
}

.driver-step{
    padding:10px 18px;
    border-radius:999px;
    background:#f3f4f6;
    color:#6b7280;
    font-weight:600;
}

.driver-step.done{
    background:#10b981;
    color:#fff;
}

.driver-step.cancelled{
    background:#ef4444;
    color:#fff;
}

.driver-info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:18px;
    margin:24px 0;
}

.driver-info-grid>div{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:18px;
}

.driver-info-grid small{
    display:block;
    color:#6b7280;
    margin-bottom:8px;
}

.driver-info-grid strong{
    display:block;
    color:#111827;
    font-size:18px;
    margin-bottom:8px;
}

.driver-info-grid span{
    color:#6b7280;
    line-height:1.5;
}

.driver-info-grid div:nth-child(2){
    border-left:5px solid #4f35f5;
}

.driver-details{
    margin-top:22px;
}

.driver-details summary{
    cursor:pointer;
    font-weight:700;
    color:#111827;
    padding:16px;
    background:#f9fafb;
    border-radius:14px;
}

.driver-detail-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    margin-top:18px;
}

.driver-items-list{
    padding-left:20px;
}

.driver-items-list li{
    margin-bottom:10px;
}

.driver-items-list strong{
    display:block;
}

.driver-empty-state{
    text-align:center;
    padding:70px 20px;
    background:#fff;
    border-radius:18px;
    border:1px solid #e5e7eb;
}

.driver-empty-state h3{
    margin-bottom:10px;
    color:#111827;
}

.driver-empty-state p{
    color:#6b7280;
}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:768px){

    #checkoutMap,
    .google-map{
        height:320px;
    }

    .driver-detail-grid{
        grid-template-columns:1fr;
    }

    .driver-card-actions{
        flex-direction:column;
    }

    .driver-card-actions a,
    .driver-card-actions button{
        width:100%;
    }

    .selected-location-card{
        grid-template-columns:1fr;
    }

    .checkout-map-header{
        flex-direction:column;
        align-items:flex-start;
    }

}

.real-dashboard-page{
  max-width:1500px;
  margin:auto;
  padding:30px;
}

.real-dashboard-hero{
  display:grid;
  grid-template-columns:1.5fr .8fr;
  gap:24px;
  margin-bottom:28px;
}

.real-dashboard-hero-content,
.real-dashboard-profile-card,
.real-dashboard-main-panel,
.real-dashboard-section,
.real-side-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 45px rgba(15,23,42,.07);
}

.real-dashboard-hero-content h1{
  font-size:42px;
  margin:14px 0 10px;
  color:#0f172a;
}

.real-dashboard-hero-content p,
.real-dashboard-section-head p,
.real-action-card p{
  color:#64748b;
  line-height:1.6;
}

.profile-orb{
  width:70px;
  height:70px;
  border-radius:22px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#4f35f5,#7c3aed);
  color:white;
  font-size:32px;
  font-weight:900;
  margin-bottom:18px;
}

.profile-status-row{
  margin-top:22px;
  display:flex;
  justify-content:space-between;
  padding-top:18px;
  border-top:1px solid #e5e7eb;
}

.profile-status-row strong{
  color:#16a34a;
}

.dashboard-actions-first{
  margin-bottom:28px;
}

.section-kicker{
  color:#4f35f5;
  font-weight:800;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.compact-head{
  margin-bottom:18px;
}

.real-dashboard-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:20px;
}

.real-action-card{
  min-height:190px;
  padding:24px;
  border-radius:22px;
  background:#fff;
  border:1px solid #e5e7eb;
  box-shadow:0 14px 35px rgba(15,23,42,.06);
  transition:.25s;
  text-decoration:none;
  color:#0f172a;
  display:flex;
  flex-direction:column;
}

.real-action-card:hover{
  transform:translateY(-5px);
  box-shadow:0 24px 55px rgba(79,53,245,.16);
  border-color:#c7d2fe;
}

.action-label{
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:#eef2ff;
  color:#4f35f5;
  font-weight:800;
  font-size:13px;
  margin-bottom:16px;
}

.real-action-card h3{
  margin:0 0 10px;
  font-size:21px;
  color:#0f172a;
}

.action-link{
  margin-top:auto;
  color:#4f35f5;
  font-weight:900;
}

.real-dashboard-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.real-stat-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:22px;
  padding:24px;
  box-shadow:0 14px 35px rgba(15,23,42,.06);
}

.real-stat-card span{
  color:#64748b;
  font-weight:700;
}

.real-stat-card strong{
  display:block;
  font-size:34px;
  margin:12px 0 8px;
  color:#0f172a;
}

.real-stat-card small{
  color:#94a3b8;
}

.real-dashboard-bottom-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:28px;
}

.gradient-card{
  background:linear-gradient(135deg,#0b102f,#4f35f5);
  color:white;
}

.gradient-card p,
.gradient-card h3{
  color:white;
}

@media(max-width:900px){
  .real-dashboard-hero,
  .real-dashboard-bottom-grid{
    grid-template-columns:1fr;
  }

  .real-dashboard-page{
    padding:18px;
  }

  .real-dashboard-hero-content h1{
    font-size:32px;
  }
}

/* ==========================================================
   REGISTER AGREEMENT
========================================================== */

.register-card{
    max-width:650px;
}

.agreement-card{
    margin-top:24px;
    padding:22px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    background:#fafafa;
    transition:.25s;
}

.agreement-card:hover{
    border-color:#f59e0b;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.agreement-card h3{
    margin:0 0 16px;
    font-size:22px;
    font-weight:700;
    color:#111827;
}

.agreement-scroll{
    max-height:230px;
    overflow-y:auto;
    padding:16px;
    background:white;
    border:1px solid #e5e7eb;
    border-radius:14px;
    line-height:1.7;
    font-size:15px;
}

.agreement-scroll p{
    margin:0 0 14px;
    color:#374151;
}

.agreement-scroll::-webkit-scrollbar{
    width:8px;
}

.agreement-scroll::-webkit-scrollbar-thumb{
    background:#d1d5db;
    border-radius:20px;
}

.agreement-scroll::-webkit-scrollbar-thumb:hover{
    background:#9ca3af;
}

.agreement-check{
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-top:18px;
    cursor:pointer;
    user-select:none;
    font-size:15px;
    color:#111827;
}

.agreement-check input{
    margin-top:3px;
    width:22px;
    height:22px;
    accent-color:#f59e0b;
    cursor:pointer;
}

.agreement-check span{
    line-height:1.6;
}

#registerBtn{
    width:100%;
    margin-top:24px;
    padding:16px;
    border:none;
    border-radius:14px;
    background:#f59e0b;
    color:#fff;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

#registerBtn:hover:not(:disabled){
    background:#d97706;
    transform:translateY(-2px);
}

#registerBtn:disabled{
    background:#d1d5db;
    color:#6b7280;
    cursor:not-allowed;
    transform:none;
    opacity:.8;
}

.hidden{
    display:none!important;
}

#message{
    margin-top:18px;
    text-align:center;
    color:#dc2626;
    font-weight:600;
}

.auth-card input,
.auth-card select{
    width:100%;
    padding:14px 16px;
    margin-bottom:14px;
    border:1px solid #d1d5db;
    border-radius:12px;
    font-size:15px;
    transition:.25s;
}

.auth-card input:focus,
.auth-card select:focus{
    outline:none;
    border-color:#f59e0b;
    box-shadow:0 0 0 4px rgba(245,158,11,.15);
}

@media (max-width:768px){

    .agreement-card{
        padding:18px;
    }

    .agreement-scroll{
        max-height:180px;
        font-size:14px;
    }

    .agreement-check{
        font-size:14px;
    }

    .agreement-card h3{
        font-size:20px;
    }

}

/* ==========================================================
   CART BADGE
========================================================== */

.mm-cart-btn{
    position:relative;
}

.mm-cart-badge{
    position:absolute;
    top:-8px;
    right:-8px;

    width:22px;
    height:22px;

    border-radius:50%;

    background:#ef4444;
    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:11px;
    font-weight:700;

    box-shadow:0 4px 12px rgba(239,68,68,.35);

    z-index:100;
}

/* ==========================================================
   PRODUCT CARD BUTTONS
========================================================== */

.product-card-actions{
    display:flex;
    gap:10px;
    margin-top:14px;
}

.product-card-actions .btn{
    flex:1;
}

.product-add-cart-btn{
    background:#111827;
    color:#fff;
    border:none;
    transition:.25s;
}

.product-add-cart-btn:hover{
    transform:translateY(-2px);
    background:#000;
}

.product-add-cart-btn.added{
    background:#16a34a;
}

/* ==========================================================
   FLY TO CART
========================================================== */

.fly-to-cart-img{

    position:fixed;

    z-index:99999;

    pointer-events:none;

    object-fit:cover;

    border-radius:14px;

    transition:
        transform .8s cubic-bezier(.18,.89,.32,1.28),
        opacity .8s;
}

/* ==========================================================
   CART SHAKE
========================================================== */

.cart-shake{
    animation:cartShake .45s;
}

@keyframes cartShake{

0%{transform:rotate(0deg);}
20%{transform:rotate(-12deg);}
40%{transform:rotate(12deg);}
60%{transform:rotate(-8deg);}
80%{transform:rotate(8deg);}
100%{transform:rotate(0deg);}

}

/* ==========================================================
   BADGE BOUNCE
========================================================== */

.cart-bounce{
    animation:cartBounce .45s;
}

@keyframes cartBounce{

0%{
transform:scale(1);
}

35%{
transform:scale(1.45);
}

60%{
transform:scale(.9);
}

100%{
transform:scale(1);
}

}

/* ==========================================================
   CART TOAST
========================================================== */

.cart-toast{

    position:fixed;

    right:24px;
    bottom:24px;

    width:330px;

    background:#111827;
    color:#fff;

    border-radius:18px;

    padding:18px;

    display:flex;
    flex-direction:column;
    gap:8px;

    box-shadow:0 20px 50px rgba(0,0,0,.25);

    opacity:0;
    visibility:hidden;

    transform:translateY(30px);

    transition:.35s;

    z-index:999999;
}

.cart-toast.show{

    opacity:1;
    visibility:visible;

    transform:translateY(0);

}

.cart-toast strong{

    font-size:17px;
    color:#fff;

}

.cart-toast span{

    color:#d1d5db;

}

.cart-toast a{

    color:#fbbf24;
    font-weight:700;
    text-decoration:none;

}

.cart-toast.success{

    border-left:6px solid #16a34a;

}

.cart-toast.error{

    border-left:6px solid #dc2626;

}

/* ==========================================================
   CART ITEM HOVER
========================================================== */

.pro-cart-item{

    transition:.25s;

}

.pro-cart-item:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

/* ==========================================================
   BUTTON PRESS EFFECT
========================================================== */

.btn:active,
.product-add-cart-btn:active{

    transform:scale(.96);

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

.cart-toast{

left:15px;
right:15px;
width:auto;

}

.mm-cart-badge{

width:20px;
height:20px;

font-size:10px;

}

.product-card-actions{

flex-direction:column;

}

}

@media (max-width: 768px){

  body{
    padding-bottom: 105px;
  }

  .mm-side-menu{
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    padding-bottom: 135px;
  }

  .mm-mobile-links{
    padding-bottom: 140px;
  }

  .mm-user-box{
    margin-bottom: 16px;
  }

  .mm-bottom-nav{
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;
  }

  .mm-mobile-search-wrap{
    position: sticky;
    top: 86px;
    z-index: 9998;
  }

  .mm-side-menu.show{
    padding-bottom: 150px;
  }
}

@media (max-width: 768px){

  .mm-side-menu{
    padding-top: 95px !important;
  }

  .mm-side-head{
    position: fixed;
    top: 0;
    left: 0;
    width: min(390px, 88vw);
    height: 74px;
    z-index: 10002;
    background: #0b0b3f;
  }

  .mm-user-box{
    margin-top: 18px !important;
  }

  .mm-mobile-search-wrap{
    position: fixed;
    top: 74px;
    left: 0;
    width: min(390px, 88vw);
    z-index: 10001;
    background: #fff;
    padding: 10px 14px;
  }

}


/* =========================================================
   MAUMARKET LOGO FINAL FIX
   Keep this block at the VERY BOTTOM of styles.css.
   It uses stronger selectors to override older CSS and nav.js injected styles.
   ========================================================= */

/* DESKTOP */
body .mm-nav.premium-mm-nav .mm-nav-inner,
body .mm-nav .mm-nav-inner{
  grid-template-columns: 56px 330px minmax(300px, 1fr) auto 58px !important;
  min-height: 88px !important;
  gap: 16px !important;
}

body .mm-nav.premium-mm-nav .mm-logo,
body .mm-nav .mm-logo,
body .mm-nav .mm-logo.mm-brand-logo{
  width: 330px !important;
  min-width: 330px !important;
  height: 76px !important;
  min-height: 76px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}

body .mm-nav.premium-mm-nav .mm-logo img,
body .mm-nav .mm-logo img,
body .mm-nav .mm-logo.mm-brand-logo img,
body .mm-nav .mm-brand-logo-img{
  width: 315px !important;
  min-width: 315px !important;
  height: 72px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

body .mm-nav.premium-mm-nav .mm-search,
body .mm-nav .mm-search{
  min-width: 0 !important;
  width: 100% !important;
}

/* SIDE MENU */
body .mm-side-menu .mm-side-head img,
body .mm-side-menu .mm-side-logo img{
  width: 280px !important;
  height: 92px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
}

/* MEDIUM DESKTOP */
@media (max-width: 1250px){
  body .mm-nav.premium-mm-nav .mm-nav-inner,
  body .mm-nav .mm-nav-inner{
    grid-template-columns: 56px 270px minmax(260px, 1fr) auto 58px !important;
    gap: 12px !important;
  }

  body .mm-nav.premium-mm-nav .mm-logo,
  body .mm-nav .mm-logo,
  body .mm-nav .mm-logo.mm-brand-logo{
    width: 270px !important;
    min-width: 270px !important;
  }

  body .mm-nav.premium-mm-nav .mm-logo img,
  body .mm-nav .mm-logo img,
  body .mm-nav .mm-logo.mm-brand-logo img,
  body .mm-nav .mm-brand-logo-img{
    width: 255px !important;
    min-width: 255px !important;
    height: 68px !important;
  }

  body .mm-desktop-links{
    gap: 10px !important;
  }

  body .mm-desktop-links a,
  body .mm-link-button{
    font-size: 12px !important;
  }
}

/* MOBILE */
@media (max-width: 980px){

  body .mm-nav.premium-mm-nav,
  body .mm-nav{
    padding: 0 !important;
    background: transparent !important;
    border-bottom: none !important;
  }

  body .mm-nav.premium-mm-nav .mm-nav-inner,
  body .mm-nav .mm-nav-inner{
    width: 100% !important;
    max-width: 100% !important;
    min-height: 112px !important;
    margin: 0 !important;
    padding: 16px 14px !important;
    grid-template-columns: 72px 1fr 72px !important;
    gap: 10px !important;
    border-radius: 0 !important;
  }

  body .mm-nav.premium-mm-nav .mm-logo,
  body .mm-nav .mm-logo,
  body .mm-nav .mm-logo.mm-brand-logo{
    width: 210px !important;
    min-width: 210px !important;
    max-width: 100% !important;
    height: 76px !important;
    min-height: 76px !important;
    justify-content: center !important;
    margin: 0 auto !important;
    overflow: visible !important;
  }

  body .mm-nav.premium-mm-nav .mm-logo img,
  body .mm-nav .mm-logo img,
  body .mm-nav .mm-logo.mm-brand-logo img,
  body .mm-nav .mm-brand-logo-img{
    width: 205px !important;
    min-width: 205px !important;
    height: 72px !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  body .mm-icon-btn,
  body .mm-cart-btn{
    width: 68px !important;
    height: 68px !important;
    min-height: 68px !important;
    border-radius: 23px !important;
  }

  body .mm-desktop-links,
  body .mm-search{
    display: none !important;
  }

  body .mm-mobile-search-wrap{
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: #ffffff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-bottom: 1px solid #e6e8f0 !important;
  }

  body .mm-mobile-search{
    width: 100% !important;
    max-width: 100% !important;
    height: 64px !important;
    display: flex !important;
    overflow: hidden !important;
    border-radius: 20px !important;
  }

  body .mm-mobile-search input{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body .mm-mobile-search button{
    flex: 0 0 76px !important;
    width: 76px !important;
    min-width: 76px !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* SMALL MOBILE */
@media (max-width: 420px){

  body .mm-nav.premium-mm-nav .mm-nav-inner,
  body .mm-nav .mm-nav-inner{
    grid-template-columns: 68px 1fr 68px !important;
    min-height: 108px !important;
    padding: 14px 10px !important;
  }

  body .mm-nav.premium-mm-nav .mm-logo,
  body .mm-nav .mm-logo,
  body .mm-nav .mm-logo.mm-brand-logo{
    width: 185px !important;
    min-width: 185px !important;
    height: 72px !important;
  }

  body .mm-nav.premium-mm-nav .mm-logo img,
  body .mm-nav .mm-logo img,
  body .mm-nav .mm-logo.mm-brand-logo img,
  body .mm-nav .mm-brand-logo-img{
    width: 180px !important;
    min-width: 180px !important;
    height: 68px !important;
  }

  body .mm-icon-btn,
  body .mm-cart-btn{
    width: 64px !important;
    height: 64px !important;
    min-height: 64px !important;
  }
}

/* ===========================================================
   PREMIUM MAUMARKET DASHBOARD
=========================================================== */

.premium-account-dashboard{
    background:#f5f7fc;
}

/* Hero */

.premium-dashboard-hero{
    background:
        radial-gradient(circle at top right,#7c4dff33,transparent 35%),
        linear-gradient(135deg,#1f2246,#272b60);

    color:#fff;

    border-radius:32px;

    padding:45px;

    margin-bottom:35px;

    box-shadow:0 25px 70px rgba(31,34,70,.18);
}

.premium-profile-card{

    background:#fff;

    color:#20243d;

    border:2px solid #ece8ff;

    transition:.35s;

}

.premium-profile-card:hover{

    transform:translateY(-8px);

    box-shadow:0 28px 60px rgba(124,77,255,.20);

}

/* Sections */

.premium-dashboard-panel{

    background:#fff;

    border-radius:28px;

    padding:30px;

    margin-bottom:30px;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}

/* ===========================================================
   ACTION CARDS
=========================================================== */

.premium-dashboard-card{

    position:relative;

    overflow:hidden;

    background:#fff;

    border:1px solid #ececf5;

    border-radius:24px;

    padding:26px;

    transition:.35s;

    text-decoration:none;

    color:#222;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}

.dashboard-card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

.dashboard-card-icon{

    width:58px;

    height:58px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:26px;

    background:#f4efff;

    color:#6b38ff;

    transition:.35s;

}

.action-label{

    background:#f2f2ff;

    color:#6b38ff;

    padding:6px 14px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    letter-spacing:.5px;

}

.premium-dashboard-card h3{

    margin:0 0 12px;

    font-size:22px;

}

.premium-dashboard-card p{

    color:#666;

    line-height:1.6;

    margin-bottom:28px;

}

.action-link{

    color:#6b38ff;

    font-weight:700;

    transition:.35s;

}

/* Hover */

.premium-dashboard-card:hover{

    transform:translateY(-10px);

    background:linear-gradient(135deg,#5d36ff,#7d53ff);

    box-shadow:0 30px 70px rgba(93,54,255,.35);

}

.premium-dashboard-card:hover h3,

.premium-dashboard-card:hover p,

.premium-dashboard-card:hover .action-link{

    color:#fff;

}

.premium-dashboard-card:hover .dashboard-card-icon{

    background:#fff;

    color:#5d36ff;

    transform:rotate(8deg) scale(1.08);

}

.premium-dashboard-card:hover .action-label{

    background:rgba(255,255,255,.18);

    color:#fff;

}

/* ===========================================================
   STAT CARDS
=========================================================== */

.premium-stat-card{

    position:relative;

    background:#fff;

    border-radius:24px;

    padding:24px;

    text-align:center;

    transition:.35s;

    border:1px solid #ececf5;

    box-shadow:0 10px 22px rgba(0,0,0,.04);

}

.stat-card-icon{

    margin:0 auto 18px;

}

.premium-stat-card span{

    display:block;

    color:#777;

    margin-bottom:8px;

}

.premium-stat-card strong{

    display:block;

    font-size:34px;

    color:#2d2d2d;

    margin-bottom:10px;

}

.premium-stat-card small{

    color:#888;

}

.premium-stat-card:hover{

    transform:translateY(-8px);

    background:linear-gradient(135deg,#5d36ff,#7d53ff);

    box-shadow:0 25px 60px rgba(93,54,255,.30);

}

.premium-stat-card:hover span,

.premium-stat-card:hover strong,

.premium-stat-card:hover small{

    color:#fff;

}

.premium-stat-card:hover .dashboard-card-icon{

    background:#fff;

    color:#5d36ff;

}

/* ===========================================================
   SIDE CARDS
=========================================================== */

.premium-hover-card,

.premium-support-card{

    transition:.35s;

}

.premium-hover-card:hover,

.premium-support-card:hover{

    transform:translateY(-8px);

    background:linear-gradient(135deg,#5d36ff,#7d53ff);

    color:#fff;

    box-shadow:0 30px 60px rgba(93,54,255,.30);

}

.premium-hover-card:hover h3,

.premium-hover-card:hover p,

.premium-hover-card:hover li,

.premium-support-card:hover h3,

.premium-support-card:hover p{

    color:#fff;

}

.whatsapp-support-btn{

    transition:.35s;

}

.premium-support-card:hover .whatsapp-support-btn{

    background:#fff;

    color:#5d36ff;

}

/* ===========================================================
   MOBILE
=========================================================== */

@media(max-width:768px){

    .premium-dashboard-hero{

        padding:30px 22px;

    }

    .premium-dashboard-panel{

        padding:20px;

    }

    .premium-dashboard-card{

        padding:20px;

    }

    .dashboard-card-icon{

        width:50px;

        height:50px;

        font-size:22px;

    }

    .premium-stat-card strong{

        font-size:28px;

    }

}

/* ==========================================================
   MAUMARKET AD SLIDESHOW
========================================================== */

.market-ad-carousel{

    position:relative;

    width:100%;

    margin:35px 0;

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    box-shadow:0 20px 55px rgba(20,20,40,.08);

    border:1px solid #ececf6;

}

/* Header */

.market-ad-carousel-head{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 24px;

    border-bottom:1px solid #ececf6;

    background:#fff;

}

.market-ad-carousel-head span{

    display:inline-block;

    padding:6px 14px;

    background:#f4efff;

    color:#613dff;

    border-radius:999px;

    font-weight:700;

    font-size:12px;

    letter-spacing:.4px;

}

.market-ad-carousel-head h2{

    margin-top:8px;

    font-size:22px;

    color:#20243d;

}

/* ==========================================================
   Controls
========================================================== */

.market-ad-controls{

    display:flex;

    gap:10px;

}

.market-ad-controls button{

    width:44px;

    height:44px;

    border:none;

    border-radius:14px;

    background:#5d36ff;

    color:#fff;

    font-size:24px;

    cursor:pointer;

    transition:.3s;

}

.market-ad-controls button:hover{

    transform:translateY(-2px);

    background:#4322db;

}

/* ==========================================================
   Slides
========================================================== */

.market-ad-slides{

    position:relative;

    width:100%;

    height:320px;

}

.market-ad-slide{

    position:absolute;

    inset:0;

    opacity:0;

    pointer-events:none;

    transition:opacity .6s ease;

    overflow:hidden;

    cursor:pointer;

}

.market-ad-slide.active{

    opacity:1;

    pointer-events:auto;

}

.market-ad-slide img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

/* Dark overlay */

.market-ad-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        90deg,
        rgba(15,18,43,.88) 0%,
        rgba(25,27,59,.62) 35%,
        rgba(15,18,43,.15) 100%
    );

}

/* ==========================================================
   Text
========================================================== */

.market-ad-content{

    position:absolute;

    left:45px;

    top:50%;

    transform:translateY(-50%);

    color:#fff;

    max-width:420px;

    z-index:10;

}

.market-ad-content span{

    display:inline-block;

    padding:7px 15px;

    border-radius:999px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(12px);

    margin-bottom:18px;

    font-weight:700;

}

.market-ad-content h2{

    font-size:48px;

    line-height:1.05;

    margin-bottom:14px;

    color:#fff;

}

.market-ad-content p{

    color:rgba(255,255,255,.88);

    font-size:17px;

    line-height:1.6;

    margin-bottom:26px;

}

.market-ad-content button{

    border:none;

    background:linear-gradient(135deg,#5d36ff,#7f56ff);

    color:#fff;

    padding:14px 34px;

    border-radius:14px;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

.market-ad-content button:hover{

    transform:translateY(-3px);

    box-shadow:0 20px 40px rgba(93,54,255,.35);

}

/* ==========================================================
   Dots
========================================================== */

.market-ad-dots{

    display:flex;

    justify-content:center;

    gap:10px;

    padding:18px;

    background:#fff;

}

.market-ad-dot{

    width:11px;

    height:11px;

    border:none;

    border-radius:50%;

    background:#d6d6e5;

    cursor:pointer;

    transition:.3s;

}

.market-ad-dot.active{

    width:34px;

    border-radius:999px;

    background:#5d36ff;

}

/* ==========================================================
   Hover
========================================================== */

.market-ad-slide:hover img{

    transform:scale(1.04);

    transition:transform .7s;

}

.market-ad-slide img{

    transition:transform .7s;

}

/* ==========================================================
   Mobile
========================================================== */

@media(max-width:900px){

.market-ad-slides{

    height:220px;

}

.market-ad-content{

    left:22px;

    right:22px;

    max-width:none;

}

.market-ad-content h2{

    font-size:30px;

}

.market-ad-content p{

    display:none;

}

.market-ad-carousel-head{

    padding:15px 18px;

}

.market-ad-carousel-head h2{

    font-size:18px;

}

.market-ad-controls button{

    width:38px;

    height:38px;

}

}

@media(max-width:600px){

.market-ad-slides{

    height:180px;

}

.market-ad-content h2{

    font-size:24px;

}

.market-ad-content button{

    padding:10px 20px;

    font-size:14px;

}

.market-ad-content{

    left:18px;

}

}

/* ==========================================================
   PREMIUM FEATURED SHOPS
========================================================== */

.premium-featured-shops-section{
    margin-top:50px;
}

.featured-shops-section-head{
    margin-bottom:28px;
}

.premium-featured-shops-row{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));

    gap:28px;

}

/* ==========================================================
   CARD
========================================================== */

.premium-featured-shop-card{

    position:relative;

    overflow:hidden;

    border-radius:28px;

    background:#fff;

    border:1px solid #ececf6;

    box-shadow:0 18px 45px rgba(25,30,60,.08);

    transition:.35s;

}

.featured-shop-card-link{

    display:block;

    color:inherit;

    text-decoration:none;

}

.premium-featured-shop-card:hover{

    transform:translateY(-12px);

    background:linear-gradient(135deg,#5c34ff,#7e5bff);

    box-shadow:0 35px 75px rgba(92,52,255,.35);

}

/* ==========================================================
   BANNER
========================================================== */

.featured-shop-banner{

    position:relative;

    height:170px;

    overflow:hidden;

}

.featured-shop-banner-img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.featured-shop-banner-fallback{

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:60px;

    font-weight:800;

    color:#fff;

    background:
        linear-gradient(135deg,#5d36ff,#8c6cff);

}

.featured-shop-banner-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(18,18,45,.05),
        rgba(18,18,45,.58)
    );

}

.premium-featured-shop-card:hover .featured-shop-banner-img{

    transform:scale(1.08);

}

/* ==========================================================
   BADGE
========================================================== */

.featured-shop-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:#fff;

    color:#5d36ff;

    padding:8px 16px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

    z-index:3;

}

/* ==========================================================
   BODY
========================================================== */

.featured-shop-body{

    position:relative;

    padding:72px 26px 24px;

}

/* ==========================================================
   LOGO
========================================================== */

.featured-shop-logo-wrap{

    position:absolute;

    top:-42px;

    left:24px;

    width:86px;

    height:86px;

    border-radius:50%;

    overflow:hidden;

    border:5px solid #fff;

    background:#fff;

    box-shadow:0 10px 28px rgba(0,0,0,.18);

}

.featured-shop-logo-img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.featured-shop-logo-fallback{

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:linear-gradient(135deg,#5d36ff,#7d56ff);

    color:#fff;

    font-size:32px;

    font-weight:700;

}

/* ==========================================================
   TITLE
========================================================== */

.featured-shop-heading{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:12px;

}

.featured-shop-heading h3{

    margin:0;

    font-size:24px;

    color:#222;

}

.featured-shop-location{

    margin-top:6px;

    color:#777;

}

.featured-shop-check{

    width:36px;

    height:36px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#5d36ff;

    color:#fff;

    font-weight:700;

}

/* ==========================================================
   DESCRIPTION
========================================================== */

.featured-shop-description{

    margin:22px 0;

    color:#666;

    line-height:1.65;

    min-height:70px;

}

/* ==========================================================
   STATS
========================================================== */

.featured-shop-meta{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:24px;

}

.featured-shop-meta div{

    text-align:center;

    padding:16px;

    border-radius:16px;

    background:#f7f7fb;

    transition:.3s;

}

.featured-shop-meta strong{

    display:block;

    font-size:22px;

    color:#222;

    margin-bottom:6px;

}

.featured-shop-meta span{

    font-size:13px;

    color:#777;

}

/* ==========================================================
   FOOTER
========================================================== */

.featured-shop-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:10px;

}

.featured-shop-trust{

    background:#eef4ff;

    color:#3164ff;

    padding:8px 15px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

}

.featured-shop-visit{

    background:#5d36ff;

    color:#fff;

    padding:12px 22px;

    border-radius:14px;

    font-weight:700;

    transition:.3s;

}

/* ==========================================================
   HOVER
========================================================== */

.premium-featured-shop-card:hover h3,

.premium-featured-shop-card:hover p,

.premium-featured-shop-card:hover strong,

.premium-featured-shop-card:hover span{

    color:#fff;

}

.premium-featured-shop-card:hover .featured-shop-meta div{

    background:rgba(255,255,255,.14);

}

.premium-featured-shop-card:hover .featured-shop-trust{

    background:#fff;

    color:#5d36ff;

}

.premium-featured-shop-card:hover .featured-shop-visit{

    background:#fff;

    color:#5d36ff;

}

.premium-featured-shop-card:hover .featured-shop-check{

    background:#fff;

    color:#5d36ff;

}

.premium-featured-shop-card:hover .featured-shop-logo-wrap{

    border-color:#fff;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

    .premium-featured-shops-row{

        grid-template-columns:repeat(auto-fill,minmax(290px,1fr));

    }

}

@media (max-width:768px){

    .premium-featured-shops-row{

        display:flex;

        overflow-x:auto;

        gap:18px;

        scroll-snap-type:x mandatory;

        padding-bottom:10px;

    }

    .premium-featured-shop-card{

        flex:0 0 310px;

        scroll-snap-align:start;

    }

}

@media (max-width:500px){

    .featured-shop-banner{

        height:150px;

    }

    .featured-shop-heading h3{

        font-size:20px;

    }

    .featured-shop-meta{

        grid-template-columns:1fr;

    }

}


/* =========================================================
   FINAL COMPACT FEATURED SHOPS OVERRIDE
   Matches products.js compact-featured-shop-card markup.
   Keep this block at the VERY BOTTOM of styles.css.
   ========================================================= */

.premium-featured-shops-section{
  margin-top: 24px !important;
  padding: 24px 26px !important;
}

.featured-shops-section-head{
  margin-bottom: 18px !important;
}

.featured-shops-section-head p{
  max-width: 720px;
  margin-top: 4px !important;
  font-size: 14px;
  line-height: 1.5;
}

.premium-featured-shops-row,
.featured-shops-row{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 18px !important;
  overflow: visible !important;
  padding: 0 !important;
  align-items: stretch !important;
}

.featured-shop-card.compact-featured-shop-card{
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: left !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  border: 1px solid #e6e8f0 !important;
  background: #ffffff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07) !important;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease !important;
}

.featured-shop-card.compact-featured-shop-card:hover{
  transform: translateY(-7px) !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, #4f35f5, #7557ff) !important;
  box-shadow: 0 24px 52px rgba(79, 53, 245, 0.25) !important;
}

.compact-shop-link{
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.compact-shop-banner{
  position: relative;
  height: 112px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #312e81);
}

.compact-shop-banner-img{
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  transition: transform .45s ease !important;
}

.compact-shop-banner-fallback{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 35%),
    linear-gradient(135deg, #24166f, #4f35f5);
  color: #ffffff;
  font-size: 42px;
  font-weight: 950;
  letter-spacing: -1px;
}

.compact-shop-banner-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 11, 40, 0.04) 15%,
    rgba(7, 11, 40, 0.58) 100%
  );
}

.compact-shop-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin: 0 !important;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #4f35f5 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.12);
}

.compact-shop-body{
  position: relative;
  padding: 42px 16px 16px;
  min-height: 175px;
}

.compact-shop-logo-wrap{
  position: absolute;
  top: -34px;
  left: 16px;
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 18px;
  border: 4px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(15,23,42,.16);
  transition: transform .28s ease;
}

.compact-shop-logo-img{
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 14px !important;
  object-fit: cover !important;
}

.compact-shop-logo-fallback{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #4f35f5, #7557ff);
  color: #ffffff;
  font-size: 24px;
  font-weight: 950;
}

.compact-shop-title-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.compact-shop-title-row h3{
  margin: 0 0 3px !important;
  color: #0f172a !important;
  font-size: 17px !important;
  line-height: 1.25;
  letter-spacing: -.2px;
}

.compact-shop-title-row p{
  margin: 0 !important;
  color: #667085 !important;
  font-size: 12px !important;
  line-height: 1.4;
}

.compact-shop-check{
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

.compact-shop-meta{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.compact-shop-meta span{
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin: 0 !important;
  padding: 6px 9px;
  border-radius: 10px;
  background: #f8fafc;
  color: #475569 !important;
  border: 1px solid #e6e8f0;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.compact-shop-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef2f7;
}

.compact-shop-footer span{
  display: inline-flex !important;
  width: fit-content;
  margin: 0 !important;
  color: #667085 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.compact-shop-footer strong{
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin: 0 !important;
  color: #4f35f5 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-banner-img{
  transform: scale(1.06);
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-logo-wrap{
  transform: translateY(-2px) scale(1.03);
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-title-row h3,
.featured-shop-card.compact-featured-shop-card:hover .compact-shop-title-row p,
.featured-shop-card.compact-featured-shop-card:hover .compact-shop-footer span{
  color: #ffffff !important;
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-meta span{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.24);
  color: #ffffff !important;
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-check{
  background: #ffffff;
  color: #4f35f5 !important;
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-footer{
  border-top-color: rgba(255,255,255,.22);
}

.featured-shop-card.compact-featured-shop-card:hover .compact-shop-footer strong{
  color: #ffffff !important;
}

/* Medium desktop: keep the section balanced */
@media (max-width: 1200px){
  .premium-featured-shops-row,
  .featured-shops-row{
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  }
}

/* Tablet */
@media (max-width: 820px){
  .premium-featured-shops-section{
    padding: 20px !important;
  }

  .featured-shops-section-head{
    align-items: flex-start !important;
  }

  .premium-featured-shops-row,
  .featured-shops-row{
    display: flex !important;
    overflow-x: auto !important;
    gap: 14px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: 6px !important;
  }

  .featured-shop-card.compact-featured-shop-card{
    flex: 0 0 270px !important;
    scroll-snap-align: start;
  }
}

/* Mobile */
@media (max-width: 520px){
  .premium-featured-shops-section{
    padding: 18px 14px !important;
    margin-top: 18px !important;
  }

  .featured-shops-section-head{
    display: block !important;
    margin-bottom: 14px !important;
  }

  .featured-shops-section-head a{
    display: inline-flex;
    margin-top: 10px;
    font-size: 13px;
  }

  .featured-shop-card.compact-featured-shop-card{
    flex-basis: 245px !important;
  }

  .compact-shop-banner{
    height: 100px;
  }

  .compact-shop-body{
    padding: 39px 14px 14px;
    min-height: 165px;
  }

  .compact-shop-logo-wrap{
    left: 14px;
    width: 62px;
    height: 62px;
  }

  .compact-shop-title-row h3{
    font-size: 16px !important;
  }

  .compact-shop-footer{
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

/*=========================================================
  SHOPS DIRECTORY PAGE
=========================================================*/

.shops-directory-page{

    max-width:1500px;

    margin:auto;

    padding:40px 20px 80px;

}

/*=========================================================
  HERO
=========================================================*/

.shops-directory-hero{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:30px;

    margin-bottom:35px;

}

.shops-directory-hero-content{

    background:
    linear-gradient(135deg,#19184c,#4831d4);

    color:#fff;

    padding:50px;

    border-radius:28px;

    box-shadow:0 20px 45px rgba(60,60,120,.18);

}

.shops-directory-hero-content h1{

    font-size:52px;

    margin:12px 0;

}

.shops-directory-hero-content p{

    font-size:18px;

    opacity:.9;

    line-height:1.7;

    max-width:700px;

}

.shops-hero-stats{

    display:flex;

    gap:18px;

    margin-top:35px;

    flex-wrap:wrap;

}

.shops-hero-stats div{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(10px);

    border-radius:18px;

    padding:18px 26px;

}

.shops-hero-stats strong{

    display:block;

    font-size:28px;

}

.shops-hero-stats span{

    opacity:.9;

}

.shops-directory-hero-card{

    background:#fff;

    border-radius:28px;

    padding:35px;

    box-shadow:0 15px 40px rgba(30,30,70,.08);

}

.shops-hero-card-icon{

    width:80px;

    height:80px;

    border-radius:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:36px;

    font-weight:800;

    color:#fff;

    background:linear-gradient(135deg,#5d36ff,#7d58ff);

    margin-bottom:20px;

}

.shops-directory-hero-card ul{

    margin-top:18px;

    padding-left:18px;

}

.shops-directory-hero-card li{

    margin-bottom:12px;

}

/*=========================================================
  TOOLBAR
=========================================================*/

.shops-directory-toolbar{

    display:grid;

    grid-template-columns:2fr 1fr 1fr auto;

    gap:18px;

    margin-bottom:35px;

}

.shops-search-input-wrap{

    display:flex;

}

.shops-search-input-wrap input{

    flex:1;

    height:58px;

    border:1px solid #ddd;

    border-radius:16px 0 0 16px;

    padding:0 20px;

    font-size:16px;

}

.shops-search-input-wrap button{

    width:120px;

    border:none;

    color:#fff;

    cursor:pointer;

    border-radius:0 16px 16px 0;

    background:linear-gradient(135deg,#5d36ff,#7c59ff);

}

.shops-filter-group select{

    width:100%;

    height:58px;

    border-radius:16px;

    border:1px solid #ddd;

    padding:0 16px;

}

.shops-clear-btn{

    height:58px;

    margin-top:24px;

}

/*=========================================================
  LAYOUT
=========================================================*/

.shops-directory-layout{

    display:grid;

    grid-template-columns:290px 1fr;

    gap:30px;

}

.shops-category-list{

    display:flex;

    flex-direction:column;

    gap:12px;

}

.shops-category-btn{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:14px 16px;

    border-radius:14px;

    border:1px solid #ececec;

    background:#fff;

    cursor:pointer;

    transition:.3s;

}

.shops-category-btn.active,

.shops-category-btn:hover{

    background:linear-gradient(135deg,#5d36ff,#7957ff);

    color:#fff;

}

.shops-directory-main{

    display:flex;

    flex-direction:column;

    gap:25px;

}

/*=========================================================
  GRID
=========================================================*/

.shops-directory-grid{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(330px,1fr));

    gap:24px;

}

/*=========================================================
  SHOP CARD
=========================================================*/

.directory-shop-card{

    background:#fff;

    border-radius:24px;

    overflow:hidden;

    border:1px solid #ececec;

    transition:.35s;

    box-shadow:0 12px 30px rgba(30,30,60,.07);

}

.directory-shop-card:hover{

    transform:translateY(-8px);

    background:linear-gradient(135deg,#5d36ff,#7a58ff);

    box-shadow:0 25px 50px rgba(93,54,255,.28);

}

.directory-shop-card-link{

    color:inherit;

    text-decoration:none;

    display:block;

}

.directory-shop-banner{

    height:180px;

    position:relative;

    overflow:hidden;

}

.directory-shop-banner img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.45s;

}

.directory-shop-card:hover img{

    transform:scale(1.08);

}

.directory-shop-banner-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.45));

}

.directory-shop-badge{

    position:absolute;

    top:18px;

    left:18px;

    background:#fff;

    color:#5d36ff;

    padding:8px 15px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.directory-shop-body{

    position:relative;

    padding:55px 22px 22px;

}

.directory-shop-logo-wrap{

    position:absolute;

    top:-40px;

    left:20px;

    width:78px;

    height:78px;

    border-radius:18px;

    overflow:hidden;

    border:4px solid #fff;

    background:#fff;

}

.directory-shop-logo-img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.directory-shop-logo-fallback{

    width:100%;

    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:28px;

    font-weight:800;

    background:linear-gradient(135deg,#5d36ff,#7d58ff);

}

.directory-shop-title-row{

    display:flex;

    justify-content:space-between;

    gap:10px;

}

.directory-shop-title-row h3{

    margin:0;

    font-size:23px;

}

.directory-shop-title-row p{

    margin-top:4px;

    color:#666;

}

.directory-shop-check{

    width:34px;

    height:34px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#d8ffe7;

    color:#15a34a;

    font-weight:700;

}

.directory-shop-description{

    margin:20px 0;

    line-height:1.7;

    color:#666;

}

.directory-shop-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:20px;

}

.directory-shop-tags span{

    padding:8px 14px;

    background:#f7f8fc;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.directory-shop-stats{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:20px;

}

.directory-shop-stats div{

    background:#f8f9ff;

    border-radius:16px;

    text-align:center;

    padding:16px;

}

.directory-shop-stats strong{

    display:block;

    font-size:22px;

}

.directory-shop-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid #eee;

    padding-top:16px;

}

.directory-shop-footer strong{

    color:#5d36ff;

}

/*=========================================================
  HOVER
=========================================================*/

.directory-shop-card:hover h3,

.directory-shop-card:hover p,

.directory-shop-card:hover span,

.directory-shop-card:hover strong{

    color:#fff;

}

.directory-shop-card:hover .directory-shop-tags span{

    background:rgba(255,255,255,.15);

}

.directory-shop-card:hover .directory-shop-check{

    background:#fff;

    color:#5d36ff;

}

.directory-shop-card:hover .directory-shop-footer{

    border-color:rgba(255,255,255,.2);

}

/*=========================================================
  CTA
=========================================================*/

.shops-directory-cta{

    margin-top:50px;

    background:linear-gradient(135deg,#1b194d,#5437ff);

    color:#fff;

    border-radius:28px;

    padding:50px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

}

.shops-directory-cta .btn{

    background:#fff;

    color:#5d36ff;

}

/*=========================================================
  RESPONSIVE
=========================================================*/

@media(max-width:1100px){

.shops-directory-layout{

grid-template-columns:1fr;

}

.shops-directory-hero{

grid-template-columns:1fr;

}

}

@media(max-width:768px){

.shops-directory-toolbar{

grid-template-columns:1fr;

}

.shops-directory-grid{

grid-template-columns:1fr;

}

.shops-directory-cta{

flex-direction:column;

text-align:center;

}

}


/* =========================================================
   MAUMARKET — ADMIN PAGES ADDED TODAY
   Add this block at the VERY BOTTOM of styles.css
   ========================================================= */

.admin-users-page,
.admin-products-page,
.admin-commission-page,
.admin-payouts-page,
.admin-reviews-page {
  width: min(1500px, 94%);
  margin: 24px auto 80px;
}

.admin-users-page .section-kicker,
.admin-products-page .section-kicker,
.admin-commission-page .section-kicker,
.admin-payouts-page .section-kicker,
.admin-reviews-page .section-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-result-count,
.admin-users-result-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
}

.admin-filter-field label {
  margin: 0 0 6px;
  font-size: 13px;
}

.admin-filter-field input,
.admin-filter-field select {
  margin: 0;
}

.admin-filter-row {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(2, minmax(180px, .7fr));
  gap: 16px;
  align-items: end;
}

.admin-users-filter-card,
.admin-users-list-card,
.admin-payout-filters-card,
.admin-payouts-list-card,
.admin-reviews-filter-card,
.admin-reviews-list-card,
.admin-commission-orders-card {
  margin-top: 24px;
}

.admin-users-list,
.admin-products-list,
.admin-commission-orders-list,
.admin-payouts-list,
.admin-reviews-list {
  display: grid;
  gap: 18px;
}

/* SHARED ADMIN HERO */

.admin-users-hero,
.admin-products-hero,
.admin-commission-hero,
.admin-payouts-hero,
.admin-reviews-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  margin-bottom: 26px;
}

.admin-users-hero-content,
.admin-products-hero-content,
.admin-commission-hero-content,
.admin-payouts-hero-content,
.admin-reviews-hero-content {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(245,158,11,.20), transparent 30%),
    radial-gradient(circle at 78% 85%, rgba(117,87,255,.30), transparent 34%),
    linear-gradient(135deg, var(--dark), var(--primary-dark));
  box-shadow: var(--shadow-lg);
}

.admin-users-hero-content h1,
.admin-products-hero-content h1,
.admin-commission-hero-content h1,
.admin-payouts-hero-content h1,
.admin-reviews-hero-content h1 {
  margin: 16px 0 14px;
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -2px;
}

.admin-users-hero-content p,
.admin-products-hero-content p,
.admin-commission-hero-content p,
.admin-payouts-hero-content p,
.admin-reviews-hero-content p {
  max-width: 780px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.6;
}

.admin-users-hero-card,
.admin-products-hero-card,
.admin-commission-hero-card,
.admin-payouts-hero-card,
.admin-reviews-hero-card {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.admin-users-hero-icon,
.admin-products-hero-icon,
.admin-commission-hero-icon,
.admin-payouts-hero-icon,
.admin-reviews-hero-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 18px 36px rgba(79,53,245,.28);
  font-size: 28px;
  font-weight: 950;
}

.admin-users-hero-status,
.profile-status-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

/* SHARED STAT CARDS */

.admin-users-stats,
.admin-products-stats,
.admin-commission-stats,
.admin-payouts-stats,
.admin-reviews-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.admin-user-stat-card,
.admin-stat-card,
.admin-commission-stat-card,
.admin-payout-stat-card,
.admin-review-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: .24s ease;
}

.admin-user-stat-card:hover,
.admin-stat-card:hover,
.admin-commission-stat-card:hover,
.admin-payout-stat-card:hover,
.admin-review-stat-card:hover {
  transform: translateY(-6px);
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 24px 52px rgba(79,53,245,.24);
}

.admin-user-stat-icon,
.admin-stat-icon,
.admin-commission-stat-icon,
.admin-payout-stat-icon,
.admin-review-stat-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 24px;
  font-weight: 950;
}

.admin-user-stat-card span,
.admin-stat-card span,
.admin-commission-stat-card span,
.admin-payout-stat-card span,
.admin-review-stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.admin-user-stat-card strong,
.admin-stat-card strong,
.admin-commission-stat-card strong,
.admin-payout-stat-card strong,
.admin-review-stat-card strong {
  display: block;
  margin: 4px 0;
  color: var(--text);
  font-size: 28px;
  font-weight: 950;
}

.admin-user-stat-card small,
.admin-stat-card small,
.admin-commission-stat-card small,
.admin-payout-stat-card small,
.admin-review-stat-card small {
  color: var(--muted);
  font-size: 12px;
}

.admin-user-stat-card:hover span,
.admin-user-stat-card:hover strong,
.admin-user-stat-card:hover small,
.admin-stat-card:hover span,
.admin-stat-card:hover strong,
.admin-stat-card:hover small,
.admin-commission-stat-card:hover span,
.admin-commission-stat-card:hover strong,
.admin-commission-stat-card:hover small,
.admin-payout-stat-card:hover span,
.admin-payout-stat-card:hover strong,
.admin-payout-stat-card:hover small,
.admin-review-stat-card:hover span,
.admin-review-stat-card:hover strong,
.admin-review-stat-card:hover small {
  color: #fff;
}

/* COMMISSION EXPLANATION */

.commission-explanation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.commission-info-card {
  display: flex;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.commission-info-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 22px;
  font-weight: 950;
}

/* PAYOUT CARDS */

.seller-payout-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.seller-payout-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.seller-payout-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.seller-payout-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  font-weight: 950;
}

.seller-payout-status {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.seller-payout-status.pending { color:#92400e; background:#fef3c7; }
.seller-payout-status.partial { color:#1d4ed8; background:#dbeafe; }
.seller-payout-status.paid { color:#166534; background:#dcfce7; }

.seller-payout-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
}

.seller-payout-summary > div {
  padding: 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.seller-payout-order-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 18px;
}

.seller-payout-pending-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #fafaff);
}

/* REVIEW CARDS */

.admin-review-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-review-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
}

.admin-review-customer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-review-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  font-weight: 950;
}

.admin-review-rating-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.admin-review-rating-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #f8fafc;
}

.review-full-stars { color:#f59e0b; letter-spacing:2px; }
.review-empty-stars { color:#cbd5e1; letter-spacing:2px; }

.admin-review-message {
  margin: 0 20px 20px;
  padding: 18px;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  background: #fafaff;
  color: var(--text-soft);
  line-height: 1.65;
}

.admin-review-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 20px;
}

.admin-review-details > div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 15px;
}

.admin-review-actions {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

/* REVIEW ORDER MODAL */

.review-order-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
}

.review-order-modal.show {
  display: grid;
  place-items: center;
  padding: 22px;
}

.review-order-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7,11,40,.68);
  backdrop-filter: blur(7px);
}

.review-order-modal-card {
  position: relative;
  z-index: 2;
  width: min(850px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 40px 110px rgba(7,11,40,.38);
}

.review-order-modal-head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(15px);
}

.review-order-modal-close {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 27px;
}

.review-order-modal-content { padding:22px; }

.review-order-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.review-order-summary-grid > div,
.review-order-customer-box,
.review-order-items-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #f8fafc;
}

.review-order-customer-box,
.review-order-items-box {
  margin-top: 16px;
}

.review-order-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.review-order-item:last-child { border-bottom:0; }

/* RESPONSIVE */

@media (max-width: 1100px) {
  .admin-users-hero,
  .admin-products-hero,
  .admin-commission-hero,
  .admin-payouts-hero,
  .admin-reviews-hero {
    grid-template-columns: 1fr;
  }

  .admin-users-stats,
  .admin-products-stats,
  .admin-commission-stats,
  .admin-payouts-stats,
  .admin-reviews-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seller-payout-summary,
  .admin-review-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .admin-filter-row,
  .admin-users-filter-row,
  .admin-payout-filter-row,
  .admin-reviews-filter-row,
  .commission-explanation-grid,
  .admin-review-rating-grid,
  .review-order-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .admin-users-stats,
  .admin-products-stats,
  .admin-commission-stats,
  .admin-payouts-stats,
  .admin-reviews-stats {
    grid-template-columns: 1fr;
  }

  .seller-payout-card-head,
  .admin-review-card-head,
  .seller-payout-pending-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .seller-payout-summary,
  .admin-review-details {
    grid-template-columns: 1fr;
  }

  .review-order-modal.show { padding:10px; }
  .review-order-modal-card { max-height:94vh; }
  .review-order-item { flex-direction:column; }
}

/* =========================================================
   MAUMARKET — PREMIUM DRIVER DELIVERY DASHBOARD
   Add this entire block at the VERY BOTTOM of styles.css
   ========================================================= */

.driver-delivery-page{width:min(1500px,94%);margin:24px auto 90px}
.driver-delivery-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:24px;align-items:stretch;margin-bottom:26px}
.driver-delivery-hero-content{position:relative;overflow:hidden;padding:48px;border-radius:30px;color:#fff;background:radial-gradient(circle at 88% 18%,rgba(245,158,11,.24),transparent 28%),radial-gradient(circle at 74% 88%,rgba(117,87,255,.32),transparent 34%),linear-gradient(135deg,#11143e,#36259b 55%,#5d36ff);box-shadow:0 28px 70px rgba(31,41,100,.24)}
.driver-delivery-hero-content h1{margin:16px 0 14px;color:#fff;font-size:clamp(42px,5vw,72px);line-height:.98;letter-spacing:-2.5px}
.driver-delivery-hero-content p{max-width:850px;margin:0;color:rgba(255,255,255,.88);font-size:18px;line-height:1.65}
.driver-delivery-hero-points{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.driver-delivery-hero-points span{display:inline-flex;align-items:center;width:fit-content;padding:9px 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.1);color:#fff;font-size:12px;font-weight:850;backdrop-filter:blur(10px)}
.driver-delivery-hero-card{padding:28px;border:1px solid #e5e7eb;border-radius:28px;background:#fff;box-shadow:0 22px 52px rgba(30,41,59,.1)}
.driver-delivery-hero-icon{width:78px;height:78px;display:grid;place-items:center;margin-bottom:18px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#5d36ff,#7f5cff);box-shadow:0 18px 36px rgba(93,54,255,.28);font-size:32px}
.driver-delivery-hero-card h2{margin:0 0 10px;color:#0f172a;font-size:24px}.driver-delivery-hero-card p{margin:0;color:#64748b;line-height:1.6}
.driver-delivery-hero-status{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:22px;padding:14px 16px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}
.driver-delivery-hero-status span{color:#64748b;font-size:13px;font-weight:800}.driver-delivery-hero-status strong{color:#16a34a;font-weight:950}
.driver-delivery-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.driver-delivery-actions .btn,.driver-delivery-actions .secondary-btn{min-width:0;text-align:center}

.driver-delivery-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
.driver-stat-card{display:flex;align-items:center;gap:16px;padding:22px;border:1px solid #e5e7eb;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(30,41,59,.07);transition:.25s ease}
.driver-stat-card:hover{transform:translateY(-7px);border-color:transparent;background:linear-gradient(135deg,#5d36ff,#7c59ff);box-shadow:0 25px 55px rgba(93,54,255,.28)}
.driver-stat-icon{flex:0 0 auto;width:58px;height:58px;display:grid;place-items:center;border-radius:18px;background:#f0edff;color:#5d36ff;font-size:24px;transition:.25s ease}
.driver-stat-card span{display:block;color:#64748b;font-size:13px;font-weight:850}.driver-stat-card strong{display:block;margin:4px 0;color:#0f172a;font-size:30px;line-height:1;font-weight:950}.driver-stat-card small{color:#94a3b8;font-size:12px;font-weight:700}
.driver-stat-card:hover span,.driver-stat-card:hover strong,.driver-stat-card:hover small{color:#fff}.driver-stat-card:hover .driver-stat-icon{transform:rotate(5deg) scale(1.06);background:#fff;color:#5d36ff}.warning-driver-stat{border-color:#fde68a}.success-driver-stat{border-color:#bbf7d0}

.driver-delivery-toolbar{margin:26px 0;padding:24px;border:1px solid #e5e7eb;border-radius:24px;background:#fff;box-shadow:0 14px 36px rgba(30,41,59,.07)}
.driver-delivery-toolbar-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.driver-delivery-toolbar-head h2{margin:4px 0 6px}.driver-delivery-toolbar-head p{margin:0;color:#64748b}
.driver-delivery-filter-grid{display:grid;grid-template-columns:minmax(280px,1.5fr) repeat(2,minmax(190px,.75fr));gap:16px}.driver-delivery-filter-field label{display:block;margin:0 0 6px;color:#334155;font-size:13px;font-weight:850}.driver-delivery-filter-field input,.driver-delivery-filter-field select{width:100%;margin:0;min-height:54px;border:1px solid #dbe2ea;border-radius:16px;background:#fff}.driver-delivery-filter-field input:focus,.driver-delivery-filter-field select:focus{border-color:#5d36ff;box-shadow:0 0 0 4px rgba(93,54,255,.1)}

.driver-delivery-main-card{margin-top:24px;padding:24px;border:1px solid #e5e7eb;border-radius:26px;background:#fff;box-shadow:0 16px 42px rgba(30,41,59,.08)}.driver-delivery-list-heading{margin-bottom:18px}.driver-delivery-list-status{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#ecfdf5;color:#166534;font-size:12px;font-weight:900}.driver-delivery-list{display:grid;gap:22px}
.driver-delivery-card{overflow:hidden;border:1px solid #e5e7eb;border-radius:24px;background:#fff;box-shadow:0 12px 32px rgba(30,41,59,.07);transition:.25s ease}.driver-delivery-card:hover{transform:translateY(-4px);box-shadow:0 24px 52px rgba(30,41,59,.12)}
.driver-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:22px;border-bottom:1px solid #e5e7eb;background:linear-gradient(180deg,#fff,#f8fafc)}.driver-order-id{display:inline-flex;margin-bottom:7px;color:#5d36ff;font-size:11px;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.driver-card-head h3{margin:0 0 4px;color:#0f172a;font-size:23px}.driver-card-head p{margin:0;color:#64748b;line-height:1.5}
.driver-status-pill{flex:0 0 auto;display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:950}.driver-status-pill.success{color:#166534;background:#dcfce7}.driver-status-pill.info{color:#1d4ed8;background:#dbeafe}.driver-status-pill.warning{color:#9a3412;background:#ffedd5}.driver-status-pill.purple{color:#5b21b6;background:#ede9fe}.driver-status-pill.neutral{color:#475569;background:#e2e8f0}
.driver-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:18px 22px;border-bottom:1px solid #e5e7eb;background:#fff}.driver-step{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border-radius:12px;background:#f1f5f9;color:#94a3b8;font-size:11px;font-weight:850;text-align:center}.driver-step.done{background:linear-gradient(135deg,#5d36ff,#7c59ff);color:#fff;box-shadow:0 10px 22px rgba(93,54,255,.16)}.driver-step.cancelled{background:#fee2e2;color:#b91c1c}
.driver-info-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px}.driver-info-grid>div{padding:16px;border:1px solid #e5e7eb;border-radius:17px;background:#f8fafc}.driver-info-grid small{display:block;margin-bottom:5px;color:#64748b;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.05em}.driver-info-grid strong{display:block;margin-bottom:4px;color:#0f172a;font-size:16px;overflow-wrap:anywhere}.driver-info-grid span{color:#64748b;font-size:12px;line-height:1.45}
.driver-details{margin:0 22px 20px;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;background:#fff}.driver-details summary{cursor:pointer;list-style:none;padding:16px 18px;color:#5d36ff;font-weight:900;background:#fafaff}.driver-details summary::-webkit-details-marker{display:none}.driver-details summary:after{content:'+';float:right;font-size:20px}.driver-details[open] summary:after{content:'−'}.driver-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;padding:18px;border-top:1px solid #e5e7eb}
.driver-items-list{display:grid;gap:10px;padding:0;margin:0;list-style:none}.driver-items-list li{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;border-radius:13px;background:#f8fafc}.driver-items-list li span{color:#64748b;font-size:12px}
.pickup-stop-card{margin-bottom:12px;padding:14px;border:1px solid #e5e7eb;border-left:4px solid #5d36ff;border-radius:14px;background:#fafaff}.pickup-stop-card p{margin:0 0 8px;color:#64748b}.driver-location-box,.driver-warning-box{margin-top:14px;padding:14px;border-radius:14px}.driver-location-box{background:#eff6ff;color:#1e3a8a}.driver-warning-box{background:#fff7ed;color:#9a3412}
.driver-signature-preview{margin:0 22px 20px;padding:18px;border:1px solid #e5e7eb;border-radius:18px;background:#f8fafc}.driver-signature-preview img{display:block;width:min(420px,100%);max-height:180px;object-fit:contain;margin:12px 0;border:1px solid #dbe2ea;border-radius:14px;background:#fff}
.driver-card-actions{display:flex;flex-wrap:wrap;gap:10px;padding:18px 22px;border-top:1px solid #e5e7eb;background:#f8fafc}.driver-card-actions .ready-btn,.driver-card-actions .update-status-btn,.driver-card-actions .submit-delivery-btn{min-height:44px;padding:11px 16px;border:0;border-radius:13px;color:#fff;font-weight:900;cursor:pointer}.driver-card-actions .ready-btn{background:linear-gradient(135deg,#2563eb,#4f46e5)}.driver-card-actions .update-status-btn{background:linear-gradient(135deg,#5d36ff,#7c59ff)}.driver-card-actions .submit-delivery-btn{background:linear-gradient(135deg,#16a34a,#22c55e)}.whatsapp-driver-btn{border-color:#bbf7d0!important;background:#ecfdf5!important;color:#15803d!important}
.driver-signature-section{margin:0 22px 22px;padding:20px;border:1px solid #d8d0ff;border-radius:20px;background:linear-gradient(180deg,#fff,#faf9ff)}.signature-canvas{display:block;width:100%;height:220px;border:2px dashed #c4b5fd;border-radius:16px;background:#fff;cursor:crosshair;touch-action:none}.driver-signature-fields{display:grid;grid-template-columns:1fr 1.4fr;gap:14px;margin-top:14px}.driver-signature-fields input,.driver-signature-fields textarea{margin:0}
.driver-empty-state{display:grid;place-items:center;min-height:260px;padding:36px 20px;text-align:center;border:1px dashed #cbd5e1;border-radius:22px;background:#f8fafc}.driver-empty-icon{font-size:48px;margin-bottom:10px}.driver-empty-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}.driver-loading-spinner{width:42px;height:42px;margin-bottom:14px;border:4px solid #e2e8f0;border-top-color:#5d36ff;border-radius:50%;animation:driverSpin .8s linear infinite}@keyframes driverSpin{to{transform:rotate(360deg)}}
.driver-delivery-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.driver-delivery-help-card{padding:22px;border:1px solid #e5e7eb;border-radius:22px;background:#fff;box-shadow:0 12px 30px rgba(30,41,59,.06)}.driver-delivery-help-icon{width:52px;height:52px;display:grid;place-items:center;margin-bottom:14px;border-radius:16px;background:#f0edff;font-size:22px}.driver-delivery-help-card h3{margin:0 0 8px}.driver-delivery-help-card p{margin:0;color:#64748b;line-height:1.6}

@media(max-width:1180px){.driver-delivery-hero{grid-template-columns:1fr}.driver-delivery-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.driver-delivery-filter-grid,.driver-detail-grid,.driver-delivery-help-grid{grid-template-columns:1fr}.driver-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.driver-signature-fields{grid-template-columns:1fr}}
@media(max-width:640px){.driver-delivery-page{width:min(100% - 24px,1500px);margin-top:14px}.driver-delivery-hero-content{padding:30px 22px;border-radius:24px}.driver-delivery-hero-content h1{font-size:40px;letter-spacing:-1px}.driver-delivery-actions,.driver-delivery-stats,.driver-progress,.driver-info-grid{grid-template-columns:1fr}.driver-delivery-toolbar{padding:18px}.driver-delivery-toolbar-head,.driver-card-head{flex-direction:column}.driver-delivery-main-card{padding:16px}.driver-card-actions{flex-direction:column}.driver-card-actions>*{width:100%;text-align:center}.driver-signature-section{margin-left:16px;margin-right:16px}}


/* =========================================================
   MAUMARKET — PREMIUM PUBLIC SHOP PAGE
   Add this entire block at the VERY BOTTOM of styles.css
   ========================================================= */

.premium-public-shop-page {
  width: min(1500px, 94%);
  margin: 18px auto 80px;
}

.shop-wow-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 2px;
  color: #64748b;
  font-size: 13px;
  font-weight: 750;
}

.shop-wow-breadcrumbs a {
  color: #4f35f5;
  text-decoration: none;
}

.shop-wow-breadcrumbs a:hover {
  text-decoration: underline;
}

/* HERO */

.premium-shop-hero,
.shop-wow-header {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.25), transparent 30%),
    radial-gradient(circle at 15% 100%, rgba(93, 54, 255, 0.42), transparent 36%),
    linear-gradient(135deg, #0b102f, #1c1b61 58%, #4f35f5);
  box-shadow: 0 28px 70px rgba(25, 35, 90, 0.25);
}

.shop-wow-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(7, 11, 40, 0.88),
    rgba(7, 11, 40, 0.45) 58%,
    rgba(7, 11, 40, 0.18)
  );
  z-index: 1;
}

.shop-wow-header > * {
  position: relative;
  z-index: 2;
}

.shop-wow-header img.shop-banner,
.shop-wow-header .shop-banner img,
.shop-wow-header .shop-cover-img,
.shop-wow-header .shop-wow-cover,
.shop-wow-header .shop-header-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-wow-header .shop-header-inner,
.shop-wow-header .pro-shop-header-inner,
.shop-wow-header .shop-wow-header-inner,
.shop-wow-header .shop-profile-header,
.shop-wow-header .shop-header-content {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 280px;
  padding: 34px;
}

.shop-wow-header .shop-logo,
.shop-wow-header .shop-logo-img,
.shop-wow-header .shop-profile-logo,
.shop-wow-header .shop-wow-logo,
.shop-wow-header .shop-header-logo,
.shop-wow-header .shop-logo-fallback,
.shop-wow-header .shop-profile-logo-fallback {
  width: 126px;
  height: 126px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 6px solid rgba(255, 255, 255, 0.96);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.shop-wow-header .shop-logo-fallback,
.shop-wow-header .shop-profile-logo-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #5d36ff, #8b5cf6);
  font-size: 46px;
  font-weight: 950;
}

.shop-wow-header h1,
.shop-wow-header h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -2px;
}

.shop-wow-header p,
.shop-wow-header span,
.shop-wow-header small {
  color: rgba(255, 255, 255, 0.86);
}

.shop-wow-header .shop-location,
.shop-wow-header .shop-meta,
.shop-wow-header .shop-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 12px;
}

.shop-wow-header .shop-badges,
.shop-wow-header .shop-header-badges,
.shop-wow-header .shop-actions,
.shop-wow-header .shop-wow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.shop-wow-header .status-pill,
.shop-wow-header .verified-badge,
.shop-wow-header .shop-badge,
.shop-wow-header .shop-verified-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

.shop-wow-header .btn,
.shop-wow-header .secondary-btn {
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 14px;
}

.shop-wow-header .secondary-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
}

.shop-page-loading {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 30px;
  text-align: center;
}

.shop-page-loading.small {
  min-height: 150px;
}

.shop-page-loading-spinner {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border: 4px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  animation: premiumShopSpin 0.85s linear infinite;
}

.premium-rating-card .shop-page-loading-spinner {
  border-color: #e2e8f0;
  border-top-color: #5d36ff;
}

@keyframes premiumShopSpin {
  to { transform: rotate(360deg); }
}

/* TRUST STRIP */

.premium-shop-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: -22px 26px 26px;
  position: relative;
  z-index: 5;
  border: 1px solid #e7e9f1;
  border-radius: 22px;
  background: #e7e9f1;
  box-shadow: 0 20px 48px rgba(30, 41, 59, 0.10);
}

.premium-shop-trust-row .shop-trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px;
  background: #fff;
}

.shop-trust-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #5d36ff;
  background: #f0edff;
  font-weight: 950;
}

.shop-trust-item strong,
.shop-trust-item small {
  display: block;
}

.shop-trust-item strong {
  color: #111827;
  font-size: 14px;
}

.shop-trust-item small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
}

.legacy-shop-highlight {
  display: none !important;
}

/* TABS */

.shop-tabs-shell {
  position: sticky;
  top: 10px;
  z-index: 20;
  margin-bottom: 18px;
}

.premium-shop-tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e7e9f1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 32px rgba(30, 41, 59, 0.08);
  backdrop-filter: blur(14px);
}

.premium-shop-tabs .tab-btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 13px;
  color: #475569;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.premium-shop-tabs .tab-btn:hover {
  color: #4f35f5;
  background: #f5f3ff;
}

.premium-shop-tabs .tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #5d36ff, #7c59ff);
  box-shadow: 0 12px 26px rgba(93, 54, 255, 0.24);
}

/* MAIN LAYOUT */

.premium-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: start;
}

.premium-shop-main {
  min-width: 0;
}

.shop-main-panel,
.premium-shop-panel {
  padding: 24px;
  border: 1px solid #e7e9f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(30, 41, 59, 0.07);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.premium-shop-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.premium-shop-section-head h2 {
  margin: 4px 0 6px;
  color: #0f172a;
  font-size: 28px;
}

.premium-shop-section-head p {
  margin: 0;
  color: #64748b;
}

.premium-shop-filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.6fr);
  gap: 12px;
  width: min(520px, 100%);
}

.shop-filter-control label {
  display: block;
  margin: 0 0 6px;
  color: #475569;
  font-size: 12px;
  font-weight: 850;
}

.shop-filter-control input,
.shop-filter-control select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  background: #fff;
}

.shop-filter-control input:focus,
.shop-filter-control select:focus {
  border-color: #5d36ff;
  box-shadow: 0 0 0 4px rgba(93, 54, 255, 0.10);
}

/* PRODUCT GRID */

.premium-shop-products-grid,
.shop-wow-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.shop-wow-products-grid .market-product-card,
.shop-wow-products-grid .pro-product-card,
.shop-wow-products-grid .shop-product-card,
.shop-wow-products-grid .product-card {
  overflow: hidden;
  border: 1px solid #e7e9f1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 41, 59, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shop-wow-products-grid .market-product-card:hover,
.shop-wow-products-grid .pro-product-card:hover,
.shop-wow-products-grid .shop-product-card:hover,
.shop-wow-products-grid .product-card:hover {
  transform: translateY(-7px);
  border-color: #d7d0ff;
  box-shadow: 0 24px 52px rgba(79, 53, 245, 0.16);
}

.shop-wow-products-grid .market-product-img,
.shop-wow-products-grid .product-image,
.shop-wow-products-grid .pro-product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1.45 / 1;
  background: #f8fafc;
}

.shop-wow-products-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.shop-wow-products-grid article:hover img {
  transform: scale(1.05);
}

.shop-wow-products-grid .market-product-body,
.shop-wow-products-grid .product-body,
.shop-wow-products-grid .pro-product-body {
  padding: 16px;
}

.shop-wow-products-grid h3 {
  margin: 8px 0;
  color: #111827;
  font-size: 18px;
}

.shop-wow-products-grid .badge,
.shop-wow-products-grid .product-type-badge {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: #5d36ff;
  background: #f0edff;
  font-size: 10px;
  font-weight: 950;
  text-transform: capitalize;
}

.shop-wow-products-grid .price {
  margin: 10px 0;
  color: #dc2626;
  font-size: 21px;
  font-weight: 950;
}

.shop-wow-products-grid .rating-line,
.shop-wow-products-grid .rating-line-small {
  color: #f59e0b;
  font-size: 12px;
  font-weight: 850;
}

.shop-wow-products-grid .btn,
.shop-wow-products-grid .product-main-btn {
  width: 100%;
  min-height: 44px;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #5d36ff, #7c59ff);
}

/* SIDEBAR */

.premium-shop-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 16px;
}

.premium-sidebar-card {
  padding: 20px;
  border: 1px solid #e7e9f1;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(30, 41, 59, 0.07);
}

.premium-sidebar-card h3 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.premium-sidebar-card p {
  color: #64748b;
  line-height: 1.55;
}

.premium-sidebar-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.premium-sidebar-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #5d36ff;
  background: #f0edff;
}

.premium-policy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.premium-policy-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

.premium-policy-list li span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #22c55e;
  font-size: 11px;
  font-weight: 950;
}

.premium-sidebar-button {
  width: 100%;
  justify-content: center;
}

/* RATING CARD */

.premium-rating-card,
#shopRatingCard {
  overflow: hidden;
}

#shopRatingCard h3 {
  margin-bottom: 14px;
}

#shopRatingCard .shop-rating-big,
#shopRatingCard .rating-number,
#shopRatingCard .rating-value,
#shopRatingCard h2 {
  margin: 0;
  color: #5d36ff;
  font-size: 42px;
  line-height: 1;
  font-weight: 950;
}

#shopRatingCard .stars,
#shopRatingCard .rating-stars {
  margin: 8px 0;
  color: #f59e0b;
  font-size: 20px;
  letter-spacing: 2px;
}

#shopRatingCard .rating-bar-row,
#shopRatingCard .review-bar-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
  margin-top: 9px;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

#shopRatingCard .rating-bar,
#shopRatingCard .review-bar {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #edf0f5;
}

#shopRatingCard .rating-bar span,
#shopRatingCard .review-bar span,
#shopRatingCard .rating-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5d36ff, #8b5cf6);
}

/* REVIEWS */

.premium-review-summary {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(220px, 1fr);
  gap: 16px;
  margin-bottom: 18px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e7e9f1;
  border-radius: 22px;
  background: linear-gradient(135deg, #faf9ff, #fff);
}

.premium-review-summary .review-score,
.premium-review-summary .review-stats {
  padding: 24px;
}

.premium-review-summary .review-score {
  color: #fff;
  background: linear-gradient(135deg, #5d36ff, #7c59ff);
}

.review-score-label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.premium-review-summary .review-score h2 {
  margin: 0;
  color: #fff;
  font-size: 56px;
  line-height: 1;
}

.premium-review-summary .review-score p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.premium-review-stars {
  margin-top: 9px;
  color: #fbbf24;
  font-size: 18px;
  letter-spacing: 2px;
}

.premium-review-summary .review-stats {
  display: grid;
  align-content: center;
}

.premium-review-summary .review-stats span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.premium-review-summary .review-stats strong {
  display: block;
  margin: 6px 0;
  color: #111827;
  font-size: 44px;
  line-height: 1;
}

.premium-review-summary .review-stats p {
  margin: 0;
  color: #64748b;
}

.premium-reviews-box,
.premium-about-shop-box {
  padding: 20px;
  border: 1px solid #e7e9f1;
  border-radius: 22px;
  background: #fff;
}

#reviewsBox .review-card,
#reviewsBox .shop-review-card,
#reviewsBox .order-card {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #e7e9f1;
  border-radius: 18px;
  background: #f8fafc;
}

/* BOTTOM BENEFITS */

.premium-shop-bottom-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #e7e9f1;
  border-radius: 22px;
  background: #e7e9f1;
  box-shadow: 0 14px 34px rgba(30, 41, 59, 0.06);
}

.premium-shop-bottom-benefits article {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 18px;
  background: #fff;
}

.premium-shop-bottom-benefits article > div {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #5d36ff;
  background: #f0edff;
}

.premium-shop-bottom-benefits strong,
.premium-shop-bottom-benefits small {
  display: block;
}

.premium-shop-bottom-benefits strong {
  color: #4f35f5;
  font-size: 13px;
}

.premium-shop-bottom-benefits small {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  .premium-shop-layout {
    grid-template-columns: 1fr;
  }

  .premium-shop-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-shop-trust-row,
  .premium-shop-bottom-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .shop-wow-header .shop-header-inner,
  .shop-wow-header .pro-shop-header-inner,
  .shop-wow-header .shop-wow-header-inner,
  .shop-wow-header .shop-profile-header,
  .shop-wow-header .shop-header-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .premium-shop-section-head {
    flex-direction: column;
  }

  .premium-shop-filter-row {
    width: 100%;
  }

  .premium-review-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .premium-public-shop-page {
    width: min(100% - 20px, 1500px);
  }

  .premium-shop-hero,
  .shop-wow-header {
    min-height: 240px;
    border-radius: 22px;
  }

  .shop-wow-header .shop-header-inner,
  .shop-wow-header .pro-shop-header-inner,
  .shop-wow-header .shop-wow-header-inner,
  .shop-wow-header .shop-profile-header,
  .shop-wow-header .shop-header-content {
    min-height: 240px;
    padding: 24px 18px;
  }

  .shop-wow-header .shop-logo,
  .shop-wow-header .shop-logo-img,
  .shop-wow-header .shop-profile-logo,
  .shop-wow-header .shop-wow-logo,
  .shop-wow-header .shop-header-logo,
  .shop-wow-header .shop-logo-fallback,
  .shop-wow-header .shop-profile-logo-fallback {
    width: 96px;
    height: 96px;
    border-radius: 24px;
  }

  .shop-wow-header h1,
  .shop-wow-header h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .premium-shop-trust-row {
    margin: -14px 10px 22px;
    grid-template-columns: 1fr;
  }

  .shop-tabs-shell {
    position: static;
  }

  .premium-shop-tabs {
    overflow-x: auto;
  }

  .premium-shop-tabs .tab-btn {
    flex: 0 0 auto;
  }

  .shop-main-panel,
  .premium-shop-panel {
    padding: 16px;
  }

  .premium-shop-filter-row {
    grid-template-columns: 1fr;
  }

  .premium-shop-products-grid,
  .shop-wow-products-grid {
    grid-template-columns: 1fr;
  }

  .premium-shop-sidebar {
    grid-template-columns: 1fr;
  }

  .premium-shop-bottom-benefits {
    grid-template-columns: 1fr;
  }
}

