/* ==========================================================================
   MEDCARE MEDICAL THEME  (html[data-theme="medical"])
   Light pharmacy storefront. Loaded after fitness-theme.css; every rule is
   scoped so the STAGE / LUXE / RAW / FLOW themes are not affected.
   ========================================================================== */

/* ---------- 0. Theme-specific blocks visibility ---------- */
html:not([data-theme="medical"]) .med-only { display: none !important; }
html[data-theme="medical"] .fit-only { display: none !important; }

/* ---------- 1. Tokens ---------- */
html[data-theme="medical"],
html[data-theme="medical"] body {
  --bg-main: #F5F9F7;
  --bg-secondary: #FFFFFF;
  --bg-section: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F7FBF9;
  --bg-input: #FFFFFF;
  --bg-dropdown: #FFFFFF;
  --bg-footer: #0A3A32;
  --footer-border: #12483F;

  --accent-primary: #0E8A62;
  --accent-hover: #0B7352;
  --accent-text: #FFFFFF;
  --accent-subtle: rgba(14, 138, 98, 0.10);
  --accent-border: rgba(14, 138, 98, 0.35);

  --text-main: #0F2B24;
  --text-secondary: #475569;
  --text-muted: #8494A0;
  --border-color: #E2ECE7;
  --border-hover: #0E8A62;

  --badge-sale: #E53935;
  --badge-success: #16A34A;

  --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Poppins', 'Inter', sans-serif;

  --med-green: #0E8A62;
  --med-green-dark: #0B6E4F;
  --med-green-soft: #E7F6EF;
  --med-ink: #0F2B24;
  --med-ink-2: #1E293B;
  --med-muted: #64748B;
  --med-line: #E3ECE8;
  --med-radius: 16px;
  --med-shadow: 0 6px 24px rgba(15, 43, 36, 0.06);
  --med-shadow-hover: 0 14px 34px rgba(15, 43, 36, 0.12);
}

