/* =========================================================
   Metta Pic v51 — 5-step checkout · payment accordion · hero
   ========================================================= */

/* Checkout shell */
.mp-ck {
  background: #fff !important;
  color: #161616 !important;
  padding: 32px 0 100px !important;
  min-height: 70vh;
  direction: rtl;
}
.mp-ck-inner { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.mp-ck-head { text-align: center; margin-bottom: 20px; }
.mp-ck-eye { font-size: 11px; font-weight: 800; color: #888; letter-spacing: .08em; }
.mp-ck-head h1 { margin: 6px 0; font-size: 26px; font-weight: 900; color: #111; }
.mp-ck-head p { color: #666; font-size: 13px; margin: 0; }

.mp-ck-progress {
  background: #f6f6f6;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}
.mp-ck-prog-bar {
  height: 4px;
  background: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}
.mp-ck-prog-bar i {
  display: block;
  height: 100%;
  background: #111;
  transition: width .3s ease;
}
#mp-ck-prog-label { font-size: 12px; font-weight: 700; color: #555; }

.mp-ck-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 20px;
}
.mp-ck-step { display: none; }
.mp-ck-step.is-active { display: block; }
.mp-ck-step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.mp-ck-step-title b {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.mp-ck-step-title strong { display: block; font-size: 15px; color: #111; }
.mp-ck-step-title small { color: #888; font-size: 12px; }

.mp-ck-field { margin-bottom: 14px; }
.mp-ck-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}
.mp-ck-field .required { color: #c00; text-decoration: none; }
.mp-ck-field input,
.mp-ck-field select,
.mp-ck-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #ddd;
  border-radius: 12px;
  background: #fafafa;
  color: #111;
  font-size: 14px;
  font-family: inherit !important;
}
.mp-ck-field input:focus,
.mp-ck-field select:focus,
.mp-ck-field textarea:focus {
  outline: none;
  border-color: #111;
  background: #fff;
}
.mp-ck-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  .mp-ck-row2 { grid-template-columns: 1fr; }
}

.mp-ck-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  justify-content: flex-end;
}
.mp-ck-next, .mp-ck-pay-btn, .mp-ck-mobile-pay {
  background: #111 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 12px 22px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  cursor: pointer;
  font-family: inherit !important;
}
.mp-ck-back {
  background: #f0f0f0 !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  font-weight: 800 !important;
  cursor: pointer;
  font-family: inherit !important;
}

/* Review */
.mp-ck-review-addr {
  background: #f6f6f6;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}
.mp-ck-review-addr strong { display: block; margin-bottom: 6px; color: #111; }
.mp-ck-review-addr p { margin: 0; color: #555; font-size: 13px; white-space: pre-line; line-height: 1.7; }
.mp-ck-edit-link {
  background: none; border: 0; color: #111; font-weight: 800;
  font-size: 12px; cursor: pointer; margin-top: 8px; padding: 0;
  text-decoration: underline; font-family: inherit !important;
}
.mp-ck-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.mp-ck-item-img img {
  width: 64px; height: 64px; object-fit: contain;
  border-radius: 10px; background: #f6f6f6;
}
.mp-ck-item-body strong { display: block; font-size: 13px; color: #111; }
.mp-ck-item-meta { display: block; color: #777; font-size: 11px; margin-top: 4px; }
.mp-ck-item-price { font-weight: 800; font-size: 13px; color: #111; }

.mp-ck-accordion {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  margin: 10px 0;
  background: #fafafa;
  overflow: hidden;
}
.mp-ck-accordion-btn {
  list-style: none;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  color: #111;
}
.mp-ck-accordion-btn::-webkit-details-marker { display: none; }
.mp-ck-accordion-body { padding: 0 14px 14px; }

/* Payment gateway accordion */
.mp-ck-gateways { margin-top: 18px; }
.mp-ck-gateways-label {
  font-size: 13px; font-weight: 900; color: #111; margin-bottom: 12px;
}
.mp-pay-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  direction: rtl !important;
}
.mp-pay-item {
  list-style: none !important;
  margin: 0 !important;
  position: relative !important;
  border: 1.5px solid #e0e0e0 !important;
  border-radius: 14px !important;
  background: #fff !important;
  width: 88px !important;
  min-height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: width .28s ease, min-height .28s ease, border-color .2s !important;
  overflow: hidden !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}
.mp-pay-item .payment_box { display: none !important; }
.mp-pay-item input[type=radio] {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.mp-pay-face {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}
.mp-pay-face img {
  max-width: 56px !important;
  max-height: 40px !important;
  object-fit: contain !important;
}
.mp-pay-logo-text {
  font-size: 10px;
  font-weight: 900;
  color: #111;
  text-align: center;
}
.mp-pay-expand {
  display: none !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 8px !important;
  width: 100% !important;
}
.mp-pay-name {
  font-size: 13px !important;
  font-weight: 900 !important;
  color: #111 !important;
  flex: 1 !important;
}
.mp-pay-clear {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #f6f6f6;
  color: #111;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.mp-pay-clear:hover { background: #111; color: #fff; border-color: #111; }

/* Selected: expand to the left (RTL → visual grow) */
.mp-pay-list.is-selected .mp-pay-item.is-dimmed {
  display: none !important;
}
.mp-pay-list.is-selected .mp-pay-item.is-active {
  width: 100% !important;
  min-height: 64px !important;
  border-color: #111 !important;
  background: #fafafa !important;
  justify-content: flex-start !important;
  padding: 10px 12px !important;
}
.mp-pay-list.is-selected .mp-pay-item.is-active .mp-pay-face {
  width: auto !important;
  margin-left: 10px !important;
  flex-shrink: 0 !important;
}
.mp-pay-list.is-selected .mp-pay-item.is-active .mp-pay-expand {
  display: flex !important;
}

/* Totals desktop */
.mp-ck-totals-desk {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.mp-ck-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 800;
  color: #111;
}
.mp-ck-pay-btn { width: 100%; padding: 14px !important; }

/* Mobile sticky bar above bottom nav */
.mp-ck-mobile-bar {
  display: none;
  position: fixed;
  z-index: 95;
  left: 10px;
  right: 10px;
  bottom: 78px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.mp-ck-mobile-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mp-ck-mobile-total { flex: 1; }
.mp-ck-mobile-total small { display: block; font-size: 10px; color: #aaa; }
.mp-ck-mobile-total strong { font-size: 15px; color: #fff; }
.mp-ck-mobile-pay {
  background: #fff !important;
  color: #000 !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  font-weight: 900 !important;
  border: 0 !important;
}

@media (max-width: 860px) {
  .mp-ck-mobile-bar:not([hidden]) { display: block; }
  .mp-ck-totals-desk { display: none; }
  body.mp-ck-on-final .mp-ck { padding-bottom: 160px !important; }
}
@media (min-width: 861px) {
  .mp-ck-mobile-bar { display: none !important; }
  .mp-ck-totals-desk { display: block; }
}

/* ---- HERO professional B&W with side cards ---- */
section.mp-hero2, .mp-hero2 {
  position: relative !important;
  background: #000 !important;
  color: #fff !important;
  padding: 100px 0 80px !important;
  overflow: hidden !important;
  isolation: isolate !important;
}
.mp-hero2::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(255,255,255,.04), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
.mp-hero2-inner {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 1fr 1.1fr 1fr !important;
  gap: 24px !important;
  align-items: center !important;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 980px) {
  .mp-hero2-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .mp-hero2-side { display: none !important; }
}
.mp-hero2-copy { max-width: 480px; }
@media (max-width: 980px) {
  .mp-hero2-copy { margin: 0 auto; }
}
.mp-hero2-title {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: clamp(30px, 4.5vw, 48px) !important;
  line-height: 1.15 !important;
  margin: 14px 0 16px !important;
  letter-spacing: -0.02em;
}
.mp-hero2-lead {
  color: #b0b0b0 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
}
.mp-hero2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
@media (max-width: 980px) {
  .mp-hero2-actions { justify-content: center; }
}
.mp-hero2-actions .mp-btn-dark {
  background: #fff !important;
  color: #000 !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  font-weight: 800 !important;
}
.mp-hero2-actions .mp-btn-line {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  font-weight: 800 !important;
}
.mp-hero2-logo {
  filter: brightness(0) invert(1) !important;
  height: 44px !important;
  max-width: 150px !important;
  margin-bottom: 16px !important;
}
@media (max-width: 980px) {
  .mp-hero2-logo { margin-left: auto; margin-right: auto; }
}
.mp-hero2-pill {
  display: inline-flex;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #ccc;
  font-size: 11px;
  font-weight: 700;
}

/* Side product frames */
.mp-hero2-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mp-hero2-side-card {
  background: #111;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.mp-hero2-side-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a0a;
}
.mp-hero2-side.is-left .mp-hero2-side-card:last-child {
  transform: translateX(12px) scale(.92);
  opacity: .85;
}
.mp-hero2-side.is-right .mp-hero2-side-card:first-child {
  transform: translateX(-12px) scale(.92);
  opacity: .85;
}
.mp-hero2-center-visual {
  display: none;
}
@media (max-width: 980px) {
  .mp-hero2-center-visual {
    display: block;
    max-width: 320px;
    margin: 12px auto 0;
  }
  .mp-hero2-center-visual .mp-hero2-frame {
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
    aspect-ratio: 1;
    background: #111;
  }
  .mp-hero2-center-visual img {
    width: 100%; height: 100%; object-fit: contain;
  }
}

/* ---- Single product variants — always visible professional ---- */
.single-product .mp-variants,
.mp-variants {
  margin: 20px 0 22px !important;
  padding: 20px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 18px !important;
  background: #fafafa !important;
  direction: rtl !important;
}
.mp-variants .mp-var-label {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #111 !important;
  margin-bottom: 12px !important;
}
.mp-variants .mp-req { color: #c00 !important; }
.mp-variants .mp-color-list {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}
.mp-variants .mp-color-dot {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  border: 2px solid #ddd !important;
  background: var(--swatch, #ccc) !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.mp-variants .mp-color-dot.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000 !important;
  border-color: #000 !important;
}
.mp-variants .mp-size-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)) !important;
  gap: 10px !important;
}
.mp-variants .mp-size-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 12px 10px !important;
  border: 1.5px solid #ddd !important;
  border-radius: 12px !important;
  background: #fff !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #111 !important;
  text-align: center !important;
}
.mp-variants .mp-size-item input { display: none !important; }
.mp-variants .mp-size-item:has(input:checked),
.mp-variants .mp-size-item.is-active {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}
.mp-variants .mp-size-price {
  font-size: 11px !important;
  font-weight: 600 !important;
  opacity: .8 !important;
}
.mp-variants .mp-bl-choices {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.mp-variants .mp-bl-choice {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  border: 1.5px solid #ddd !important;
  border-radius: 12px !important;
  background: #fff !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #111 !important;
}
.mp-variants .mp-bl-choice input { accent-color: #000; width: 16px; height: 16px; }
.mp-variants .mp-bl-choice:has(input:checked) {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}
.mp-variants .mp-var-total {
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e0e0e0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #111 !important;
}
.mp-variants .mp-var-total strong {
  font-size: 20px !important;
  font-weight: 900 !important;
}
.mp-var-required-msg {
  display: none;
  background: #fff0f0;
  color: #a00;
  border: 1px solid #f0c0c0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
}

/* ---- Hero centered · only 2 clickable products ---- */
section.mp-hero2 .mp-hero2-inner.mp-hero2-centered {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 36px !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  grid-template-columns: none !important;
}
.mp-hero2-centered .mp-hero2-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  max-width: 560px !important;
  margin: 0 auto !important;
}
.mp-hero2-centered .mp-hero2-logo {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 18px !important;
  height: 48px !important;
  max-width: 160px !important;
  filter: brightness(0) invert(1) !important;
  display: block !important;
}
.mp-hero2-centered .mp-hero2-pill {
  margin-left: auto !important;
  margin-right: auto !important;
}
.mp-hero2-centered .mp-hero2-title {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.mp-hero2-centered .mp-hero2-lead {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 46ch !important;
}
.mp-hero2-centered .mp-hero2-actions {
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Two product images — clickable */
.mp-hero2-products {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 640px !important;
}
.mp-hero2-product {
  flex: 1 1 240px !important;
  max-width: 300px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: #111 !important;
  display: block !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.45) !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease !important;
  line-height: 0 !important;
}
.mp-hero2-product:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,255,255,.28) !important;
  box-shadow: 0 28px 60px rgba(0,0,0,.55) !important;
}
.mp-hero2-product img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: #0a0a0a !important;
  display: block !important;
}

/* Hide old side layouts if any leftover */
.mp-hero2-side,
.mp-hero2-center-visual {
  display: none !important;
}

@media (max-width: 560px) {
  .mp-hero2-products {
    gap: 12px !important;
  }
  .mp-hero2-product {
    flex: 1 1 calc(50% - 6px) !important;
    max-width: none !important;
    border-radius: 14px !important;
  }
  section.mp-hero2 {
    padding: 72px 0 48px !important;
  }
}
