/* BONIK MART premium visual recovery | 2026-11-04
   Presentation only. No changes to order/payment logic. */

/* The font files should already be on the user's hosting from the original site.
   URLs are absolute so loading CSS from /style.css cannot change their location. */
@font-face {
  font-family: "Bonik Potro Bangla";
  src: url("/public/frontEnd/fonts/Potro-Sans-Bangla-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Bonik Potro Bangla";
  src: url("/public/frontEnd/fonts/Potro-Sans-Bangla-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}
@font-face {
  font-family: "Bonik Alinur";
  src: url("/public/frontEnd/fonts/Li-Alinur-Banglaborno-Unicode.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --bm-repair-green: #08713b;
  --bm-repair-dark: #064b2b;
  --bm-repair-text: #183627;
  --bm-repair-gold: #e7a838;
}
html[lang], body,
input, textarea, select, button, .btn,
.product_item, .product-cart, .footer-top, .footer-bottom {
  font-family: "Bonik Potro Bangla", "Hind Siliguri", "Noto Sans Bengali", sans-serif !important;
}
.alinur { font-family: "Bonik Alinur", "Bonik Potro Bangla", sans-serif !important; }

/* The nav has white links in the original template.
   Give it the original premium green contrast, independent of dynamic styles. */
@media (min-width: 768px) {
  header#navbar_top .main-header .menu-area.bm-compact-menu-area,
  header#navbar_top .menu-area.bm-compact-menu-area {
    display: block !important;
    min-height: 52px !important;
    background: linear-gradient(110deg, #064b2b, #08713b) !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    box-shadow: 0 7px 18px rgba(10,69,38,.14) !important;
    position: relative !important;
    z-index: 110 !important;
  }
  header#navbar_top .bm-desktop-nav,
  header#navbar_top .bm-compact-menu-area .container {
    display: flex !important;
    align-items: center !important;
    min-height: 52px !important;
  }
  header#navbar_top .bm-desktop-nav-link,
  header#navbar_top .bm-categories-trigger,
  header#navbar_top .bm-desktop-nav-link i,
  header#navbar_top .bm-categories-trigger i {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
  }
  header#navbar_top .bm-desktop-nav-link:hover,
  header#navbar_top .bm-desktop-nav-link:focus-visible,
  header#navbar_top .bm-categories-trigger:hover {
    background: rgba(255,255,255,.15) !important;
  }
  header#navbar_top .bm-categories-trigger {
    background: rgba(255,255,255,.12) !important;
    border: 1px solid rgba(255,255,255,.24) !important;
    border-radius: 10px !important;
  }
}
/* Preserve the original mobile nav behavior. */
@media (max-width: 767px) {
  header#navbar_top .bm-compact-menu-area { display: none !important; }
}

/* Product purchase box: make the actual existing buttons visible.
   IMPORTANT: disabled remains disabled if a required variant is not selected
   or its stock is zero. This CSS never changes the disabled property. */
.product-cart .buy-box { display: block !important; visibility: visible !important; }
.product-cart .buy-row {
  display: flex !important;
  align-items: stretch !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}
.product-cart .buy-row .qty-cart { flex: 0 0 auto; }
.product-cart .add_cart_btn,
.product-cart input[name="add_cart"] {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 48px !important;
  flex: 1 1 160px !important;
  padding: 10px 18px !important;
  border: 1px solid #b7d5bd !important;
  border-radius: 12px !important;
  background: #f5fff7 !important;
  color: var(--bm-repair-dark) !important;
  -webkit-text-fill-color: var(--bm-repair-dark) !important;
  font-weight: 700 !important;
  visibility: visible !important;
}
.product-cart .order_now_btn,
.product-cart input[name="order_now"] {
  display: block !important;
  width: 100% !important;
  min-height: 52px !important;
  padding: 12px 20px !important;
  margin: 12px 0 4px !important;
  border-radius: 12px !important;
  border: 1px solid #07552d !important;
  background: linear-gradient(100deg, #076133, #0a8747) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  box-shadow: 0 7px 18px rgba(6,86,45,.18) !important;
  visibility: visible !important;
}
.product-cart .order_now_btn:disabled,
.product-cart .add_cart_btn:disabled {
  opacity: .48 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
.product-cart .selector-item_radio:checked + .selector-item_label {
  border-color: #08713b !important;
  background-color: #edf8f0 !important;
  color: #064b2b !important;
  -webkit-text-fill-color: #064b2b !important;
}
.product-cart .selector-item_label { min-height: 40px; }
.product-cart .variant-stock { min-height: 1em; }
@media (max-width: 767px) {
  .product-cart .buy-row { gap: 8px !important; }
  .product-cart .order_now_btn { font-size: 16px !important; }
}

/* Footer previously had white text on white background. */
footer .footer-top {
  background: linear-gradient(125deg, #0a3d28, #07542f) !important;
  border-top: 3px solid #d8a33a !important;
}
footer .footer-top .footer-about,
footer .footer-top .footer-about p,
footer .footer-top .footer-menu .title,
footer .footer-top .footer-menu .title a,
footer .footer-top .footer-menu a,
footer .footer-top .footer-menu li a,
footer .footer-top .footer-social-box + p {
  color: #f5fff7 !important;
  -webkit-text-fill-color: #f5fff7 !important;
  opacity: 1 !important;
}
footer .footer-top .footer-menu a:hover,
footer .footer-top .footer-menu li a:hover { color: #f4c96e !important; -webkit-text-fill-color: #f4c96e !important; }
footer .footer-top .footer-about .footer-hotlint {
  color: #ffce68 !important;
  -webkit-text-fill-color: #ffce68 !important;
  font-weight: 800 !important;
}
footer .footer-bottom {
  background: #071c12 !important;
  color: #fff !important;
}
footer .footer-bottom p,
footer .footer-bottom .copyright,
footer .footer-bottom .copyright span { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* Card polish without modifying prices, products, or their order. */
.product_item, .wist_item {
  border-radius: 16px !important;
  overflow: hidden;
}
.product_item .pro_btn .order-btn,
.product_item .pro_btn .order-btn-link {
  border-radius: 10px !important;
  background: #08713b !important;
  color: white !important;
  -webkit-text-fill-color: #fff !important;
}
.product_item .pro_btn .cart-icon-link,
.product_item .pro_btn .cart-icon-btn {
  border: 1px solid #e8cf9b !important;
  border-radius: 10px !important;
  background: #fffaf0 !important;
}
.product_item .pro_btn .cart-icon-link i,
.product_item .pro_btn .cart-icon-btn i {
  color: #a46a0c !important;
}
@media (prefers-reduced-motion: reduce) {
  .product-cart .order_now_btn { transition: none !important; transform: none !important; }
}
