/* ============================================================
   Metta Pic v14 — Navy Theme (#07152f + White + Orange accent)
   Full recolor, product cards, patterns, responsive polish
   ============================================================ */

:root {
  --mp-navy: #07152f;
  --mp-navy-2: #0c1f45;
  --mp-navy-soft: #122a55;
  --mp-white: #ffffff;
  --mp-off: #f4f6fa;
  --mp-orange: #ff6b35;
  --mp-orange-hover: #e85a28;
  --mp-orange-soft: rgba(255, 107, 53, 0.12);
  --mp-muted: #6b7a94;
  --mp-line: #d8dee9;
  --mp-shadow: 0 18px 50px rgba(7, 21, 47, 0.12);
  --mp-shadow-soft: 0 8px 28px rgba(7, 21, 47, 0.08);
  --mp-radius: 20px;

  /* Legacy aliases so existing rules pick up new palette */
  --black: #07152f;
  --white: #ffffff;
  --soft: #f4f6fa;
  --line: #d8dee9;
  --muted: #6b7a94;
  --ink: #07152f;
  --paper: #f4f6fa;
  --accent: #ff6b35;
  --accent-soft: rgba(255, 107, 53, 0.14);
}

/* ---- Global ---- */
html, body {
  background: var(--mp-off) !important;
  color: var(--mp-navy) !important;
}
a { color: var(--mp-navy); }
a:hover { color: var(--mp-orange); }

/* ---- Header / Nav ---- */
.site-header, .mp-header, header.mp-site-header,
.header-inner, .mp-nav-bar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom-color: var(--mp-line) !important;
  backdrop-filter: blur(14px);
}
.brand strong, .logo strong { color: var(--mp-navy) !important; }
.brand small { color: var(--mp-muted) !important; }
.mp-nav a, .menu a, .header-actions a, .header-actions button {
  color: var(--mp-navy) !important;
}
.mp-nav a:hover, .menu a:hover { color: var(--mp-orange) !important; }
.cart-count, .mp-cart-badge, .wishlist-count {
  background: var(--mp-orange) !important;
  color: #fff !important;
}

/* ---- Buttons ---- */
.btn, .mp-btn, .button, button.button,
.woocommerce a.button, .woocommerce button.button,
.single_add_to_cart_button, .mp-sticky-buy,
.mp-qck-next, .mp-btn-dark {
  background: var(--mp-navy) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  font-weight: 800 !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
}
.btn:hover, .mp-btn:hover, .button:hover,
.single_add_to_cart_button:hover, .mp-sticky-buy:hover,
.mp-qck-next:hover, .mp-btn-dark:hover {
  background: var(--mp-orange) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.35) !important;
}
.mp-btn-outline, .btn-outline {
  background: transparent !important;
  color: var(--mp-navy) !important;
  border: 1.5px solid var(--mp-navy) !important;
}
.mp-btn-outline:hover { background: var(--mp-navy) !important; color: #fff !important; }

/* Accent / emphasis */
.eyebrow, .mp-eyebrow, .section-heading .eyebrow {
  color: var(--mp-orange) !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
}

/* ---- Product Cards (match screenshot style) ---- */
.product-card, .mp-product-card, .woocommerce ul.products li.product {
  background: #fff !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: var(--mp-shadow-soft) !important;
  transition: transform .25s, box-shadow .25s !important;
}
.product-card:hover, .mp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mp-shadow) !important;
}
.product-media, .mp-product-media, .woocommerce ul.products li.product .woocommerce-loop-product__link img {
  background: linear-gradient(160deg, #f0f3f8 0%, #e8ecf4 100%) !important;
  border-radius: 18px 18px 0 0;
}
.product-body h3, .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--mp-navy) !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}
.price, .woocommerce-Price-amount, .product-bottom .price {
  color: var(--mp-navy) !important;
  font-weight: 900 !important;
}
.cart-circle, .product-card .add_to_cart_button,
.mp-add-cart-btn {
  background: var(--mp-navy) !important;
  color: #fff !important;
  border-radius: 14px !important;
}
.cart-circle:hover, .product-card .add_to_cart_button:hover {
  background: var(--mp-orange) !important;
}
.circle-action.wishlist, .yith-wcwl-add-to-wishlist a {
  background: #fff !important;
  color: var(--mp-navy) !important;
  border: 1px solid var(--mp-line) !important;
}
.stars, .star-rating { color: var(--mp-orange) !important; }

