﻿:root {
    --mp-gold: #c9a227;
    --mp-gold-light: #e8c84a;
    --mp-gold-dark: #8a6408;
    --mp-bg: #f7f5f0;
    --mp-card: #ffffff;
    --mp-border: #e4dfd4;
    --mp-text: #1a1a1a;
    --mp-text-mid: rgba(26, 26, 26, 0.72);
    --mp-text-lo: rgba(26, 26, 26, 0.45);
    --mp-success: #1f7a4d;
  }

  .mp-page {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    background: var(--mp-bg);
    color: var(--mp-text);
    min-height: 70vh;
    padding-bottom: 4rem;
  }

  /* Fiji tapa — same opacity as homepage; peeks in left/right gutters only */
  .mp-page::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url('https://staging.lolomarewards.com.fj/images/loloma/Website%20background%20tapa%20image.png');
    background-repeat: repeat;
    background-size: 420px auto;
    opacity: 0.07;
    mix-blend-mode: multiply;
  }

  .mp-page .mp-container {
    position: relative;
    z-index: 1;
    background: var(--mp-bg);
  }

  .mp-page .mp-hero {
    position: relative;
    z-index: 40;
  }

  @media (max-width: 576px) {
    .mp-page::before {
      opacity: 0.09;
      background-size: 260px auto;
    }
  }

  .mp-hero {
    position: relative;
    overflow: visible;
    color: #fff;
    padding: 4rem 1.25rem 3.25rem;
    background:
      linear-gradient(125deg, rgba(20, 15, 5, 0.92) 0%, rgba(138, 100, 8, 0.8) 50%, rgba(201, 162, 39, 0.68) 100%),
      url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1600&q=80') center/cover;
  }

  .mp-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(232, 200, 74, 0.35) 0%, transparent 60%);
    pointer-events: none;
  }

  .mp-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--mp-bg));
  }

  .mp-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 6;
    overflow: visible;
  }

  .mp-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.7rem;
  }

  .mp-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
  }

  .mp-hero p {
    max-width: 560px;
    margin: 0 0 1.4rem;
    opacity: 0.92;
    line-height: 1.55;
  }

  .mp-search {
    display: flex;
    gap: 0.6rem;
    max-width: 980px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 30;
    align-items: stretch;
  }

  .mp-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
    z-index: 31;
  }

  .mp-search > button[type="submit"] {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  }

  .mp-search > button[type="submit"]:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(138, 100, 8, 0.35);
  }

  .mp-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.92rem;
    color: var(--mp-text);
  }

  .mp-search input {
    width: 100%;
    min-width: 0;
    padding: 0.55rem 0.75rem;
  }

  .mp-search > button[type="submit"] {
    border: none;
    border-radius: 10px;
    padding: 0.65rem 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
    color: #fff;
    white-space: nowrap;
  }

  /* Custom category dropdown */
  .mp-cat-dd {
    position: relative;
    flex: 0 1 230px;
    min-width: 180px;
    max-width: 260px;
    z-index: 40;
  }
  .mp-loc-dd {
    flex-basis: 200px;
    min-width: 168px;
    max-width: 220px;
  }
  .mp-cat-dd-native {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
  }
  .mp-cat-dd-toggle {
    width: 100%;
    height: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    border-left: 1px solid #e8e3d8;
    background: transparent;
    padding: 0.55rem 0.85rem;
    text-align: left;
    color: var(--mp-text);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
  }
  .mp-cat-dd-toggle-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(232, 200, 74, 0.22), rgba(201, 162, 39, 0.12));
    color: var(--mp-gold-dark);
    flex-shrink: 0;
    font-size: 0.78rem;
  }
  .mp-cat-dd-label {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mp-cat-dd-caret {
    color: var(--mp-text-lo);
    font-size: 0.72rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }
  .mp-cat-dd[data-open="1"] .mp-cat-dd-caret {
    transform: rotate(180deg);
  }
  .mp-cat-dd-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    width: max(100%, 320px);
    min-width: 100%;
    max-height: min(420px, 70vh);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--mp-border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.16);
    overflow: hidden;
    z-index: 80;
  }
  .mp-cat-dd-menu[hidden] { display: none !important; }
  .mp-cat-dd-menu.is-fixed {
    position: fixed;
    right: auto;
    z-index: 9999;
  }
  .mp-cat-dd-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--mp-border);
    background: #fbf9f4;
  }
  .mp-cat-dd-search i { color: var(--mp-text-lo); font-size: 0.85rem; }
  .mp-cat-dd-search input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    outline: none;
    font-size: 0.88rem;
    padding: 0 !important;
  }
  .mp-cat-dd-list {
    overflow: auto;
    max-height: min(340px, 55vh);
    padding: 0.35rem;
    -webkit-overflow-scrolling: touch;
  }
  .mp-cat-dd-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0.65rem 0.7rem;
    border-radius: 10px;
    color: var(--mp-text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
  }
  .mp-cat-dd-option i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4f1ea;
    color: var(--mp-gold-dark);
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .mp-cat-dd-option:hover,
  .mp-cat-dd-option.is-active {
    background: linear-gradient(135deg, rgba(232, 200, 74, 0.16), rgba(201, 162, 39, 0.08));
  }
  .mp-cat-dd-option.is-active {
    color: var(--mp-gold-dark);
  }
  .mp-cat-dd-option[hidden] { display: none !important; }
  .mp-cat-dd-empty {
    padding: 1rem 0.75rem;
    text-align: center;
    color: var(--mp-text-lo);
    font-size: 0.85rem;
  }
  .mp-cat-dd-empty[hidden] { display: none !important; }

  .mp-suggest {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    background: #fff;
    border: 1px solid #e8e3d8;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.22);
    overflow: hidden;
    z-index: 100;
    text-align: left;
    color: #1a1408;
  }

  .mp-suggest-list {
    max-height: 340px;
    overflow-y: auto;
  }

  .mp-suggest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 0;
    background: #fff;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #f1eee6;
  }

  .mp-suggest-item:last-child { border-bottom: 0; }

  .mp-suggest-item:hover,
  .mp-suggest-item.is-active {
    background: #fff8e6;
  }

  .mp-suggest-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: #ece7dc;
    flex-shrink: 0;
  }

  .mp-suggest-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 39, 0.14);
    color: #8a6408;
    flex-shrink: 0;
  }

  .mp-suggest-copy {
    min-width: 0;
    flex: 1;
  }

  .mp-suggest-copy strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1408;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mp-suggest-copy span {
    display: block;
    font-size: 0.75rem;
    color: rgba(26, 26, 26, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mp-suggest-type {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a6408;
    background: rgba(201, 162, 39, 0.14);
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
    flex-shrink: 0;
  }

  .mp-suggest-empty {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.62);
  }

  .mp-suggest-more {
    width: 100%;
    border: 0;
    border-top: 1px solid #f1eee6;
    background: #faf8f3;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    color: #8a6408;
    text-align: left;
    padding: 0.85rem 1rem;
  }

  .mp-suggest-more:hover { background: #fff8e6; }

  .mp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
  }

  .mp-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
  }

  .mp-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.15rem;
  }

  .mp-section {
    margin-top: 2.25rem;
  }

  .mp-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
  }

  .mp-section-head h2 {
    font-size: 1.45rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 0.85rem;
  }

  .mp-section-head h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--mp-gold), var(--mp-gold-dark));
  }

  .mp-section-head .sub {
    color: var(--mp-text-lo);
    font-size: 0.88rem;
    margin: 0.2rem 0 0;
  }

  .mp-link {
    color: var(--mp-gold-dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
  }

  .mp-link:hover { color: #6d4f05; }

  .mp-cats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .mp-cat {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 16px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s, border-color 0.22s;
  }

  .mp-cat:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.45);
    box-shadow: 0 14px 30px rgba(16, 24, 40, 0.1);
    color: inherit;
  }

  .mp-cat i {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.25rem;
    background: linear-gradient(135deg, rgba(232, 200, 74, 0.22), rgba(201, 162, 39, 0.12));
    color: var(--mp-gold-dark);
    margin-bottom: 0.65rem;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }

  .mp-cat:hover i {
    transform: scale(1.1);
  }

  .mp-cat[data-cat-icon*="agriculture"] i { background: linear-gradient(135deg, #d9f5e0, #b7e4c7); color: #1b7a3a; }
  .mp-cat[data-cat-icon*="automotive"] i { background: linear-gradient(135deg, #dde7f5, #b8c9e6); color: #2c4d8a; }
  .mp-cat[data-cat-icon*="baker"] i { background: linear-gradient(135deg, #ffe8cc, #f5d0a9); color: #a85b12; }
  .mp-cat[data-cat-icon*="beauty"] i { background: linear-gradient(135deg, #f7e0ef, #ebc4dc); color: #9b3d74; }
  .mp-cat[data-cat-icon*="car-hire"] i { background: linear-gradient(135deg, #dceff8, #b5d9ef); color: #1d6fa5; }
  .mp-cat[data-cat-icon*="cleaning"] i { background: linear-gradient(135deg, #e0f4f8, #b9e4ec); color: #0f7a86; }
  .mp-cat[data-cat-icon*="clothing"] i { background: linear-gradient(135deg, #efe4f8, #d7c2ef); color: #6b3d9b; }
  .mp-cat[data-cat-icon*="electrical"] i { background: linear-gradient(135deg, #fff3c4, #ffe08a); color: #a67c00; }
  .mp-cat[data-cat-icon*="event"] i { background: linear-gradient(135deg, #fce4ec, #f5c2d0); color: #b03060; }
  .mp-cat[data-cat-icon*="hotel"] i { background: linear-gradient(135deg, #e8e4f8, #cfc7ef); color: #4b3f8a; }
  .mp-cat[data-cat-icon*="restaurant"] i { background: linear-gradient(135deg, #ffe4d6, #ffc9a8); color: #c24d12; }
  .mp-cat[data-cat-icon*="retail"] i { background: linear-gradient(135deg, #e4f0e8, #c5dfd0); color: #2f6b4f; }

  .mp-cat strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 700;
  }

  .mp-cat span {
    font-size: 0.74rem;
    color: var(--mp-text-lo);
  }

  .mp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.15rem;
    align-items: stretch;
  }

  .mp-card {
    background: var(--mp-card);
    border: 1px solid rgba(228, 223, 212, 0.9);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
    color: inherit;
    height: 100%;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 16px rgba(16, 24, 40, 0.05);
  }

  .mp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
    border-color: rgba(201, 162, 39, 0.45);
    color: inherit;
  }

  .mp-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ece7dc;
  }

  .mp-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
  }

  .mp-card:hover .mp-card-media img {
    transform: scale(1.04);
  }

  .mp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
    color: #fff;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.34rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(138, 100, 8, 0.35);
  }

  .mp-card-body {
    padding: 0.95rem 1.05rem 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .mp-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--mp-text-lo);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
  }

  .mp-card-meta > span {
    min-width: 0;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mp-card-meta > span:first-child {
    max-width: 50%;
    color: var(--mp-gold-dark);
  }

  .mp-card-body h3 {
    font-size: 1.02rem;
    font-weight: 750;
    margin: 0 0 0.3rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: calc(1.35em * 2);
  }

  .mp-card-body .seller {
    font-size: 0.8rem;
    color: var(--mp-text-mid);
    margin-bottom: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.2em;
  }

  .mp-seller-name {
    color: #8a6408;
    font-weight: 700;
  }

  .mp-price-row {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(228, 223, 212, 0.7);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    min-height: 2rem;
  }

  .mp-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--mp-gold-dark);
    letter-spacing: -0.02em;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mp-compare {
    font-size: 0.82rem;
    color: var(--mp-text-lo);
    text-decoration: line-through;
  }

  .mp-save {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--mp-success);
    background: rgba(31, 122, 77, 0.1);
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
  }

  .mp-sellers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .mp-seller {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .mp-seller:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
    color: inherit;
  }

  .mp-seller-cover {
    height: 110px;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  .mp-seller-logo {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    border: 3px solid #fff;
    position: absolute;
    left: 16px;
    bottom: -22px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  }

  .mp-seller-body {
    padding: 1.7rem 1.05rem 1.15rem;
  }

  .mp-seller-body h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
  }

  .mp-seller-body p {
    margin: 0;
    color: var(--mp-text-mid);
    font-size: 0.84rem;
  }

  .mp-seller-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.78rem;
    color: var(--mp-text-lo);
  }

  .mp-filters {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
  }

  .mp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--mp-border);
    background: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mp-text-mid);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  }

  .mp-chip i {
    font-size: 0.78rem;
    line-height: 1;
    opacity: 0.9;
  }

  .mp-chip.active i {
    opacity: 1;
  }

  a.mp-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(201, 162, 39, 0.5);
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
  }

  .mp-chip.active {
    background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 16px rgba(138, 100, 8, 0.25);
  }

  a.mp-chip.active:hover {
    color: #fff;
  }

  .mp-ui-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201, 162, 39, 0.12);
    color: var(--mp-gold-dark);
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
  }

  .mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.8rem 1.15rem;
    text-decoration: none;
  }

  .mp-btn-primary {
    background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
    color: #fff;
    box-shadow: 0 8px 18px rgba(201, 162, 39, 0.28);
  }

  .mp-btn-primary:hover { color: #fff; opacity: 0.94; }

  .mp-btn-ghost {
    background: #f3f0e8;
    color: var(--mp-text-mid);
    border: 1px solid var(--mp-border);
  }

  .mp-btn-ghost:hover { color: var(--mp-text); }

  .mp-btn[disabled],
  .mp-btn.is-disabled {
    opacity: 0.55;
    pointer-events: none;
  }

  .mp-biz-hero {
    position: relative;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
    min-height: 260px;
    background-size: cover;
    background-position: center;
  }

  .mp-biz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.72));
  }

  .mp-biz-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 2.5rem 1.15rem 1.75rem;
    color: #fff;
    display: flex;
    align-items: end;
    gap: 1.1rem;
  }

  .mp-biz-logo {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    object-fit: cover;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  }

  .mp-biz-panel {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
  }

  .mp-biz-side-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: #ece7dc;
  }

  .mp-seller-facts {
    font-size: 0.9rem;
    color: var(--mp-text-mid);
  }

  .mp-seller-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
  }

  .mp-seller-facts li:last-child {
    margin-bottom: 0;
  }

  .mp-seller-facts i {
    width: 1rem;
    text-align: center;
    margin-top: 0.15rem;
    color: #8a6408;
  }

  .mp-btn.is-following {
    background: rgba(201, 162, 39, 0.12);
    border-color: rgba(201, 162, 39, 0.35);
    color: var(--mp-gold-dark);
  }

  .mp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(201, 162, 39, 0.12);
    color: var(--mp-gold-dark);
    border-radius: 999px;
    padding: 0.3rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 700;
  }

  .mp-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mp-detail-main {
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #ece7dc;
    border: 1px solid rgba(228, 223, 212, 0.95);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  }

  .mp-detail-main img,
  .mp-detail-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .mp-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 0.6rem;
  }

  .mp-detail-thumbs > div,
  .mp-detail-thumb {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #ece7dc;
    border: 2px solid #e8e3d8;
    padding: 0;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }

  .mp-detail-thumb:hover {
    border-color: rgba(201, 162, 39, 0.55);
    transform: translateY(-1px);
  }

  .mp-detail-thumb.is-active {
    border-color: var(--mp-gold);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.22);
  }

  .mp-detail-thumb img {
    pointer-events: none;
  }

  .mp-buybox {
    background: var(--mp-card);
    border: 1px solid var(--mp-border);
    border-radius: 20px;
    padding: 1.35rem;
    position: static;
  }

  .mp-badge-inline {
    position: static;
    display: inline-block;
    margin-bottom: 0.75rem;
  }

  .mp-detail-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 0.55rem;
    letter-spacing: -0.02em;
    line-height: 1.25;
  }

  .mp-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--mp-text-mid);
  }

  .mp-detail-short {
    margin: 0 0 1rem;
    color: var(--mp-text-mid);
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .mp-breadcrumb {
    font-size: 0.84rem;
    color: var(--mp-text-lo);
  }

  .mp-breadcrumb-current {
    color: var(--mp-text-mid);
  }

  .mp-sold-by-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #ece7dc;
  }

  .mp-detail-store-link {
    margin: 0.15rem 0 0;
    font-size: 0.9rem;
    color: var(--mp-text-mid);
  }

  .mp-detail-store-link .mp-link {
    text-decoration: none;
  }

  .mp-detail-store-link .mp-link:hover {
    text-decoration: underline;
  }

  .mp-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--mp-border);
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
  }

  .mp-qty button,
  .mp-qty span {
    width: 42px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #fff;
    font-weight: 700;
  }

  .mp-qty span {
    border-left: 1px solid var(--mp-border);
    border-right: 1px solid var(--mp-border);
  }

  .mp-spec-table {
    width: 100%;
    border-collapse: collapse;
  }

  .mp-spec-table th,
  .mp-spec-table td {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    font-size: 0.9rem;
  }

  .mp-spec-table th {
    text-align: left;
    color: var(--mp-text-lo);
    font-weight: 600;
    width: 40%;
  }

  .mp-back {
    color: var(--mp-text-mid);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
  }

  .mp-back:hover { color: var(--mp-gold-dark); }

  @media (max-width: 991.98px) {
    .mp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mp-sellers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mp-detail-main { aspect-ratio: 4 / 3; }
    .mp-detail-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .mp-buybox { position: static; }
  }

  @media (max-width: 575.98px) {
    .mp-cats,
    .mp-sellers { grid-template-columns: 1fr; }
    .mp-search { flex-direction: column; }
    .mp-cat-dd {
      flex: 1 1 auto;
      min-width: 0;
      max-width: none;
      width: 100%;
    }
    .mp-cat-dd-toggle {
      border-left: none;
      border-top: 1px solid #e8e3d8;
      min-height: 48px;
    }
    .mp-cat-dd-menu {
      left: 0;
      right: 0;
      min-width: 0;
      width: 100%;
    }
    .mp-biz-hero-inner { flex-direction: column; align-items: flex-start; }
  }
