/* =========================================================
   THEME MODERN 2.0 — Comprehensive UI/UX Overhaul
   Loads AFTER libs.min.css + styles.min.css.
   Stack: Bootstrap 3 + jQuery, upgraded to 2026 E-Commerce standards.
   Brand: Nova Link Biotech (Royal Navy Blue #1d4288)
   ========================================================= */

:root {
  /* Brand Palette (Nova Link Biotech Royal Navy Blue #1d4288) */
  --c-primary:          #1d4288;
  --c-primary-dark:     #14326d;
  --c-primary-light:    #2a59b2;
  --c-primary-soft:     #eef2ff;
  --c-primary-rgb:      29, 66, 136;
  --c-accent:           #2563eb;
  --c-accent-soft:      #dbeafe;
  --c-navy-deep:        #0d1e3d;
  --c-navy-surface:     #081326;
  
  /* Neutral Palette */
  --c-ink:              #0f172a;
  --c-text:             #334155;
  --c-muted:            #64748b;
  --c-border:           #e2e8f0;
  --c-border-light:     #f1f5f9;
  --c-bg:               #f8fafc;
  --c-surface:          #ffffff;
  
  /* State Colors */
  --c-success:          #10b981;
  --c-success-soft:     #ecfdf5;
  --c-warning:          #f59e0b;
  --c-danger:           #ef4444;
  --c-danger-soft:      #fef2f2;
  
  /* Radii & Shadows */
  --r-xl:               20px;
  --r-lg:               14px;
  --r-md:               10px;
  --r-sm:               6px;
  --r-full:             9999px;
  
  --shadow-xs:          0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:          0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-md:          0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg:          0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-hover:       0 16px 36px rgba(29, 66, 136, 0.16);
  
  --ease:               cubic-bezier(0.16, 1, 0.3, 1);
  --z-header:           1050;
  --z-mobile-bar:       1040;
  --z-modal:            11000;
  --z-toast:            12000;
}

/* =========================================================
   OVERRIDE LEGACY TEMPLATE PALETTE (#3F708A, #0e8df2)
   ========================================================= */
#wrapper,
section#wrapper,
section#wrapper.blue,
section#wrapper.nova-theme,
.blue,
.blue .theme {
  background-color: #f8fafc !important;
  color: var(--c-text);
}
.blue .btn-theme,
.btn-theme,
.btn-primary {
  background-color: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
  color: #ffffff !important;
}
.blue .btn-theme:hover,
.btn-theme:hover,
.btn-primary:hover {
  background-color: var(--c-primary-dark) !important;
  border-color: var(--c-primary-dark) !important;
  color: #ffffff !important;
}

