/* ============================================================
   Marketplace Front-Office CSS — marketplace-front.css
   ============================================================ */

:root {
  --mpf-primary:      #2d7dd2;
  --mpf-primary-dark: #1a5fa8;
  --mpf-bg:           #f7f9fc;
  --mpf-card-bg:      #ffffff;
  --mpf-border:       #e2e8f0;
  --mpf-text:         #2d3748;
  --mpf-muted:        #718096;
  --mpf-success:      #38a169;
  --mpf-warning:      #d69e2e;
  --mpf-danger:       #e53e3e;
  --mpf-radius:       10px;
  --mpf-shadow:       0 2px 12px rgba(0,0,0,.08);
  --mpf-transition:   .2s ease;
}

/* ── Vendor List Page ── */
.mp-vendor-list-page { padding: 32px 0; }

.mp-vendor-list-header {
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.mp-vendor-list-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--mpf-text);
}

.mp-vendor-list-subtitle { color: var(--mpf-muted); margin-top: 4px; }

.mp-become-vendor-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--mpf-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--mpf-transition);
  font-size: 14px;
}

.mp-become-vendor-btn:hover { background: var(--mpf-primary-dark); color: #fff; }

/* ── Vendor Grid ── */
.mp-vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.mp-vendor-card {
  background: var(--mpf-card-bg);
  border-radius: var(--mpf-radius);
  border: 1px solid var(--mpf-border);
  box-shadow: var(--mpf-shadow);
  overflow: hidden;
  transition: box-shadow var(--mpf-transition), transform var(--mpf-transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.mp-vendor-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-2px);
}

.mp-vendor-card-banner {
  height: 100px;
  object-fit: cover;
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mp-vendor-card-body { padding: 16px; flex: 1; }

.mp-vendor-card-logo-wrap { margin-top: -36px; margin-bottom: 10px; }

.mp-vendor-card-logo {
  width: 64px; height: 64px;
  border-radius: 10px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  background: #fff;
}

.mp-vendor-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--mpf-text);
  margin-bottom: 4px;
}

.mp-vendor-card-desc {
  font-size: 13px;
  color: var(--mpf-muted);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.mp-vendor-card-stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--mpf-muted);
}

.mp-vendor-card-stats span { display: flex; align-items: center; gap: 4px; }

.mp-vendor-card-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--mpf-border);
  background: #fafbfc;
  font-size: 12px;
  color: var(--mpf-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Star rating ── */
.mp-stars { display: inline-flex; gap: 2px; }
.mp-stars i { font-size: 12px; color: #ecc94b; }
.mp-stars i.far { color: #cbd5e0; }

/* ── Vendor Store Page ── */
.mp-vendor-store-page { padding-bottom: 40px; }

.mp-store-banner-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.mp-store-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-store-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 60%);
}

.mp-store-header {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  padding: 0 0 24px;
  margin-top: -40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.mp-store-logo {
  width: 90px; height: 90px;
  border-radius: 14px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  background: #fff;
  flex-shrink: 0;
}

.mp-store-info { flex: 1; min-width: 200px; }

.mp-store-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--mpf-text);
  margin-bottom: 4px;
}

.mp-store-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mpf-muted);
}

.mp-store-meta span { display: flex; align-items: center; gap: 5px; }

.mp-store-desc {
  color: var(--mpf-muted);
  font-size: 14px;
  margin-top: 8px;
  line-height: 1.6;
}

/* ── Products section ── */
.mp-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--mpf-text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-section-title i { color: var(--mpf-primary); }

/* ── Products grid ── */
.mp-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.mp-product-card {
  background: var(--mpf-card-bg);
  border-radius: var(--mpf-radius);
  border: 1px solid var(--mpf-border);
  box-shadow: var(--mpf-shadow);
  overflow: hidden;
  transition: box-shadow var(--mpf-transition), transform var(--mpf-transition);
  text-decoration: none;
  color: inherit;
}

.mp-product-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.mp-product-img-wrap { position: relative; height: 180px; overflow: hidden; }

.mp-product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

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

.mp-product-body { padding: 14px; }

.mp-product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--mpf-text);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}

.mp-product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--mpf-primary);
}

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

/* ── Reviews ── */
.mp-reviews-list { display: flex; flex-direction: column; gap: 16px; }