/* ---- Single product price typing ---- */
#mpVariantTotal, .mp-variant-total, .mp-price-box .price,
.woocommerce-Price-amount.amount {
  font-variant-numeric: tabular-nums;
}
.mp-price-typing {
  color: var(--mp-orange) !important;
  transition: color .15s;
}
.mp-sticky-price {
  background: #fff !important;
  border-top: 1px solid var(--mp-line) !important;
  box-shadow: 0 -8px 32px rgba(7, 21, 47, 0.12) !important;
}
.mp-sticky-price strong, #mpStickyPriceVal {
  color: var(--mp-navy) !important;
  font-weight: 900 !important;
}
.mp-sticky-price.is-show { transform: translateY(0); }

/* Fixed price box on product */
.mp-price-fixed, .mp-single-price-box, .summary .price {
  background: #fff;
  border: 1px solid var(--mp-line);
  border-radius: 16px;
  padding: 14px 16px;
}

/* ---- Hero with product image under overlay ---- */
.hero-section, .mp-hero, .mp-hero2, .hero2 {
  position: relative;
  overflow: hidden;
  background: var(--mp-navy) !important;
  color: #fff !important;
}
.mp-hero-bg, .hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  transition: opacity .8s, background-image .8s;
  z-index: 0;
}
.mp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 21, 47, 0.92) 0%, rgba(7, 21, 47, 0.7) 50%, rgba(255, 107, 53, 0.25) 100%);
  z-index: 1;
}
.hero-section .container, .mp-hero .container, .hero-copy, .hero-grid {
  position: relative;
  z-index: 2;
}
.hero-copy h1, .mp-hero h1 { color: #fff !important; }
.hero-copy p { color: rgba(255,255,255,.82) !important; }

/* ---- Sections / cards with subtle pattern ---- */
.section, .mp-section {
  background: var(--mp-off);
}
.trust-item, .mp-product-info-box, .mp-val, .mp-about-cta-box,
.mp-contact-info-box, .cta-box, .mp-final-box,
.mp-contact-card, .faq-item {
  position: relative;
  background: #fff !important;
  border: 1px solid var(--mp-line) !important;
  border-radius: 18px !important;
  overflow: hidden;
}
/* Decorative geometric pattern */
.trust-item::before, .mp-product-info-box::before, .mp-val::before,
.mp-about-cta-box::before, .mp-contact-info-box::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background-image:
    radial-gradient(circle at 100% 0%, var(--mp-orange-soft) 0%, transparent 55%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 6px,
      rgba(7, 21, 47, 0.03) 6px,
      rgba(7, 21, 47, 0.03) 7px
    );
  pointer-events: none;
  z-index: 0;
}
.trust-item > *, .mp-product-info-box > *, .mp-val > *,
.mp-about-cta-box > *, .mp-contact-info-box > * {
  position: relative;
  z-index: 1;
}

.mp-product-info-box b, .mp-val strong, .trust-item strong {
  color: var(--mp-navy) !important;
}
.mp-product-info-box span, .mp-val span, .trust-item span {
  color: var(--mp-muted) !important;
}

/* Dark boxes */
.mp-products, .mp-final-box, .mp-about-cta-box.dark,
footer.site-footer, .footer-main {
  background: var(--mp-navy) !important;
  color: #fff !important;
}
.mp-final-box .btn, .mp-about-cta-box .mp-btn-dark {
  background: var(--mp-orange) !important;
}
.mp-final-box .btn:hover { background: #fff !important; color: var(--mp-navy) !important; }

/* ---- Quick checkout sheet (filter-like popup) ---- */
.mp-qck-overlay {
  background: rgba(7, 21, 47, 0.55) !important;
}
.mp-qck-sheet {
  background: #fff !important;
  border-radius: 24px 24px 0 0 !important;
  box-shadow: 0 -20px 60px rgba(7, 21, 47, 0.25) !important;
}
.mp-qck-head { border-bottom-color: var(--mp-line) !important; }
.mp-qck-prog-bar { background: var(--mp-line) !important; }
.mp-qck-prog-bar > span, #mpQckProg {
  background: linear-gradient(90deg, var(--mp-navy), var(--mp-orange)) !important;
}
.mp-qck-next { background: var(--mp-navy) !important; }
.mp-qck-next:hover { background: var(--mp-orange) !important; }
.mp-qck-gw.is-active, .mp-qck-addr-card.is-active {
  background: var(--mp-navy) !important;
  border-color: var(--mp-navy) !important;
  color: #fff !important;
}
.mp-qck-otp-digits input:focus {
  border-color: var(--mp-orange) !important;
  box-shadow: 0 0 0 3px var(--mp-orange-soft) !important;
}
.mp-qck-review {
  background: var(--mp-off) !important;
  border: 1px solid var(--mp-line);
}
.mp-qck-thank {
  text-align: center;
  padding: 32px 16px;
}
.mp-qck-thank h3 {
  color: var(--mp-navy);
  font-size: 22px;
  margin-bottom: 8px;
}
.mp-qck-thank p { color: var(--mp-muted); }
.mp-qck-thank .mp-orange { color: var(--mp-orange); font-weight: 800; }