/* =========================================================
   1. GLOBAL TYPOGRAPHY & BASE
   ========================================================= */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--c-text);
  background-color: var(--c-bg);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title, .title-footer {
  color: var(--c-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: var(--c-primary);
  text-decoration: none !important;
  transition: color 0.18s var(--ease);
}
a:hover, a:focus {
  color: var(--c-primary-dark);
}

.page-contents {
  background-color: var(--c-bg);
  padding: 32px 0 60px;
  min-height: 60vh;
}

/* =========================================================
   2. HEADER & STICKY GLASSMORPHIC NAVBAR
   ========================================================= */
header {
  position: relative;
  z-index: var(--z-header);
}

/* Top bar — Executive Deep Navy */
.top-header,
.blue .top-header {
  position: relative !important;
  z-index: 1080 !important;
  overflow: visible !important;
  background: var(--c-navy-deep) !important;
  color: #cbd5e1 !important;
  padding: 7px 0 !important;
  font-size: 13px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.top-header .container,
.top-header .row,
.top-header .col-xs-12 {
  overflow: visible !important;
  position: relative !important;
  z-index: 1080 !important;
}
.top-header a,
.blue .top-header a {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
  text-shadow: none !important;
  transition: all 0.18s ease !important;
}
.top-header a:hover,
.blue .top-header a:hover {
  color: #ffffff !important;
}

/* Top bar dropdown toggle states */
.top-header ul.list-inline > li.dropdown {
  position: relative !important;
}
.top-header ul.list-inline > li.dropdown.open,
.top-header ul.list-inline > li.dropdown:hover {
  z-index: 1090 !important;
}
.top-header .dropdown-toggle,
.blue .top-header ul.list-inline>li .dropdown-toggle {
  background: transparent !important;
  border-radius: var(--r-sm) !important;
  padding: 5px 10px !important;
  color: #cbd5e1 !important;
  border: 1px solid transparent !important;
  transition: all 0.15s ease !important;
}
.top-header .dropdown-toggle:hover,
.top-header .dropdown-toggle:focus,
.top-header .dropdown.open > .dropdown-toggle,
.top-header .dropdown.open > .dropdown-toggle:focus,
.top-header .dropdown.open > .dropdown-toggle:hover,
.blue .top-header ul.list-inline>li .dropdown.open>.dropdown-toggle,
.blue .top-header ul.list-inline>li .dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* All Dropdown Menus in Header & Lists — Topmost Z-Index Layer */
.dropdown-menu,
.open > .dropdown-menu {
  position: absolute !important;
  z-index: 3000 !important;
}

/* Invisible Hover Bridge: fills the gap between button and dropdown list so cursor never leaves */
.dropdown-menu::before {
  content: "" !important;
  position: absolute !important;
  top: -12px !important;
  left: 0 !important;
  right: 0 !important;
  height: 12px !important;
  background: transparent !important;
  display: block !important;
  pointer-events: auto !important;
  z-index: 10 !important;
}

/* Desktop Hover Keep-Alive: dropdown stays reliably open while moving mouse */
@media (min-width: 768px) {
  .dropdown:hover > .dropdown-menu,
  .dropdown.open > .dropdown-menu,
  .dropdown-submenu:hover > .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

/* Submenu flyouts (e.g. Products with subcategories) */
.dropdown-submenu {
  position: relative !important;
}
.dropdown-submenu > .dropdown-menu {
  top: 0 !important;
  left: 100% !important;
  margin-top: -6px !important;
  margin-left: -2px !important;
}
.dropdown-submenu > .dropdown-menu::before {
  top: 0 !important;
  left: -14px !important;
  width: 14px !important;
  height: 100% !important;
}

/* Top bar dropdown menu cards — Executive Navy Theme (High Contrast, Never Blends with Navbar) */
.top-header .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  background: #0f1e36 !important;
  color: #f1f5f9 !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: var(--r-md) !important;
  margin-top: 6px !important;
  padding: 6px 0 !important;
  min-width: 175px !important;
  z-index: 5000 !important;
}
.top-header .dropdown-menu::after {
  content: "";
  position: absolute;
  top: -6px;
  right: 16px;
  width: 10px;
  height: 10px;
  background: #0f1e36;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transform: rotate(45deg);
  display: block;
  z-index: 12;
}
.top-header .dropdown-menu > li > a,
.blue .top-header .dropdown-menu > li > a {
  color: #e2e8f0 !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  transition: all 0.15s ease !important;
}
.top-header .dropdown-menu > li > a:hover,
.blue .top-header .dropdown-menu > li > a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #38bdf8 !important;
  padding-left: 20px !important;
}
.top-header .dropdown-menu .language-img {
  width: 18px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Special styling for top-header login form dropdown */
.top-header .dropdown-menu.dropdown-menu-login {
  background: #ffffff !important;
  color: var(--c-ink) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.25) !important;
  border-radius: var(--r-lg) !important;
  min-width: 290px !important;
  padding: 16px !important;
  z-index: 5000 !important;
}
.top-header .dropdown-menu.dropdown-menu-login::after {
  background: #ffffff;
  border-left: 1px solid #cbd5e1;
  border-top: 1px solid #cbd5e1;
}
.top-header .dropdown-menu.dropdown-menu-login label {
  color: var(--c-ink) !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
}
.top-header .dropdown-menu.dropdown-menu-login .form-control {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
.top-header .dropdown-menu.dropdown-menu-login .form-control:focus {
  border-color: var(--c-primary) !important;
  background: #ffffff !important;
}

/* Main Navbar */
.nova-navbar.navbar,
.navbar.menu_bar {
  position: relative !important;
  z-index: 1040 !important;
  background: #ffffff !important;
  border: none !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
  margin-bottom: 0 !important;
  padding: 8px 0 !important;
  min-height: 72px !important;
  transition: all 0.3s var(--ease) !important;
}
.nova-navbar .container > .row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
@media (max-width: 991px) {
  .nova-navbar .container > .row {
    display: block !important;
  }
}

/* Sticky scrolled state */
.nova-navbar.is-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08) !important;
  padding: 4px 0 !important;
  min-height: 62px !important;
  animation: navSlideDown 0.28s var(--ease);
}
@keyframes navSlideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nova-logo {
  display: flex !important;
  align-items: center !important;
}
.nova-logo img {
  max-height: 54px !important;
  height: 54px !important;
  width: auto !important;
  object-fit: contain !important;
  transition: transform 0.2s ease !important;
}
.nova-logo:hover img {
  transform: scale(1.02) !important;
}

