/**
 * Furnostyles Marketplace CSS
 * Shared styles for all public marketplace pages.
 * Cards, grids, hero, filter bar, recommendations.
 */

/* ------------------------------------------------------------------ */
/* HERO                                                                  */
/* ------------------------------------------------------------------ */

.mp-hero {
  background: linear-gradient(135deg, #0b3b46 0%, #1a2540 100%);
  color: #fff;
  padding: 56px 32px 48px;
  text-align: center;
}

.mp-hero-title {
  font-size: 38px;
  font-weight: 900;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.mp-hero-sub {
  font-size: 16px;
  opacity: 0.82;
  margin: 0 0 14px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.mp-hero-count {
  display: inline-block;
  font-size: 13px;
  opacity: 0.65;
  background: rgba(255,255,255,0.12);
  padding: 5px 18px;
  border-radius: 20px;
}

/* ------------------------------------------------------------------ */
/* NAV STRIP (links to other marketplace sections)                      */
/* ------------------------------------------------------------------ */

.mp-nav-strip {
  background: #fff;
  border-bottom: 1.5px solid #dce4f0;
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mp-nav-link {
  display: inline-block;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #4c5e80;
  text-decoration: none;
  border-bottom: 2.5px solid transparent;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.mp-nav-link:hover   { color: #0b3b46; border-bottom-color: #0b3b46; }
.mp-nav-link.active  { color: #0b3b46; border-bottom-color: #c9a227; }

/* ------------------------------------------------------------------ */
/* FILTER / SORT BAR                                                     */
/* ------------------------------------------------------------------ */

.mp-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid #dce4f0;
  border-radius: 10px;
}

.mp-filter-label {
  font-size: 13px;
  font-weight: 700;
  color: #3c4f72;
}

.mp-filter-sel {
  padding: 8px 13px;
  border: 1.5px solid #dce4f0;
  border-radius: 7px;
  font-size: 13px;
  color: #1a2540;
  background: #fff;
  font-family: inherit;
  cursor: pointer;
}
.mp-filter-sel:focus { outline: none; border-color: #0b3b46; }

.mp-count {
  margin-left: auto;
  font-size: 12px;
  color: #8090a0;
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* PRODUCT GRID                                                          */
/* ------------------------------------------------------------------ */

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

/* ------------------------------------------------------------------ */
/* PRODUCT CARD                                                          */
/* ------------------------------------------------------------------ */

.mp-card {
  background: #fff;
  border: 1.5px solid #dce4f0;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.mp-card:hover {
  box-shadow: 0 8px 28px rgba(11,59,70,0.13);
  transform: translateY(-2px);
}

.mp-card-img-wrap {
  position: relative;
  overflow: hidden;
}

.mp-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.mp-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f0f4ff, #e4eaf5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: #a0aabb;
}

/* Badges overlaid on image */
.mp-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  pointer-events: none;
}

.mp-badge-type     { background: #1a2540;  color: #fff; }
.mp-badge-featured { background: #c9a227;  color: #fff; right: 10px; left: auto; }
.mp-badge-mode     { background: #0b3b46;  color: #fff; }
.mp-badge-repair   { background: #4a1a7a;  color: #fff; }

/* Repair: before/after split */
.mp-repair-thumbs {
  display: flex;
  height: 200px;
}

.mp-repair-thumb {
  flex: 1;
  object-fit: cover;
  display: block;
  min-width: 0;
}

.mp-repair-thumb-label {
  flex: 1;
  background: linear-gradient(135deg, #f0f4ff, #e4eaf5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #8090a0;
  flex-direction: column;
  gap: 4px;
}

.mp-repair-divider {
  width: 2px;
  background: #fff;
  flex-shrink: 0;
}

/* Card body */
.mp-card-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mp-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2540;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-card-cat {
  font-size: 12px;
  color: #8090a0;
  margin: 0 0 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-card-price {
  font-size: 18px;
  font-weight: 800;
  color: #0b3b46;
  margin: 0 0 5px;
}

.mp-card-location {
  font-size: 12px;
  color: #8090a0;
  margin: 0 0 8px;
}

.mp-card-desc {
  font-size: 12px;
  color: #4c5e80;
  line-height: 1.55;
  margin: 0 0 14px;
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mp-card-cta {
  font-size: 12px;
  font-weight: 700;
  color: #0b3b46;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 1.5px solid currentColor;
  transition: color 0.15s;
  padding-bottom: 1px;
}
.mp-card-cta:hover { color: #c9a227; }

/* ------------------------------------------------------------------ */
/* LOADING SKELETON                                                       */
/* ------------------------------------------------------------------ */

.mp-skel-img {
  height: 200px;
  background: linear-gradient(90deg, #f0f4ff 25%, #e4eaf5 50%, #f0f4ff 75%);
  background-size: 200% 100%;
  animation: mp-skel 1.5s infinite;
}

.mp-skel-line {
  background: linear-gradient(90deg, #f0f4ff 25%, #e4eaf5 50%, #f0f4ff 75%);
  background-size: 200% 100%;
  animation: mp-skel 1.5s infinite;
  border-radius: 5px;
  height: 14px;
  margin-bottom: 8px;
  display: block;
}

@keyframes mp-skel {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ------------------------------------------------------------------ */
/* SECTION TITLES                                                        */
/* ------------------------------------------------------------------ */

.mp-section-head {
  margin-bottom: 20px;
}

.mp-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a2540;
  margin: 0 0 4px;
}

.mp-section-sub {
  font-size: 14px;
  color: #4c5e80;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* RECOMMENDATION SECTIONS                                               */
/* ------------------------------------------------------------------ */

.mp-rec-section {
  margin-top: 52px;
}

.mp-rec-title {
  font-size: 18px;
  font-weight: 800;
  color: #1a2540;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #dce4f0;
}

.mp-rec-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #dce4f0 transparent;
}

.mp-rec-scroll .mp-card {
  min-width: 220px;
  flex-shrink: 0;
}

.mp-rec-scroll .mp-card-img,
.mp-rec-scroll .mp-card-img-placeholder,
.mp-rec-scroll .mp-repair-thumbs {
  height: 150px;
}

/* ------------------------------------------------------------------ */
/* EMPTY / ERROR STATES                                                  */
/* ------------------------------------------------------------------ */

.mp-empty, .mp-error {
  text-align: center;
  padding: 64px 24px;
  color: #8090a0;
}

.mp-empty-icon, .mp-error-icon {
  font-size: 48px;
  margin-bottom: 14px;
}

.mp-empty-title, .mp-error-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2540;
  margin: 0 0 6px;
}

.mp-empty-sub, .mp-error-sub {
  font-size: 14px;
  margin: 0;
}

.mp-error-title { color: #cc1a1a; }

/* ------------------------------------------------------------------ */
/* CATEGORY TABS                                                         */
/* ------------------------------------------------------------------ */

.mp-category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding: 16px;
  background: #fff;
  border: 1.5px solid #dce4f0;
  border-radius: 10px;
}

.mp-category-tab {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #4c5e80;
  background: #f0f4ff;
  border: 1.5px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.mp-category-tab:hover {
  background: #e4eaf5;
  color: #0b3b46;
}

.mp-category-tab.active {
  background: #0b3b46;
  color: #fff;
  border-color: #0b3b46;
}

/* ------------------------------------------------------------------ */
/* SECTION HEADERS                                                       */
/* ------------------------------------------------------------------ */

.mp-browse-section {
  margin-bottom: 48px;
}

.mp-browse-section-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a2540;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mp-browse-section-title .icon {
  font-size: 24px;
}

.mp-browse-section-sub {
  font-size: 14px;
  color: #4c5e80;
  margin: 0 0 20px;
}

/* ------------------------------------------------------------------ */
/* CTA SECTIONS                                                          */
/* ------------------------------------------------------------------ */

.mp-cta-section {
  background: linear-gradient(135deg, #0b3b46 0%, #1a2540 100%);
  color: #fff;
  padding: 40px 24px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 48px;
}

.mp-cta-section h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}

.mp-cta-section p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 20px;
}

.mp-cta-section .btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: #c9a227;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.mp-cta-section .btn:hover {
  background: #b89120;
}

.mp-cta-section .btn-secondary {
  background: transparent;
  border: 2px solid #fff;
  margin-left: 12px;
}

.mp-cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ------------------------------------------------------------------ */
/* MOST VIEWED PLACEHOLDER                                               */
/* ------------------------------------------------------------------ */

.mp-most-viewed {
  background: #f0f4ff;
  border: 1.5px dashed #dce4f0;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  margin-bottom: 48px;
}

.mp-most-viewed-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.mp-most-viewed h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2540;
  margin: 0 0 8px;
}

.mp-most-viewed p {
  font-size: 14px;
  color: #4c5e80;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* RESPONSIVE                                                            */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  .mp-hero          { padding: 36px 20px 30px; }
  .mp-hero-title    { font-size: 26px; }
  .mp-hero-sub      { font-size: 14px; }
  .mp-grid          { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .mp-card-img,
  .mp-card-img-placeholder,
  .mp-repair-thumbs { height: 150px; }
  
  .mp-category-tabs {
    gap: 6px;
    padding: 12px;
  }
  
  .mp-category-tab {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .mp-browse-section {
    margin-bottom: 36px;
  }
  
  .mp-browse-section-title {
    font-size: 18px;
  }
  
  .mp-cta-section {
    padding: 32px 18px;
  }
  
  .mp-cta-section h3 {
    font-size: 18px;
  }
  
  .mp-most-viewed {
    padding: 32px 18px;
  }
}

/* ================================================================== */
/* AMAZON/ALIBABA-STYLE MARKETPLACE LAYOUT                              */
/* ================================================================== */

/* ------------------------------------------------------------------ */
/* DEALS FLASH BANNER                                                   */
/* ------------------------------------------------------------------ */
.mp-deals-banner {
  background: linear-gradient(90deg, #c9a227 0%, #e8c547 50%, #c9a227 100%);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mp-deals-banner-label {
  font-size: 13px;
  font-weight: 900;
  color: #1a2540;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mp-deals-banner-label .flash-icon { font-size: 18px; }
.mp-deals-items {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.mp-deals-items::-webkit-scrollbar { display: none; }
.mp-deals-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a2540;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s;
}
.mp-deals-chip:hover { background: #0b3b46; }
.mp-deals-chip .chip-discount { color: #c9a227; font-size: 11px; }

/* ------------------------------------------------------------------ */
/* BREADCRUMB                                                            */
/* ------------------------------------------------------------------ */
.mp-breadcrumb {
  padding: 10px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e8eef5;
  font-size: 12px;
  color: #8090a0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.mp-breadcrumb a { color: #0b3b46; text-decoration: none; }
.mp-breadcrumb a:hover { color: #c9a227; text-decoration: underline; }
.mp-breadcrumb-sep { color: #c0ccd8; }
.mp-breadcrumb-current { color: #1a2540; font-weight: 600; }

/* ------------------------------------------------------------------ */
/* MAIN SHOP LAYOUT (sidebar + content)                                 */
/* ------------------------------------------------------------------ */
.mp-shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px 24px 48px;
}

/* ------------------------------------------------------------------ */
/* LEFT SIDEBAR FILTERS                                                 */
/* ------------------------------------------------------------------ */
.mp-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mp-sidebar-section {
  background: #fff;
  border: 1.5px solid #dce4f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

.mp-sidebar-heading {
  font-size: 13px;
  font-weight: 800;
  color: #1a2540;
  padding: 14px 16px 10px;
  border-bottom: 1px solid #eef2f8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mp-sidebar-body { padding: 12px 16px 16px; }

/* Category list */
.mp-sidebar-cats { list-style: none; margin: 0; padding: 0; }
.mp-sidebar-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  color: #3c4f72;
  cursor: pointer;
  border-radius: 6px;
  transition: color 0.15s;
  text-decoration: none;
}
.mp-sidebar-cat:hover { color: #0b3b46; }
.mp-sidebar-cat.active { color: #0b3b46; font-weight: 700; }
.mp-sidebar-cat-count {
  font-size: 11px;
  background: #f0f4ff;
  color: #8090a0;
  padding: 2px 8px;
  border-radius: 10px;
}

/* Price range */
.mp-price-range { display: flex; flex-direction: column; gap: 10px; }
.mp-price-inputs { display: flex; gap: 8px; align-items: center; }
.mp-price-input {
  flex: 1;
  padding: 8px 10px;
  border: 1.5px solid #dce4f0;
  border-radius: 7px;
  font-size: 13px;
  color: #1a2540;
  width: 100%;
}
.mp-price-input:focus { outline: none; border-color: #0b3b46; }
.mp-price-sep { font-size: 12px; color: #8090a0; }
.mp-price-apply {
  width: 100%;
  padding: 9px;
  background: #0b3b46;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.mp-price-apply:hover { background: #c9a227; }

/* Rating filter */
.mp-rating-list { list-style: none; margin: 0; padding: 0; }
.mp-rating-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 13px;
  color: #3c4f72;
}
.mp-rating-item input[type=checkbox] { accent-color: #0b3b46; width: 15px; height: 15px; }
.mp-stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.mp-stars-grey { color: #dce4f0; }
.mp-rating-count { font-size: 11px; color: #8090a0; margin-left: auto; }

/* Checkbox filters (brand, availability) */
.mp-check-list { list-style: none; margin: 0; padding: 0; }
.mp-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: #3c4f72;
  cursor: pointer;
}
.mp-check-item input[type=checkbox] { accent-color: #0b3b46; width: 15px; height: 15px; }
.mp-check-list-spaced { margin-top: 10px; }

/* ------------------------------------------------------------------ */
/* RIGHT CONTENT AREA                                                   */
/* ------------------------------------------------------------------ */
.mp-content-area { min-width: 0; }

/* Sort & results bar */
.mp-sort-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #dce4f0;
  border-radius: 10px;
  margin-bottom: 20px;
}
.mp-sort-results {
  font-size: 13px;
  color: #8090a0;
  flex: 1;
}
.mp-sort-results strong { color: #1a2540; }
.mp-sort-label { font-size: 13px; font-weight: 700; color: #3c4f72; white-space: nowrap; }
.mp-sort-sel {
  padding: 8px 12px;
  border: 1.5px solid #dce4f0;
  border-radius: 7px;
  font-size: 13px;
  color: #1a2540;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
}
.mp-sort-sel:focus { outline: none; border-color: #0b3b46; }
.mp-view-toggle { display: flex; gap: 4px; }
.mp-view-btn {
  width: 34px;
  height: 34px;
  border: 1.5px solid #dce4f0;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #8090a0;
  transition: all 0.15s;
}
.mp-view-btn.active { background: #0b3b46; color: #fff; border-color: #0b3b46; }

/* ------------------------------------------------------------------ */
/* PRODUCT GRID V2 (Amazon-style)                                       */
/* ------------------------------------------------------------------ */
.mp-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.mp-grid-v2.list-view {
  grid-template-columns: 1fr;
}

/* ------------------------------------------------------------------ */
/* PRODUCT CARD V2                                                       */
/* ------------------------------------------------------------------ */
.mp-card-v2 {
  background: #fff;
  border: 1.5px solid #e8eef5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.mp-card-v2:hover {
  box-shadow: 0 6px 24px rgba(11,59,70,0.12);
  transform: translateY(-3px);
}
.list-view .mp-card-v2 {
  flex-direction: row;
  align-items: stretch;
}

/* Image wrapper */
.mp-card-v2-img-wrap {
  position: relative;
  background: #f5f7fa;
  overflow: hidden;
}
.mp-card-v2-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.mp-card-v2:hover .mp-card-v2-img { transform: scale(1.05); }
.list-view .mp-card-v2-img-wrap { width: 200px; flex-shrink: 0; }
.list-view .mp-card-v2-img { height: 100%; min-height: 160px; }

/* Badges */
.mp-badge-v2 {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}
.mp-badge-v2.bestseller { background: #e84d3d; color: #fff; }
.mp-badge-v2.new        { background: #27ae60; color: #fff; }
.mp-badge-v2.deal       { background: #c9a227; color: #fff; }
.mp-badge-v2.limited    { background: #8e44ad; color: #fff; }
.mp-badge-v2.verified   { background: #0b3b46; color: #fff; }
.mp-badge-v2.imported   { background: #1a6b8a; color: #fff; }

/* Discount ribbon */
.mp-discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e84d3d;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 2;
}

/* Wishlist button */
.mp-wishlist-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #c0ccd8;
  transition: all 0.2s;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.mp-wishlist-btn:hover { color: #e84d3d; background: #fff; }
.mp-wishlist-btn.active { color: #e84d3d; }

/* Card body */
.mp-card-v2-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 4px;
}

/* Vendor / category line */
.mp-card-v2-vendor {
  font-size: 11px;
  color: #0b3b46;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Title */
.mp-card-v2-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a2540;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Stars */
.mp-card-v2-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}
.mp-star-icons { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.mp-star-score { font-size: 12px; font-weight: 700; color: #f5a623; }
.mp-review-count { font-size: 11px; color: #8090a0; }

/* Price row */
.mp-card-v2-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.mp-card-v2-price {
  font-size: 20px;
  font-weight: 900;
  color: #0b3b46;
}
.mp-card-v2-price-orig {
  font-size: 13px;
  color: #aab8c8;
  text-decoration: line-through;
}
.mp-card-v2-saving {
  font-size: 11px;
  font-weight: 700;
  color: #e84d3d;
  background: #fdf0ee;
  padding: 2px 7px;
  border-radius: 10px;
}

/* Delivery / location */
.mp-card-v2-delivery {
  font-size: 11px;
  color: #27ae60;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Short description */
.mp-card-v2-desc {
  font-size: 12px;
  color: #5a6d88;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-top: 2px;
}

/* Tags row */
.mp-card-v2-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.mp-card-v2-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  background: #f0f4ff;
  color: #4c5e80;
}
.mp-card-v2-tag.gold { background: #fef9ec; color: #a07c14; }
.mp-card-v2-tag.green { background: #edfbf3; color: #1e7a48; }

/* CTA button */
.mp-card-v2-cta {
  margin-top: 10px;
  padding: 10px 16px;
  background: #0b3b46;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
  display: block;
  width: 100%;
}
.mp-card-v2-cta:hover { background: #c9a227; color: #1a2540; }
.mp-card-v2-cta.secondary {
  background: transparent;
  color: #0b3b46;
  border: 2px solid #0b3b46;
}
.mp-card-v2-cta.secondary:hover { background: #0b3b46; color: #fff; }

/* ------------------------------------------------------------------ */
/* SPONSORED / FEATURED ROW (Alibaba-style banner card)                 */
/* ------------------------------------------------------------------ */
.mp-featured-row {
  background: linear-gradient(135deg, #fef9ec 0%, #fdf4d8 100%);
  border: 2px solid #c9a227;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.mp-featured-row-badge {
  background: #c9a227;
  color: #1a2540;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.mp-featured-row-title {
  font-size: 16px;
  font-weight: 800;
  color: #1a2540;
  flex: 1;
}
.mp-featured-row-sub { font-size: 13px; color: #5a6d88; margin-top: 2px; }
.mp-featured-row-cta {
  padding: 10px 22px;
  background: #0b3b46;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.mp-featured-row-cta:hover { background: #c9a227; color: #1a2540; }

/* ------------------------------------------------------------------ */
/* PAGINATION                                                            */
/* ------------------------------------------------------------------ */
.mp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 32px 0 8px;
  flex-wrap: wrap;
}
.mp-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1.5px solid #dce4f0;
  border-radius: 8px;
  background: #fff;
  color: #3c4f72;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.mp-page-btn:hover { background: #f0f4ff; border-color: #0b3b46; color: #0b3b46; }
.mp-page-btn.active { background: #0b3b46; color: #fff; border-color: #0b3b46; }
.mp-page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.mp-page-ellipsis { color: #8090a0; padding: 0 4px; }

/* ------------------------------------------------------------------ */
/* TRUST STRIP (below hero, above content)                              */
/* ------------------------------------------------------------------ */
.mp-trust-strip {
  background: #fff;
  border-bottom: 1.5px solid #e8eef5;
  padding: 10px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.mp-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #3c4f72;
  white-space: nowrap;
}
.mp-trust-item .icon { font-size: 16px; }

/* ------------------------------------------------------------------ */
/* RESPONSIVE - Sidebar collapses on mobile                             */
/* ------------------------------------------------------------------ */
@media (max-width: 900px) {
  .mp-shop-layout {
    grid-template-columns: 1fr;
    padding: 16px;
  }
  .mp-sidebar {
    position: static;
    display: none;
  }
  .mp-sidebar.open { display: flex; }
}

@media (max-width: 640px) {
  .mp-grid-v2 {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
  }
  .mp-card-v2-img { height: 160px; }
  .mp-deals-banner { padding: 10px 16px; }
  .mp-trust-strip { gap: 14px; padding: 8px 16px; }
}