.mp-review-card {
  background: var(--mpf-card-bg);
  border-radius: var(--mpf-radius);
  border: 1px solid var(--mpf-border);
  padding: 16px 20px;
}

.mp-review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.mp-review-author { font-weight: 600; font-size: 14px; }

.mp-review-date { font-size: 12px; color: var(--mpf-muted); margin-left: auto; }

.mp-review-body { font-size: 14px; color: var(--mpf-text); line-height: 1.6; }

/* ── Empty states ── */
.mp-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--mpf-muted);
}

.mp-empty-state i { font-size: 48px; opacity: .4; margin-bottom: 12px; display: block; }

.mp-empty-state h3 { font-size: 18px; color: var(--mpf-text); margin-bottom: 8px; }

.mp-empty-state p { margin-bottom: 20px; }

/* ── Pagination ── */
.mp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.mp-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--mpf-border);
  background: var(--mpf-card-bg);
  color: var(--mpf-text);
  text-decoration: none;
  font-size: 13px;
  transition: all var(--mpf-transition);
}

.mp-page-link:hover,
.mp-page-link.active {
  background: var(--mpf-primary);
  border-color: var(--mpf-primary);
  color: #fff;
}

.mp-page-link.disabled { opacity: .4; pointer-events: none; }

/* ── Customer account hook ── */
.mp-customer-account-panel {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--mpf-card-bg);
  border: 1px solid var(--mpf-border);
  border-radius: var(--mpf-radius);
  padding: 16px 20px;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--mpf-transition);
}

.mp-customer-account-panel:hover { box-shadow: var(--mpf-shadow); }

.mp-customer-account-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(45,125,210,.12);
  color: var(--mpf-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.mp-customer-account-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.mp-customer-account-info p { font-size: 13px; color: var(--mpf-muted); }

/* ── Register page ── */
.mp-register-page { padding: 40px 0; }

.mp-register-header { text-align: center; margin-bottom: 32px; }

.mp-register-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }

.mp-register-subtitle { color: var(--mpf-muted); }

.mp-register-card {
  background: var(--mpf-card-bg);
  border-radius: 12px;
  border: 1px solid var(--mpf-border);
  box-shadow: var(--mpf-shadow);
  padding: 32px;
  max-width: 720px;
  margin: 0 auto;
}

.mp-section-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--mpf-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mpf-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-section-heading i { color: var(--mpf-primary); }

.mp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mp-form-grid .mp-form-group.full { grid-column: 1 / -1; }

.mp-form-group {
  display: flex;
  flex-direction: column;
}

.mp-label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--mpf-text);
}

.mp-input, .mp-select, .mp-textarea {
  padding: 9px 12px;
  border: 1px solid var(--mpf-border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--mpf-text);
  background: #fff;
  transition: border-color var(--mpf-transition), box-shadow var(--mpf-transition);
  width: 100%;
}

.mp-input:focus, .mp-select:focus, .mp-textarea:focus {
  outline: none;
  border-color: var(--mpf-primary);
  box-shadow: 0 0 0 3px rgba(45,125,210,.12);
}

.mp-textarea { resize: vertical; }

.mp-hint { font-size: 11.5px; color: var(--mpf-muted); margin-top: 4px; }

/* File upload zone */
.mp-upload-zone {
  border: 2px dashed var(--mpf-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--mpf-transition), background var(--mpf-transition);
  position: relative;
}

.mp-upload-zone:hover,
.mp-upload-zone.drag-over {
  border-color: var(--mpf-primary);
  background: rgba(45,125,210,.03);
}

.mp-upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer;
}

.mp-upload-icon { font-size: 28px; color: var(--mpf-muted); margin-bottom: 6px; }
.mp-upload-label { font-size: 13px; color: var(--mpf-muted); }

.mp-upload-preview {
  display: none;
  margin-top: 12px;
}

.mp-upload-preview img {
  max-width: 100%; max-height: 120px;
  border-radius: 6px;
  object-fit: contain;
}

/* Submit area */
.mp-submit-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--mpf-border);
  flex-wrap: wrap;
  gap: 12px;
}

.mp-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: var(--mpf-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--mpf-transition);
}

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

