/* ============================================================
   MomsShopBD — Premium UI overrides
   Loaded LAST (after update.css). All palette + polish here.
   Delete this file / its <link> to revert instantly.
   ============================================================ */

/* ---------- Palette (wins over inline :root via !important) ---------- */
:root{
  /* brand: deep navy, subtle depth — replaces bright-blue gradient */
  --brand-gradient: linear-gradient(135deg, #0a2a5e 0%, #00276C 55%, #013a8f 100%) !important;

  /* footer: deep navy instead of teal/green */
  --footer-bg1: #0a1f44 !important;
  --footer-bg2: #071633 !important;
  --footer-bg3: #050f24 !important;
  --footer-grad1: #1e3a8a !important;
  --footer-grad2: #0ea5e9 !important;
  --footer-hover: #7dd3fc !important;

  /* kill the yellow glows on product page boxes */
  --yellow-shadow: 0 12px 30px rgba(2, 6, 23, .08) !important;
  --yellow-shadow-hover: 0 18px 40px rgba(2, 6, 23, .12) !important;
  --yellow-border: rgba(2, 6, 23, .10) !important;
}

/* ---------- Product cards ---------- */
.axil-product.product-style-one{
  border-radius: 14px !important;
  border: 1px solid rgba(2, 6, 23, .07) !important;
  box-shadow: 0 1px 3px rgba(2, 6, 23, .05) !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
  overflow: hidden;
}
.axil-product.product-style-one:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(2, 6, 23, .12) !important;
}

/* consistent image backdrop */
.axil-product .thumbnail,
.axil-product .thumbnail a{
  background: #f6f7f9;
  border-radius: 10px;
}
.axil-product .thumbnail img,
img.product_img{
  object-fit: contain;
  transition: transform .35s ease;
}
.axil-product:hover .thumbnail img{ transform: scale(1.04); }

/* product title: calmer, clamped */
.axil-product .product-content .title a{
  font-weight: 500;
  color: #334155;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.axil-product .product-content .title a:hover{ color: #00276C; }

/* discount badge: flatter, tighter */
.product-badget{
  border-radius: 6px !important;
  font-size: 11px !important;
  letter-spacing: .4px;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn.button.main-bg,
.viewall-btn.main-bg,
.bottom-view-btn.main-bg{
  border-radius: 10px !important;
  font-weight: 600;
  letter-spacing: .4px;
  transition: filter .2s ease, transform .15s ease, box-shadow .2s ease;
}
.btn.button.main-bg:hover,
.viewall-btn.main-bg:hover,
.bottom-view-btn.main-bg:hover{
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 39, 108, .28);
}
.btn.button.main-bg.is-disabled{
  filter: grayscale(.4) opacity(.6);
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* auth buttons: match navy */
.auth-btn.login{
  color: #00276C !important;
  border-color: rgba(0, 39, 108, .35) !important;
}
.auth-btn.login::before{ display: none; }
.auth-btn.register{ border-radius: 999px; }

/* ---------- Topbar / nav ---------- */
.topbar{ font-size: 12.5px; letter-spacing: .2px; }
.desktopnav .mainmenu-nav a,
.desktopnav a{
  font-weight: 500;
  letter-spacing: .3px;
}
.mainmenu-nav a:hover{
  background-color: rgba(255, 255, 255, .10) !important;
  color: #fff !important;
}

/* ---------- Section headers ---------- */
.prodCatcus{
  font-weight: 700;
  color: #0f172a !important;
  letter-spacing: .2px;
}

/* ---------- Hero slider ---------- */
.hero-slider-wrap img,
.slick-single-layout .slider img{
  border-radius: 16px;
}

/* ---------- Product details page ---------- */
.details_right{
  background: #ffffff !important;
}
.details_right:before{ display: none !important; }

.current-price-product{
  background: rgba(0, 39, 108, .07) !important;
  border: 1px solid rgba(0, 39, 108, .18) !important;
  color: #00276C !important;
}

/* star color: amber instead of neon yellow */
.details-ratting-wrapper i{ color: #f59e0b !important; }
.details-ratting-wrapper i.far.fa-star{ color: #cbd5e1 !important; }

/* ---------- Footer ---------- */
.footer-modern .footer-copy a{ color: #7dd3fc; }
.footer-modern .footer-copy a:hover{ color: #bae6fd; }

/* ---------- Floating cart: smaller, navy, less intrusive ---------- */
.fixed-cart-bottom{
  transform: scale(.85);
  transform-origin: bottom right;
}

/* ---------- Section breathing room ---------- */
.axil-product-area{ padding-top: 36px; padding-bottom: 8px; }

/* focus visibility for a11y */
a:focus-visible, button:focus-visible{
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}
