/* =========================================================
   Metta Pic v44 — Hero pure BLACK · 5-col grid · force B&W
   ========================================================= */

/* Kill white hero-lancer if still present */
body.mp-home .mp-hero.mp-hero-lancer,
.mp-hero.mp-hero-lancer {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* ---- HERO2: pure black background, white text ---- */
body.mp-home section.mp-hero2,
section.mp-hero2,
.mp-hero2 {
  background: #000000 !important;
  background-color: #000000 !important;
  color: #ffffff !important;
  padding: 56px 0 64px !important;
  border: 0 !important;
}
.mp-hero2 *,
.mp-hero2 h1,
.mp-hero2 p,
.mp-hero2 span,
.mp-hero2 a {
  /* don't force all to white - buttons need contrast */
}
.mp-hero2-title,
.mp-hero2-title br {
  color: #ffffff !important;
  font-weight: 900 !important;
}
.mp-hero2-lead {
  color: #c8c8c8 !important;
}
.mp-hero2-pill {
  color: #e0e0e0 !important;
  border: 1px solid rgba(255,255,255,.3) !important;
  background: transparent !important;
}
.mp-hero2-logo {
  display: block !important;
  height: 48px !important;
  width: auto !important;
  max-width: 160px !important;
  margin-bottom: 20px !important;
  filter: brightness(0) invert(1) !important; /* white logo on black */
  object-fit: contain !important;
}
.mp-hero2-frame {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,.15) !important;
}
.mp-hero2-frame img {
  background: #000 !important;
  object-fit: contain !important;
}

/* Primary button: white bg black text */
.mp-hero2-actions .mp-btn-dark {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid #ffffff !important;
}
.mp-hero2-actions .mp-btn-dark:hover {
  background: #e8e8e8 !important;
  color: #000 !important;
}
/* Secondary: outline white */
.mp-hero2-actions .mp-btn-line {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.55) !important;
}
.mp-hero2-actions .mp-btn-line:hover {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
}

/* ---- Product grid: 5 columns on laptop+, max 2 visual rows ---- */
.mp-pcard-grid,
.mp-pcard-grid-5,
body.mp-home .mp-pcard-grid-5 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
@media (min-width: 640px) {
  .mp-pcard-grid-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 900px) {
  .mp-pcard-grid-5 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (min-width: 1100px) {
  body.mp-home .mp-pcard-grid-5,
  .mp-pcard-grid-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* Shop archive also 5-col */
@media (min-width: 1100px) {
  body.woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }
}

/* Logo header hard lock */
.site-header .brand-logo,
img.brand-logo {
  height: 30px !important;
  max-height: 30px !important;
  max-width: 100px !important;
  width: auto !important;
}

/* Product variants UI */
.mp-variants {
  margin: 18px 0 22px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #fafafa;
  direction: rtl;
}
.mp-var-block { margin-bottom: 14px; }
.mp-var-label {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}
.mp-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mp-size-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 72px;
  padding: 10px 12px;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.mp-size-item input { display: none; }
.mp-size-item:has(input:checked),
.mp-size-item.is-active {
  border-color: #000;
  background: #000;
  color: #fff;
}
.mp-size-price {
  font-size: 10px;
  font-weight: 600;
  opacity: .75;
}
.mp-color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mp-color-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: var(--swatch, #ccc);
  cursor: pointer;
  padding: 0;
}
.mp-color-dot.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
  border-color: #000;
}
.mp-bl-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.mp-bl-row input { width: 18px; height: 18px; accent-color: #000; }
.mp-var-total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
  font-size: 15px;
  font-weight: 900;
}
.mp-var-total strong { font-size: 18px; }

/* Idea page force visible */
.mp-idea-page { min-height: 60vh; }