/* ── Responsive ── */
@media (max-width: 767.98px) {
  .mp-vendor-grid { grid-template-columns: 1fr 1fr; }
  .mp-products-grid { grid-template-columns: 1fr 2fr; }
  .mp-form-grid { grid-template-columns: 1fr; }
  .mp-form-grid .mp-form-group.full { grid-column: 1; }
  .mp-register-card { padding: 20px; }
}

@media (max-width: 479.98px) {
  .mp-vendor-grid { grid-template-columns: 1fr; }
  .mp-products-grid { grid-template-columns: 2fr; }
  .mp-store-header { margin-top: -20px; }
  .mp-store-logo { width: 70px; height: 70px; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: .5rem; }
.ms-auto { margin-left: auto; }

/* ── UI Refresh Layer ── */
.mp-vendor-list-page,
.mp-vendor-store,
.mp-register-page {
  background: transparent;
}

.mp-vendor-list-page {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 0 0 48px;
}

.mp-shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 2fr));
  gap: 18px;
}

.mp-shop-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 178px;
  padding: 22px 16px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15,23,42,.07);
  text-align: center;
  text-decoration: none;
  color: #0f172a;
  transition: transform var(--mpf-transition), box-shadow var(--mpf-transition), border-color var(--mpf-transition);
}

.mp-shop-tile:hover {
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(15,23,42,.11);
  border-color: rgba(148,163,184,.45);
}

.mp-shop-tile-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 8px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.mp-shop-tile-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mp-shop-tile-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.mp-category-directory {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.mp-category-directory-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1rem + .6vw, 1.9rem);
  color: #0f172a;
}

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

.mp-category-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 18px 16px;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15,23,42,.06);
  text-align: center;
  text-decoration: none;
}

.mp-category-tile-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.mp-category-back-link {
  margin-top: 16px;
}

.mp-vendor-list-shell {
  display: grid;
  gap: 28px;
}

.mp-vendor-list-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 34px 40px;
  margin: 24px 0 0;
  border-radius: 34px;
  text-align: left;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 20px 48px rgba(15,23,42,.08);
}

.mp-vendor-list-hero::after {
  display: none;
}

.mp-vendor-list-hero > * {
  position: relative;
  z-index: 1;
}

.mp-vendor-list-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .92fr);
  gap: 28px;
  align-items: end;
}

.mp-vendor-list-intro {
  display: grid;
  gap: 16px;
}

.mp-vendor-list-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid rgba(203,213,225,.95);
  border-radius: 999px;
  background: rgba(248,250,252,.96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #475569;
}

.mp-vendor-list-hero h1 {
  font-size: clamp(2rem, 1.45rem + 1.9vw, 3.35rem);
  letter-spacing: -.04em;
  margin: 0;
}

.mp-vendor-list-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 1.05rem;
  color: #526277;
  opacity: 1;
}

.mp-search-bar {
  width: min(100%, 700px);
  margin: 0;
}

.mp-search-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: 28px;
  background: rgba(248,250,252,.96);
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: none;
}

.mp-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 14px;
  font-size: 1rem;
  color: #0f172a;
}

.mp-search-input:focus {
  outline: none;
}

.mp-search-clear {
  box-shadow: none;
}

.mp-vendor-list-metrics {
  display: grid;
  gap: 14px;
}

.mp-vendor-list-metric {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  background: rgba(7, 16, 37, .2);
  backdrop-filter: blur(8px);
}

.mp-vendor-list-metric strong {
  font-size: clamp(1.6rem, 1.25rem + .8vw, 2.35rem);
  line-height: 1;
}

.mp-vendor-list-metric span {
  opacity: .82;
}

.mp-vendor-list-metric--action .btn {
  width: fit-content;
  margin-top: 4px;
}

.mp-search-btn,
.mp-btn-primary,
.mp-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--mp-primary, var(--mpf-primary)), color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 72%, #fff));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(45,125,210,.22);
  transition: transform var(--mpf-transition), box-shadow var(--mpf-transition), filter var(--mpf-transition);
}

.mp-search-btn:hover,
.mp-btn-primary:hover,
.mp-btn-cta:hover,
.mp-become-vendor-btn:hover,
.mp-btn-submit:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(45,125,210,.24);
  filter: saturate(1.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #fff;
  color: var(--mpf-text);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--mpf-transition), box-shadow var(--mpf-transition), background var(--mpf-transition), border-color var(--mpf-transition), color var(--mpf-transition);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45,125,210,.14);
}