/* Nav Links */
.nova-navbar .navbar-nav > li > a,
.navbar .navbar-nav > li > a {
  font-weight: 600 !important;
  font-size: 14.5px !important;
  color: #334155 !important;
  padding: 10px 16px !important;
  border-radius: var(--r-md) !important;
  margin: 0 2px !important;
  transition: all 0.18s var(--ease) !important;
  background: transparent !important;
}
.nova-navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:hover {
  background-color: #f1f5f9 !important;
  color: var(--c-primary) !important;
}
.nova-navbar .navbar-nav > li.active > a,
.navbar .navbar-nav > li.active > a,
.nova-navbar .navbar-nav > li.open > a,
.navbar .navbar-nav > li.open > a {
  background-color: var(--c-primary-soft) !important;
  color: var(--c-primary) !important;
  font-weight: 700 !important;
}

/* Navbar Dropdowns */
.nova-navbar .dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--r-md) !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1) !important;
  padding: 8px 0 !important;
  margin-top: 8px !important;
  z-index: 2000 !important;
}
.nova-navbar .dropdown-menu > li > a {
  font-weight: 600 !important;
  color: #334155 !important;
  padding: 10px 20px !important;
  font-size: 13.5px !important;
  transition: all 0.15s ease !important;
}
.nova-navbar .dropdown-menu > li > a:hover {
  background-color: var(--c-primary-soft) !important;
  color: var(--c-primary) !important;
  padding-left: 24px !important;
}

/* Cart Button in Header — Clean Pill Style matching Navy Logo */
.cart-btn,
.nova-navbar .cart-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.cart-btn .btn-theme,
.nova-navbar .cart-btn button {
  background: var(--c-primary) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--r-full) !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-shadow: 0 4px 14px rgba(29, 66, 136, 0.28) !important;
  transition: all 0.2s var(--ease) !important;
  width: auto !important;
  float: right !important;
}
.cart-btn .btn-theme:hover,
.nova-navbar .cart-btn button:hover {
  background: var(--c-primary-dark) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(29, 66, 136, 0.38) !important;
}
.cart-btn .cart-total-items,
.btn-cart-xs .cart-total-items {
  background: #ffffff !important;
  color: var(--c-primary) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 2px 10px !important;
  border-radius: var(--r-full) !important;
  margin-left: 4px !important;
}

