/* =========================================================
   Metta Pic v52 — No chrome on cart/checkout · sticky bars
   White header menu · product qty · pages B&W
   ========================================================= */

/* Hide header/footer/bottom-nav on cart & checkout */
body.mp-no-chrome .site-header,
body.mp-no-chrome .site-footer,
body.mp-no-chrome .mobile-bottom-nav,
body.mp-no-chrome .mobile-drawer,
body.mp-no-chrome .mobile-drawer-backdrop,
body.woocommerce-cart .site-header,
body.woocommerce-cart .site-footer,
body.woocommerce-cart .mobile-bottom-nav,
body.woocommerce-checkout .site-header,
body.woocommerce-checkout .site-footer,
body.woocommerce-checkout .mobile-bottom-nav {
  display: none !important;
}
body.mp-no-chrome,
body.woocommerce-cart,
body.woocommerce-checkout {
  padding-bottom: 0 !important;
}
body.mp-no-chrome main,
body.woocommerce-cart main,
body.woocommerce-checkout main {
  padding-top: 0 !important;
}

/* Header menu WHITE */
.site-header .desktop-nav a,
.site-header .desktop-nav a:link,
.site-header .desktop-nav a:visited,
.site-header .desktop-nav a:hover,
.site-header .desktop-nav a.active,
.site-header .nav-dropdown > a,
.site-header .brand strong,
.site-header .brand small {
  color: #ffffff !important;
}
.site-header .desktop-nav svg { stroke: #ffffff !important; color: #ffffff !important; }

/* ---- Cart page ---- */
.mp-cart-page {
  background: #fff !important;
  color: #161616 !important;
  min-height: 100vh;
  padding: 24px 0 120px !important;
  direction: rtl;
}
.mp-cart-head { text-align: center; margin-bottom: 24px; }
.mp-cart-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
  text-decoration: none;
}
.mp-cart-head h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 900;
  color: #111;
}
.mp-cart-head p { margin: 0; color: #777; font-size: 13px; }

.mp-cart-items { max-width: 720px; margin: 0 auto; }
.mp-cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  margin-bottom: 12px;
  background: #fff;
}
.mp-cart-image img {
  width: 88px; height: 88px;
  object-fit: contain;
  border-radius: 12px;
  background: #f6f6f6;
}
.mp-cart-title { font-weight: 800; font-size: 14px; color: #111; }
.mp-cart-title a { color: inherit; text-decoration: none; }
.mp-cart-meta { font-size: 11px; color: #777; margin-top: 4px; }
.mp-cart-price-line { font-size: 12px; color: #555; margin-top: 4px; }
.mp-cart-qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.mp-cart-remove {
  font-size: 12px;
  font-weight: 700;
  color: #a00;
  text-decoration: none;
}
.mp-cart-line-total { font-weight: 900; font-size: 14px; color: #111; white-space: nowrap; }
.mp-cart-update {
  display: block;
  margin: 12px auto 0;
  background: #f0f0f0;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit !important;
  color: #111;
}

.mp-cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.mp-cart-empty h1 { font-size: 24px; font-weight: 900; color: #111; }
.mp-cart-empty p { color: #777; }
.mp-cart-empty .mp-btn-dark {
  display: inline-block;
  margin-top: 16px;
  background: #111;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* Cart sticky bar */
.mp-cart-sticky-bar {
  position: fixed;
  z-index: 200;
  left: 0; right: 0; bottom: 0;
  background: #0a0a0a;
  color: #fff;
  padding: 12px 16px;
  box-shadow: 0 -8px 28px rgba(0,0,0,.25);
}
.mp-cart-sticky-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.mp-cart-sticky-total { flex: 1; }
.mp-cart-sticky-total small { display: block; font-size: 11px; color: #aaa; }
.mp-cart-sticky-total strong { font-size: 16px; color: #fff; }
.mp-cart-sticky-total strong .amount,
.mp-cart-sticky-total strong * { color: #fff !important; }
.mp-cart-sticky-btn {
  background: #fff !important;
  color: #000 !important;
  border-radius: 12px !important;
  padding: 14px 22px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Checkout sticky - enhance mobile bar always visible on step 5, and force bottom */
body.woocommerce-checkout .mp-ck-mobile-bar {
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 0 !important;
  padding: 12px 16px !important;
}
body.woocommerce-checkout .mp-ck-totals-desk {
  position: sticky;
  bottom: 0;
  background: #fff;
  padding: 16px 0 8px;
  z-index: 5;
}
@media (max-width: 860px) {
  body.woocommerce-checkout .mp-ck-mobile-bar:not([hidden]) {
    display: block !important;
  }
  body.woocommerce-checkout.mp-ck-on-final .mp-ck {
    padding-bottom: 100px !important;
  }
}
@media (min-width: 861px) {
  /* desktop: sticky totals under gateways */
  body.woocommerce-checkout .mp-ck-totals-desk {
    position: sticky;
    bottom: 0;
    border-top: 1px solid #eee;
    background: #fff;
    padding-bottom: 20px;
  }
}

/* ---- Product quantity ---- */
.single-product .quantity,
.woocommerce div.product form.cart .quantity {
  display: inline-flex !important;
  align-items: center !important;
  border: 1.5px solid #ddd !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  margin: 0 0 12px !important;
}
.single-product .quantity input.qty,
.woocommerce .quantity .qty {
  width: 56px !important;
  height: 44px !important;
  border: 0 !important;
  text-align: center !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  color: #111 !important;
  background: #fff !important;
  -moz-appearance: textfield;
}
.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single-product form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}
.single-product .single_add_to_cart_button {
  min-height: 48px !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  background: #111 !important;
  color: #fff !important;
  font-weight: 900 !important;
  border: 0 !important;
}

/* Single product page polish */
.single-product .product_title {
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 900 !important;
  color: #111 !important;
}
.single-product p.price,
.single-product span.price {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #111 !important;
}
.single-product .woocommerce-product-details__short-description {
  color: #555 !important;
  line-height: 1.85 !important;
}

/* About / Contact / Shop pages */
.mp-about-page,
.mp-contact-page,
.mp-faq-page {
  background: #fff !important;
  color: #161616 !important;
}
.mp-about-hero-block,
.mp-contact-hero,
.page-header {
  background: #0a0a0a !important;
  color: #fff !important;
  padding: 88px 0 48px !important;
  text-align: center !important;
}
.mp-about-hero-block h1,
.mp-contact-hero h1 {
  color: #fff !important;
  font-weight: 900 !important;
}
.mp-about-prose,
.mp-contact-form-wrap {
  background: #fff !important;
  border: 1px solid #e8e8e8 !important;
  border-radius: 18px !important;
  padding: 24px !important;
  color: #333 !important;
}

/* Shop archive */
body.post-type-archive-product,
body.tax-product_cat {
  background: #fff !important;
}
.woocommerce-products-header h1 {
  color: #111 !important;
  font-weight: 900 !important;
}