.btn-primary {
  background: linear-gradient(135deg, var(--mp-primary, var(--mpf-primary)), color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 72%, #fff));
  border-color: color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 74%, #fff);
  color: #fff;
  box-shadow: 0 16px 34px rgba(45,125,210,.22);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 20px 36px rgba(45,125,210,.24);
  filter: saturate(1.05);
}

.btn-secondary,
.btn-light {
  background: rgba(255,255,255,.92);
  color: var(--mpf-text);
  border-color: rgba(203,213,225,.95);
}

.btn-secondary:hover,
.btn-light:hover {
  color: var(--mpf-text);
  background: #fff;
  border-color: rgba(148,163,184,.42);
}

.btn-success {
  background: #f0fff4;
  color: #166534;
  border-color: rgba(56,161,105,.28);
}

.btn-success:hover {
  background: var(--mpf-success);
  border-color: var(--mpf-success);
  color: #fff;
}

.btn-warning {
  background: #fffbeb;
  color: #92400e;
  border-color: rgba(214,158,46,.3);
}

.btn-warning:hover {
  background: var(--mpf-warning);
  border-color: var(--mpf-warning);
  color: #1f2937;
}

.btn-danger {
  background: #fff5f5;
  color: #b91c1c;
  border-color: rgba(229,62,62,.3);
}

.btn-danger:hover {
  background: var(--mpf-danger);
  border-color: var(--mpf-danger);
  color: #fff;
}

.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-danger {
  background: transparent;
  box-shadow: none;
}

.btn-outline-primary {
  color: var(--mp-primary, var(--mpf-primary));
  border-color: color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 36%, #fff);
}

.btn-outline-primary:hover {
  background: rgba(45,125,210,.08);
  color: var(--mp-primary, var(--mpf-primary));
}

.btn-outline-secondary {
  color: var(--mpf-text);
  border-color: rgba(203,213,225,.95);
}

.btn-outline-secondary:hover {
  background: #f8fafc;
  color: var(--mpf-text);
}

.btn-outline-danger {
  color: var(--mpf-danger);
  border-color: rgba(229,62,62,.32);
}

.btn-outline-danger:hover {
  background: rgba(229,62,62,.08);
  color: var(--mpf-danger);
}

.btn-link {
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--mp-primary, var(--mpf-primary));
  font-weight: 700;
}

.btn-link:hover {
  color: var(--mpf-primary-dark);
  transform: none;
}

.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 12.5px;
}

.btn-lg {
  min-height: 52px;
  padding: 13px 24px;
  font-size: 15px;
}

.w-100 {
  width: 100%;
}

.mp-vendor-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 6px;
}

.mp-vendor-list-summary {
  color: #526277;
  font-size: .98rem;
}

.mp-vendor-list-summary strong {
  color: #0f172a;
}

.mp-vendors-grid,
.mp-vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.mp-vendor-card {
  position: relative;
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(15,23,42,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
  overflow: hidden;
}

.mp-vendor-banner-link,
.mp-vendor-card a {
  text-decoration: none;
}

.mp-vendor-banner {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 70%, white), #163760);
}

.mp-vendor-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,.08), rgba(15,23,42,.6));
}

.mp-vendor-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mp-vendor-card-pins {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.mp-vendor-chip,
.mp-vendor-stat-chip,
.mp-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.mp-vendor-chip {
  color: #fff;
  background: rgba(15,23,42,.44);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
}

.mp-vendor-logo-wrap {
  position: relative;
  z-index: 1;
  margin-top: -42px;
  padding: 0 24px;
}

.mp-vendor-logo,
.mp-store-logo {
  box-shadow: 0 20px 36px rgba(15,23,42,.18);
}

.mp-vendor-card-body,
.mp-product-info,
.mp-store-description,
.mp-review-card {
  padding: 20px 24px 24px;
}

.mp-vendor-card-body {
  display: grid;
  gap: 14px;
}

.mp-vendor-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mp-vendor-card-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
}

.mp-vendor-shop-name,
.mp-store-name {
  font-size: clamp(1.4rem, 1rem + .6vw, 2.15rem);
  letter-spacing: -.03em;
  color: #0f172a;
}