/* Mini Cart Dropdown */
.cart-btn .dropdown-menu {
  width: 330px !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--c-border) !important;
  padding: 16px !important;
  right: 0 !important;
}
.cart-btn .dropdown-menu table {
  margin-bottom: 12px;
}
.cart-btn .dropdown-menu .table-cart td {
  padding: 8px 4px;
  font-size: 13px;
  vertical-align: middle;
}

/* =========================================================
   3. HERO SLIDER & HOMEPAGE BANNER (Full-width seamless)
   ========================================================= */
.slider-container {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 32px !important;
  border-radius: 0 !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}
.slider-container .item {
  border-radius: 0 !important;
  overflow: hidden;
}
.slider-container .item img {
  border-radius: 0 !important;
}
.slider-container .hero-caption {
  padding: 40px 50px;
  background: linear-gradient(135deg, rgba(13, 30, 61, 0.8) 0%, rgba(13, 30, 61, 0.25) 60%, transparent 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.slider-container .hero-caption h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 12px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* =========================================================
   4. MODERN PRODUCT CARDS & GRID
   ========================================================= */
.featured-products,
.products-container {
  margin: 0 -10px;
}
.featured-products .product,
.product {
  background: #ffffff !important;
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: var(--shadow-xs) !important;
  padding: 14px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 330px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-align: left !important;
}
.featured-products .product:hover,
.product:hover {
  border-color: #cbd5e1 !important;
  box-shadow: var(--shadow-hover) !important;
  transform: translateY(-4px) !important;
}

/* Image Wrapper & Photo */
.featured-products .product .details,
.product .details {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: static !important;
}
.featured-products .product img,
.product .product-image img,
.product img {
  width: 100% !important;
  height: 190px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  background: #f8fafc !important;
  border-radius: var(--r-md) !important;
  padding: 8px !important;
  margin: 0 auto 12px auto !important;
  display: block !important;
  transition: transform 0.35s var(--ease) !important;
}
.featured-products .product:hover img,
.product:hover img {
  transform: scale(1.05) !important;
}

/* Hide legacy aggressive overlay from old theme */
.featured-products .image_overlay,
.product .image_overlay {
  display: none !important;
}

/* Badges */
.featured-products .product .badge,
.product .badge,
.badge-discount,
.promo-badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  background: #ef4444 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 10px !important;
  border-radius: var(--r-full) !important;
  z-index: 5 !important;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3) !important;
  line-height: normal !important;
  height: auto !important;
}

/* Product Info Container */
.featured-products .stats-container,
.product .stats-container {
  position: static !important;
  width: 100% !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 6px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.featured-products .stats-container .product_name,
.product .product-name,
.stats-container .product_name a {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--c-ink) !important;
  line-height: 1.4 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 40px !important;
  text-decoration: none !important;
  float: none !important;
}
.featured-products .stats-container .product_name a:hover,
.product .product-name:hover {
  color: var(--c-primary) !important;
}
.featured-products .stats-container .link {
  font-size: 12px;
  color: var(--c-muted);
  text-decoration: none;
}

/* Price Box */
.featured-products .stats-container .product_price,
.product .product-price,
.stats-container .product_price {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: var(--c-primary) !important;
  margin: 4px 0 !important;
  float: none !important;
  line-height: 1.2 !important;
}
.featured-products .stats-container .product_price del,
.product .product-old-price {
  font-size: 13px !important;
  color: var(--c-muted) !important;
  text-decoration: line-through !important;
  margin-right: 6px !important;
  font-weight: 400 !important;
}

/* Add to Cart button inside card */
.featured-products .btn.add-to-cart,
.featured-products .add-to-cart,
.product .btn-add-to-cart,
.product .add_to_cart,
.product .add-to-cart {
  position: static !important;
  opacity: 1 !important;
  min-width: 0 !important;
  width: 100% !important;
  margin-top: 10px !important;
  background: var(--c-primary-soft) !important;
  color: var(--c-primary) !important;
  border: 1.5px solid transparent !important;
  border-radius: var(--r-md) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 9px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s var(--ease) !important;
}
.featured-products .btn.add-to-cart:hover,
.featured-products .add-to-cart:hover,
.product:hover .btn-add-to-cart,
.product .btn-add-to-cart:hover,
.product .add_to_cart:hover,
.product .add-to-cart:hover {
  background: var(--c-primary) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(0, 93, 127, 0.25) !important;
}

