﻿/* Medibazar site overrides */
.logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mb-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mb-currency {
  font-weight: 600;
  color: #222;
  padding-right: 8px;
}
.product-02-img img,
.product-03-wrapper .product-02-img img {
  max-height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.product-action form.mb-cart-form,
.product-action form.d-inline {
  display: inline-block;
  margin: 0;
}
.product-action .action-btn {
  background: #fff;
}
.page-banner {
  background: #f4f6f8;
  padding: 50px 0;
  margin-bottom: 40px;
}
.page-banner h1 {
  margin: 0 0 8px;
  font-size: 36px;
}
.page-banner p {
  margin: 0;
  color: #666;
}
.mb-prose {
  max-width: 820px;
}
.mb-prose h2 {
  margin-top: 1.5rem;
}
.mb-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.mb-shop-sidebar {
  background: #f7f8fa;
  padding: 25px 20px;
  border-radius: 4px;
}
.mb-shop-sidebar h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
.mb-shop-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.mb-shop-sidebar li a {
  display: block;
  padding: 8px 0;
  color: #333;
  border-bottom: 1px solid #e8eaed;
}
.mb-shop-sidebar li a.is-active,
.mb-shop-sidebar li a:hover {
  color: #e52e06;
}
.mb-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mb-product-gallery img.main {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #f7f8fa;
  padding: 20px;
}
.mb-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.mb-thumbs button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 4px;
  cursor: pointer;
}
.mb-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.mb-price {
  font-size: 28px;
  font-weight: 700;
  color: #e52e06;
  margin: 12px 0;
}
.mb-stock.in { color: #1a7f37; font-weight: 600; }
.mb-stock.out { color: #c0392b; font-weight: 600; }
.mb-feature-list {
  margin: 16px 0;
  padding-left: 18px;
}
.add-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}
.qty-wrap {
  display: inline-flex;
  border: 1px solid #ddd;
}
.qty-wrap button {
  border: 0;
  background: #f5f5f5;
  width: 36px;
  height: 40px;
  cursor: pointer;
}
.qty-wrap input {
  width: 52px;
  border: 0;
  text-align: center;
  height: 40px;
}
.c-btn, .mb-btn {
  display: inline-block;
  background: #e52e06;
  color: #fff !important;
  padding: 12px 28px;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 13px;
}
.c-btn:hover, .mb-btn:hover { opacity: 0.9; color: #fff; }
.mb-cart-table .cart-row {
  display: grid;
  grid-template-columns: 80px 1fr 140px 100px 80px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.mb-cart-table img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #f7f8fa;
}
.checkout-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.25rem;
  margin-top: 2rem;
}
.checkout-panel {
  background: #fff;
  border: 1px solid #e6eef2;
  border-radius: 8px;
  padding: 1.25rem;
}
.checkout-form label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
}
.checkout-form input,
.checkout-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ddd;
}
.bank-details-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.bank-details-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #eef3f5;
}
.bank-details-list li span { color: #6b7c86; font-weight: 600; }
.checkout-success-box {
  background: #f0fff6;
  border: 1px solid #b7e6c9;
  border-radius: 8px;
  padding: 1.5rem;
}
.field-error { color: #c0392b; font-weight: 600; }
.payment-method-box {
  background: #fff5f2;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0 1rem;
}
.contact-form label {
  display: block;
  margin-bottom: 14px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid #ddd;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.banner-content h2,
.banner-text h2,
.deal-content h2 {
  text-transform: none;
}
.deal-img img {
  max-height: 320px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: rgba(255,255,255,.85);
  padding: 20px;
  border-radius: 8px;
}
.mb-hero {
  background: linear-gradient(135deg, #f4f7fb 0%, #e9eef6 50%, #dfe8f3 100%);
  padding: 70px 0 60px;
  margin-bottom: 10px;
}
.mb-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.mb-hero-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e52e06;
  margin: 0 0 12px;
}
.mb-hero-copy h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: #1a1a1a;
  text-transform: none;
}
.mb-hero-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  max-width: 520px;
  margin: 0 0 28px;
}
.mb-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.mb-hero-link {
  color: #222;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mb-hero-visual {
  text-align: center;
}
.mb-hero-visual img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(20, 40, 70, 0.12));
}
.mb-hero-meta {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mb-hero-meta span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
}
.mb-hero-meta strong {
  font-size: 16px;
  color: #222;
}
.mb-hero-meta em {
  font-style: normal;
  font-weight: 700;
  color: #e52e06;
  font-size: 18px;
}
.mb-banner-price {
  color: #e52e06;
  font-weight: 700;
  margin: 6px 0 10px;
}
@media (max-width: 991px) {
  .mb-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mb-hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .mb-hero-actions {
    justify-content: center;
  }
}
.mb-deal-desc {
  color: #555;
  margin: 10px 0 16px;
  max-width: 420px;
}
.mb-side-tall {
  background: #f4f7fb;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}
.mb-side-tall img {
  max-height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.mb-tall-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  text-align: center;
}
.mb-tall-caption span { color: #888; font-size: 12px; text-transform: uppercase; }
.mb-tall-caption strong { color: #222; font-size: 15px; }
.mb-tall-caption em { color: #e52e06; font-style: normal; font-weight: 700; }
.mb-product-thumb a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: #333;
}
.mb-product-thumb img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #f7f8fa;
  padding: 8px;
  border-radius: 8px;
}
.mb-product-thumb span {
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
}
.banner-content h2,
.banner-text h2 {
  font-size: 26px !important;
  line-height: 1.25 !important;
}
.banner-03-text h2 {
  font-size: 20px !important;
}
.banner-1-text h2 {
  font-size: 22px !important;
}
@media (max-width: 991px) {
  .mb-shop-layout,
  .mb-product-layout,
  .checkout-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .mb-cart-table .cart-row {
    grid-template-columns: 70px 1fr;
  }
}

/* ---- Janoshik Lab Results (mb-lab stack) ---- */
.mb-lab {
  padding: 40px 0 10px;
  background: #faf8f7;
}
.mb-lab__wrap {
  max-width: 720px;
  margin: 0 auto;
}
.mb-lab__head {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}
.mb-lab__stamp {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  border: 2px solid #e52e06;
  color: #e52e06;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  transform: rotate(-6deg);
}
.mb-lab__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #222;
}
.mb-lab__sub {
  margin: 0 auto;
  max-width: 28rem;
  color: #777;
  font-size: 0.92rem;
}
.mb-lab__stack {
  display: grid;
  gap: 0.75rem;
}
.mb-lab__cert {
  --mb-lab-z: 1;
  display: grid;
  grid-template-columns: 6px auto 1fr 64px;
  gap: 0 1rem;
  align-items: center;
  padding: 1rem 1.1rem 1rem 0;
  background: #fff;
  border: 1px solid #ebe4e1;
  border-radius: 2px;
  box-shadow: 0 10px 0 rgba(229, 46, 6, 0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mb-lab__cert:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(229, 46, 6, 0.1);
  color: inherit;
  text-decoration: none;
}
.mb-lab__bar {
  align-self: stretch;
  width: 6px;
  background: #e52e06;
  border-radius: 0 2px 2px 0;
}
.mb-lab__num {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e52e06;
  line-height: 1;
}
.mb-lab__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}
.mb-lab__lab {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999;
}
.mb-lab__thumb {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5f2;
}
.mb-lab__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@media (max-width: 575px) {
  .mb-lab__cert {
    grid-template-columns: 6px 1fr;
    grid-template-rows: auto auto auto;
  }
  .mb-lab__num { padding-left: 0.75rem; }
  .mb-lab__body { padding-left: 0.75rem; grid-column: 2; }
  .mb-lab__thumb { display: none; }
}