.mp-vendor-shop-name a {
  color: inherit;
}

.mp-vendor-rating,
.mp-store-rating,
.mp-store-stats,
.mp-vendor-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mp-vendor-desc,
.mp-store-desc-inner,
.mp-review-content {
  color: #526277;
  line-height: 1.7;
}

.mp-vendor-desc {
  margin: 0;
}

.mp-vendor-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-vendor-stat-chip {
  color: #475569;
  background: rgba(241,245,249,.92);
  border: 1px solid rgba(203,213,225,.9);
}

.mp-vendor-card-actions {
  margin-top: auto;
}

.mp-become-vendor-cta {
  margin-top: 40px;
  border-radius: 28px;
  overflow: hidden;
  /* background:
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 24%),
    linear-gradient(135deg, #0f2344 0%, color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 72%, #0f2344) 100%); */
  box-shadow: 0 28px 60px rgba(15,23,42,.16);
}

.mp-cta-content {
  padding: 42px 34px;
  color: #fff;
}

.mp-cta-content h2 {
  font-size: clamp(1.7rem, 1.2rem + .9vw, 2.5rem);
  margin-bottom: 10px;
}

.mp-cta-content p {
  max-width: 640px;
  opacity: .84;
  margin-bottom: 18px;
}

.mp-cta-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.mp-cta-note {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
}

.mp-store-breadcrumb {
  margin-bottom: 22px;
  padding-top: 28px;
}

.mp-store-breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}

.mp-store-breadcrumb .breadcrumb-item {
  color: #526277;
}

.mp-store-breadcrumb a {
  color: var(--mp-primary, var(--mpf-primary));
  text-decoration: none;
}

.mp-store-banner {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  border-radius: 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--mp-primary, var(--mpf-primary)) 65%, white), #163760);
  box-shadow: 0 28px 60px rgba(15,23,42,.14);
}

.mp-banner-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}

.mp-store-header {
  margin-top: -42px;
  padding: 0 28px 28px;
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(15,23,42,.12);
}

.mp-store-header-info {
  flex: 1;
  min-width: 240px;
}

.mp-store-actions {
  margin-left: auto;
}

.mp-store-description,
.mp-store-products,
.mp-store-reviews,
.mp-register-card {
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 24px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 50px rgba(15,23,42,.08);
}

.mp-store-description {
  margin-top: 22px;
}

.mp-store-products,
.mp-store-reviews {
  margin-top: 26px;
  padding: 24px 0;
}

.mp-store-products-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: clamp(1.4rem, 1rem + .8vw, 2rem);
  color: #0f172a;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.mp-product-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(45,125,210,.12);
  color: var(--mp-primary, var(--mpf-primary));
  font-size: .95rem;
}

.mp-products-grid {
  gap: 20px;
}

.mp-product-card {
  border: 1px solid rgba(226,232,240,.95);
  border-radius: 22px;
  box-shadow: 0 20px 44px rgba(15,23,42,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.95));
}

.mp-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mp-product-img-wrap {
  height: 220px;
  background: linear-gradient(180deg, rgba(248,250,252,.9), rgba(226,232,240,.7));
}

.mp-review-card {
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15,23,42,.06);
}

.mp-review-title {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 6px;
}

.mp-pagination-wrap,
.mp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.mp-page-btn,
.mp-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(203,213,225,.9);
  background: rgba(255,255,255,.95);
  color: #334155;
  text-decoration: none;
  font-weight: 700;
}

.mp-page-btn:hover,
.mp-page-btn.active,
.mp-page-link:hover,
.mp-page-link.active {
  background: var(--mp-primary, var(--mpf-primary));
  border-color: var(--mp-primary, var(--mpf-primary));
  color: #fff;
}

.mp-empty-state-page {
  border: 1px dashed #cbd5e1;
  border-radius: 24px;
  background: rgba(255,255,255,.86);
}