/* ---- About / Contact pages ---- */
.mp-page-hero {
  background: linear-gradient(145deg, var(--mp-navy) 0%, var(--mp-navy-2) 60%, #1a3a6e 100%) !important;
  color: #fff !important;
  padding: 100px 0 56px !important;
}
.mp-page-hero h1 { color: #fff !important; }
.mp-page-hero p { color: rgba(255,255,255,.8) !important; }
.mp-page-hero .eyebrow { color: var(--mp-orange) !important; }

.mp-about-values-grid, .mp-contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.mp-contact-info-box {
  background: var(--mp-navy) !important;
  color: #fff !important;
}
.mp-contact-info-box a { color: var(--mp-orange) !important; }

/* ---- Footer ---- */
footer, .site-footer, .footer-main {
  background: var(--mp-navy) !important;
  color: rgba(255,255,255,.85) !important;
}
.footer-col h3 { color: #fff !important; }
.footer-col a, .footer-col span { color: rgba(255,255,255,.7) !important; }
.footer-col a:hover { color: var(--mp-orange) !important; }
.mp-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.mp-footer-sc5 {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  margin-top: 4px;
}
.mp-footer-sc5 a {
  color: var(--mp-orange) !important;
  font-weight: 700;
  text-decoration: none;
}
.mp-footer-sc5 a:hover { text-decoration: underline; }

/* ---- Forms ---- */
input[type="text"], input[type="tel"], input[type="email"],
input[type="number"], textarea, select {
  border: 1.5px solid var(--mp-line) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--mp-navy) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--mp-orange) !important;
  box-shadow: 0 0 0 3px var(--mp-orange-soft) !important;
  outline: none !important;
}

/* ---- Responsive mobile ---- */
@media (max-width: 768px) {
  .products-grid, .product-grid-shop, .mp-products-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .product-card { border-radius: 16px !important; }
  .product-media { height: 160px !important; }
  .product-body h3 { font-size: 11px !important; min-height: 34px; }
  .price { font-size: 13px !important; }
  .cart-circle { width: 36px !important; height: 36px !important; }
  .hero-copy h1, .mp-hero h1 { font-size: 28px !important; line-height: 1.25 !important; }
  .mp-page-hero { padding: 88px 0 40px !important; }
  .mp-page-hero h1 { font-size: 26px !important; }
  .mp-about-values-grid, .mp-contact-cards {
    grid-template-columns: 1fr 1fr !important;
  }
  .mp-sticky-price-inner {
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  .mp-sticky-buy { font-size: 13px !important; padding: 10px 14px !important; }
  .mp-qck-sheet { max-height: 92vh !important; }
}

@media (max-width: 480px) {
  .products-grid, .product-grid-shop {
    gap: 8px !important;
  }
  .mp-about-values-grid, .mp-contact-cards {
    grid-template-columns: 1fr !important;
  }
}

/* ---- Utility ---- */
.mp-accent { color: var(--mp-orange) !important; }
.mp-bg-navy { background: var(--mp-navy) !important; color: #fff !important; }
.mp-text-navy { color: var(--mp-navy) !important; }

/* Hero2 dynamic product background */
.mp-hero2 {
  position: relative !important;
  background: #07152f !important;
  overflow: hidden !important;
  color: #fff !important;
}
.mp-hero2 .mp-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  transition: background-image 1s ease, opacity .6s;
  z-index: 0;
  transform: scale(1.05);
}
.mp-hero2 .mp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(7,21,47,.94) 0%, rgba(7,21,47,.78) 45%, rgba(255,107,53,.22) 100%);
  z-index: 1;
}
.mp-hero2 .mp-hero2-inner,
.mp-hero2 .mp-hero2-copy,
.mp-hero2 .mp-hero2-products {
  position: relative;
  z-index: 2;
}
.mp-hero2-title { color: #fff !important; }
.mp-hero2-lead { color: rgba(255,255,255,.82) !important; }
.mp-hero2-pill {
  background: rgba(255,107,53,.18) !important;
  color: #ff6b35 !important;
  border: 1px solid rgba(255,107,53,.35) !important;
}
.mp-hero2-hcard {
  background: #fff !important;
  color: #07152f !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.25) !important;
}
.mp-btn-line {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.55) !important;
}
.mp-btn-line:hover {
  background: #ff6b35 !important;
  border-color: #ff6b35 !important;
  color: #fff !important;
}