/* =========================================================
   5. PRODUCT DETAIL PAGE (view_product.php)
   ========================================================= */
.product-detail-card {
  background: #ffffff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
  margin-bottom: 32px;
}
.photo-slider .carousel-inner {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--c-border);
}
.photo-slider .carousel-inner img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.photo-slider .carousel-indicators {
  position: static;
  margin-top: 16px;
  display: flex;
  gap: 10px;
  width: 100%;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 6px;
}
.photo-slider .carousel-indicators li {
  width: 68px;
  height: 68px;
  border-radius: var(--r-md);
  border: 2px solid var(--c-border);
  overflow: hidden;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.photo-slider .carousel-indicators li.active {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px var(--c-primary-soft);
}
.photo-slider .carousel-indicators li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modern Quantity & Actions in Single Product View */
.product-actions-box {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.product-qty-wrap {
  margin-bottom: 0 !important;
}
.modern-qty-group {
  display: inline-flex;
  align-items: stretch;
  width: 150px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.modern-qty-group .input-group-addon {
  background: #f1f5f9;
  border: 1.5px solid var(--c-border);
  color: var(--c-ink);
  cursor: pointer;
  padding: 10px 16px;
  font-size: 13px;
  transition: background 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modern-qty-group .input-group-addon:hover {
  background: #e2e8f0;
}
.modern-qty-group .quantity-input {
  border-top: 1.5px solid var(--c-border);
  border-bottom: 1.5px solid var(--c-border);
  border-left: none;
  border-right: none;
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ink);
  height: auto;
  box-shadow: none;
}
.product-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-add-cart-main {
  flex: 1 1 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-primary) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 13px 24px !important;
  border-radius: var(--r-md) !important;
  box-shadow: 0 4px 14px rgba(0, 93, 127, 0.25) !important;
  transition: all 0.2s ease !important;
}
.btn-add-cart-main:hover {
  background: var(--c-primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 93, 127, 0.35) !important;
}
.btn-wishlist-round {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--c-border) !important;
  color: var(--c-muted) !important;
  background: #ffffff !important;
  font-size: 18px !important;
  transition: all 0.2s ease !important;
}
.btn-wishlist-round:hover {
  border-color: #ef4444 !important;
  color: #ef4444 !important;
  background: #fef2f2 !important;
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #229ED9 !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 13px 20px !important;
  border-radius: var(--r-md) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.btn-telegram:hover {
  background: #1b81b2 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.35) !important;
}

/* Modern Tabs in Product Details */
.nav-tabs {
  border-bottom: 2px solid var(--c-border);
  margin-top: 32px;
  gap: 6px;
  display: flex;
  flex-wrap: wrap;
}
.nav-tabs > li > a {
  border: none !important;
  border-bottom: 3px solid transparent !important;
  color: var(--c-muted) !important;
  font-weight: 600 !important;
  padding: 12px 18px !important;
  background: transparent !important;
  border-radius: 0 !important;
  margin-right: 0 !important;
  transition: all 0.2s ease !important;
}
.nav-tabs > li > a:hover {
  color: var(--c-primary) !important;
  background: transparent !important;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
  border-bottom-color: var(--c-primary) !important;
  color: var(--c-primary) !important;
  background: transparent !important;
}
.tab-content.bordered-light {
  border: 1.5px solid var(--c-border) !important;
  border-top: none !important;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 24px !important;
  background: #ffffff !important;
  line-height: 1.7;
  color: var(--c-ink);
}

/* =========================================================
   6. CART & CHECKOUT ENHANCEMENTS
   ========================================================= */
/* Multi-Step Checkout Progress Bar */
.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  padding: 18px 24px;
  background: #ffffff;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
  font-weight: 600;
  font-size: 14px;
}
.step-item .step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-border);
  color: var(--c-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.step-item.is-active {
  color: var(--c-primary);
}
.step-item.is-active .step-num {
  background: var(--c-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 93, 127, 0.3);
}
.step-sep {
  width: 32px;
  height: 2px;
  background: var(--c-border);
}

/* Modern Card Boxes on Checkout */
.panel-checkout,
.panel-summary {
  background: #ffffff;
  border: 1.5px solid var(--c-border) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
}
.panel-summary {
  position: sticky;
  top: 90px;
}
.panel-summary-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

/* =========================================================
   7. TOAST NOTIFICATIONS (Micro-Interactions)
   ========================================================= */
.nova-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.nova-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 380px;
  padding: 14px 18px;
  background: #ffffff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  font-weight: 600;
  font-size: 14px;
  animation: toastSlideIn 0.3s var(--ease);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nova-toast.is-hiding {
  opacity: 0;
  transform: translateX(30px);
}
.nova-toast--success .nova-toast__icon {
  background: var(--c-success-soft);
  color: var(--c-success);
}
.nova-toast--info .nova-toast__icon {
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.nova-toast__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(-16px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =========================================================
   8. MOBILE BOTTOM APP BAR
   ========================================================= */
.nova-mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  body {
    padding-bottom: 70px !important;
  }
  .nova-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
    z-index: var(--z-mobile-bar);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .nova-mobile-bar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c-muted);
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
    text-decoration: none;
    flex: 1;
    height: 100%;
    position: relative;
    transition: color 0.15s ease;
  }
  .nova-mobile-bar__item:hover,
  .nova-mobile-bar__item.is-active {
    color: var(--c-primary) !important;
  }
  .nova-mobile-bar__item i {
    font-size: 18px;
  }
  .nova-mobile-bar__badge {
    position: absolute;
    top: 6px;
    right: 28%;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: var(--r-full);
    min-width: 16px;
    text-align: center;
  }
}