.mp-chip { text-decoration: none; }
a.mp-chip:hover { color: var(--mp-gold-dark); }
.mp-form-control { width: 100%; border: 1px solid var(--mp-border); border-radius: 10px; padding: 0.7rem 0.85rem; }
.mp-form-label { font-weight: 700; font-size: 0.85rem; margin-bottom: 0.35rem; display: block; }
.mp-alert { border-radius: 12px; padding: 0.85rem 1rem; margin-bottom: 1rem; }
.mp-list { display: flex; flex-direction: column; gap: 0.85rem; }
.mp-list .mp-card { flex-direction: row; }
.mp-list .mp-card-media { width: 220px; aspect-ratio: auto; min-height: 150px; }
.mp-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--mp-text-lo);
  background: linear-gradient(180deg, #fff 0%, #fbf9f4 100%);
  border: 1px solid var(--mp-border);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.04);
}
.mp-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--mp-gold-dark);
  background: radial-gradient(circle at 30% 30%, rgba(232, 200, 74, 0.28), rgba(201, 162, 39, 0.12));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.25);
}
.mp-empty h3 {
  color: var(--mp-text);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.mp-empty p {
  color: var(--mp-text-mid);
  font-size: 0.92rem;
  max-width: 440px;
  margin: 0 auto 1.4rem;
  line-height: 1.6;
}
.mp-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(138, 100, 8, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mp-empty-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(138, 100, 8, 0.38);
}
.seller-page { background: #f6f7fb; min-height: 100vh; }
.mp-cta-note { font-size: 0.78rem; color: var(--mp-text-lo); margin-top: 0.65rem; text-align: center; }

.mp-public-banner {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 0.92rem;
}
.mp-public-banner a { color: #fff; font-weight: 700; text-decoration: underline; }
.mp-member-unlock {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mp-gold-dark);
  background: rgba(201, 162, 39, 0.12);
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mp-unlock-cta {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  color: var(--mp-text-lo);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mp-unlock-cta::before {
  content: '\f13e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--mp-gold-dark);
}
.mp-unlock-box {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: #fff8e6;
  border: 1px solid #f0d98c;
}
.mp-unlock-box .mp-btn-ghost {
  background: transparent;
  border: 1px solid var(--mp-border);
  color: var(--mp-text);
}

.mp-pulse {
  margin-top: 1.35rem;
  padding: 1.05rem 1.2rem 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 640px;
}
.mp-pulse-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.mp-pulse-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
  line-height: 1.35;
  max-width: 100%;
}
.mp-pulse-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9f5e5;
  background: rgba(31, 122, 77, 0.35);
  border: 1px solid rgba(217, 245, 229, 0.28);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
}
.mp-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ee08a;
  box-shadow: 0 0 0 0 rgba(62, 224, 138, 0.7);
  animation: mpPulseDot 1.8s ease-out infinite;
  flex-shrink: 0;
}
@keyframes mpPulseDot {
  0% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(62, 224, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 224, 138, 0); }
}
.mp-pulse-now {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin: 0.15rem 0 0.9rem;
}
.mp-pulse-now strong {
  font-size: clamp(2rem, 5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.mp-pulse-now span {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.88;
}
.mp-pulse-now strong.is-tick,
.mp-pulse-chip strong.is-tick,
.mp-viewing strong.is-tick {
  animation: mpTick 0.45s ease;
}
@keyframes mpTick {
  0% { transform: translateY(4px); opacity: 0.35; }
  100% { transform: translateY(0); opacity: 1; }
}
.mp-pulse-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.mp-pulse-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: rgba(10, 8, 3, 0.22);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  font-weight: 600;
}
.mp-pulse-chip i {
  color: #e8c84a;
  font-size: 0.72rem;
}
.mp-pulse-chip strong {
  font-weight: 800;
}
.mp-pulse-chip span {
  opacity: 0.78;
}

.mp-viewing {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.7rem 0 0.2rem;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: rgba(31, 122, 77, 0.08);
  border: 1px solid rgba(31, 122, 77, 0.16);
  color: #1f7a4d;
  font-size: 0.78rem;
  font-weight: 600;
  width: fit-content;
}
.mp-viewing strong {
  font-weight: 800;
}
.mp-viewing.is-on-dark {
  margin-top: 0.85rem;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
  color: #fff;
}

@media (max-width: 575.98px) {
  .mp-pulse { padding: 0.95rem 0.95rem 1rem; }
  .mp-pulse-now { flex-direction: column; gap: 0.2rem; margin-bottom: 0.75rem; }
}

/* Appointment calendar */
.mp-cal {
  background: #fff;
  border: 1px solid var(--mp-border);
  border-radius: 16px;
  padding: 0.9rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 6px 18px rgba(16,24,40,.05);
}
.mp-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.mp-cal-title { font-size: 0.95rem; font-weight: 800; color: var(--mp-text); }
.mp-cal-nav {
  width: 34px; height: 34px; border-radius: 10px;
  border: 1px solid var(--mp-border); background: #fff;
  color: var(--mp-gold-dark); cursor: pointer;
}
.mp-cal-nav:hover { background: #fff8e6; }
.mp-cal-weekdays, .mp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}
.mp-cal-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--mp-text-lo);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 0.2rem 0;
}
.mp-cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mp-text);
  font-weight: 650;
  font-size: 0.82rem;
  cursor: pointer;
}
.mp-cal-day:hover:not(:disabled) { background: rgba(201,162,39,.12); }
.mp-cal-day.is-muted { color: #c5c0b4; cursor: default; }
.mp-cal-day:disabled { color: #d5d0c4; cursor: not-allowed; }
.mp-cal-day.is-today { box-shadow: inset 0 0 0 1px rgba(201,162,39,.55); }
.mp-cal-day.is-selected {
  background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
  color: #fff;
}
.mp-cal-times { margin-top: 0.85rem; padding-top: 0.75rem; border-top: 1px solid rgba(228,223,212,.8); }
.mp-cal-slots { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mp-cal-slot {
  border: 1px solid var(--mp-border);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--mp-text-mid);
}
.mp-cal-slot:hover { border-color: rgba(201,162,39,.5); color: var(--mp-gold-dark); }
.mp-cal-slot.is-selected {
  background: rgba(201,162,39,.14);
  border-color: rgba(201,162,39,.45);
  color: var(--mp-gold-dark);
}
.mp-cal-summary {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  color: var(--mp-text-mid);
}

/* AJAX listings: skeleton + load more */
.mp-view-toggle .mp-view-btn {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: var(--mp-text-mid);
}
.mp-view-toggle .mp-view-btn.is-active {
  color: var(--mp-gold-dark);
  font-weight: 700;
}
.mp-filters .mp-chip {
  border: 1px solid var(--mp-border);
  background: #fff;
  color: var(--mp-text-mid);
  cursor: pointer;
  font: inherit;
}
.mp-filters .mp-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}
.mp-filters .mp-chip.active,
.mp-filters .mp-chip.active:hover {
  background: linear-gradient(135deg, var(--mp-gold-dark), var(--mp-gold));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(138, 100, 8, 0.25);
}
.mp-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
  margin-top: 0.25rem;
}
.mp-skel-card {
  background: #fff;
  border: 1px solid rgba(228, 223, 212, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 16px rgba(16, 24, 40, 0.05);
}
.mp-skel-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, #ece7dc 25%, #f5f1e8 50%, #ece7dc 75%);
  background-size: 200% 100%;
  animation: mp-skel-shimmer 1.2s ease-in-out infinite;
}
.mp-skel-body { padding: 0.95rem 1rem 1.1rem; }
.mp-skel-line {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ece7dc 25%, #f5f1e8 50%, #ece7dc 75%);
  background-size: 200% 100%;
  animation: mp-skel-shimmer 1.2s ease-in-out infinite;
  margin-bottom: 0.65rem;
}
.mp-skel-meta { width: 62%; height: 10px; }
.mp-skel-title { width: 88%; height: 16px; }
.mp-skel-seller { width: 48%; height: 10px; }
.mp-skel-price { width: 40%; height: 14px; margin-bottom: 0; }
@keyframes mp-skel-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.mp-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.mp-load-more {
  appearance: none;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: linear-gradient(180deg, #fffdf6 0%, #fff 100%);
  color: var(--mp-gold-dark);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  cursor: pointer;
  min-width: 180px;
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}
.mp-load-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(201, 162, 39, 0.18);
}
.mp-load-more:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}
.mp-load-more-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(201, 162, 39, 0.25);
  border-top-color: var(--mp-gold-dark);
  border-radius: 50%;
  animation: mp-spin 0.7s linear infinite;
}
@keyframes mp-spin {
  to { transform: rotate(360deg); }
}
.mp-empty-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
}
#mpListingsGrid {
  transition: opacity 0.2s ease;
}