.mp-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mp-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mp-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 991.98px) {
  .mp-vendor-list-page {
    width: min(100%, calc(100% - 24px));
  }

  .mp-vendor-list-hero {
    padding: 30px 26px 34px;
  }

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

  .mp-store-header {
    padding: 0 20px 22px;
  }

  .mp-cols-4,
  .mp-cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .mp-search-inner {
    border-radius: 22px;
    padding: 10px;
  }

  .mp-vendor-list-page {
    width: min(100%, calc(100% - 16px));
    margin-bottom: 40px;
  }

  .mp-vendor-list-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mp-shop-grid,
  .mp-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mp-vendors-grid,
  .mp-vendor-grid,
  .mp-products-grid,
  .mp-cols-3,
  .mp-cols-4,
  .mp-cols-5 {
    grid-template-columns: 1fr 1fr;
  }

  .mp-store-header {
    margin-top: -22px;
    padding-top: 14px;
  }

  .mp-store-actions {
    margin-left: 0;
    width: 100%;
  }

  .mp-store-actions .btn,
  .mp-store-actions .mp-btn-primary {
    width: 100%;
  }

  .mp-vendor-card-body {
    padding: 18px 18px 20px;
  }

  .mp-vendor-logo-wrap {
    padding: 0 18px;
  }
}

@media (max-width: 479.98px) {
  .mp-vendors-grid,
  .mp-vendor-grid,
  .mp-products-grid,
  .mp-cols-2,
  .mp-cols-3,
  .mp-cols-4,
  .mp-cols-5 {
    grid-template-columns: 1fr;
  }

  .mp-vendor-list-hero {
    padding: 24px 16px 26px;
  }

  .mp-vendor-list-metric--action .btn,
  .mp-search-btn,
  .mp-search-clear {
    width: 100%;
  }

  .mp-shop-grid,
  .mp-category-grid {
    grid-template-columns: 1fr;
  }

  .mp-cta-notes {
    flex-direction: column;
    align-items: flex-start;
  }

  .mp-cta-content,
  .mp-register-card,
  .mp-store-description,
  .mp-review-card {
    padding: 20px;
  }
}

.mp-vendor-store .mp-store-hero {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, .95);
  box-shadow: 0 28px 60px rgba(15, 23, 42, .16);
}

.mp-vendor-store .mp-store-hero.has-banner {
  background: linear-gradient(135deg, #11284f 0%, #18365f 48%, #1f497c 100%);
  border-color: transparent;
}

.mp-vendor-store .mp-store-hero-media {
  position: absolute;
  inset: 0;
}

.mp-vendor-store .mp-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mp-vendor-store .mp-store-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(8, 17, 31, .78), rgba(8, 17, 31, .38) 45%, rgba(8, 17, 31, .72)),
    radial-gradient(circle at top right, rgba(255, 255, 255, .18), transparent 28%);
}

.mp-vendor-store {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 56px;
  padding: 0 0 24px;
}

.mp-vendor-store,
.mp-vendor-store * {
  box-sizing: border-box;
}

.mp-vendor-store .mp-store-header--hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 34px;
  min-height: 220px;
  margin-top: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: #0f172a;
}

.mp-vendor-store .mp-store-hero.has-banner .mp-store-header--hero {
  min-height: 320px;
  color: #fff;
}

.mp-vendor-store .mp-store-logo-wrap {
  width: 128px;
  height: 128px;
  margin-top: 0;
  padding: 0;
}

.mp-vendor-store .mp-store-logo {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  border: 4px solid rgba(255, 255, 255, .92);
  background: #fff;
  object-fit: cover;
}

.mp-vendor-store .mp-store-header-info {
  display: grid;
  gap: 14px;
}

.mp-vendor-store .mp-store-kicker,
.mp-vendor-store .mp-store-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
}

.mp-vendor-store .mp-store-hero.has-banner .mp-store-kicker {
  color: rgba(255, 255, 255, .72);
}

.mp-vendor-store .mp-store-name,
.mp-vendor-store .mp-store-section-heading h2 {
  margin: 0;
  letter-spacing: -.04em;
}

.mp-vendor-store .mp-store-desc-inner {
  max-width: 760px;
  color: #475569;
}

.mp-vendor-store .mp-store-hero.has-banner .mp-store-desc-inner {
  color: rgba(255, 255, 255, .84);
}

.mp-vendor-store .mp-store-rating,
.mp-vendor-store .mp-store-stats {
  color: #334155;
}

.mp-vendor-store .mp-store-hero.has-banner .mp-store-rating,
.mp-vendor-store .mp-store-hero.has-banner .mp-store-stats {
  color: rgba(255, 255, 255, .92);
}