/* =========================================================
   9. FOOTER MODERNIZATION (Enterprise Biotech Standards)
   ========================================================= */
.footer,
.nova-footer,
.blue .footer {
  position: relative !important;
  background: linear-gradient(180deg, #0d1e3d 0%, #071224 100%) !important;
  color: #cbd5e1 !important;
  padding-top: 54px !important;
  padding-bottom: 0 !important;
  border-top: 2px solid rgba(37, 99, 235, 0.25) !important;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
}
.footer-main-content {
  padding-bottom: 40px !important;
}
.footer-col {
  margin-bottom: 28px !important;
}

/* Col 1: Brand presentation */
.footer-brand-wrap {
  display: inline-block;
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--r-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  margin-bottom: 16px;
}
.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-tagline {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  margin-bottom: 18px !important;
}
.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}
.footer-contact-row i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}
.footer-contact-row a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}
.footer-contact-row a:hover {
  color: #60a5fa !important;
}

/* Headings */
.footer-col-heading {
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-top: 6px !important;
  margin-bottom: 20px !important;
  position: relative !important;
  padding-bottom: 10px !important;
}
.footer-col-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: #2563eb;
  border-radius: 2px;
}

/* Nav links */
.footer-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.footer-nav-list li {
  padding: 0 !important;
  margin: 0 !important;
}
.footer-nav-list li a {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.footer-nav-list li a i {
  font-size: 12px;
  color: #2563eb;
  transition: transform 0.2s ease;
}
.footer-nav-list li a:hover {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}
.footer-nav-list li a:hover i {
  color: #60a5fa;
  transform: translateX(2px);
}

/* Social & Hours */
.footer-social-intro {
  color: #94a3b8 !important;
  font-size: 13.5px !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}
.footer-social-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none !important;
}
.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}
.social-btn.social-fb:hover { background: #1877F2 !important; border-color: #1877F2; }
.social-btn.social-tg:hover { background: #229ED9 !important; border-color: #229ED9; }
.social-btn.social-yt:hover { background: #FF0000 !important; border-color: #FF0000; }
.social-btn.social-in:hover { background: #0A66C2 !important; border-color: #0A66C2; }
.social-btn.social-blog:hover { background: var(--c-primary) !important; border-color: var(--c-primary); }

.footer-support-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.footer-support-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.footer-support-text {
  display: flex;
  flex-direction: column;
}
.support-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  line-height: 1.2;
}
.support-desc {
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 2px;
}

/* Footer Bottom Strip */
.footer-bottom {
  background: #050c18 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 18px 0 !important;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copyright {
  color: #94a3b8;
  font-size: 13px;
}
.footer-copyright strong {
  color: #cbd5e1;
}
.footer-we-accept {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.we-accept-label {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.footer-we-accept-logos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.footer-we-accept-logos img {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
  border-radius: 3px;
}
.we-accept-img {
  height: 28px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  vertical-align: middle;
}
@media (min-width: 768px) {
  /* Prevent bank logos from colliding with back-to-top button */
  .footer-we-accept-col {
    padding-right: 50px;
  }
}
@media (max-width: 767px) {
  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }
  .footer-we-accept {
    justify-content: center;
  }
}

/* =========================================================
   10. BACK TO TOP BUTTON & FOOTER GAP ELIMINATION (Image 2 Match)
   ========================================================= */
/* Prevent legacy sticky_footer() 350px white space below footer */
body {
  padding-bottom: 0 !important;
}
@media (max-width: 767px) {
  body {
    padding-bottom: 70px !important;
  }
}

/* =========================================================
   10. FLOATING DOCK: WE ACCEPT + BACK TO TOP (Exact Concept)
   ========================================================= */
.nova-floating-dock {
  position: fixed !important;
  bottom: 5px !important;
  right: 10px !important;
  z-index: 1060 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  pointer-events: none !important;
}

.nova-floating-dock > * {
  pointer-events: auto !important;
}

.floating-we-accept {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background-color: #39404c !important;
  color: #eeeeee !important;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 6px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: all 0.1s ease-in-out !important;
  user-select: none !important;
}

.floating-we-accept:hover {
  background-color: #2c323f !important;
}

.f-we-accept-img {
  height: 20px !important;
  width: auto !important;
  max-width: 100% !important;
  display: block !important;
  border-radius: 2px !important;
  object-fit: contain !important;
  vertical-align: middle !important;
}

.back-to-top,
a.back-to-top {
  position: static !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  background-color: #39404c !important;
  color: #eeeeee !important;
  text-align: center !important;
  border-radius: 0 !important;
  z-index: 1060 !important;
  box-shadow: none !important;
  transition: all 0.1s ease-in-out !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: none;
}

.back-to-top:hover,
.back-to-top:focus,
a.back-to-top:hover,
a.back-to-top:focus {
  background-color: #eeeeee !important;
  color: #39404c !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: none !important;
}

.back-to-top i,
a.back-to-top i {
  font-size: 14px !important;
  color: inherit !important;
  line-height: 28px !important;
  vertical-align: top !important;
}

@media (max-width: 767px) {
  .nova-floating-dock {
    bottom: 68px !important;
    right: 8px !important;
    gap: 4px !important;
  }
  .floating-we-accept {
    height: 26px !important;
    line-height: 26px !important;
    padding: 0 5px !important;
    gap: 4px !important;
  }
  .f-we-accept-img {
    height: 16px !important;
  }
  .back-to-top,
  a.back-to-top {
    width: 26px !important;
    height: 26px !important;
    line-height: 26px !important;
  }
  .back-to-top i,
  a.back-to-top i {
    line-height: 26px !important;
  }
}