/* ---------- 2. Global typography & base ---------- */
html[data-theme="medical"] body {
  background-color: var(--bg-main) !important;
  color: var(--text-secondary) !important;
  font-family: var(--font-body) !important;
}
html[data-theme="medical"] h1,
html[data-theme="medical"] h2,
html[data-theme="medical"] h3,
html[data-theme="medical"] h4,
html[data-theme="medical"] h5,
html[data-theme="medical"] h6 {
  font-family: var(--font-heading) !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
  color: var(--text-main) !important;
  font-weight: 700;
}
html[data-theme="medical"] h1 { font-size: 2.3rem !important; }
html[data-theme="medical"] h2 { font-size: 1.55rem !important; }
html[data-theme="medical"] h3 { font-size: 1.2rem !important; }
html[data-theme="medical"] h4 { font-size: 1.08rem !important; }
html[data-theme="medical"] h5 { font-size: 1rem !important; }
html[data-theme="medical"] h6 { font-size: 0.92rem !important; }
html[data-theme="medical"] p { color: var(--text-secondary) !important; }
html[data-theme="medical"] a:hover { color: var(--med-green) !important; }
html[data-theme="medical"] .badman-section-label,
html[data-theme="medical"] .section-label {
  font-family: var(--font-accent) !important;
  letter-spacing: 0.08em !important;
  color: var(--med-green) !important;
}
html[data-theme="medical"] main .text-white,
html[data-theme="medical"] section .text-white,
html[data-theme="medical"] .modal .text-white,
html[data-theme="medical"] .offcanvas .text-white,
html[data-theme="medical"] .onhover-div .text-white { color: var(--text-main) !important; }
html[data-theme="medical"] .btn.text-white,
html[data-theme="medical"] .btn .text-white,
html[data-theme="medical"] .theme-bg-color.text-white,
html[data-theme="medical"] .badge.text-white { color: #FFFFFF !important; }

/* Generic inline dark surfaces used across inner pages -> light */
html[data-theme="medical"] main [style*="background: #161A1B"],
html[data-theme="medical"] main [style*="background:#161A1B"],
html[data-theme="medical"] main [style*="background-color: #161A1B"],
html[data-theme="medical"] main [style*="background: #121617"],
html[data-theme="medical"] main [style*="background-color: #121617"],
html[data-theme="medical"] main [style*="background: #1C2122"],
html[data-theme="medical"] main [style*="background: #111415"],
html[data-theme="medical"] main [style*="background: #0D1011"],
html[data-theme="medical"] section [style*="background: #161A1B"],
html[data-theme="medical"] section [style*="background:#161A1B"],
html[data-theme="medical"] section [style*="background-color: #161A1B"],
html[data-theme="medical"] section [style*="background: #121617"],
html[data-theme="medical"] section [style*="background-color: #121617"],
html[data-theme="medical"] section [style*="background: #1C2122"],
html[data-theme="medical"] section [style*="background: #111415"],
html[data-theme="medical"] section [style*="background-color: #080A0B"],
html[data-theme="medical"] section[style*="background-color: #080A0B"],
html[data-theme="medical"] section[style*="background: #080A0B"],
html[data-theme="medical"] .modal [style*="background: #161A1B"],
html[data-theme="medical"] .modal [style*="background:#161A1B"],
html[data-theme="medical"] .modal [style*="background-color: #161A1B"],
html[data-theme="medical"] .modal [style*="background: #121617"],
html[data-theme="medical"] .modal [style*="background: #0D1011"] {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-color: var(--med-line) !important;
  color: var(--text-main) !important;
}
html[data-theme="medical"] main [style*="color: #fff"]:not(.btn),
html[data-theme="medical"] main [style*="color:#fff"]:not(.btn),
html[data-theme="medical"] main [style*="color: #FFFFFF"]:not(.btn),
html[data-theme="medical"] section [style*="color: #fff"]:not(.btn),
html[data-theme="medical"] section [style*="color:#fff"]:not(.btn),
html[data-theme="medical"] section [style*="color: #FFFFFF"]:not(.btn),
html[data-theme="medical"] .modal [style*="color: #fff"]:not(.btn),
html[data-theme="medical"] .modal [style*="color:#fff"]:not(.btn) {
  color: var(--text-main) !important;
}
html[data-theme="medical"] [style*="border: 1px solid #2B3031"],
html[data-theme="medical"] [style*="border-color: #2B3031"],
html[data-theme="medical"] [style*="border-bottom: 1px solid #2B3031"],
html[data-theme="medical"] [style*="border-bottom: 1px solid #222729"] {
  border-color: var(--med-line) !important;
}

/* ---------- 3. Buttons ---------- */
html[data-theme="medical"] .btn-primary,
html[data-theme="medical"] .btn-fitness-primary,
html[data-theme="medical"] .btn-fitness-primary:link,
html[data-theme="medical"] .btn-fitness-primary:visited,
html[data-theme="medical"] .btn-fitness-outline,
html[data-theme="medical"] .btn-secondary {
  font-family: var(--font-accent) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
}
html[data-theme="medical"] .btn-fitness-primary:hover,
html[data-theme="medical"] .btn-primary:hover { color: #FFFFFF !important; box-shadow: 0 8px 20px rgba(14, 138, 98, 0.25) !important; }
html[data-theme="medical"] .btn-fitness-outline,
html[data-theme="medical"] .btn-secondary {
  color: var(--med-green) !important;
  border: 1.5px solid var(--med-green) !important;
  background: #FFFFFF !important;
}
html[data-theme="medical"] .btn-fitness-outline:hover,
html[data-theme="medical"] .btn-secondary:hover { background: var(--med-green) !important; color: #FFFFFF !important; }

.med-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: 11px 20px;
  border-radius: 10px;
  border: 0;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.med-btn i { font-size: 12px; transition: transform .2s ease; }
.med-btn:hover i { transform: translateX(3px); }
.med-btn-lg { padding: 15px 26px; font-size: 15px; border-radius: 12px; }
.med-btn-sm { padding: 8px 14px; font-size: 12px; border-radius: 8px; }
.med-btn-primary { background: #0E8A62; color: #FFFFFF !important; box-shadow: 0 6px 16px rgba(14, 138, 98, .22); }
.med-btn-primary:hover { background: #0B7352; transform: translateY(-2px); }
.med-btn-rose { background: #C2185B; color: #FFFFFF !important; }
.med-btn-maroon { background: #A3123A; color: #FFFFFF !important; }
.med-btn-blue { background: #1D5FD1; color: #FFFFFF !important; }
.med-btn-rose:hover, .med-btn-maroon:hover, .med-btn-blue:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ---------- 4. Layout container ---------- */
.med-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 5. Top bar ---------- */
.med-topbar {
  background: #F1F7F4;
  border-bottom: 1px solid #E3ECE8;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #475569;
}
.med-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 16px;
}
.med-topbar-left, .med-topbar-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.med-topbar-left i { color: #0E8A62; margin-right: 4px; }
.med-topbar-sep { color: #C5D3CD; }
.med-topbar-right a { color: #334155 !important; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.med-topbar-right a:hover { color: #0E8A62 !important; }
.med-topbar-right a i { color: #0E8A62; }
.med-topbar-right a + a { padding-left: 12px; border-left: 1px solid #D6E2DD; }

/* ---------- 6. Main header ---------- */
html[data-theme="medical"] header.med-header {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #E8EFEC !important;
  position: sticky;
  top: 0;
  z-index: 1020;
  backdrop-filter: none;
  box-shadow: 0 2px 12px rgba(15, 43, 36, 0.04);
  font-family: 'Poppins', sans-serif;
}
.med-header-main {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.med-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  flex-shrink: 0;
}
.med-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22B07D 0%, #0E8A62 55%, #0B6E4F 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(14, 138, 98, .28);
}
.med-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.med-logo-text strong { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 800; color: #0F2B24; letter-spacing: -0.02em; }
.med-logo-text strong sup { color: #0E8A62; font-size: 15px; top: -0.5em; margin-left: 1px; }
.med-logo-text small { font-size: 11px; color: #64748B; font-weight: 500; margin-top: 2px; }

.med-search {
  flex: 1 1 auto;
  max-width: 600px;
  display: flex;
  align-items: center;
  height: 48px;
  background: #FFFFFF;
  border: 1.5px solid #DCE7E2;
  border-radius: 12px;
  padding: 4px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.med-search:focus-within { border-color: #0E8A62; box-shadow: 0 0 0 4px rgba(14, 138, 98, .10); }
html[data-theme="medical"] .med-search input {
  flex: 1;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 12px !important;
  font-size: 14px !important;
  color: #0F2B24 !important;
  height: 100%;
  min-width: 0;
}
.med-search button {
  width: 46px;
  height: 38px;
  border: 0;
  border-radius: 9px;
  background: #0E8A62;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: background .2s ease;
}
.med-search button:hover { background: #0B7352; }

.med-header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.med-deliver {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0F2B24;
}
.med-deliver > i { font-size: 18px; color: #0F2B24; }
.med-deliver-text, .med-action-text { display: flex; flex-direction: column; line-height: 1.2; }
.med-deliver-text small, .med-action-text small { font-size: 11px; color: #64748B; font-weight: 500; }
.med-deliver-text strong, .med-action-text strong { font-size: 13px; color: #0F2B24; font-weight: 600; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.med-deliver-change {
  border: 0;
  background: transparent;
  color: #0E8A62;
  font-weight: 600;
  font-size: 12px;
  padding: 2px 4px;
  cursor: pointer;
}
.med-deliver-pop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 250px;
  background: #FFFFFF;
  border: 1px solid #E3ECE8;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(15, 43, 36, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
  z-index: 1100;
}
.med-deliver.open .med-deliver-pop { opacity: 1; visibility: visible; transform: translateY(0); }
.med-deliver-pop label { font-size: 12px; font-weight: 600; color: #334155; margin-bottom: 6px; display: block; }
html[data-theme="medical"] .med-deliver-pop input { height: 38px; padding: 6px 10px !important; font-size: 13px !important; border-radius: 8px !important; flex: 1; min-width: 0; }
.med-deliver-pop button { border: 0; background: #0E8A62; color: #FFF; border-radius: 8px; padding: 0 14px; font-weight: 600; font-size: 13px; }

.med-account {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.med-account > i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #DCE7E2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0F2B24;
  font-size: 15px;
  transition: all .2s ease;
}
.med-account:hover > i { border-color: #0E8A62; color: #0E8A62; background: #E7F6EF; }

.med-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 0;
  background: transparent;
  color: #0F2B24 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  text-decoration: none !important;
  transition: background .2s ease;
}
.med-icon-btn:hover { background: #E7F6EF; color: #0E8A62 !important; }
.med-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: #E53935;
  color: #FFFFFF !important;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border: 2px solid #FFFFFF;
  box-sizing: content-box;
}
.med-cart { position: relative; }
.med-cart-btn { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.med-cart-icon {
  position: relative;
  font-size: 21px;
  color: #0F2B24;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.med-cart-btn:hover .med-cart-icon { color: #0E8A62; }
html[data-theme="medical"] .med-cart .onhover-div {
  right: 0;
  left: auto;
  top: 100%;
  min-width: 320px;
  max-height: 75vh;
  overflow: auto;
  background: #FFFFFF !important;
  border: 1px solid #E3ECE8 !important;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 43, 36, .16) !important;
  padding: 14px;
}

/* ---------- 7. Category nav ---------- */
.med-catnav {
  background: #FFFFFF;
  border-bottom: 1px solid #E8EFEC;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 1010;
}
.med-catnav-inner { display: flex; align-items: center; gap: 26px; min-height: 54px; }
.med-allcat { position: relative; flex-shrink: 0; }
.med-allcat-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0E8A62;
  color: #FFFFFF !important;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
}
.med-allcat-btn .fa-chevron-down { font-size: 10px; opacity: .85; }
.med-allcat-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid #E3ECE8;
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(15, 43, 36, .14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.med-allcat:hover .med-allcat-menu,
.med-allcat:focus-within .med-allcat-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.med-allcat-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #1E293B !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
}
.med-allcat-menu a:hover { background: #F1F8F5; color: #0E8A62 !important; }
.med-allcat-menu a > span {
  width: 32px; height: 32px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0;
}
.med-catnav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.med-catnav-links::-webkit-scrollbar { display: none; }
.med-catnav-links a {
  color: #1E293B !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  padding: 16px 0;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.med-catnav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 8px;
  width: 0; height: 2px;
  background: #0E8A62;
  border-radius: 2px;
  transition: width .25s ease;
}
.med-catnav-links li.active a,
.med-catnav-links a:hover { color: #0E8A62 !important; }
.med-catnav-links li.active a::after,
.med-catnav-links a:hover::after { width: 100%; }
.med-offers-link { color: #E53935 !important; }
.med-offers-link::after { background: #E53935 !important; }

/* ---------- 8. Pastel tones (category icons) ---------- */
.med-tone-green  { background: #E7F6EF; color: #0E8A62; }
.med-tone-blue   { background: #E6EFFD; color: #2563EB; }
.med-tone-rose   { background: #FDE8EC; color: #E11D48; }
.med-tone-sky    { background: #E3F2FB; color: #0284C7; }
.med-tone-peach  { background: #FDEFE4; color: #EA580C; }
.med-tone-amber  { background: #FEF4DE; color: #D97706; }
.med-tone-teal   { background: #DFF4F1; color: #0F766E; }
.med-tone-orange { background: #FFEEE2; color: #F97316; }
.med-tone-violet { background: #F0EAFD; color: #7C3AED; }
.med-tone-pink   { background: #FCE7F3; color: #DB2777; }

/* ---------- 9. Homepage ---------- */
.med-home { font-family: 'Poppins', sans-serif; padding-bottom: 10px; }
.med-home section { background: transparent !important; }

/* Hero */
.med-hero-section { padding: 22px 0 10px; }
.med-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}
.med-hero-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(115deg, #F2FBF7 0%, #E2F5EC 48%, #CDEEDF 100%);
  min-height: 400px;
  box-shadow: var(--med-shadow);
}
.med-hero-slider, .med-hero-slider .slick-list, .med-hero-slider .slick-track { height: 100%; }
.med-hero-slide {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 400px;
  position: relative;
}
.med-hero-slide-img { display: block !important; }
.med-hero-slide-img a, .med-hero-slide-img img { display: block; width: 100%; height: 100%; min-height: 400px; object-fit: cover; }
.med-hero-text {
  padding: 44px 20px 36px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.med-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #0E8A62;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 30px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(14, 138, 98, .10);
}
html[data-theme="medical"] .med-hero-title {
  font-size: 3rem !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  color: #0F2B24 !important;
  margin: 0 0 14px;
  letter-spacing: -0.03em !important;
}
.med-hero-title span { display: block; color: #0E8A62; }
html[data-theme="medical"] .med-hero-desc { font-size: 15px; line-height: 1.6; color: #475569 !important; max-width: 430px; margin-bottom: 24px; }
.med-hero-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.med-hero-points li { font-size: 12.5px; font-weight: 500; color: #334155; display: inline-flex; align-items: center; gap: 6px; }
.med-hero-points i { color: #0E8A62; }
.med-hero-visual { position: relative; overflow: hidden; }
.med-hero-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 108%;
  width: auto;
  max-width: none;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%);
  mask-image: linear-gradient(to right, transparent 0%, #000 22%);
}
.med-hero-offer {
  position: absolute;
  left: 4%;
  top: 30%;
  z-index: 3;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 14px 34px rgba(15, 43, 36, .14);
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: medFloat 4s ease-in-out infinite;
}
.med-hero-offer small { font-size: 11px; font-weight: 700; color: #0E8A62; letter-spacing: .08em; }
.med-hero-offer strong { font-size: 26px; font-weight: 800; color: #0F2B24; line-height: 1.05; }
.med-hero-offer span { font-size: 12px; color: #64748B; }
.med-hero-offer em {
  font-style: normal;
  margin-top: 8px;
  background: #0E8A62;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  align-self: flex-start;
}
@keyframes medFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.med-deco { position: absolute; z-index: 1; color: #2BB585; opacity: .55; }
.med-deco-1 { top: 12%; right: 8%; font-size: 30px; }
.med-deco-2 { top: 24%; right: 20%; font-size: 18px; opacity: .4; }
.med-deco-leaf { bottom: 10%; left: 6%; font-size: 22px; color: #6CCB9F; opacity: .45; transform: rotate(-20deg); }
.med-hero-slider .slick-dots { bottom: 14px; }
.med-hero-slider .slick-dots li button:before { color: #0E8A62; }

/* Side promo cards */
.med-hero-side { display: grid; grid-template-rows: repeat(3, 1fr); gap: 14px; }
.med-side-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 16px;
  padding: 18px 16px 18px 20px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: var(--med-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  min-height: 124px;
}
.med-side-card:hover { transform: translateY(-3px); box-shadow: var(--med-shadow-hover); }
.med-side-blue { background: linear-gradient(120deg, #EAF3FF, #DCEBFF); }
.med-side-pink { background: linear-gradient(120deg, #FFF0F3, #FDE3EA); }
.med-side-sky  { background: linear-gradient(120deg, #EAF6FF, #D9EEFC); }
.med-side-text { position: relative; z-index: 2; max-width: 62%; }
html[data-theme="medical"] .med-side-text h3 { font-size: 16px !important; font-weight: 700 !important; margin: 0 0 4px; color: #0F2B24 !important; }
html[data-theme="medical"] .med-side-text p { font-size: 12.5px; margin: 0 0 10px; color: #475569 !important; line-height: 1.4; }
.med-side-text p b { color: #C2185B; }
.med-side-blue .med-side-text p b { color: #1D5FD1; }
.med-side-card img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 46%;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 35%);
  mask-image: linear-gradient(to right, transparent 0%, #000 35%);
  transition: transform .4s ease;
}
.med-side-card:hover img { transform: scale(1.06); }

/* Category icons */
.med-cat-section { padding: 18px 0 8px; }
.med-cat-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E8EFEC;
  border-radius: 18px;
  padding: 18px 14px;
  box-shadow: var(--med-shadow);
}
.med-cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  padding: 6px 4px;
  border-radius: 12px;
  transition: background .2s ease;
}
.med-cat-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.med-cat-item:hover .med-cat-icon { transform: translateY(-4px) scale(1.04); box-shadow: 0 10px 22px rgba(15, 43, 36, .12); }
.med-cat-name {
  font-size: 12.5px;
  font-weight: 500;
  color: #1E293B;
  text-align: center;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.med-cat-item:hover .med-cat-name { color: #0E8A62; }

/* Mobile prescription strip */
.med-rx-strip-section { display: none; padding: 8px 0; }
.med-rx-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(120deg, #EAF3FF, #E1EDFF);
  border-radius: 16px;
  padding: 14px;
  text-decoration: none !important;
}
.med-rx-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: #FFFFFF; color: #1D5FD1;
  display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.med-rx-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.med-rx-text strong { font-size: 14px; color: #0F2B24; }
.med-rx-text small { font-size: 11.5px; color: #64748B; }

/* Products */
.med-products-section { padding: 20px 0 8px; }
.med-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
html[data-theme="medical"] .med-section-head h2 { font-size: 1.45rem !important; font-weight: 700 !important; margin: 0; }
.med-view-all { color: #0E8A62 !important; font-weight: 600; font-size: 14px; text-decoration: none !important; display: inline-flex; align-items: center; gap: 6px; }
.med-view-all i { font-size: 12px; transition: transform .2s ease; }
.med-view-all:hover i { transform: translateX(3px); }
.med-product-rail-wrap { position: relative; }
.med-product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 5 * 16px) / 6);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}
.med-product-rail::-webkit-scrollbar { display: none; }
.med-product-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E6EEEA;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.med-product-card:hover { transform: translateY(-4px); box-shadow: var(--med-shadow-hover); border-color: #CDE5DA; }
.med-off-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #E53935;
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.med-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E6EEEA;
  background: #FFFFFF;
  color: #64748B !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all .2s ease;
}
.med-wish:hover { color: #E53935 !important; border-color: #F8C9CF; background: #FFF1F3; }
.med-product-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: #F7FAF9;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.med-product-img img { max-width: 88%; max-height: 120px; object-fit: contain; transition: transform .35s ease; }
.med-product-card:hover .med-product-img img { transform: scale(1.06); }
.med-product-name {
  font-size: 14px;
  font-weight: 600;
  color: #0F2B24 !important;
  text-decoration: none !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.med-product-sub { font-size: 12px; color: #8494A0; margin: 2px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.med-product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; margin-top: auto; }
.med-product-price strong { font-size: 16px; font-weight: 700; color: #E53935; }
html[data-theme="medical"] .med-product-price del { font-size: 12px !important; color: #94A3B8 !important; margin-left: 0; }
.med-add-cart {
  width: 100%;
  border: 1.5px solid #0E8A62;
  background: #FFFFFF;
  color: #0E8A62;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all .2s ease;
}
.med-add-cart:hover { background: #0E8A62; color: #FFFFFF; }
.med-rail-btn {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #E3ECE8;
  background: #FFFFFF;
  color: #0F2B24;
  box-shadow: 0 6px 18px rgba(15, 43, 36, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.med-rail-btn:hover { background: #0E8A62; color: #FFFFFF; border-color: #0E8A62; }
.med-rail-prev { left: -16px; }
.med-rail-next { right: -16px; }

/* Promo banners */
.med-promo-section { padding: 18px 0 8px; }
.med-promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.med-promo {
  position: relative;
  min-height: 150px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 22px;
  text-decoration: none !important;
  box-shadow: var(--med-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.med-promo:hover { transform: translateY(-3px); box-shadow: var(--med-shadow-hover); }
.med-promo-pink  { background: linear-gradient(115deg, #FFF0F2 0%, #FBD9E0 100%); }
.med-promo-blue  { background: linear-gradient(115deg, #EAF3FF 0%, #CFE3FB 100%); }
.med-promo-cream { background: linear-gradient(115deg, #FFF9EC 0%, #F8EBC9 100%); }
.med-promo-text { position: relative; z-index: 2; max-width: 58%; }
.med-promo-text small { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.med-promo-pink .med-promo-text small { color: #A3123A; }
.med-promo-blue .med-promo-text small { color: #1D5FD1; }
.med-promo-cream .med-promo-text small { color: #0B6E4F; }
html[data-theme="medical"] .med-promo-text h3 { font-size: 1.25rem !important; font-weight: 800 !important; line-height: 1.25; margin: 0 0 12px; color: #0F2B24 !important; }
.med-promo img {
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40%);
  mask-image: linear-gradient(to right, transparent 0%, #000 40%);
  transition: transform .4s ease;
}
.med-promo:hover img { transform: scale(1.06); }

/* Trust bar */
.med-trust-section { padding: 18px 0 28px; }
.med-trust-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E8EFEC;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--med-shadow);
}
.med-trust-item { display: flex; align-items: center; gap: 12px; }
.med-trust-item + .med-trust-item { border-left: 1px solid #EEF3F1; padding-left: 14px; }
.med-trust-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #E7F6EF; color: #0E8A62;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0;
}
.med-trust-item strong { display: block; font-size: 13.5px; color: #0F2B24; font-weight: 600; }
.med-trust-item small { display: block; font-size: 11.5px; color: #64748B; }

/* ---------- 10. Shared storefront components (inner pages) ---------- */
html[data-theme="medical"] .product-card,
html[data-theme="medical"] .fitness-product-card,
html[data-theme="medical"] .product-box {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 10px rgba(15, 43, 36, .04);
}
html[data-theme="medical"] .product-card:hover,
html[data-theme="medical"] .product-box:hover {
  border-color: #CDE5DA !important;
  box-shadow: var(--med-shadow-hover) !important;
}
html[data-theme="medical"] .product-image { background: #F7FAF9 !important; }
html[data-theme="medical"] .product-image img { object-fit: contain; }
html[data-theme="medical"] .sale-badge,
html[data-theme="medical"] .product-badge {
  background: #E53935 !important;
  font-family: 'Poppins', sans-serif !important;
  letter-spacing: 0;
  border-radius: 6px;
}
html[data-theme="medical"] .product-option,
html[data-theme="medical"] ul.product-option {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E3ECE8 !important;
  box-shadow: 0 8px 22px rgba(15, 43, 36, .12) !important;
}
html[data-theme="medical"] .product-option li a { background: #F1F7F4 !important; color: #0F2B24 !important; }
html[data-theme="medical"] .product-option li a i,
html[data-theme="medical"] .product-option li a svg { color: #0F2B24 !important; stroke: #0F2B24 !important; }
html[data-theme="medical"] .product-option li a:hover { background: #0E8A62 !important; }
html[data-theme="medical"] .product-option li a:hover i,
html[data-theme="medical"] .product-option li a:hover svg { color: #FFFFFF !important; stroke: #FFFFFF !important; }
html[data-theme="medical"] .product-detail .name,
html[data-theme="medical"] .product-title { font-family: 'Poppins', sans-serif !important; font-weight: 600 !important; color: #0F2B24 !important; }
html[data-theme="medical"] .product-price,
html[data-theme="medical"] .theme-color { color: #E53935 !important; font-family: 'Poppins', sans-serif !important; font-weight: 700 !important; }
html[data-theme="medical"] .btn-add-cart,
html[data-theme="medical"] .addcart-button {
  background: #FFFFFF !important;
  color: #0E8A62 !important;
  border: 1.5px solid #0E8A62 !important;
  border-radius: 10px !important;
  font-family: 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
}
html[data-theme="medical"] .btn-add-cart:hover,
html[data-theme="medical"] .addcart-button:hover { background: #0E8A62 !important; color: #FFFFFF !important; }

/* Product detail */
html[data-theme="medical"] .product-left-box,
html[data-theme="medical"] .right-box-contain,
html[data-theme="medical"] .product-section-box,
html[data-theme="medical"] .custom-tab,
html[data-theme="medical"] .tab-content {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  color: #0F2B24 !important;
  border-radius: 16px !important;
}
html[data-theme="medical"] #nav-tabContent.tab-content { border: 0 !important; padding: 0 !important; }
html[data-theme="medical"] .a_pro_name,
html[data-theme="medical"] .right-box-contain .name,
html[data-theme="medical"] .product-title h4,
html[data-theme="medical"] .product-title h5,
html[data-theme="medical"] .product-title h6 {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.6rem !important;
  letter-spacing: -0.01em !important;
}
html[data-theme="medical"] .product-contain p,
html[data-theme="medical"] .product-description p,
html[data-theme="medical"] .nav-desh p,
html[data-theme="medical"] .information-box p,
html[data-theme="medical"] .review-box p,
html[data-theme="medical"] .tab-pane p,
html[data-theme="medical"] .tab-pane div,
html[data-theme="medical"] .tab-pane span,
html[data-theme="medical"] .tab-pane li { color: #334155 !important; font-family: 'Poppins', sans-serif !important; }
html[data-theme="medical"] .nav-tabs .nav-link {
  background: #F1F7F4 !important;
  color: #475569 !important;
  font-family: 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 10px 10px 0 0 !important;
}
html[data-theme="medical"] .nav-tabs .nav-link.active { background: #0E8A62 !important; color: #FFFFFF !important; }
html[data-theme="medical"] .select-package li {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}
html[data-theme="medical"] .select-package li a,
html[data-theme="medical"] .select-size li a,
html[data-theme="medical"] .size-box ul li a,
html[data-theme="medical"] .select-package .pro_size,
html[data-theme="medical"] .select-package .attr-csize,
html[data-theme="medical"] .qv-size-btn {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F2B24 !important;
  border: 1.5px solid #DCE7E2 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 9px 18px !important;
  border-radius: 8px !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
html[data-theme="medical"] .select-package li a:hover,
html[data-theme="medical"] .select-package li:hover a,
html[data-theme="medical"] .select-package .pro_size:hover,
html[data-theme="medical"] .select-package .attr-csize:hover {
  border-color: #0E8A62 !important;
  color: #0E8A62 !important;
  background: #F1F7F4 !important;
  background-color: #F1F7F4 !important;
}
html[data-theme="medical"] .select-package li a.active,
html[data-theme="medical"] .select-package li.active a,
html[data-theme="medical"] .select-package .pro_size.active,
html[data-theme="medical"] .select-package .attr-csize.active {
  background: #0E8A62 !important;
  background-color: #0E8A62 !important;
  color: #FFFFFF !important;
  border-color: #0E8A62 !important;
  box-shadow: 0 4px 10px rgba(14, 138, 98, 0.25) !important;
  font-weight: 700 !important;
}
html[data-theme="medical"] .add_to_cart_btn,
html[data-theme="medical"] .cart-button,
html[data-theme="medical"] .btn.bg-dark.cart-button {
  font-family: 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 20px rgba(14, 138, 98, .2) !important;
}
html[data-theme="medical"] .cart-stepper .cart-plus-minus,
html[data-theme="medical"] .cart_qty.product-qty .input-group,
html[data-theme="medical"] .cart-plus-minus {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #CBEBDD !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
}
html[data-theme="medical"] .cart-stepper button.btn,
html[data-theme="medical"] .cart_qty.product-qty button,
html[data-theme="medical"] .cart-plus-minus button,
html[data-theme="medical"] .cart-plus-minus .btn-qty-step {
  background: #F1F7F4 !important;
  background-color: #F1F7F4 !important;
  color: #0E9F6E !important;
  border: none !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  cursor: pointer !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
html[data-theme="medical"] .cart-stepper button.btn:hover,
html[data-theme="medical"] .cart_qty.product-qty button:hover,
html[data-theme="medical"] .cart-plus-minus button:hover,
html[data-theme="medical"] .cart-plus-minus .btn-qty-step:hover {
  background: #E1F3EB !important;
  color: #0B7A55 !important;
}
html[data-theme="medical"] .cart-stepper .qty-input,
html[data-theme="medical"] .cart_qty.product-qty input,
html[data-theme="medical"] .cart-plus-minus input,
html[data-theme="medical"] .cart-plus-minus .qty-input,
html[data-theme="medical"] .cart-plus-minus input[readonly] {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F2B24 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-align: center !important;
  width: 50px !important;
  height: 100% !important;
}
html[data-theme="medical"] .qv-qty-title,
html[data-theme="medical"] .qv-qty-label {
  color: #0F2B24 !important;
}
html[data-theme="medical"] .buy-box a { color: #334155 !important; }
html[data-theme="medical"] .buy-box a svg { stroke: #334155 !important; }

/* Breadcrumb */
html[data-theme="medical"] .breadcrumb-section {
  background: linear-gradient(115deg, #F2FBF7, #E2F5EC) !important;
  background-color: #EEF7F3 !important;
  border-bottom: 1px solid #E3ECE8 !important;
}
html[data-theme="medical"] .breadcrumb-contain h2,
html[data-theme="medical"] .breadcrumb-item,
html[data-theme="medical"] .breadcrumb-item.active { color: #0F2B24 !important; font-family: 'Poppins', sans-serif !important; }
html[data-theme="medical"] .breadcrumb-item a { color: #0E8A62 !important; }

html[data-theme="medical"] .product-list-section .title h2,
html[data-theme="medical"] .filter-title h2,
html[data-theme="medical"] .filter-title h3 { color: #0F2B24 !important; font-family: 'Poppins', sans-serif !important; font-size: 1.35rem !important; letter-spacing: 0 !important; }
html[data-theme="medical"] .review { color: #64748B !important; }

/* Shop page / filters */
html[data-theme="medical"] .left-box,
html[data-theme="medical"] .shop-left-sidebar {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 16px !important;
}
html[data-theme="medical"] .shop-left-sidebar [style*="border-top"] { border-top-color: #E6EEEA !important; }
html[data-theme="medical"] .shop-left-sidebar h5 { color: #0F2B24 !important; }
html[data-theme="medical"] .shop-cat-list { display: block !important; }
html[data-theme="medical"] .shop-cat-list > li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  margin: 0 0 2px !important;
}
html[data-theme="medical"] .shop-cat-link {
  display: flex !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  color: #334155 !important;
  font-weight: 500 !important;
  transition: background .2s ease, color .2s ease;
}
html[data-theme="medical"] .shop-cat-link i { color: #94A3B8 !important; opacity: 1 !important; }
html[data-theme="medical"] .shop-cat-link:hover { background: #F1F7F4 !important; color: #0E8A62 !important; }
html[data-theme="medical"] .shop-cat-link.is-active { background: #E7F6EF !important; color: #0E8A62 !important; font-weight: 600 !important; }
html[data-theme="medical"] .shop-cat-link.is-active i,
html[data-theme="medical"] .shop-cat-link:hover i { color: #0E8A62 !important; }
html[data-theme="medical"] .shop-size-chip {
  background: #F7FAF9 !important;
  color: #334155 !important;
  border: 1px solid #DCE7E2 !important;
  border-radius: 8px !important;
  text-transform: none !important;
}
html[data-theme="medical"] .shop-size-chip:hover { border-color: #0E8A62 !important; color: #0E8A62 !important; }
html[data-theme="medical"] .shop-size-chip.is-active,
html[data-theme="medical"] .btn-check:checked + .shop-size-chip { background: #0E8A62 !important; color: #FFFFFF !important; border-color: #0E8A62 !important; }
html[data-theme="medical"] .btn.shop-sort-btn,
html[data-theme="medical"] .btn.shop-sort-btn span {
  background: #F7FAF9 !important;
  color: #0F2B24 !important;
  border: 1px solid #DCE7E2 !important;
  border-radius: 10px !important;
}
html[data-theme="medical"] .btn.shop-sort-btn:hover,
html[data-theme="medical"] .btn.shop-sort-btn.show,
html[data-theme="medical"] .btn.shop-sort-btn:hover span,
html[data-theme="medical"] .btn.shop-sort-btn.show span { background: #E7F6EF !important; color: #0E8A62 !important; border-color: #0E8A62 !important; }
html[data-theme="medical"] .btn.shop-sort-btn span { background: transparent !important; border: 0 !important; }
html[data-theme="medical"] .shop-sort-menu {
  background: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-shadow: 0 12px 30px rgba(15, 43, 36, .12) !important;
}
html[data-theme="medical"] .shop-sort-menu .dropdown-item {
  color: #334155 !important;
  background: transparent !important;
  border-radius: 8px !important;
  padding: 8px 12px !important;
}
html[data-theme="medical"] .shop-sort-menu .dropdown-item:hover,
html[data-theme="medical"] .shop-sort-menu .dropdown-item:focus,
html[data-theme="medical"] .shop-sort-menu .dropdown-item.active { background: #E7F6EF !important; color: #0E8A62 !important; }
html[data-theme="medical"] .shop-med-tagline { color: #0E8A62 !important; font-weight: 600; }
html[data-theme="medical"] .accordion.custom-accordion .accordion-item { background: #FFFFFF !important; border: 1px solid #E6EEEA !important; }
html[data-theme="medical"] .accordion.custom-accordion .accordion-button {
  background: #F7FAF9 !important;
  background-color: #F7FAF9 !important;
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
html[data-theme="medical"] .accordion.custom-accordion .accordion-button:not(.collapsed) { background: #E7F6EF !important; color: #0E8A62 !important; }
html[data-theme="medical"] .accordion.custom-accordion .accordion-button::after { filter: none !important; }
html[data-theme="medical"] .accordion.custom-accordion .accordion-body { background: #FFFFFF !important; background-color: #FFFFFF !important; color: #0F2B24 !important; }
html[data-theme="medical"] .category-list-box label,
html[data-theme="medical"] .category-list-box .name { color: #334155 !important; }
html[data-theme="medical"] .irs--flat .irs-line { background-color: #E3ECE8 !important; }
html[data-theme="medical"] .irs--flat .irs-from,
html[data-theme="medical"] .irs--flat .irs-to,
html[data-theme="medical"] .irs--flat .irs-single { background-color: #0E8A62 !important; color: #FFFFFF !important; border-color: #0E8A62 !important; }
html[data-theme="medical"] .irs--flat .irs-from:before,
html[data-theme="medical"] .irs--flat .irs-to:before,
html[data-theme="medical"] .irs--flat .irs-single:before { border-top-color: #0E8A62 !important; }
html[data-theme="medical"] .irs--flat .irs-min,
html[data-theme="medical"] .irs--flat .irs-max { color: #64748B !important; }

/* Range slider hidden raw input */
html[data-theme="medical"] .irs-hidden-input,
html[data-theme="medical"] input.js-range-slider.irs-hidden-input,
html[data-theme="medical"] .range-slider input.js-range-slider {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
}

/* Price range min/max input boxes */
html[data-theme="medical"] .price-range-inputs .price-input-box {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1.5px solid #DCE7E2 !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  display: flex !important;
  align-items: center !important;
  transition: all 0.2s ease !important;
}
html[data-theme="medical"] .price-range-inputs .price-input-box:focus-within {
  border-color: #0E9F6E !important;
  box-shadow: 0 0 0 2px rgba(14, 159, 110, 0.15) !important;
}
html[data-theme="medical"] .price-range-inputs .price-currency {
  color: #0E9F6E !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  margin-right: 4px !important;
}
html[data-theme="medical"] .price-range-inputs .form-control {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #0F2B24 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 2px 4px !important;
  width: 100% !important;
}
html[data-theme="medical"] .price-range-sep {
  color: #64748B !important;
}
html[data-theme="medical"] .show-button,
html[data-theme="medical"] .top-filter-menu { background: #FFFFFF !important; border: 1px solid #E6EEEA !important; border-radius: 14px !important; }
html[data-theme="medical"] .category-dropdown .text-content { color: #64748B !important; font-family: 'Poppins', sans-serif !important; }
html[data-theme="medical"] .category-dropdown .dropdown-toggle { background: #FFFFFF !important; color: #0F2B24 !important; border: 1px solid #DCE7E2 !important; font-family: 'Poppins', sans-serif !important; }
html[data-theme="medical"] .category-dropdown .dropdown-menu { background: #FFFFFF !important; border: 1px solid #E3ECE8 !important; box-shadow: 0 12px 30px rgba(15, 43, 36, .12) !important; }
html[data-theme="medical"] .category-dropdown .dropdown-item { color: #334155 !important; }
html[data-theme="medical"] .grid-option ul li a { background: #FFFFFF !important; border: 1px solid #DCE7E2 !important; }

/* Trust strip used on inner pages */
html[data-theme="medical"] .fitness-trust-section { background: #FFFFFF !important; background-color: #FFFFFF !important; }
html[data-theme="medical"] .fitness-trust-icon { background: #E7F6EF !important; border-color: #D3EDE1 !important; }
html[data-theme="medical"] .fitness-trust-title { font-family: 'Poppins', sans-serif !important; font-size: 1rem !important; letter-spacing: 0; }

/* Forms */
html[data-theme="medical"] input,
html[data-theme="medical"] select,
html[data-theme="medical"] textarea,
html[data-theme="medical"] .form-control,
html[data-theme="medical"] .form-select {
  background: #FFFFFF !important;
  color: #0F2B24 !important;
  border: 1px solid #DCE7E2 !important;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
}
html[data-theme="medical"] input[type="checkbox"],
html[data-theme="medical"] input[type="radio"] { accent-color: #0E8A62; }
html[data-theme="medical"] footer input,
html[data-theme="medical"] footer .form-control { background: #FFFFFF !important; color: #0F2B24 !important; border-color: transparent !important; }

/* Modals (quick view, compare) */
html[data-theme="medical"] .modal-content,
html[data-theme="medical"] .view-modal .modal-content,
html[data-theme="medical"] .theme-modal .modal-content {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F2B24 !important;
  border: 1px solid #E3ECE8 !important;
  border-radius: 18px !important;
  box-shadow: 0 30px 70px rgba(15, 43, 36, .22) !important;
}
html[data-theme="medical"] .modal-header,
html[data-theme="medical"] .view-modal .modal-header,
html[data-theme="medical"] .modal-body,
html[data-theme="medical"] .view-modal .modal-body {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F2B24 !important;
  border-color: #E3ECE8 !important;
}
html[data-theme="medical"] .modal-header .btn-close,
html[data-theme="medical"] .view-modal .btn-close,
html[data-theme="medical"] .btn-close.btn-close-white,
html[data-theme="medical"] .btn-close { filter: none !important; }
html[data-theme="medical"] .right-sidebar-modal h3,
html[data-theme="medical"] .right-sidebar-modal h4,
html[data-theme="medical"] .right-sidebar-modal .title-name { color: #0F2B24 !important; }
html[data-theme="medical"] .right-sidebar-modal .product-detail p,
html[data-theme="medical"] .right-sidebar-modal .text-content { color: #475569 !important; }
html[data-theme="medical"] .spinner-border.text-light { color: #0E8A62 !important; }

/* Header cart dropdown items */
html[data-theme="medical"] .onhover-div { background: #FFFFFF !important; border-color: #E3ECE8 !important; }
html[data-theme="medical"] .onhover-div h5,
html[data-theme="medical"] .onhover-div h6,
html[data-theme="medical"] .onhover-div a { color: #0F2B24 !important; }

/* Compare drawer */
html[data-theme="medical"] .compare-drawer-card { background: #FFFFFF; border-color: #E3ECE8; box-shadow: 0 16px 40px rgba(15, 43, 36, .16); }
html[data-theme="medical"] .compare-floating-thumb { background: #F7FAF9; border-color: #E3ECE8; }
html[data-theme="medical"] .compare-floating-slot-empty { border-color: #CFDCD6; color: #94A3B8; }

/* Auth card */
html[data-theme="medical"] .badman-auth-card {
  background: #FFFFFF !important;
  border: 1px solid #E3ECE8 !important;
  box-shadow: 0 24px 60px rgba(15, 43, 36, .10) !important;
}
html[data-theme="medical"] .badman-auth-card .log-in-title h2,
html[data-theme="medical"] .badman-auth-card .log-in-title h3,
html[data-theme="medical"] .badman-auth-card .form-label { color: #0F2B24 !important; }
html[data-theme="medical"] .badman-auth-card .form-control,
html[data-theme="medical"] .badman-auth-card .form-control:focus { color: #0F2B24 !important; background: #FFFFFF !important; }

/* Mobile drawer */
html[data-theme="medical"] .fitness-mobile-drawer,
html[data-theme="medical"] .fitness-mobile-drawer .offcanvas-body {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #0F2B24 !important;
  border-right: 1px solid #E3ECE8 !important;
  box-shadow: 10px 0 40px rgba(15, 43, 36, .15) !important;
}
html[data-theme="medical"] .fitness-mobile-drawer .offcanvas-header { background: #F1F7F4 !important; border-bottom: 1px solid #E3ECE8 !important; }
html[data-theme="medical"] .fitness-mobile-drawer .med-logo-text strong { font-size: 19px; }
html[data-theme="medical"] .fitness-mobile-drawer input { background: #F5F9F7 !important; color: #0F2B24 !important; border-color: #DCE7E2 !important; }
html[data-theme="medical"] .fitness-mobile-quick-grid { gap: 10px !important; margin-bottom: 16px !important; }
html[data-theme="medical"] .fitness-mobile-quick-btn {
  font-family: 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  border-radius: 12px !important;
  padding: 10px 12px !important;
  min-height: 46px !important;
  height: auto !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  gap: 8px !important;
}
html[data-theme="medical"] .fitness-mobile-quick-btn i { font-size: 14px !important; flex: 0 0 auto; }
html[data-theme="medical"] .fitness-mobile-quick-btn.home-btn { background: #F1F7F4 !important; color: #0F2B24 !important; border: 1px solid #E3ECE8 !important; }
html[data-theme="medical"] .fitness-mobile-quick-btn.home-btn i { color: #0E8A62 !important; }
html[data-theme="medical"] .fitness-mobile-quick-btn.drops-btn { background: #0E8A62 !important; color: #FFFFFF !important; border: 1px solid #0E8A62 !important; }
html[data-theme="medical"] .fitness-mobile-quick-btn.drops-btn i { color: #FFFFFF !important; }
html[data-theme="medical"] .fitness-mobile-quick-btn:hover { transform: none !important; box-shadow: 0 6px 16px rgba(14, 138, 98, .15) !important; }
html[data-theme="medical"] .fitness-mobile-nav-link {
  background: #FFFFFF !important;
  color: #1E293B !important;
  border: 1px solid #E8EFEC !important;
  font-family: 'Poppins', sans-serif !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
  border-radius: 12px !important;
}
html[data-theme="medical"] .fitness-mobile-nav-link:hover { background: #E7F6EF !important; color: #0E8A62 !important; border-color: #BFE3D2 !important; }
html[data-theme="medical"] .fitness-mobile-drawer [style*="border-top: 1px solid #1E2325"] { border-top-color: #E3ECE8 !important; }

/* Footer */
html[data-theme="medical"] .fitness-footer h5,
html[data-theme="medical"] .fitness-footer-title { font-family: 'Poppins', sans-serif !important; font-size: 1.05rem !important; letter-spacing: 0 !important; font-weight: 600 !important; }
html[data-theme="medical"] .med-footer-logo { display: inline-flex; }
html[data-theme="medical"] .med-footer-logo .med-logo-text strong { color: #FFFFFF; }
html[data-theme="medical"] .med-footer-logo .med-logo-text small { color: #9FC7BA; }
html[data-theme="medical"] .fitness-footer-bottom { border-top-color: #12483F !important; }
html[data-theme="medical"] .fitness-footer a[style*="color: var(--accent-primary)"] { color: #7FE0B5 !important; }
html[data-theme="medical"] .fitness-footer i[style*="color: var(--accent-primary)"] { color: #7FE0B5 !important; }

/* Theme switcher widget (light) */
html[data-theme="medical"] .badman-switcher-pill {
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid #DCE7E2 !important;
  box-shadow: 0 12px 30px rgba(15, 43, 36, .16) !important;
}
html[data-theme="medical"] .badman-pill-text { color: #0F2B24 !important; font-family: 'Poppins', sans-serif; }
html[data-theme="medical"] .badman-switcher-panel {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-color: #E3ECE8 !important;
  box-shadow: 0 24px 60px rgba(15, 43, 36, .18) !important;
}
html[data-theme="medical"] .badman-panel-title { font-family: 'Poppins', sans-serif !important; font-size: 1rem !important; letter-spacing: 0; }
html[data-theme="medical"] .badman-theme-option { background: #F7FAF9 !important; }
html[data-theme="medical"] .badman-theme-option:hover { background: #EEF6F2 !important; }
html[data-theme="medical"] .badman-theme-label { font-family: 'Poppins', sans-serif !important; }

/* Loader */
html[data-theme="medical"] .fullpage-loader { background-color: #F5F9F7 !important; }
html[data-theme="medical"] .fullpage-loader span { box-shadow: 0 0 10px rgba(14, 138, 98, .45) !important; }
html[data-theme="medical"] .fullpage-loader::after { border-color: rgba(14, 138, 98, .15); border-top-color: #0E8A62; border-bottom-color: #0E8A62; }

/* Mobile bottom nav */
.med-bottom-nav { display: none; }

/* ---------- 11. Responsive ---------- */
@media (max-width: 1399px) {
  .med-product-rail { grid-auto-columns: calc((100% - 4 * 16px) / 5); }
  .med-hero-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 1199px) {
  .med-header-main { gap: 16px; }
  .med-deliver { display: none; }
  .med-product-rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
  html[data-theme="medical"] .med-hero-title { font-size: 2.5rem !important; }
  .med-trust-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 16px; }
  .med-trust-item:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 991px) {
  .med-catnav { display: none; }
  .med-header-main { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 12px; }
  .med-logo { order: 2; }
  .med-menu-btn { order: 1; margin-left: -8px; }
  .med-header-actions { order: 3; gap: 6px; }
  .med-search { order: 4; flex-basis: 100%; max-width: none; height: 44px; }
  .med-deliver {
    display: flex;
    order: 5;
    flex-basis: 100%;
  }
  .med-header-actions .med-deliver { display: none; }
  .med-action-text { display: none !important; }
  .med-account > i { border: 0; width: 40px; height: 40px; font-size: 18px; }
  .med-hero-grid { grid-template-columns: 1fr; }
  .med-hero-side { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .med-product-rail { grid-auto-columns: calc((100% - 2 * 14px) / 3); gap: 14px; }
  .med-promo-grid { grid-template-columns: 1fr 1fr; }
  .med-promo-grid .med-promo:last-child { grid-column: span 2; }
  .med-rail-btn { display: none; }
}
@media (max-width: 767px) {
  .med-topbar { display: none; }
  .med-container { padding: 0 14px; }
  .med-logo-mark { width: 36px; height: 36px; font-size: 18px; border-radius: 10px; }
  .med-logo-text strong { font-size: 19px; }
  .med-logo-text small { font-size: 10px; }
  .med-wish-btn { display: none; }
  .med-hero-section { padding-top: 12px; }
  .med-hero-main, .med-hero-slide { min-height: 210px; }
  .med-hero-slide { grid-template-columns: 1.25fr 0.75fr; }
  .med-hero-slide-img a, .med-hero-slide-img img { min-height: 210px; }
  .med-hero-text { padding: 20px 6px 20px 18px; }
  .med-hero-kicker, .med-hero-desc, .med-hero-points, .med-deco-2 { display: none !important; }
  html[data-theme="medical"] .med-hero-title { font-size: 1.5rem !important; margin-bottom: 14px; }
  .med-hero-offer { left: auto; right: 6px; top: 10px; padding: 8px 10px; border-radius: 10px; animation: none; }
  .med-hero-offer small, .med-hero-offer span { display: none; }
  .med-hero-offer strong { font-size: 13px; }
  .med-hero-offer em { margin-top: 4px; font-size: 9.5px; padding: 3px 6px; }
  .med-btn-lg { padding: 11px 16px; font-size: 13px; }
  .med-hero-img { height: 112%; }
  .med-hero-side { display: none; }
  .med-cat-section { padding-top: 14px; }
  .med-cat-row {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 12px 8px;
    gap: 4px;
    border-radius: 16px;
  }
  .med-cat-row::-webkit-scrollbar { display: none; }
  .med-cat-item { flex: 0 0 76px; }
  .med-cat-icon { width: 52px; height: 52px; font-size: 20px; }
  .med-cat-name { font-size: 11px; }
  .med-rx-strip-section { display: block; }
  html[data-theme="medical"] .med-section-head h2 { font-size: 1.15rem !important; }
  .med-product-rail { grid-auto-columns: 44%; gap: 10px; }
  .med-product-card { padding: 10px; border-radius: 14px; }
  .med-product-img { height: 110px; }
  .med-product-img img { max-height: 92px; }
  .med-product-name { font-size: 13px; }
  .med-add-cart { font-size: 12px; padding: 7px 8px; }
  .med-promo-grid {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .med-promo-grid::-webkit-scrollbar { display: none; }
  .med-promo-grid .med-promo:last-child { grid-column: auto; }
  .med-promo { scroll-snap-align: start; min-height: 130px; }
  .med-trust-bar {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 18px;
    padding: 14px;
  }
  .med-trust-bar::-webkit-scrollbar { display: none; }
  .med-trust-item { flex: 0 0 auto; }
  .med-trust-item + .med-trust-item { border-left: 0; padding-left: 0; }

  /* bottom nav */
  html[data-theme="medical"] body { padding-bottom: 72px !important; }
  html[data-theme="medical"] .med-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #FFFFFF;
    border-top: 1px solid #E3ECE8;
    box-shadow: 0 -6px 20px rgba(15, 43, 36, .08);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    font-family: 'Poppins', sans-serif;
  }
  .med-bottom-nav a {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    color: #64748B !important;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none !important;
  }
  .med-bottom-nav a i { font-size: 18px; }
  .med-bottom-nav a.active { color: #0E8A62 !important; }
  .med-bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: -6px;
    width: 26px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: #0E8A62;
  }
  .med-bottom-nav .med-badge { top: 0; right: calc(50% - 22px); }
  html[data-theme="medical"] .badman-theme-widget { bottom: 84px !important; }
  html[data-theme="medical"] .badman-compare-drawer { bottom: 84px; }
}
@media (max-width: 400px) {
  html[data-theme="medical"] .med-hero-title { font-size: 1.3rem !important; }
  .med-product-rail { grid-auto-columns: 47%; }
}
@media (prefers-reduced-motion: reduce) {
  .med-hero-offer { animation: none; }
  .med-product-card, .med-side-card, .med-promo, .med-cat-icon { transition: none; }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLING FOR MEDICAL THEME
   ========================================================================== */
html[data-theme="medical"] .breadcrumb-section {
  background: #F8FAFC !important;
  border-bottom: 1px solid #E3ECE8 !important;
  padding: 16px 0 !important;
}
html[data-theme="medical"] .breadcrumb-contain h2 {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}
html[data-theme="medical"] .breadcrumb-item,
html[data-theme="medical"] .breadcrumb-item.active {
  color: #64748B !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
}
html[data-theme="medical"] .breadcrumb-item a {
  color: #0E8A62 !important;
  text-decoration: none !important;
}
html[data-theme="medical"] .breadcrumb-item a:hover {
  color: #0B7A55 !important;
}

/* Left Image Box & Slider */
html[data-theme="medical"] .product-left-box {
  background: #FFFFFF !important;
  border: 1px solid #E3ECE8 !important;
  border-radius: 14px !important;
  padding: 16px !important;
  box-shadow: 0 4px 16px rgba(15, 43, 36, 0.04) !important;
}
html[data-theme="medical"] .slider-image {
  background: #F1F7F4 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 380px !important;
}
html[data-theme="medical"] .slider-image img {
  max-height: 420px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
}
html[data-theme="medical"] .sidebar-image {
  background: #FFFFFF !important;
  border: 1.5px solid #E3ECE8 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  padding: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
html[data-theme="medical"] .sidebar-image:hover,
html[data-theme="medical"] .slick-current .sidebar-image {
  border-color: #0E8A62 !important;
  box-shadow: 0 0 0 2px rgba(14, 138, 98, 0.2) !important;
}

/* Detail Info Column */
html[data-theme="medical"] .right-box-contain h2,
html[data-theme="medical"] .right-box-contain h2.name,
html[data-theme="medical"] .right-box-contain .a_pro_name {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: capitalize !important;
  letter-spacing: normal !important;
  margin-top: 6px !important;
  margin-bottom: 10px !important;
}
html[data-theme="medical"] .offer-top,
html[data-theme="medical"] .pro_discount {
  background: #FEE2E2 !important;
  color: #E53935 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  display: inline-block !important;
  margin-bottom: 8px !important;
  text-transform: uppercase !important;
}

/* Price & Offer */
html[data-theme="medical"] .price-rating {
  border-bottom: 1px solid #E3ECE8 !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
}
html[data-theme="medical"] .price-rating h3,
html[data-theme="medical"] .pro_saleprice,
html[data-theme="medical"] .right-box-contain .price-rating h3.theme-color {
  color: #0E8A62 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: normal !important;
  margin-bottom: 8px !important;
}
html[data-theme="medical"] .price-rating del,
html[data-theme="medical"] .pro_mrp {
  color: #94A3B8 !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  margin-left: 8px !important;
}
html[data-theme="medical"] .price-rating .offer,
html[data-theme="medical"] .price-rating span.offer {
  color: #E53935 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-left: 8px !important;
  text-transform: uppercase !important;
}
html[data-theme="medical"] .product-rating .rating li i.fill,
html[data-theme="medical"] .product-rating .rating li svg.fill {
  color: #F59E0B !important;
  fill: #F59E0B !important;
  stroke: #F59E0B !important;
}

/* Action Buttons */
html[data-theme="medical"] .add_to_cart_btn,
html[data-theme="medical"] .btn-theme-primary {
  background: #0E8A62 !important;
  background-color: #0E8A62 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(14, 138, 98, 0.25) !important;
}
html[data-theme="medical"] .add_to_cart_btn:hover,
html[data-theme="medical"] .btn-theme-primary:hover {
  background: #0B7A55 !important;
  background-color: #0B7A55 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}
html[data-theme="medical"] .btn-buy-now,
html[data-theme="medical"] .btn-theme-secondary {
  background: #0284C7 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}
html[data-theme="medical"] .btn-buy-now:hover,
html[data-theme="medical"] .btn-theme-secondary:hover {
  background: #0369A1 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
}

/* Specifications Card */
html[data-theme="medical"] .product-specs-card,
html[data-theme="medical"] .product-info {
  background: #F1F7F4 !important;
  border: 1px solid #E3ECE8 !important;
  border-radius: 10px !important;
}
html[data-theme="medical"] .product-specs-title {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
html[data-theme="medical"] .product-specs-title i {
  color: #0E8A62 !important;
}
html[data-theme="medical"] .spec-item {
  border-color: #E3ECE8 !important;
}
html[data-theme="medical"] .spec-label {
  color: #64748B !important;
}
html[data-theme="medical"] .spec-value {
  color: #0F2B24 !important;
  font-weight: 600 !important;
}

/* Related Section in Medical Theme */
html[data-theme="medical"] .theme-related-section,
html[data-theme="medical"] .badman-related-section,
html[data-theme="medical"] .product-list-section {
  background: #F8FAFC !important;
  background-color: #F8FAFC !important;
  border-top: 1px solid #E3ECE8 !important;
  padding: 30px 0 !important;
}
html[data-theme="medical"] .theme-related-label,
html[data-theme="medical"] .badman-section-label {
  color: #0E8A62 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}
html[data-theme="medical"] .theme-related-heading {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
html[data-theme="medical"] .btn-theme-outline,
html[data-theme="medical"] .btn-fitness-outline {
  border: 1.5px solid #0E8A62 !important;
  color: #0E8A62 !important;
  background: transparent !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
html[data-theme="medical"] .btn-theme-outline:hover,
html[data-theme="medical"] .btn-fitness-outline:hover {
  background: #0E8A62 !important;
  color: #FFFFFF !important;
}
html[data-theme="medical"] .theme-rel-card,
html[data-theme="medical"] .product-card {
  background: #FFFFFF !important;
  border: 1px solid #E3ECE8 !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(15, 43, 36, 0.04) !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
}
html[data-theme="medical"] .theme-rel-card:hover,
html[data-theme="medical"] .product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 20px rgba(15, 43, 36, 0.1) !important;
  border-color: #0E8A62 !important;
}
html[data-theme="medical"] .theme-rel-thumb {
  background: #F1F7F4 !important;
}
html[data-theme="medical"] .theme-rel-badge,
html[data-theme="medical"] .badman-sale-badge {
  background: #E53935 !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
}
html[data-theme="medical"] .theme-rel-content {
  background: #FFFFFF !important;
}
html[data-theme="medical"] .theme-rel-title,
html[data-theme="medical"] .product-card-title {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: capitalize !important;
}
html[data-theme="medical"] .theme-rel-price .current {
  color: #0E8A62 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}
html[data-theme="medical"] .theme-rel-price del {
  color: #94A3B8 !important;
  font-size: 13px !important;
}
html[data-theme="medical"] .theme-rel-size-badge {
  background: #F1F7F4 !important;
  color: #0E8A62 !important;
  border: 1px solid rgba(14, 138, 98, 0.2) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
}
html[data-theme="medical"] .theme-rel-cart-btn {
  background: #0E8A62 !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  border: none !important;
}
html[data-theme="medical"] .theme-rel-cart-btn:hover {
  background: #0B7A55 !important;
  color: #FFFFFF !important;
}
html[data-theme="medical"] .theme-quickview-btn,
html[data-theme="medical"] .theme-wishlist-btn {
  background: #FFFFFF !important;
  color: #0F2B24 !important;
  border: 1px solid #E3ECE8 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
html[data-theme="medical"] .theme-quickview-btn:hover,
html[data-theme="medical"] .theme-wishlist-btn:hover {
  background: #0E8A62 !important;
  color: #FFFFFF !important;
}

/* ==========================================================================
   MEDCARE INNER PAGES: SHOP PRODUCT CARDS, CART & WISHLIST
   ========================================================================== */

/* 1. Shop Product Cards */
html[data-theme="medical"] .product-card,
html[data-theme="medical"] .shop-product-card {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
}
html[data-theme="medical"] .product-card:hover,
html[data-theme="medical"] .shop-product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(14, 138, 98, 0.12) !important;
  border-color: #0E8A62 !important;
}
html[data-theme="medical"] .product-card-thumb,
html[data-theme="medical"] .shop-product-thumb {
  background: #F7FAF9 !important;
  background-color: #F7FAF9 !important;
}
html[data-theme="medical"] .badman-sale-badge,
html[data-theme="medical"] .shop-sale-badge {
  background: #E53935 !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
}
html[data-theme="medical"] .product-option a,
html[data-theme="medical"] .shop-action-btn {
  background: #FFFFFF !important;
  color: #374151 !important;
  border: 1px solid #E6EEEA !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}
html[data-theme="medical"] .product-option a:hover,
html[data-theme="medical"] .shop-action-btn:hover {
  background: #0E8A62 !important;
  color: #FFFFFF !important;
  border-color: #0E8A62 !important;
}
html[data-theme="medical"] .product-card-content,
html[data-theme="medical"] .shop-card-content {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
}
html[data-theme="medical"] .product-card-title,
html[data-theme="medical"] .shop-product-title {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  letter-spacing: normal !important;
  line-height: 1.35 !important;
}
html[data-theme="medical"] .product-card-price .current,
html[data-theme="medical"] .shop-price-current {
  color: #0E8A62 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}
html[data-theme="medical"] .product-card-price del,
html[data-theme="medical"] .shop-price-mrp {
  color: #9CA3AF !important;
  font-size: 0.88rem !important;
}
html[data-theme="medical"] .product-card .badge,
html[data-theme="medical"] .shop-size-badge {
  background: #E7F6EF !important;
  color: #0E8A62 !important;
  border: 1px solid rgba(14, 138, 98, 0.2) !important;
  font-family: 'Poppins', sans-serif !important;
}
html[data-theme="medical"] .btn-fitness-primary,
html[data-theme="medical"] .shop-add-cart-btn {
  background: #0E8A62 !important;
  background-color: #0E8A62 !important;
  color: #FFFFFF !important;
  border: 1px solid #0E8A62 !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  transition: all 0.2s ease !important;
}
html[data-theme="medical"] .btn-fitness-primary:hover,
html[data-theme="medical"] .shop-add-cart-btn:hover {
  background: #0B7352 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px rgba(14, 138, 98, 0.25) !important;
}

/* 2. Cart Page */
html[data-theme="medical"] .cart-section {
  background-color: #F5F9F7 !important;
  color: #374151 !important;
}
html[data-theme="medical"] .modern-cart-header {
  background: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 12px !important;
}
html[data-theme="medical"] .modern-cart-header h5 {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
}
html[data-theme="medical"] .cart-title-icon {
  color: #0E8A62 !important;
}
html[data-theme="medical"] .modern-cart-card {
  background: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(15, 43, 36, 0.04) !important;
}
html[data-theme="medical"] .modern-cart-table {
  color: #374151 !important;
}
html[data-theme="medical"] .modern-cart-table thead tr {
  background: #F7FAF9 !important;
}
html[data-theme="medical"] .modern-cart-table th {
  background: #F7FAF9 !important;
  color: #6B7280 !important;
  border-bottom: 1px solid #E6EEEA !important;
  font-family: 'Poppins', sans-serif !important;
}
html[data-theme="medical"] .modern-cart-table td {
  border-bottom: 1px solid #E6EEEA !important;
  color: #0F2B24 !important;
}
html[data-theme="medical"] .modern-cart-name {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}
html[data-theme="medical"] .modern-cart-name:hover {
  color: #0E8A62 !important;
}
html[data-theme="medical"] .modern-cart-thumb {
  background: #F7FAF9 !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 10px !important;
}
html[data-theme="medical"] .modern-price-wrap .fw-bold {
  color: #0E8A62 !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 1.1rem !important;
}
html[data-theme="medical"] .cart-stepper .cart-plus-minus {
  background: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 8px !important;
}
html[data-theme="medical"] .cart-stepper button.btn {
  color: #0F2B24 !important;
}
html[data-theme="medical"] .cart-stepper button.btn:hover {
  background: #E7F6EF !important;
  color: #0E8A62 !important;
}
html[data-theme="medical"] .cart-stepper .qty-input {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
}
html[data-theme="medical"] .modern-summary-box {
  background: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 16px rgba(15, 43, 36, 0.04) !important;
}
html[data-theme="medical"] .modern-summary-header {
  border-bottom: 1px solid #E6EEEA !important;
}
html[data-theme="medical"] .modern-summary-header h5 {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
}
html[data-theme="medical"] .modern-coupon-wrap {
  background: #FFFFFF !important;
  border: 1px solid #E6EEEA !important;
  border-radius: 8px !important;
}
html[data-theme="medical"] .modern-coupon-wrap input {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
}
html[data-theme="medical"] .modern-coupon-wrap button {
  background: #0E8A62 !important;
  color: #FFFFFF !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
}
html[data-theme="medical"] .modern-grand-total {
  border-top: 2px dashed #E6EEEA !important;
}
html[data-theme="medical"] .modern-grand-total h4 {
  color: #0F2B24 !important;
  font-family: 'Poppins', sans-serif !important;
}
html[data-theme="medical"] .modern-grand-total .total-amount,
html[data-theme="medical"] h3.lbl-order-total {
  color: #0E8A62 !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 800 !important;
}
html[data-theme="medical"] .btn-checkout,
html[data-theme="medical"] .cart-checkout-btn {
  background: #0E8A62 !important;
  color: #FFFFFF !important;
  border-radius: 8px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
}
html[data-theme="medical"] .btn-checkout:hover,
html[data-theme="medical"] .cart-checkout-btn:hover {
  background: #0B7352 !important;
  color: #FFFFFF !important;
}

/* Compare Floating Drawer & Instant Modal for Medical */
html[data-theme="medical"] .badman-compare-drawer .compare-drawer-card {
  background: #FFFFFF !important;
  border: 1px solid var(--med-line) !important;
  box-shadow: 0 16px 40px rgba(15, 43, 36, 0.12), 0 0 0 1px rgba(14, 138, 98, 0.2) !important;
}
html[data-theme="medical"] .badman-compare-drawer .compare-badge-icon {
  background: var(--med-green-soft) !important;
  color: var(--med-green) !important;
}
html[data-theme="medical"] .badman-compare-drawer h6 {
  color: var(--med-ink) !important;
}
html[data-theme="medical"] .badman-compare-drawer .compare-counter-num {
  color: var(--med-green) !important;
}
html[data-theme="medical"] .badman-compare-drawer .compare-floating-thumb {
  background: #F8FAF9 !important;
  border-color: var(--med-line) !important;
}
html[data-theme="medical"] .badman-compare-drawer .compare-floating-slot-empty {
  border-color: #CBD5E1 !important;
  color: #94A3B8 !important;
}
html[data-theme="medical"] #badman-instant-compare-modal .modal-content {
  background: #FFFFFF !important;
  border: 1px solid var(--med-line) !important;
  box-shadow: 0 20px 60px rgba(15, 43, 36, 0.15) !important;
}
html[data-theme="medical"] #badman-instant-compare-modal .modal-header {
  background: #F8FAF9 !important;
  border-bottom: 1px solid var(--med-line) !important;
}
html[data-theme="medical"] #badman-instant-compare-modal .modal-title {
  color: var(--med-ink) !important;
}
html[data-theme="medical"] #badman-instant-compare-modal .btn-close {
  filter: none !important;
}
html[data-theme="medical"] .newsletter-form input {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(14, 138, 98, 0.35) !important;
  color: #FFFFFF !important;
}
html[data-theme="medical"] .newsletter-form .btn-fitness-primary {
  background: var(--med-green) !important;
  border-color: var(--med-green) !important;
  color: #FFFFFF !important;
}