.mp-vendor-store .mp-store-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fafc;
  backdrop-filter: blur(12px);
}

.mp-vendor-store .mp-store-hero.has-banner .mp-store-stat {
  background: rgba(255, 255, 255, .12);
}

.mp-vendor-store .mp-store-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-self: start;
  margin-left: 0;
}

.mp-vendor-store .mp-store-shell {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.mp-vendor-store .mp-store-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
}

.mp-vendor-store .mp-store-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.mp-vendor-store .mp-store-panel {
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 26px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08);
  padding: 22px;
  overflow: hidden;
}

.mp-vendor-store .mp-store-panel-head,
.mp-vendor-store .mp-store-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mp-vendor-store .mp-store-section-heading > div {
  display: grid;
  gap: 6px;
}

.mp-vendor-store .mp-store-panel-head span,
.mp-vendor-store .mp-store-section-count {
  font-weight: 700;
  color: #0f172a;
}

.mp-vendor-store .mp-store-category-list {
  display: ruby;
  gap: 10px;
}

.mp-vendor-store .mp-store-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  color: #334155;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid transparent;
  transition: transform var(--mpf-transition), border-color var(--mpf-transition), box-shadow var(--mpf-transition), background var(--mpf-transition);
}

.mp-vendor-store .mp-store-category-link span {
  flex: 1;
  min-width: 0;
}

.mp-vendor-store .mp-store-category-link:hover,
.mp-vendor-store .mp-store-category-link.is-active {
  transform: translateY(-1px);
  border-color: rgba(45, 125, 210, .18);
  background: rgba(45, 125, 210, .08);
  box-shadow: 0 12px 26px rgba(45, 125, 210, .12);
}

.mp-vendor-store .mp-store-category-link strong {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .08);
  font-size: 12px;
}

.mp-vendor-store .mp-store-hero--plain .mp-store-header--hero {
  align-items: center;
}

.mp-vendor-store .mp-store-contact-card {
  display: grid;
  gap: 12px;
}

.mp-vendor-store .mp-contact-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  color: #334155;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 232, 240, .8);
}

.mp-vendor-store .mp-contact-item span {
  min-width: 0;
  word-break: break-word;
}

.mp-vendor-store .mp-contact-item:last-child {
  border-bottom: 0;
}

.mp-vendor-store .mp-contact-item.is-static {
  cursor: default;
}

.mp-vendor-store .mp-store-latest-grid,
.mp-vendor-store .mp-store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.mp-vendor-store #mp-store-catalogue {
  scroll-margin-top: 96px;
}

.mp-vendor-store .mp-store-product-card {
  height: 100%;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, #f8fafc);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .08);
  transition: transform var(--mpf-transition), box-shadow var(--mpf-transition), border-color var(--mpf-transition);
}

.mp-vendor-store .mp-store-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 125, 210, .18);
  box-shadow: 0 24px 44px rgba(15, 23, 42, .12);
}

.mp-vendor-store .mp-store-product-card .thumbnail-container {
  display: grid;
  gap: 14px;
  height: 100%;
}

.mp-vendor-store .mp-store-product-thumb {
  display: block;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #f1f5f9;
}

.mp-vendor-store .mp-store-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

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

.mp-vendor-store .mp-store-product-topline,
.mp-vendor-store .mp-store-product-card .product-description {
  padding: 0 16px;
}

.mp-vendor-store .mp-store-product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mp-vendor-store .mp-store-product-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(45, 125, 210, .08);
  color: var(--mp-primary, var(--mpf-primary));
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.mp-vendor-store .mp-store-product-ref {
  color: #94a3b8;
  font-size: 12px;
}

.mp-vendor-store .mp-store-product-card .product-description {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.mp-vendor-store .mp-store-product-card .product-title {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.mp-vendor-store .mp-store-product-card .product-title a {
  color: #0f172a;
}

.mp-vendor-store .mp-store-product-card .product-price-and-shipping {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mp-vendor-store .mp-store-product-card .price {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.mp-vendor-store .mp-store-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.mp-vendor-store .mp-store-product-stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
}

.mp-vendor-store .mp-store-product-stock.in-stock {
  color: #166534;
}

.mp-vendor-store .mp-store-product-stock.out-stock {
  color: #a16207;
}

@media (max-width: 991.98px) {
  .mp-vendor-store {
    width: min(100%, calc(100% - 24px));
  }

  .mp-vendor-store .mp-store-header--hero,
  .mp-vendor-store .mp-store-shell {
    grid-template-columns: 1fr;
  }

  .mp-vendor-store .mp-store-sidebar {
    position: static;
  }

  .mp-vendor-store .mp-store-header--hero {
    align-items: start;
  }
}

@media (max-width: 767.98px) {
  .mp-vendor-store {
    width: min(100%, calc(100% - 16px));
    margin-bottom: 40px;
  }

  .mp-vendor-store .mp-store-header--hero {
    padding: 24px 20px;
    min-height: 0;
  }

  .mp-vendor-store .mp-store-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .mp-vendor-store .mp-store-logo-wrap {
    width: 96px;
    height: 96px;
  }

  .mp-vendor-store .mp-store-actions {
    width: 100%;
  }

  .mp-vendor-store .mp-store-actions .btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) {
  .mp-vendor-store .mp-store-category-list {
    display: ruby;
    gap: 10px;
  }
  .mp-vendor-store .mp-store-breadcrumb {
    margin-bottom: 16px;
    padding-top: 18px;
  }

  .mp-vendor-store .mp-store-header--hero {
    gap: 16px;
    padding: 18px 16px;
  }

  .mp-vendor-store .mp-store-category-link {
    padding: 11px 12px;
  }
  
}

/* ── Home Shops Carousel ── */
.mp-home-shops {
  padding: 36px 0;
}

.mp-home-shops-shell {
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  border: 1px solid rgba(45,125,210,.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15,23,42,.06);
  padding: 26px;
}

.mp-home-shops-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.mp-home-shops-kicker {
  margin: 0 0 6px;
  color: var(--mpf-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mp-home-shops-title {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  font-weight: 800;
}

.mp-home-shops-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mpf-primary);
  font-weight: 700;
  text-decoration: none;
}

.mp-home-shops-link:hover {
  color: var(--mpf-primary-dark);
}

.mp-home-shops-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.mp-home-shops-nav {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.08);
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
  color: #0f172a;
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15,23,42,.09);
  transition: transform var(--mpf-transition), box-shadow var(--mpf-transition), color var(--mpf-transition), background var(--mpf-transition);
  position: relative;
  overflow: hidden;
}

.mp-home-shops-nav::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(45,125,210,.16) 0%, rgba(255,255,255,.96) 100%);
}

.mp-home-shops-nav span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(45,125,210,.08);
  color: var(--mpf-primary);
  font-size: 24px;
  font-weight: 700;
}

.mp-home-shops-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(45,125,210,.18);
  color: var(--mpf-primary-dark);
}

.mp-home-shops-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.mp-home-shops-track::-webkit-scrollbar {
  display: none;
}

.mp-home-shop-chip {
  min-width: 98px;
  max-width: 98px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  scroll-snap-align: start;
  flex: 0 0 auto;
}

.mp-home-shop-chip:hover .mp-home-shop-logo-ring {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 28px rgba(45,125,210,.16);
}

.mp-home-shop-logo-ring {
  width: 74px;
  height: 74px;
  border-radius: 45px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(45,125,210,.14) 0%, rgba(45,125,210,.03) 100%);
  box-shadow: 0 10px 22px rgba(15,23,42,.06);
  transition: transform var(--mpf-transition), box-shadow var(--mpf-transition);
  flex-shrink: 0;
}

.mp-home-shop-logo {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  object-fit: cover;
  background: #fff;
  border: 2px solid #fff;
}

.mp-home-shop-name {
  width: 100%;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}


@media (max-width: 767.98px) {
  .mp-home-shops {
    padding: 28px 0;
  }

  .mp-home-shops-shell {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .mp-home-shops-header {
    align-items: stretch;
    flex-direction: column;
  }

  .mp-home-shops-title {
    font-size: 22px;
  }

  .mp-home-shops-carousel {
    grid-template-columns: 1fr;
  }

  .mp-home-shops-nav {
    display: none;
  }

  .mp-home-shop-chip {
    min-width: 88px;
    max-width: 88px;
  }

  .mp-home-shop-logo-ring {
    width: 64px;
    height: 64px;
  }
}
