:root {
  --ink: #17202a;
  --muted: #65758b;
  --line: #d9e1ea;
  --panel: #ffffff;
  --soft: #f3f6f9;
  --deep: #122437;
  --nav: #1f3146;
  --accent: #f4a51c;
  --accent-dark: #d88307;
  --teal: #0f8b8d;
  --success: #16835d;
  --danger: #c24132;
  --shadow: 0 8px 22px rgba(18, 36, 55, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #e9eef4;
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: relative;
  z-index: 20;
  background: var(--deep);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}
.topbar {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 10px 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0f8b8d, #f4a51c);
  color: #fff;
  letter-spacing: 0;
}
.search {
  display: flex !important;
  align-items: center;
  min-width: 0;
  border-radius: 25px;
  overflow: visible !important;
}
.search select, .search input, .search button {
  border: 0;
  min-height: 42px;
}
.search select {
  background: #eef2f6;
  color: var(--ink);
  padding: 0 8px;
  border-right: 1px solid #c6d0db;
}
.search input { padding: 0 14px; min-width: 0; }
.search button {
  background: var(--accent);
  color: #1c2530;
  font-weight: 700;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions a {
  min-height: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
}
.header-actions a:hover { border-color: rgba(255,255,255,0.5); }
.header-actions small { color: #d9e2ec; font-size: 11px; }
.header-actions strong { font-size: 14px; }
.cart-link {
  position: relative;
  flex-direction: row !important;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}
#cartCount {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  background: var(--accent);
  color: #1c2530;
}
.nav-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-x: hidden;
    padding: 0 18px 8px;
    background: var(--nav);
  }
.nav-strip a {
  padding: 8px 12px;
  border-radius: 4px;
  white-space: nowrap;
  color: #f2f6fa;
  font-size: 14px;
}
.nav-strip a:hover { background: rgba(255,255,255,0.12); }

.app-shell { max-width: 1440px; margin: 0 auto; padding: 18px; }
.hero {
  min-height: 330px;
  display: grid;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(7, 26, 43, 0.86), rgba(7, 26, 43, 0.38), rgba(7, 26, 43, 0.04)), url("assets/oasis-hero.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 42px;
}
.hero-content { max-width: 580px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 4px;
  background: rgba(244,165,28,0.95);
  color: #1f2933;
  font-weight: 800;
  font-size: 13px;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}
.hero p { margin: 0 0 22px; color: #eef5f8; font-size: 18px; line-height: 1.45; }
.section {
  margin-top: 18px;
  background: var(--panel);
  padding: 18px;
  box-shadow: var(--shadow);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.section h2 { margin: 0; font-size: 24px; }
.section-link { color: #0b7285; font-weight: 700; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.product-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.product-card:hover { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); transform: translateY(-2px); transition: 0.2s; }
.product-image-wrap {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.8;
  background: transparent;
  padding: 8px;
}
.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.product-info { padding: 8px; display: grid; gap: 2px; }
.product-title {
  min-height: auto;
  font-weight: 700;
  line-height: 1.3;
  font-size: 14px;
}
.rating { color: #e39000; font-size: 14px; }
.rating span { color: var(--muted); }
.price-line { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.offer-price { font-size: 16px; font-weight: 800; }
.mrp { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn {
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  padding: 8px 12px;
  font-weight: 800;
}
.btn.primary { background: var(--accent); color: #1f2933; }
.btn.secondary { background: #ffe7a8; color: #1f2933; }
.btn.dark { background: var(--deep); color: #fff; }
.btn.ghost { background: #eef3f7; color: var(--ink); border: 1px solid var(--line); }
.btn.danger { background: #ffe0dc; color: var(--danger); }
.product-card .card-actions {
  gap: 4px;
}
.product-card .card-actions .btn {
  min-height: 24px;
  padding: 4px 6px;
  font-size: 11px;
  line-height: 1.1;
  border-radius: 4px;
}
.promo {
  margin-top: 18px;
  min-height: 210px;
  background-image: linear-gradient(90deg, rgba(18,36,55,0.88), rgba(18,36,55,0.2)), url("assets/oasis-promo.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 34px;
  display: grid;
  align-items: center;
}
.promo h2 { margin: 0 0 8px; font-size: 32px; }
.promo p { margin: 0; max-width: 520px; color: #eef5f8; }

.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
}
.filters, .side-panel {
  background: #fff;
  padding: 16px;
  box-shadow: var(--shadow);
  align-self: start;
}
.filters label, .form label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  color: #3b4a5c;
  font-weight: 700;
}
.filters input, .filters select, .form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
}
.detail {
  display: grid;
  grid-template-columns: minmax(280px, 46%) 1fr;
  gap: 22px;
  background: #fff;
  padding: 22px;
  box-shadow: var(--shadow);
}
.detail-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.detail-thumbs {
  order: 2;
  display: grid;
  grid-template-columns: repeat(7, 64px);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.thumb-button {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 4px;
}
.thumb-button.active { border: 2px solid #0b72c9; }
.thumb-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-image-area { order: 1; min-width: 0; }
.full-view-link {
  display: block;
  margin: 12px auto 0;
  border: 0;
  background: transparent;
  color: #0b72c9;
  font-weight: 700;
}
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 26px;
  background: rgba(11, 18, 28, 0.85);
  box-sizing: border-box;
  overflow: auto;
}
.image-modal img {
  max-width: min(92vw, 1100px) !important;
  max-height: 85vh !important;
  object-fit: contain !important;
  background: #fff !important;
  border-radius: 7px !important;
  padding: 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  margin: auto !important;
}
.image-modal-close {
  position: fixed !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 1000000 !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: var(--ink);
  padding: 10px 14px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}
.detail-image {
  display: grid;
  place-items: center;
  min-height: 420px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.detail-image img { width: 100%; max-height: 440px; object-fit: contain; padding: 22px; }
.detail h1 { margin: 0 0 10px; font-size: 30px; }
.detail-copy { color: #425466; line-height: 1.6; }
.benefits { padding-left: 20px; line-height: 1.7; }
.buy-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
}
.cart-item {
  display: grid;
  grid-template-columns: 118px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.cart-item:first-child { border-top: 0; }
.cart-item img {
  width: 118px;
  height: 100px;
  object-fit: contain;
  background: #f6f8fb;
  border: 1px solid var(--line);
}
.qty-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qty-row input { width: 72px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; }
.summary-card, .panel {
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}
.summary-total { font-size: 22px; font-weight: 900; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.empty {
  background: #fff;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  box-shadow: var(--shadow);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 14px;
}
.form .wide { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.notice {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 5px;
  background: #e9f7ef;
  color: #146c43;
  font-weight: 700;
}
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 9px 12px;
  font-weight: 800;
}
.tab.active { background: var(--deep); color: #fff; border-color: var(--deep); }
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric {
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
}
.metric span { color: var(--muted); font-weight: 700; }
.metric strong { display: block; margin-top: 8px; font-size: 28px; }
.table-wrap { overflow-x: auto; background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #f4f7fa; font-size: 13px; color: #435166; }
.status-pill {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 99px;
  background: #eef4ff;
  color: #214b8f;
  font-weight: 800;
  font-size: 12px;
}
.footer {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px 18px;
  color: #526273;
}

@media (max-width: 1000px) {
  .topbar { grid-template-columns: 1fr; }
  .header-actions { justify-content: space-between; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout, .layout, .detail { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body {
    background: #ffffff;
  }
  .detail-thumbs { grid-template-columns: repeat(7, 54px); }
  .thumb-button { width: 54px; height: 54px; }
  .app-shell { padding: 10px; }
  .search { }
  .header-actions a { padding: 5px 6px; }
  .header-actions small { display: none; }
  .hero { min-height: 300px; padding: 24px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .section { padding: 12px; }
  .card-actions { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 90px 1fr; }
  .cart-item img { width: 90px; height: 82px; }
  .cart-item .item-price { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .custom-nav-menu-wrapper {
    left: 0 !important;
    right: auto !important;
    width: 200px !important;
    max-width: 90vw !important;
  }
  .custom-nav-mega-pane {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
    z-index: 10 !important;
    overflow-y: auto !important;
  }
  .custom-nav-mega-title {
    font-size: 11px !important;
  }
  .custom-nav-mega-item {
    padding: 6px 4px !important;
  }
  .mega-pane-title {
    font-size: 13px !important;
  }
}

/* Premium visual polish: structure and behavior unchanged. */
:root {
  --ink: #111827;
  --muted: #667085;
  --line: #e1e7ef;
  --panel: #ffffff;
  --soft: #f6f8fb;
  --deep: #101a2b;
  --nav: #18263a;
  --accent: #f5b642;
  --accent-dark: #cc7a00;
  --teal: #087f8c;
  --shadow: 0 14px 34px rgba(16, 24, 40, 0.1);
}

body {
  background:
    radial-gradient(circle at top left, rgba(8, 127, 140, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f9fc 0%, #edf2f7 48%, #f8fafc 100%);
  color: var(--ink);
}

.site-header {
  background: linear-gradient(135deg, #0d1728 0%, #142237 62%, #0d2f36 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 10px rgba(8, 16, 30, 0.12);
}

.topbar {
  padding: 12px 22px;
}

.brand {
  font-size: 21px;
  letter-spacing: 0;
}

.brand-mark {
  border-radius: 8px;
  background: linear-gradient(135deg, #0c8792 0%, #1fa6a7 44%, #f5b642 100%);
  box-shadow: 0 8px 20px rgba(12, 135, 146, 0.28);
}

.search {
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.search select,
.search input,
.search button {
  min-height: 46px;
}

.search input {
  background: #ffffff;
  color: #111827;
}

.search input:focus,
.filters input:focus,
.filters select:focus,
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(8, 127, 140, 0.26);
  outline-offset: 0;
  border-color: rgba(8, 127, 140, 0.55);
}

.search button,
.btn.primary {
  background: linear-gradient(180deg, #ffd76f 0%, #f5b642 52%, #dc8b12 100%);
  color: #151515;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 18px rgba(220, 139, 18, 0.24);
}

.btn.secondary {
  background: linear-gradient(180deg, #fff5cf 0%, #ffe08b 100%);
  color: #1f2933;
  border: 1px solid rgba(220, 139, 18, 0.22);
}

.btn.dark,
.tab.active {
  background: linear-gradient(135deg, #101a2b 0%, #20344e 100%);
  color: #fff;
}

.btn,
.tab,
.header-actions a,
.nav-strip a {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.btn:hover,
.tab:hover,
.header-actions a:hover,
.nav-strip a:hover {
  transform: translateY(-1px);
}

.header-actions a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-strip {
  background: rgba(20, 34, 55, 0.96);
  padding: 0 22px 10px;
}

.nav-strip a {
  border-radius: 6px;
  color: #f5f8fb;
}

.app-shell {
  padding: 22px;
}

.hero,
.promo {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(16, 24, 40, 0.16);
}

.hero {
  min-height: 360px;
  background-image: linear-gradient(90deg, rgba(9, 20, 35, 0.9), rgba(9, 20, 35, 0.5), rgba(9, 20, 35, 0.08)), url("assets/oasis-hero.png");
}

.hero h1 {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.eyebrow {
  border-radius: 999px;
  background: rgba(255, 215, 111, 0.96);
  box-shadow: 0 8px 22px rgba(245, 182, 66, 0.22);
}

.section,
.panel,
.summary-card,
.filters,
.side-panel,
.metric,
.table-wrap,
.empty,
.detail {
  border: 1px solid rgba(225, 231, 239, 0.9);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section,
.panel,
.summary-card,
.filters,
.side-panel,
.metric,
.empty,
.detail {
  background: rgba(255, 255, 255, 0.96);
}

.section-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f6;
}

.section h2,
.detail h1,
.panel h1,
.panel h2 {
  color: #111827;
}

.product-grid {
  gap: 18px;
}

.product-card {
  border-color: #e5ebf2;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 127, 140, 0.35);
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.14);
}

.product-image-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  border-bottom: 1px solid #edf1f6;
}

.product-image,
.detail-image img,
.cart-item img,
.thumb-button img {
  filter: saturate(1.04) contrast(1.02);
}

.product-info {
  padding: 14px;
}

.product-title:hover,
.section-link:hover,
.full-view-link:hover {
  color: var(--teal);
}

.offer-price {
  color: #0f172a;
}

.mrp {
  color: #8a97a8;
}

.rating {
  color: #f0a202;
}

.detail-gallery,
.detail-image,
.buy-box {
  border-radius: 10px;
}

.detail-image {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  border-color: #e2e8f0;
}

.thumb-button {
  border-color: #d7e0eb;
  box-shadow: 0 4px 12px rgba(16, 24, 40, 0.06);
}

.thumb-button.active {
  border-color: #087f8c;
  box-shadow: 0 0 0 3px rgba(8, 127, 140, 0.16);
}

.buy-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}

.cart-item {
  border-color: #edf1f6;
}

.cart-item img {
  border-radius: 8px;
  background: #f8fafc;
}

.filters input,
.filters select,
.form input,
.form select,
.form textarea,
.qty-row input {
  border-color: #d8e1ec;
  background: #fbfdff;
}

.metric {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  position: relative;
  overflow: hidden;
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #087f8c, #f5b642);
}

.table-wrap {
  border-radius: 10px;
}

th {
  background: #eef4f8;
  color: #344054;
}

td {
  background: rgba(255, 255, 255, 0.82);
}

tr:hover td {
  background: #f8fbfd;
}

.footer {
  color: #667085;
}

@media (max-width: 680px) {
  .app-shell { padding: 12px; }
  .topbar { padding: 12px; }
  .hero { border-radius: 8px; }
  .section, .panel, .summary-card, .filters, .detail { border-radius: 8px; }
}

/* Product opening page layout polish only. */
.detail-marketplace {
  grid-template-columns: minmax(320px, 34%) minmax(360px, 1fr) 280px;
  align-items: start;
  gap: 22px;
  padding: 22px;
}

.detail-marketplace .detail-gallery {
  position: sticky !important;
  top: 126px !important;
  gap: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.detail-marketplace .detail-image-area {
  width: 100% !important;
}

.detail-marketplace .detail-image {
  min-height: 600px !important;
  border: 0 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.detail-marketplace .detail-image img {
  max-height: 560px !important;
  max-width: 100% !important;
  object-fit: contain !important;
  padding: 0 !important;
}

.detail-marketplace .detail-thumbs {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 12px !important;
  width: 100% !important;
  flex-wrap: wrap !important;
}

.detail-marketplace .thumb-button {
  width: 60px !important;
  height: 60px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 8px !important;
  padding: 4px !important;
  background: #fff !important;
  overflow: hidden !important;
  cursor: pointer !important;
}
.detail-marketplace .thumb-button:hover, .detail-marketplace .thumb-button.active {
  border-color: #007185 !important;
  box-shadow: 0 0 3px rgba(0,113,133,0.5) !important;
}
.detail-marketplace .thumb-button img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.detail-main-copy h1 {
  margin: 8px 0 6px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
}

.breadcrumb-line {
  color: #526273;
  font-size: 12px;
  margin-bottom: 12px;
}

.store-link,
.tax-line,
.delivery-copy,
.purchase-meta,
.detail-mrp {
  font-size: 13px;
}

.store-link,
.full-view-link {
  color: #0b6fa4;
}

.detail-rating {
  margin-top: 8px;
}

.detail-rating strong {
  color: #111827;
}

.detail-rule {
  border: 0;
  border-top: 1px solid #e5ebf2;
  margin: 14px 0;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.discount-text {
  color: #d92d20;
  font-size: 24px;
  font-weight: 400;
}

.detail-price-row .offer-price,
.purchase-price {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
}

.detail-mrp span {
  text-decoration: line-through;
  color: #667085;
}

.offer-strip-title {
  margin: 12px 0 8px;
  font-weight: 800;
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.offer-cards div {
  min-height: 90px;
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}

.offer-cards strong,
.offer-cards span {
  display: block;
  font-size: 12px;
}

.offer-cards span {
  margin-top: 5px;
  color: #475467;
  line-height: 1.35;
}

.service-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 0 8px;
}

.service-row span {
  min-height: 48px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 8px;
  border-radius: 8px;
  background: #f7fafc;
  color: #0b6fa4;
  font-size: 11px;
  line-height: 1.25;
}

.spec-table {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  font-size: 14px;
}

.spec-table div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
}

.detail-purchase-box {
  position: sticky;
  top: 126px;
  margin-top: 0;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 24, 40, 0.12);
}

.stock-text {
  color: #12805c;
  font-size: 18px;
}

.quantity-label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.quantity-label select {
  width: 100%;
  border: 1px solid #d8e1ec;
  border-radius: 6px;
  padding: 9px 10px;
  background: #fbfdff;
}

.purchase-meta {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px;
  color: #667085;
  line-height: 1.35;
}

.purchase-meta strong {
  color: #0b6fa4;
}

@media (max-width: 1180px) {
  .detail-marketplace {
    grid-template-columns: minmax(300px, 42%) 1fr;
  }
  .detail-purchase-box {
    position: static;
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .detail-marketplace {
    grid-template-columns: 1fr;
  }
  .detail-marketplace .detail-gallery {
    position: static !important;
  }
  .offer-cards,
  .service-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .detail-main-copy h1 {
    font-size: 20px;
  }
  .detail-marketplace .detail-image {
    min-height: 360px;
  }
  .detail-marketplace .detail-image img {
    max-height: 340px;
  }
  .offer-cards,
  .service-row,
  .spec-table div {
    grid-template-columns: 1fr;
  }
}

/* Cart page marketplace-style layout only. */
.cart-marketplace {
  grid-template-columns: minmax(0, 1fr) 374px;
  align-items: start;
  gap: 24px;
}

.cart-main-panel,
.cart-note-panel,
.cart-checkout-card,
.cart-suggestions {
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: #ffffff;
}

.cart-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 1px solid #d9e1ea;
  padding-bottom: 14px;
}

.cart-title-row h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 500;
}

.cart-title-row span {
  color: #344054;
}

.cart-market-item {
  grid-template-columns: 240px minmax(0, 1fr) 140px;
  gap: 22px;
  padding: 26px 0;
  border-top: 0;
  border-bottom: 1px solid #e4e7ec;
}

.cart-product-image {
  display: grid;
  place-items: center;
  min-height: 220px;
  background: #ffffff;
}

.cart-market-item img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border: 0;
  background: #ffffff;
}

.cart-product-copy h3 {
  margin: 0 0 6px;
  font-size: 23px;
  line-height: 1.28;
  font-weight: 500;
}

.cart-stock {
  display: block;
  color: #007600;
  margin-bottom: 4px;
}

.cart-delivery {
  margin: 0 0 4px;
  font-weight: 700;
}

.cart-fulfilled {
  display: inline-block;
  margin: 2px 0 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #5b6677;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.cart-gift,
.gift-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 6px 0 12px;
}

.cart-actions-row {
  gap: 10px;
}

.cart-qty-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 3px solid #ffd814;
  border-radius: 999px;
  background: #ffffff;
  font-weight: 800;
}

.cart-qty-label input {
  width: 54px;
  border: 0;
  background: transparent;
  padding: 4px;
  text-align: center;
  font-weight: 800;
}

.cart-link-button {
  border: 0;
  border-left: 1px solid #d0d5dd;
  background: transparent;
  color: #0b6fa4;
  padding: 0 0 0 12px;
  min-height: 24px;
  font-weight: 500;
}

.item-price {
  justify-self: end;
  font-size: 24px;
}

.cart-bottom-subtotal {
  padding: 14px 0 4px;
  text-align: right;
  font-size: 24px;
}

.cart-side-stack {
  display: grid;
  gap: 28px;
}

.cart-checkout-card {
  padding: 28px;
}

.free-delivery-meter {
  height: 18px;
  border-radius: 999px;
  background: #e6f4ea;
  overflow: hidden;
  margin: 4px 0 8px;
}

.free-delivery-meter span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #0f8b4c;
}

.free-delivery-note {
  margin: 0 0 22px;
  color: #0f5132;
  line-height: 1.35;
}

.proceed-btn {
  display: block;
  text-align: center;
  margin-top: 22px;
  border-radius: 999px;
}

.cart-suggestions {
  padding: 20px 22px;
  border: 1px solid #d9e1ea;
  border-radius: 8px;
}

.cart-suggestions h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.2;
}

.cart-suggestion-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #edf1f6;
}

.cart-suggestion-item:first-child {
  border-top: 0;
}

.cart-suggestion-item img {
  width: 104px;
  height: 104px;
  object-fit: contain;
  background: #ffffff;
}

.cart-suggestion-title {
  display: block;
  color: #0b6fa4;
  line-height: 1.25;
  margin-bottom: 4px;
}

.cart-suggestion-item .discount-text {
  font-size: 18px;
}

.cart-suggestion-item .btn {
  margin-top: 8px;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 14px;
}

.cart-note-panel {
  margin-top: 24px;
  color: #344054;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  .cart-marketplace {
    grid-template-columns: 1fr;
  }
  .cart-checkout-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .cart-title-row h1 {
    font-size: 28px;
  }
  .cart-market-item {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }
  .cart-product-image {
    min-height: 110px;
  }
  .cart-market-item img {
    width: 110px;
    height: 110px;
  }
  .cart-market-item .item-price {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .cart-product-copy h3 {
    font-size: 18px;
  }
  .cart-actions-row {
    align-items: flex-start;
  }
  .cart-link-button {
    border-left: 0;
    padding-left: 0;
  }
}

/* Retailer ID sales tracking UI only. */
.retailer-profile-grid .metric strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.retailer-sales-table table {
  min-width: 980px;
}

.retailer-detail-row td {
  background: #f8fbfd;
  padding: 0;
}

.retailer-detail-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid #d9e1ea;
}

.retailer-detail-panel h3 {
  margin: 6px 0 0;
}

.nested-table-wrap {
  box-shadow: none;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  overflow-x: auto;
}

.nested-report-table {
  min-width: 820px;
  width: 100%;
}

.nested-report-table th,
.nested-report-table td {
  font-size: 13px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .retailer-detail-panel {
    padding: 12px;
  }
}

/* Home banner slider, equal product images, and detail-page sticky buy box. */
.hero-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(70%, 1fr);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0 20px 8px 20px;
}

.hero-slider::-webkit-scrollbar {
  height: 8px;
}

.hero-slider::-webkit-scrollbar-thumb {
  background: rgba(16, 24, 40, 0.25);
  border-radius: 999px;
}

.hero-slide {
  scroll-snap-align: start;
  min-height: 360px;
  width: 100%;
}

.hero-slide-two {
  background-image: linear-gradient(90deg, rgba(9, 20, 35, 0.9), rgba(9, 20, 35, 0.42), rgba(9, 20, 35, 0.06)), url("assets/oasis-promo.png") !important;
}

.hero-slide-three {
  background-image: linear-gradient(90deg, rgba(9, 20, 35, 0.9), rgba(9, 20, 35, 0.48), rgba(9, 20, 35, 0.08)), url("https://images.pexels.com/photos/5217901/pexels-photo-5217901.jpeg?auto=compress&cs=tinysrgb&w=1600") !important;
}

.product-image-wrap {
  height: 240px;
  aspect-ratio: auto;
  padding: 16px;
}

.product-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.product-card {
  min-height: 430px;
}

.product-card .product-info {
  flex: 1;
  align-content: start;
}

.detail-marketplace .detail-purchase-box {
  position: sticky !important;
  top: 118px !important;
  align-self: start;
  z-index: 2;
}

.product-detail-related {
  margin-top: 20px;
}

@media (max-width: 900px) {
  .hero-slider {
    grid-auto-columns: 92%;
  }
  .product-image-wrap {
    height: 210px;
  }
  .product-card {
    min-height: 410px;
  }
  .detail-marketplace .detail-purchase-box {
    position: static !important;
  }
}

@media (max-width: 560px) {
  .hero-slider {
    grid-auto-columns: 96%;
    gap: 12px;
  }
  .hero-slide {
    min-height: 310px;
  }
  .product-image-wrap {
    height: 180px;
  }
  .product-card {
    min-height: 390px;
  }
}

/* Reference-style product card UI only. */
.product-grid {
  align-items: stretch;
}

.product-card {
  height: 100%;
  min-height: 560px;
  background: #ffffff;
  border: 1px solid #dfe7f1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 27, 58, 0.08);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #cad7e5;
  box-shadow: 0 16px 34px rgba(0, 27, 58, 0.14);
}

.product-image-wrap {
  width: 100%;
  height: 270px;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  background: #f8f9fb;
  padding: 18px;
  border-bottom: 1px solid #eeeeee;
}

.product-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.product-info {
  flex: 1;
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 14px;
  padding: 18px 16px 18px;
  align-content: start;
}

.product-title {
  min-height: 56px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: #001b3a;
}

.rating {
  font-size: 18px;
  line-height: 1.2;
  color: #ff9900;
}

.rating span {
  color: #4b6584;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.offer-price {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: #001b3a;
}

.mrp {
  font-size: 20px;
  line-height: 1.1;
  color: #8b97a8;
  text-decoration: line-through;
}

.card-actions {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.card-actions .btn {
  width: 100%;
  min-height: 50px;
  height: 50px;
  border-radius: 7px;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  padding: 0 10px;
  color: #001b3a;
  white-space: nowrap;
}

.card-actions .btn.secondary {
  background: linear-gradient(180deg, #fff6da 0%, #ffe08c 100%);
  border: 1px solid #ffc94d;
  box-shadow: none;
}

.card-actions .btn.primary {
  background: linear-gradient(180deg, #ffd76a 0%, #f5a623 100%);
  border: none;
  box-shadow: 0 14px 24px rgba(245, 166, 35, 0.28);
}

@media (max-width: 900px) {
  .product-card {
    min-height: 540px;
  }
  .product-image-wrap {
    height: 270px;
  }
}

@media (max-width: 680px) {
  .product-card {
    min-height: 520px;
  }
  .product-title {
    font-size: 18px;
    min-height: 52px;
  }
  .rating {
    font-size: 16px;
  }
  .offer-price {
    font-size: 24px;
  }
  .mrp {
    font-size: 18px;
  }
  .card-actions {
    grid-template-columns: 1fr;
  }
  .card-actions .btn {
    font-size: 20px;
  }
}

/* Product card overflow fix: keep image contained and price/buttons visible. */
.product-grid {
  grid-auto-rows: 1fr;
}

.product-card {
  min-height: 620px;
}

.product-image-wrap {
  flex: 0 0 270px;
  min-height: 270px;
  max-height: 270px;
  overflow: hidden;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

.product-info {
  min-height: 350px;
  grid-template-rows: minmax(58px, auto) auto auto 1fr;
}

.product-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-line {
  min-height: 36px;
}

.card-actions {
  margin-top: auto;
}

@media (max-width: 680px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-card {
    min-height: 500px;
  }
  .product-image-wrap {
    flex-basis: 210px;
    height: 210px;
    min-height: 210px;
    max-height: 210px;
    padding: 12px;
  }
  .product-info {
    min-height: 278px;
    gap: 8px;
    padding: 10px 8px 10px;
    grid-template-rows: minmax(42px, auto) auto auto 1fr;
  }
  .product-title {
    min-height: 42px;
    font-size: 12px;
    line-height: 1.28;
  }
  .rating {
    font-size: 11px;
  }
  .offer-price {
    font-size: 18px;
  }
  .mrp {
    font-size: 11px;
  }
  .price-line {
    min-height: 24px;
    gap: 5px;
  }
  .card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .card-actions .btn {
    min-height: 34px;
    height: 34px;
    font-size: 11px;
    border-radius: 5px;
    padding: 0 4px;
  }
}

@media (max-width: 420px) {
  .product-card {
    min-height: 470px;
  }
  .product-image-wrap {
    flex-basis: 190px;
    height: 190px;
    min-height: 190px;
    max-height: 190px;
  }
  .product-info {
    min-height: 258px;
  }
}

/* Product image scale-down fix: never crop product photos. */
.product-image-wrap {
  overflow: visible;
}

.product-image {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 680px) {
  .product-image {
    max-width: 88%;
    max-height: 88%;
  }
}

/* Minimize product images inside existing image boxes. */
.product-image {
  width: auto !important;
  height: auto !important;
  max-width: 74% !important;
  max-height: 74% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.product-card .product-image-wrap {
  overflow: visible;
}

.cart-market-item img,
.cart-suggestion-item img {
  object-fit: contain !important;
  max-width: 82% !important;
  max-height: 82% !important;
}

.detail-image img {
  width: auto !important;
  height: auto !important;
  max-width: 82% !important;
  max-height: 82% !important;
  object-fit: contain !important;
}

@media (max-width: 680px) {
  .product-image {
    max-width: 68% !important;
    max-height: 68% !important;
  }
}

/* Product card image overlap fix: contained, smaller, and centered. */
.product-card .product-image-wrap {
  height: 270px !important;
  min-height: 270px !important;
  max-height: 270px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #f8f9fb;
}

.product-card .product-image {
  display: block !important;
  width: 72% !important;
  height: 72% !important;
  max-width: 72% !important;
  max-height: 72% !important;
  object-fit: contain !important;
  object-position: center !important;
}

.product-card .product-info {
  position: relative;
  z-index: 1;
  background: #ffffff;
}

@media (max-width: 680px) {
  .product-card .product-image-wrap {
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
  }
  .product-card .product-image {
    width: 66% !important;
    height: 66% !important;
    max-width: 66% !important;
    max-height: 66% !important;
  }
}


/* Six-slide hero sizing and compact product-card spacing. */
.hero-slider {
  display: flex !important;
  grid-auto-flow: unset !important;
  grid-auto-columns: unset !important;
  gap: 20px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding: 0 0 10px !important;
}

.hero-slider::-webkit-scrollbar {
  height: 8px;
}

.hero-slider::-webkit-scrollbar-thumb {
  background: #c7d2e0;
  border-radius: 999px;
}

.hero-slide {
  flex: 0 0 calc((100% - 60px) / 4) !important;
  min-width: 220px;
  min-height: 250px !important;
  aspect-ratio: 3.5 / 1;
  border-radius: 12px !important;
  scroll-snap-align: start;
  padding: 40px !important;
  background-size: cover !important;
  background-position: center !important;
}

.hero-slide-one {
  background-image: linear-gradient(90deg, rgba(255, 197, 47, 0.96), rgba(255, 166, 0, 0.72)), url("assets/oasis-hero.png") !important;
}

.hero-slide-two {
  background-image: linear-gradient(90deg, rgba(255, 226, 90, 0.98), rgba(255, 213, 55, 0.62)), url("assets/oasis-promo.png") !important;
}

.hero-slide-three {
  background-image: linear-gradient(90deg, rgba(22, 24, 29, 0.94), rgba(227, 99, 31, 0.68)), url("https://images.pexels.com/photos/5217901/pexels-photo-5217901.jpeg?auto=compress&cs=tinysrgb&w=1600") !important;
}

.hero-slide-four {
  background-image: linear-gradient(90deg, rgba(255, 243, 191, 0.97), rgba(255, 204, 67, 0.58)), url("https://images.pexels.com/photos/7262774/pexels-photo-7262774.jpeg?auto=compress&cs=tinysrgb&w=1600") !important;
}

.hero-slide-five {
  background-image: linear-gradient(90deg, rgba(255, 226, 207, 0.97), rgba(245, 149, 72, 0.55)), url("https://images.pexels.com/photos/3737594/pexels-photo-3737594.jpeg?auto=compress&cs=tinysrgb&w=1600") !important;
}

.hero-slide-six {
  background-image: linear-gradient(90deg, rgba(234, 247, 255, 0.96), rgba(93, 177, 215, 0.56)), url("https://images.pexels.com/photos/6693655/pexels-photo-6693655.jpeg?auto=compress&cs=tinysrgb&w=1600") !important;
}

.product-card .product-info {
  min-height: auto !important;
  grid-template-rows: auto auto auto auto !important;
  align-content: start !important;
  gap: 8px !important;
}

.product-card .price-line {
  min-height: auto !important;
  margin-bottom: 0 !important;
}

.product-card .card-actions {
  margin-top: 2px !important;
  align-self: start !important;
}

@media (max-width: 900px) {
  .hero-slide {
    flex-basis: 82vw !important;
    min-width: 300px;
    min-height: 230px !important;
  }
}

@media (max-width: 680px) {
  .hero-slider {
    gap: 12px !important;
  }
  .hero-slide {
    flex-basis: 86vw !important;
    min-width: 280px;
    min-height: 210px !important;
    padding: 18px !important;
  }
  .product-card .product-info {
    min-height: auto !important;
    gap: 7px !important;
  }
  .product-card .card-actions {
    margin-top: 1px !important;
  }
}

/* Remove unused blank space under product-card buttons. */
.product-grid {
  align-items: start !important;
  grid-auto-rows: auto !important;
}

.product-card {
  min-height: 0 !important;
  height: auto !important;
}

.product-card .product-info {
  flex: 0 0 auto !important;
  padding-bottom: 12px !important;
}

.product-card .card-actions {
  margin-bottom: 0 !important;
}

@media (max-width: 680px) {
  .product-card {
    min-height: 0 !important;
  }
  .product-card .product-info {
    padding-bottom: 10px !important;
  }
}

/* Hero slider viewport: 2 full banners plus 1 half banner visible. */
.hero-slider {
  display: flex !important;
  gap: 30px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding: 0 0 14px !important;
}

.hero-slide {
  flex: 0 0 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3.5 / 1 !important;
  border-radius: 14px !important;
  padding: 30px !important;
  scroll-snap-align: start;
  background-size: cover !important;
  background-position: center !important;
}

.hero-slide .hero-content {
  max-width: 58%;
}

.hero-slide h1 {
  font-size: clamp(24px, 2.5vw, 38px);
  line-height: 1.08;
}

.hero-slide p {
  font-size: clamp(13px, 1vw, 16px);
  max-width: 420px;
}

@media (max-width: 900px) {
  .hero-slider {
    gap: 16px !important;
  }
  .hero-slide {
    flex: 0 0 100% !important;
    aspect-ratio: 2.8 / 1 !important;
    padding: 18px !important;
  }
}

@media (max-width: 560px) {
  .hero-slide {
    flex: 0 0 100% !important;
    aspect-ratio: 1.55 / 1 !important;
  }
  .hero-slide .hero-content {
    max-width: 72%;
  }
}

/* Product detail buy panel: sticky only inside the main product section. */
.detail-marketplace {
  align-items: start !important;
  overflow: visible !important;
}

.detail-marketplace .detail-purchase-box {
  position: sticky !important;
  top: 118px !important;
  align-self: start !important;
  z-index: 3 !important;
  height: fit-content !important;
}

.product-image-wrap {
  cursor: pointer;
  pointer-events: auto;
}

.product-image-wrap .product-image {
  pointer-events: none;
}

@media (max-width: 900px) {
  .detail-marketplace .detail-purchase-box {
    position: static !important;
  }
}

/* Product detail purchase card: normal right-side card, not floating. */
.detail-marketplace .detail-purchase-box {
  position: static !important;
  top: auto !important;
  align-self: start !important;
  z-index: auto !important;
  height: fit-content !important;
  margin-top: 0 !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Compact admin login box only. */
.admin-login-panel {
  width: min(440px, calc(100vw - 32px));
  margin: 52px auto 80px !important;
  padding: 28px !important;
  border-radius: 10px !important;
}

.admin-login-panel h1 {
  font-size: 30px;
  margin-bottom: 18px;
}

.admin-login-panel .form {
  grid-template-columns: 1fr !important;
  gap: 14px !important;
}

.admin-login-panel input {
  height: 44px;
}

.admin-login-panel .form-actions {
  justify-content: stretch;
}

.admin-login-panel .form-actions .btn {
  width: 100%;
  min-height: 46px;
}

/* Admin table product image preview. */
.admin-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid #e1e7ef;
  border-radius: 6px;
  background: #f8f9fb;
  padding: 6px;
}

.order-detail-panel {
  box-shadow: none;
  border: 1px solid #e1e7ef;
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
}
.about-copy h1 {
  margin: 8px 0 14px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}
.about-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 720px;
}
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.about-visual {
  background: #f8f9fb;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.about-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  display: block;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.about-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff3cf;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 12px;
}
.about-card h2 {
  margin: 0 0 8px;
  color: var(--ink);
}
.about-card p,
.about-band p {
  color: var(--muted);
  line-height: 1.6;
}
.about-band {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow);
}
.about-band h2 { margin: 0 0 8px; color: var(--ink); }
.about-band p { margin: 0; max-width: 780px; }

@media (max-width: 820px) {
  .about-hero,
  .about-grid,
  .about-band {
    grid-template-columns: 1fr;
  }
  .about-hero { padding: 22px; }
  .about-band { align-items: flex-start; flex-direction: column; }
  .about-copy h1 { font-size: 30px; }
  .about-copy p { font-size: 16px; }
}
.about-page {
  padding: 34px;
  background: #fff;
}
.about-logo-wrap {
  float: left;
  margin: 0 20px 10px 0;
  border: 1px solid var(--teal);
  background: #fff;
  padding: 0;
  width: 320px;
}
.about-logo-image {
  width: 100%;
  height: auto;
  display: block;
}
.about-content-block {
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
}
.about-content-block::after {
  content: "";
  display: table;
  clear: both;
}
.about-content-block h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  color: var(--ink);
}
.about-content-block h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--teal);
  font-weight: 800;
}
.about-content-block p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

@media (max-width: 820px) {
  .about-page { padding: 18px; }
  .about-logo-wrap { padding: 12px; margin-bottom: 16px; }
  .about-logo-image { max-height: 180px; }
  .about-content-block h1 { font-size: 28px; }
  .about-content-block h2 { font-size: 22px; }
  .about-content-block p { font-size: 16px; line-height: 1.65; }
}
.about-goal-section {
  margin: 34px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-goal-copy h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
}
.about-goal-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}
.about-goal-visual {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f6f8;
  overflow: hidden;
  min-height: 120px;
}
.about-goal-visual img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  object-position: right center;
  display: block;
}

@media (max-width: 820px) {
  .about-goal-section {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
    padding-top: 22px;
  }
  .about-goal-copy h2 { font-size: 34px; }
  .about-goal-copy p { font-size: 16px; line-height: 1.65; }
  .about-goal-visual,
  .about-goal-visual img { min-height: 110px; }
}
.brand-products-section {
  margin: 34px auto 0;
  max-width: 980px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.brand-products-section h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}
.brand-product-card {
  margin-bottom: 40px;
}
.brand-product-card::after {
  content: "";
  display: table;
  clear: both;
}
.brand-product-logo-wrap {
  float: left;
  margin: 0 20px 10px 0;
  border: 1px solid var(--teal);
  background: #fff;
  padding: 0;
  width: 480px;
}
.brand-product-logo {
  width: 100%;
  height: auto;
  display: block;
}
.brand-product-content {
  padding: 0;
}
.brand-product-category {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 16px;
}
.brand-product-content h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 500;
}
.brand-product-tagline {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.brand-product-content p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.brand-product-full[hidden] {
  display: none;
}
.brand-product-toggle {
  margin-top: 10px;
  clear: both;
}

@media (max-width: 820px) {
  .brand-products-section {
    margin-top: 24px;
    padding-top: 22px;
  }
  .brand-product-logo-wrap {
    float: none;
    margin: 0 auto 16px;
    width: 100%;
    max-width: 480px;
  }
  .brand-product-content p {
    font-size: 15px;
    line-height: 1.5;
  }
}

/* --- Propharm Style Homepage --- */

/* Hero Section */
.propharm-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px auto;
  max-width: 1200px;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.propharm-hero-content {
  max-width: 500px;
  z-index: 2;
}
.propharm-hero-subtitle {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.propharm-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.1;
  font-weight: 800;
}
.propharm-hero-text {
  font-size: 18px;
  color: #f8fafc;
  margin: 0 0 32px;
  line-height: 1.6;
}
.propharm-btn {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(244, 165, 28, 0.4);
  white-space: nowrap;
}

/* Home Filter Bar */
.home-filter-bar {
  max-width: 1040px;
  margin: -40px auto 40px;
  position: relative;
  z-index: 10;
  background: #fff;
  padding: 18px 24px;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.home-filter-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-label {
  font-size: 16px;
  color: #172437;
  white-space: nowrap;
}
.filter-or {
  font-size: 14px;
  font-weight: 800;
  color: #172437;
}
.home-filter-select,
.home-filter-input {
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  background: #eff3f7;
  font-size: 14px;
  outline: none;
  color: #4a5568;
}
.home-filter-select {
  flex: 1;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%234a5568" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 14px top 50%;
  padding-right: 36px;
  cursor: pointer;
}
.home-filter-input {
  flex: 1;
}
.home-filter-btn {
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  background: #f59e0b;
  color: #fff;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.home-filter-btn:hover {
  background: #d97706;
}

/* Category Grid */
.category-section {
  max-width: 1200px;
  margin: 0 auto 40px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.category-card {
  display: block;
  text-align: center;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--line);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.category-img-wrap {
  width: 170px;
  height: 170px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #f8fafc;
  border: 4px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-card h3 {
  margin: 0;
  font-size: 18px;
  color: var(--deep);
  font-weight: 600;
}

/* Promotional Banners */
.split-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
}
.promo-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  padding: 40px;
  display: flex;
  align-items: center;
  min-height: 250px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.promo-content {
  position: relative;
  z-index: 2;
  max-width: 250px;
}
.promo-content span {
  display: inline-block;
  background: rgba(255,255,255,0.8);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 12px;
}
.promo-content h3 {
  font-size: 28px;
  margin: 0 0 8px;
  color: var(--deep);
  line-height: 1.2;
}
.promo-content p {
  font-size: 16px;
  margin: 0 0 20px;
  color: #4a5568;
}

@media (max-width: 768px) {
  .propharm-hero {
    padding: 40px 20px;
  }
  .propharm-hero-title {
    font-size: 28px;
  }
  .service-bar {
    grid-template-columns: 1fr;
  }
}

.category-badge { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2; }
.product-short-desc { font-size: 0.85rem; color: #666; margin: 4px 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.view-details-btn { width: 100%; margin-top: 8px; text-align: center; display: block; font-weight: 500; }
.product-image-wrap { position: relative; }


/* --- OFFER ITEMS CSS --- */
.homepage-offers-section {
  background: #fff;
  padding: 40px 20px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin-top: 20px;
}

.offer-product-card {
  position: relative;
  border: 2px solid #f8e5e5;
}

.offer-product-card:hover {
  border-color: #d32f2f;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.1);
}

.offer-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d32f2f;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.offer-price-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.offer-countdown-timer {
  font-family: monospace;
  font-size: 1.1em;
  letter-spacing: 1px;
}

/* Admin Form styling adjustments for offers */
.admin-form .form-group input[type='datetime-local'] {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
}

/* --- Brand Specific Styling --- */

/* Biotrans Theme - Aqua/Teal */
.brand-theme-biotrans .brand-product-card,
.brand-product-card.brand-theme-biotrans {
  border: 2px solid #0f8b8d !important;
  box-shadow: 0 4px 12px rgba(15, 139, 141, 0.1) !important;
}
.brand-theme-biotrans .brand-product-card:hover,
.brand-product-card.brand-theme-biotrans:hover {
  box-shadow: 0 8px 24px rgba(15, 139, 141, 0.25) !important;
  border-color: #0d787a !important;
}
.brand-theme-biotrans .brand-add-cart-btn,
.brand-product-card.brand-theme-biotrans .brand-add-cart-btn {
  background: #0f8b8d !important;
  color: #fff !important;
}
.brand-theme-biotrans .brand-buy-now-btn,
.brand-product-card.brand-theme-biotrans .brand-buy-now-btn {
  background: #0b6b6c !important;
  color: #fff !important;
}
.brand-theme-biotrans .brand-description-box,
.brand-product-card.brand-theme-biotrans .brand-description-box {
  background: #e6f7f7 !important;
}
.brand-theme-biotrans .brand-offer-badge,
.brand-product-card.brand-theme-biotrans .brand-offer-badge,
.brand-theme-biotrans .brand-category-badge,
.brand-product-card.brand-theme-biotrans .brand-category-badge {
  background: #11a8aa !important;
  color: #fff !important;
}
.brand-theme-biotrans .brand-countdown-timer,
.brand-product-card.brand-theme-biotrans .brand-countdown-timer {
  background: #e6f7f7 !important;
  color: #0f8b8d !important;
  border: 1px solid #0f8b8d !important;
}

/* NutriNature Theme - Herbal Green */
.brand-theme-nutrinature .brand-product-card,
.brand-product-card.brand-theme-nutrinature {
  border: 2px solid #2e8b57 !important;
  box-shadow: 0 4px 12px rgba(46, 139, 87, 0.1) !important;
}
.brand-theme-nutrinature .brand-product-card:hover,
.brand-product-card.brand-theme-nutrinature:hover {
  box-shadow: 0 8px 24px rgba(46, 139, 87, 0.25) !important;
  border-color: #236b43 !important;
}
.brand-theme-nutrinature .brand-add-cart-btn,
.brand-product-card.brand-theme-nutrinature .brand-add-cart-btn {
  background: #2e8b57 !important;
  color: #fff !important;
}
.brand-theme-nutrinature .brand-buy-now-btn,
.brand-product-card.brand-theme-nutrinature .brand-buy-now-btn {
  background: #1e5a38 !important;
  color: #fff !important;
}
.brand-theme-nutrinature .brand-description-box,
.brand-product-card.brand-theme-nutrinature .brand-description-box {
  background: #eaf5ee !important;
}
.brand-theme-nutrinature .brand-offer-badge,
.brand-product-card.brand-theme-nutrinature .brand-offer-badge,
.brand-theme-nutrinature .brand-category-badge,
.brand-product-card.brand-theme-nutrinature .brand-category-badge {
  background: #3cb371 !important;
  color: #fff !important;
}
.brand-theme-nutrinature .brand-countdown-timer,
.brand-product-card.brand-theme-nutrinature .brand-countdown-timer {
  background: #eaf5ee !important;
  color: #2e8b57 !important;
  border: 1px solid #2e8b57 !important;
}

/* Fit Master Labs Theme - Sports Blue/Orange */
.brand-theme-fitmaster .brand-product-card,
.brand-product-card.brand-theme-fitmaster {
  border: 2px solid #1a5276 !important;
  box-shadow: 0 4px 12px rgba(26, 82, 118, 0.1) !important;
}
.brand-theme-fitmaster .brand-product-card:hover,
.brand-product-card.brand-theme-fitmaster:hover {
  box-shadow: 0 8px 24px rgba(26, 82, 118, 0.25) !important;
  border-color: #f39c12 !important;
}
.brand-theme-fitmaster .brand-add-cart-btn,
.brand-product-card.brand-theme-fitmaster .brand-add-cart-btn {
  background: #1a5276 !important;
  color: #fff !important;
}
.brand-theme-fitmaster .brand-buy-now-btn,
.brand-product-card.brand-theme-fitmaster .brand-buy-now-btn {
  background: #f39c12 !important;
  color: #fff !important;
}
.brand-theme-fitmaster .brand-description-box,
.brand-product-card.brand-theme-fitmaster .brand-description-box {
  background: #eaf2f8 !important;
}
.brand-theme-fitmaster .brand-offer-badge,
.brand-product-card.brand-theme-fitmaster .brand-offer-badge,
.brand-theme-fitmaster .brand-category-badge,
.brand-product-card.brand-theme-fitmaster .brand-category-badge {
  background: #f39c12 !important;
  color: #fff !important;
}
.brand-theme-fitmaster .brand-countdown-timer,
.brand-product-card.brand-theme-fitmaster .brand-countdown-timer {
  background: #eaf2f8 !important;
  color: #1a5276 !important;
  border: 1px solid #1a5276 !important;
}

/* Generic Promotional Offer Section */
.homepage-promo-section {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.homepage-promo-section h2 {
  text-align: center;
  color: #111827;
  font-size: 28px;
  margin-bottom: 24px;
}

/* --- Promotional Banners Section --- */
.promo-banner-section {
  margin-top: 40px;
  background: linear-gradient(135deg, #f5f9fc 0%, #eef3fc 100%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02), 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 113, 133, 0.08);
}
.promo-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (max-width: 768px) {
  .promo-banner-grid {
    grid-template-columns: 1fr;
  }
}
.promo-banner-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background-color: #fff;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-banner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.promo-banner-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
@media (max-width: 500px) {
  .promo-banner-content {
    max-width: 100%;
    background: rgba(255,255,255,0.85);
    padding: 15px;
    border-radius: 8px;
  }
}
.promo-banner-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
}
.promo-banner-content h3 {
  margin: 0 0 8px;
  font-size: 32px;
  color: #111827;
  font-weight: 700;
}
.promo-banner-content p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 17px;
  line-height: 1.4;
}
.promo-banner-btn {
  display: inline-block;
  padding: 10px 20px;
}

/* --- HARD OVERRIDES FOR UI REQUESTS --- */
.propharm-hero {
  padding: 20px 40px !important;
  min-height: 400px !important;
}
.hero-slide {
  padding: 20px !important;
  aspect-ratio: auto !important;
  min-height: 400px !important;
}
@media (max-width: 768px) {
  .propharm-hero, .hero-slide {
    min-height: 300px !important;
  }
}

.detail-gallery {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* --------------------------------------------------
   MARKETPLACE COMPACT PRODUCT CARD DESIGN
   -------------------------------------------------- */
.market-product-card {
  background: #ffffff !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow 0.2s ease !important;
  min-height: 0 !important;
  height: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
}
.market-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.market-product-image-wrap {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: #f8f8f8 !important;
  padding: 14px !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}
.market-product-image {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
}
.market-product-card .brand-category-badge {
  display: none !important;
}

.market-product-info {
  display: flex !important;
  flex-direction: column !important;
  padding: 10px 14px 14px 14px !important;
  flex-grow: 1 !important;
  box-sizing: border-box !important;
}

.market-product-price-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  gap: 6px !important;
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  min-height: auto !important;
}
.market-product-price {
  font-size: 26px !important;
  font-weight: 500 !important;
  color: #0f1111 !important;
  line-height: 1.1 !important;
}
.market-product-old-price {
  font-size: 13px !important;
  color: #565959 !important;
  text-decoration: line-through !important;
  line-height: 1 !important;
}
.market-product-old-price::before {
  content: "M.R.P.: " !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.market-product-title {
  font-size: 14px !important;
  color: #0f1111 !important;
  line-height: 1.35 !important;
  margin: 0 0 6px 0 !important;
  font-weight: 400 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: auto !important;
}

.market-product-rating {
  color: #ffa41c !important;
  font-size: 14px !important;
  margin: 0 0 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}
.market-product-rating span {
  color: #007185 !important;
  font-size: 13px !important;
}

.market-product-actions {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin-top: auto !important;
}
.market-btn-row-top {
  display: flex !important;
  gap: 6px !important;
  width: 100% !important;
}
.market-product-actions .btn {
  flex: 1 !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  min-height: 32px !important;
  border-radius: 100px !important;
  border: 1px solid transparent !important;
  background: #fff !important;
  color: #0f1111 !important;
  font-weight: 400 !important;
  text-align: center !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.market-product-actions .market-cart-btn {
  background: #ffd814 !important;
  border-color: #fcd200 !important;
}
.market-product-actions .market-cart-btn:hover { background: #f7ca00 !important; }

.market-product-actions .market-buy-btn {
  background: #ffa41c !important;
  border-color: #ff8f00 !important;
}
.market-product-actions .market-buy-btn:hover { background: #fa8900 !important; }

.market-details-btn {
  background: #f7fafa !important;
  border: 1px solid #d5d9d9 !important;
  box-shadow: 0 2px 5px rgba(213,217,217,.5) !important;
  width: 100% !important;
}
.market-details-btn:hover { background: #f0f2f2 !important; }

.market-offer-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  background: #cc0c39 !important;
  color: white !important;
  padding: 4px 8px !important;
  border-radius: 2px !important;
  font-size: 11px !important;
  font-weight: bold !important;
  z-index: 2 !important;
}

.market-offer-timer {
  background: #fff !important;
  color: #cc0c39 !important;
  border: 1px solid #cc0c39 !important;
  padding: 4px !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  text-align: center !important;
  margin-bottom: 10px !important;
  font-weight: bold !important;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  .market-product-info {
    padding: 8px !important;
  }
  .market-product-title {
    font-size: 13px !important;
  }
  .market-product-price {
    font-size: 22px !important;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* GLOBAL BUTTON OVERRIDES FOR PILL SHAPE & EXACT COLORS */
button.market-cart-btn,
button.brand-add-cart-btn,
.market-product-actions .market-cart-btn {
  background: #ffd814 !important;
  border-color: #fcd200 !important;
  color: #0f1111 !important;
  border-radius: 100px !important;
  font-weight: 400 !important;
  padding: 8px 20px !important;
  height: auto !important;
  min-height: 34px !important;
  line-height: 1.4 !important;
}
button.market-cart-btn:hover,
button.brand-add-cart-btn:hover,
.market-product-actions .market-cart-btn:hover {
  background: #f7ca00 !important;
}

button.market-buy-btn,
button.brand-buy-now-btn,
.market-product-actions .market-buy-btn {
  background: #ffa41c !important;
  border-color: #ff8f00 !important;
  color: #0f1111 !important;
  border-radius: 100px !important;
  font-weight: 400 !important;
  padding: 8px 20px !important;
  height: auto !important;
  min-height: 34px !important;
  line-height: 1.4 !important;
}
button.market-buy-btn:hover,
button.brand-buy-now-btn:hover,
.market-product-actions .market-buy-btn:hover {
  background: #fa8900 !important;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 100px !important;
  width: 40px !important;
  height: 60px !important;
  font-size: 24px !important;
  cursor: pointer !important;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #0f1111 !important;
}
.gallery-arrow.left { left: 10px; }
.gallery-arrow.right { right: 10px; }
.gallery-arrow:hover { background: #f7fafa !important; }
.gallery-arrow:disabled {
  opacity: 0.35 !important;
  cursor: default !important;
}


/* --- ProPharm Hero Slider Styles --- */
.propharm-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  position: relative;
  width: 100%;
}
.propharm-slider::-webkit-scrollbar {
  display: none;
}
.propharm-hero {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
  background-color: #071a2b; /* Fallback */
}
.propharm-hero-content {
  max-width: 600px;
  z-index: 2;
  color: white;
}
.propharm-hero-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
  background: rgba(15, 139, 141, 0.9);
  padding: 4px 12px;
  border-radius: 4px;
}
.propharm-hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 15px;
  font-weight: 700;
  color: #fff;
}
.propharm-hero-text {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #f4fbfb;
}
.propharm-btn {
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 6px;
  background-color: #0f8b8d;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}
.hero-arrow-btn {
  transition: background 0.3s, transform 0.2s;
}
.hero-arrow-btn:hover {
  background: rgba(255,255,255,0.4) !important;
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .propharm-hero {
    min-height: 300px;
    padding: 20px;
  }
  .propharm-hero-title {
    font-size: 32px;
  }
  .propharm-hero-text {
    font-size: 16px;
  }
}

/* --- ProPharm Promo Grid Styles --- */
.promo-grid-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 20px;
  max-width: 1450px;
  margin: 40px auto;
  padding: 0 20px;
}
.promo-card {
  border-radius: 12px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  min-height: 200px;
}

.promo-card-content {
  position: relative;
  z-index: 2;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: none;
  max-width: 60%;
}
.promo-orange-badge {
  background-color: #f97316; /* Orange badge matching mockup */
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 8px;
  width: fit-content;
}
.promo-subtitle {
  font-size: 13px;
  color: #4b5563; /* Sleek slate grey */
  margin-bottom: 6px;
  font-weight: 600;
}
.promo-card h3 {
  font-size: 22px;
  color: #0f172a; /* Deep dark blue for premium look */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.promo-rect-1 h3, .promo-rect-2 h3, .promo-tall-1 h3 {
  font-size: 26px;
}
.small-btn {
  padding: 8px 20px;
  font-size: 13px;
  background-color: #22c55e !important; /* Emerald green matching mockup */
  color: white !important;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.small-btn:hover {
  background-color: #16a34a !important;
  transform: translateY(-1px);
}
.small-btn:active {
  transform: translateY(0);
}
.promo-rect-1, .promo-rect-2 {
  grid-column: span 2;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 60px 40px 40px !important;
}
.promo-rect-1::before, .promo-rect-2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 45%, rgba(255,255,255,0) 70%) !important;
  z-index: 1;
  border-radius: 12px;
  pointer-events: none;
}
.promo-rect-1 .promo-card-content, .promo-rect-2 .promo-card-content {
  max-width: 50%;
  width: 50%;
  z-index: 2;
  position: relative;
}
.promo-square-1 {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30px !important;
}
.promo-tall-1 {
  grid-column: span 1;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 40px 30px !important;
}
.promo-square-2 {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px !important;
}
/* .promo-rect-2 styling merged with .promo-rect-1 above */

@media (max-width: 900px) {
  .promo-grid-section {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 240px;
  }
  .promo-rect-1, .promo-rect-2 {
    grid-column: span 2;
  }
  .promo-square-1, .promo-square-2 {
    grid-column: span 1;
  }
  .promo-tall-1 {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 768px) {
  .promo-grid-section {
    grid-template-columns: 1fr;
  }
  .promo-card {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    min-height: 200px;
  }
  .promo-card h3, .promo-rect-1 h3, .promo-rect-2 h3, .promo-tall-1 h3 {
    font-size: 16px !important;
    word-wrap: break-word;
    word-break: break-word;
  }
  .promo-subtitle {
    font-size: 11px !important;
    word-wrap: break-word;
    word-break: break-word;
  }
  .promo-card-content {
    max-width: 65% !important;
  }
}


.buy-box-actions .btn { border-radius: 100px !important; width: 100%; margin-bottom: 8px; padding: 10px; font-size: 14px; box-shadow: 0 2px 5px rgba(213,217,217,.5); border: 1px solid transparent; }
.amazon-add-cart-btn { background: #ffd814 !important; border-color: #fcd200 !important; color: #0F1111 !important; }
.amazon-buy-now-btn { background: #ffa41c !important; border-color: #ff8f00 !important; color: #0F1111 !important; }

.detail-amazon { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px; max-width: 1500px; margin: 0 auto; align-items: flex-start; }
.amazon-gallery-column { display: flex; flex-direction: column; gap: 15px; width: 40%; min-width: 300px; position: relative; top: 20px; }
.amazon-thumbs { display: flex; flex-direction: row; justify-content: center; gap: 8px; width: 100%; flex-wrap: wrap; }
.thumb-button { width: 45px; height: 45px; border: 1px solid #a2a6ac; border-radius: 4px; background: #fff; cursor: pointer; padding: 2px; }
.thumb-button.active, .thumb-button:hover { border-color: #007185; box-shadow: 0 0 3px rgba(0,113,133,0.5); }
.thumb-button img { width: 100%; height: 100%; object-fit: contain; }
.amazon-main-image-area { width: 100%; display: flex; flex-direction: column; align-items: center; position: relative; }
.detail-image {
  width: 100%;
  max-width: 450px;
  height: 450px;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.detail-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.full-view-link { color: #007185; background: none; border: none; cursor: pointer; margin-top: 10px; font-size:14px; }
.full-view-link:hover { text-decoration: underline; color: #c45500; }
.amazon-info-column { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 10px; }
.breadcrumb-line { font-size: 12px; color: #565959; }
.amazon-title { font-size: 24px; font-weight: 400; color: #0F1111; margin: 0; line-height: 1.3; }
.store-link { color: #007185; text-decoration: none; font-size: 14px; }
.store-link:hover { text-decoration: underline; color: #c45500; }
.detail-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.detail-rating .stars { color: #FFA41C; }
.detail-rating small { color: #007185; }
.detail-price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; }
.detail-price { font-size: 28px; color: #cc0c39; font-weight: 500; }
.detail-price.no-discount { color: #0F1111; }
.detail-mrp { font-size: 14px; color: #565959; }
.detail-mrp span { text-decoration: line-through; }
.tax-line { font-size: 14px; color: #0F1111; margin: 0 0 10px 0; }
.amazon-services { display: flex; gap: 15px; margin: 10px 0; overflow-x: auto; }
.service-item { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 70px; text-align: center; font-size: 12px; color: #007185; }
.service-item img { width: 35px; height: 35px; }
.detail-rule { border: 0; border-top: 1px solid #e7e7e7; margin: 15px 0; }
.amazon-short-specs { display: flex; flex-direction: column; gap: 5px; font-size: 14px; }
.short-spec-row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.short-spec-row strong { color: #0F1111; }
.short-spec-row span { color: #333; }
.amazon-about-section h3 { font-size: 16px; color: #0F1111; margin-bottom: 10px; }
.amazon-about-list { padding-left: 20px; margin: 0; font-size: 14px; color: #0F1111; line-height: 1.5; }
.amazon-buy-box { width: 280px; border: 1px solid #D5D9D9; border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-sizing: border-box; }
.buy-box-price { font-size: 24px; color: #0F1111; font-weight: 500; margin-bottom: 10px; }
.delivery-copy { font-size: 14px; color: #0F1111; margin: 0; }
.stock-text-large { font-size: 18px; margin: 10px 0; }
.in-stock { color: #007600; }
.out-of-stock { color: #B12704; }
.buy-box-qty { margin-bottom: 10px; font-size: 14px; color: #0F1111; }
.buy-box-qty select { padding: 4px; border-radius: 8px; border: 1px solid #D5D9D9; background: #F0F2F2; box-shadow: 0 2px 5px rgba(15,17,17,.15); cursor: pointer; outline: none; margin-left: 5px;}
.purchase-meta-grid { display: grid; grid-template-columns: max-content 1fr; gap: 5px 10px; font-size: 12px; color: #565959; margin-top: 10px; }
.purchase-meta-grid strong { color: #007185; font-weight: 400; }

/* Amazon reference product detail layout. */
body:has(.amazon-reference-detail) {
  background: #fff !important;
}

.app-shell:has(.amazon-reference-detail) {
  max-width: none !important;
  padding: 0 !important;
}

.amazon-reference-detail {
  display: grid !important;
  grid-template-columns: minmax(450px, 580px) minmax(360px, 1fr) 210px;
  gap: 18px !important;
  align-items: start !important;
  max-width: 1500px !important;
  margin: 0 auto !important;
  margin: 0 auto !important;
  padding: 18px 40px 4px !important;
  background: #fff !important;
  color: #0f1111 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.amazon-reference-detail .amazon-gallery-column {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: auto !important;
  min-width: 0 !important;
  position: relative !important;
  top: 12px !important;
  align-items: center !important;
}

.amazon-reference-detail .amazon-thumbs {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
}

.amazon-reference-detail .thumb-button {
  width: 42px !important;
  height: 42px !important;
  border: 1px solid #8d9096 !important;
  border-radius: 4px !important;
  padding: 2px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.amazon-reference-detail .thumb-button.active,
.amazon-reference-detail .thumb-button:hover,
.amazon-reference-detail .choice-thumb.active,
.amazon-reference-detail .choice-thumb:hover {
  border-color: #007185 !important;
  box-shadow: 0 0 0 2px rgba(0, 113, 133, 0.18) !important;
}

.amazon-reference-detail .thumb-button img,
.amazon-reference-detail .choice-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.amazon-reference-detail .amazon-main-image-area {
  align-items: center !important;
  min-width: 0 !important;
}

.amazon-reference-detail .detail-image {
  width: 100% !important;
  max-width: none !important;
  min-height: 360px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.amazon-reference-detail .detail-image img {
  width: 100% !important;
  max-height: 580px !important;
  object-fit: contain !important;
  padding: 4px !important;
}

.amazon-reference-detail .full-view-link {
  margin-top: 8px !important;
  color: #007185 !important;
  font-size: 11px !important;
}

.manufacturer-media-section {
  max-width: 1500px !important;
  margin: 26px auto 20px !important;
  padding: 0 18px !important;
  background: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.manufacturer-media-head {
  border-top: 1px solid #ddd !important;
  padding-top: 16px !important;
  margin-bottom: 10px !important;
}

.manufacturer-media-head h2 {
  color: #0f1111 !important;
  font-size: 21px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
}

.manufacturer-media-stage {
  position: relative !important;
}

.manufacturer-media-track {
  display: flex !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory !important;
  scrollbar-width: none !important;
  padding: 2px 2px 12px !important;
}

.manufacturer-media-track::-webkit-scrollbar {
  display: none !important;
}

.manufacturer-media-card {
  flex: 0 0 min(920px, 86vw) !important;
  height: clamp(260px, 42vw, 520px) !important;
  margin: 0 !important;
  scroll-snap-align: start !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 6px !important;
  background: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

.manufacturer-media-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.manufacturer-media-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;
  height: 72px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f1111 !important;
  font-size: 34px !important;
  cursor: pointer !important;
  z-index: 4 !important;
  box-shadow: 0 1px 4px rgba(15, 17, 17, 0.18) !important;
}

.manufacturer-media-arrow.left {
  left: 8px !important;
}

.manufacturer-media-arrow.right {
  right: 8px !important;
}

.manufacturer-media-arrow:hover {
  background: #f7fafa !important;
}

.amazon-reference-detail .amazon-info-column {
  min-width: 0 !important;
  gap: 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.amazon-reference-detail .breadcrumb-line {
  color: #565959 !important;
  font-size: 11px !important;
  margin-bottom: 8px !important;
}

.amazon-reference-detail .amazon-title {
  color: #0f1111 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.28 !important;
  margin: 0 0 3px !important;
}

.amazon-reference-detail .store-link,
.amazon-reference-detail .detail-rating a,
.amazon-reference-detail .amazon-choice-row a,
.amazon-reference-detail .amazon-offers-strip a,
.amazon-fbt-item a {
  color: #007185 !important;
  text-decoration: none !important;
}

.amazon-reference-detail .store-link:hover,
.amazon-reference-detail .detail-rating a:hover,
.amazon-reference-detail .amazon-choice-row a:hover,
.amazon-reference-detail .amazon-offers-strip a:hover,
.amazon-fbt-item a:hover {
  color: #c7511f !important;
  text-decoration: underline !important;
}

.amazon-reference-detail .detail-rating {
  gap: 6px !important;
  margin-top: 4px !important;
  font-size: 12px !important;
}

.amazon-reference-detail .detail-rating .stars {
  color: #ffa41c !important;
  font-size: 13px !important;
  letter-spacing: 0 !important;
}

.amazon-reference-detail .amazon-choice-row {
  margin-top: 5px !important;
  font-size: 12px !important;
  color: #565959 !important;
}

.amazon-reference-detail .amazon-choice-row span {
  display: inline-block !important;
  background: #232f3e !important;
  color: #fff !important;
  padding: 2px 6px !important;
  border-radius: 2px !important;
  font-size: 11px !important;
}

.amazon-reference-detail .detail-rule {
  margin: 10px 0 !important;
  border-top-color: #ddd !important;
}

.amazon-reference-detail .amazon-price-block {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 6px 0 2px !important;
}

.amazon-reference-detail .discount-badge {
  color: #cc0c39 !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  background: transparent !important;
  padding: 0 !important;
}

.amazon-reference-detail .offer-price-large {
  color: #0f1111 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
}

.amazon-reference-detail .detail-mrp,
.amazon-reference-detail .tax-line {
  color: #565959 !important;
  font-size: 12px !important;
  margin: 2px 0 !important;
}

.amazon-reference-detail .amazon-deal-line {
  margin: 7px 0 !important;
}

.amazon-reference-detail .amazon-deal-line span {
  background: #cc0c39 !important;
  color: #fff !important;
  padding: 3px 7px !important;
  border-radius: 2px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.amazon-reference-detail .amazon-offers-strip {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px !important;
  margin: 10px 0 12px !important;
}

.amazon-reference-detail .amazon-offers-strip article {
  min-height: 82px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 4px !important;
  padding: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 17, 17, 0.08) !important;
}

.amazon-reference-detail .amazon-offers-strip strong,
.amazon-reference-detail .amazon-offers-strip span,
.amazon-reference-detail .amazon-offers-strip a {
  display: block !important;
  font-size: 11px !important;
}

.amazon-reference-detail .amazon-offers-strip strong {
  color: #0f1111 !important;
  margin-bottom: 4px !important;
}

.amazon-reference-detail .amazon-offers-strip span {
  color: #565959 !important;
  min-height: 32px !important;
}

.amazon-reference-detail .amazon-services {
  display: flex !important;
  gap: 12px !important;
  margin: 10px 0 !important;
  padding-bottom: 4px !important;
  overflow-x: auto !important;
}

.amazon-reference-detail .service-item {
  width: 66px !important;
  flex: 0 0 66px !important;
  color: #007185 !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.amazon-reference-detail .service-symbol {
  width: 30px !important;
  height: 30px !important;
  border: 1px solid #c7e4eb !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  color: #007185 !important;
  background: #f3fbfd !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.amazon-reference-detail .amazon-choice-thumbs {
  margin: 8px 0 10px !important;
  font-size: 12px !important;
}

.amazon-reference-detail .amazon-choice-thumbs > div {
  display: flex !important;
  gap: 8px !important;
  margin-top: 6px !important;
}

.amazon-reference-detail .choice-thumb {
  width: 52px !important;
  height: 62px !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 3px !important;
  background: #fff !important;
  padding: 3px !important;
  cursor: pointer !important;
}

.amazon-reference-detail .amazon-short-specs {
  gap: 3px !important;
  margin: 4px 0 12px !important;
  font-size: 12px !important;
}

.amazon-reference-detail .short-spec-row {
  grid-template-columns: 110px 1fr !important;
  gap: 8px !important;
}

.amazon-reference-detail .amazon-about-section h3,
.amazon-fbt-section h2 {
  color: #0f1111 !important;
  font-size: 16px !important;
  margin: 0 0 6px !important;
}

.amazon-reference-detail .amazon-about-list {
  color: #0f1111 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  padding-left: 18px !important;
}

.amazon-reference-detail .amazon-buy-box {
  width: auto !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 4px !important;
  padding: 14px !important;
  gap: 8px !important;
  position: relative !important;
  top: 12px !important;
  background: #fff !important;
}

.amazon-reference-detail .buy-box-price {
  font-size: 20px !important;
  margin: 0 0 4px !important;
}

.amazon-reference-detail .delivery-copy,
.amazon-reference-detail .buy-box-qty,
.amazon-reference-detail .purchase-meta-grid {
  font-size: 12px !important;
}

.amazon-reference-detail .stock-text-large {
  font-size: 15px !important;
  margin: 5px 0 !important;
  font-weight: 400 !important;
}

.amazon-reference-detail .buy-box-qty select {
  width: 100% !important;
  margin: 5px 0 0 !important;
  border-radius: 7px !important;
  font-size: 12px !important;
}

.amazon-reference-detail .buy-box-actions .btn,
.amazon-reference-detail .amazon-wishlist-btn,
.amazon-fbt-summary .btn {
  width: 100% !important;
  min-height: 28px !important;
  border-radius: 100px !important;
  font-size: 11px !important;
  padding: 6px 10px !important;
  box-shadow: none !important;
}

.amazon-reference-detail .amazon-wishlist-btn {
  margin-top: 10px !important;
  border: 1px solid #adb1b8 !important;
  background: linear-gradient(#fff, #f7f8fa) !important;
  color: #0f1111 !important;
  cursor: pointer !important;
}

.amazon-reference-detail .purchase-meta-grid {
  grid-template-columns: 58px 1fr !important;
  gap: 4px 8px !important;
}

.amazon-fbt-section,
.amazon-product-info-section,
.amazon-manufacturer-section {
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 0 18px 18px !important;
  background: #fff !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.amazon-fbt-section hr,
.amazon-product-info-section hr,
.amazon-manufacturer-section hr {
  border: 0 !important;
  border-top: 1px solid #ddd !important;
  margin: 12px 0 !important;
}

.amazon-fbt-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  gap: 18px !important;
  align-items: center !important;
}

.amazon-fbt-products {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  overflow-x: auto !important;
}

.amazon-fbt-item {
  width: 120px !important;
  flex: 0 0 120px !important;
  display: grid !important;
  gap: 6px !important;
  font-size: 11px !important;
}

.amazon-fbt-item img {
  width: 96px !important;
  height: 96px !important;
  object-fit: contain !important;
}

.amazon-fbt-plus {
  color: #565959 !important;
  font-size: 20px !important;
  padding-top: 34px !important;
}

.amazon-fbt-summary {
  display: grid !important;
  gap: 8px !important;
  font-size: 12px !important;
}

@media (max-width: 980px) {
  .amazon-reference-detail {
    grid-template-columns: 1fr !important;
  }
  .amazon-reference-detail .amazon-gallery-column,
  .amazon-reference-detail .amazon-buy-box {
    position: static !important;
  }
  .amazon-fbt-row {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 620px) {
  .amazon-reference-detail {
    padding: 12px !important;
  }
  .amazon-reference-detail .amazon-gallery-column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .amazon-reference-detail .detail-image {
    min-height: 270px !important;
  }
  .amazon-reference-detail .amazon-offers-strip {
    grid-template-columns: 1fr !important;
  }
  .manufacturer-media-section {
    padding: 0 12px !important;
  }
  .manufacturer-media-card {
    flex-basis: 100% !important;
    height: 260px !important;
  }
  .manufacturer-media-arrow {
    width: 34px !important;
    height: 54px !important;
    font-size: 26px !important;
  }
}

/* Reference-style product cards with Add to Cart only. */
.product-grid .market-product-card,
.amazon-carousel .market-product-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  height: auto !important;
  padding: 0 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}

.product-grid .market-product-card:hover,
.amazon-carousel .market-product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}

.product-grid .market-product-image-wrap,
.amazon-carousel .market-product-image-wrap {
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  background: #f7f7f7 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.product-grid .market-product-image,
.amazon-carousel .market-product-image {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  mix-blend-mode: normal !important;
}

.product-grid .market-product-card .brand-category-badge,
.product-grid .market-product-card .market-offer-badge,
.amazon-carousel .market-product-card .brand-category-badge,
.amazon-carousel .market-product-card .market-offer-badge {
  display: none !important;
}

.product-grid .market-product-info,
.amazon-carousel .market-product-info {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  gap: 4px !important;
  padding: 10px 12px 12px 12px !important;
  box-sizing: border-box !important;
}

.product-grid .market-product-title,
.amazon-carousel .market-product-title {
  order: 1 !important;
  color: #0f1111 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  margin: 0 0 4px 0 !important;
  min-height: auto !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.product-grid .product-short-desc,
.amazon-carousel .product-short-desc {
  display: none !important;
}

.product-grid .market-product-rating,
.amazon-carousel .market-product-rating {
  order: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #ffa41c !important;
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 0 8px 0 !important;
}

.product-grid .market-product-rating span,
.amazon-carousel .market-product-rating span {
  color: #007185 !important;
  font-size: 13px !important;
}

.product-grid .market-product-price-row,
.amazon-carousel .market-product-price-row {
  order: 3 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  margin: 0 0 12px 0 !important;
}

.product-grid .market-product-price,
.amazon-carousel .market-product-price {
  color: #0f1111 !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.product-grid .market-product-old-price,
.amazon-carousel .market-product-old-price {
  color: #565959 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
}

.product-grid .market-product-old-price::before,
.amazon-carousel .market-product-old-price::before {
  content: "M.R.P.: " !important;
  text-decoration: none !important;
  display: inline-block !important;
  margin-right: 2px !important;
}

.product-grid .market-product-actions,
.amazon-carousel .market-product-actions {
  order: 5 !important;
  margin-top: auto !important;
  display: block !important;
}

.product-grid .market-btn-row-top,
.amazon-carousel .market-btn-row-top {
  display: block !important;
  width: 100% !important;
}

.product-grid .market-product-actions .market-buy-btn,
.product-grid .market-details-btn,
.amazon-carousel .market-product-actions .market-buy-btn,
.amazon-carousel .market-details-btn {
  display: none !important;
}

.product-grid .market-product-actions .market-cart-btn,
.amazon-carousel .market-product-actions .market-cart-btn {
  width: 90% !important;
  margin: 0 auto !important;
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 100px !important;
  border: 1px solid #ffd814 !important;
  background: #ffd814 !important;
  color: #0f1111 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 5px rgba(213,217,217,.5) !important;
  display: block !important;
}

.product-grid .market-product-actions .market-cart-btn:hover,
.amazon-carousel .market-product-actions .market-cart-btn:hover {
  background: #f7ca00 !important;
  border-color: #f2c200 !important;
}

.product-grid .market-offer-timer,
.amazon-carousel .market-offer-timer {
  display: block !important;
  text-align: center;
  margin-top: 8px;
  font-weight: bold;
  color: #cc0c39;
  font-size: 14px;
}

@media (max-width: 768px) {
  .product-grid .market-product-info,
  .amazon-carousel .market-product-info {
    padding: 16px !important;
  }
  .product-grid .market-product-title,
  .amazon-carousel .market-product-title {
    font-size: 19px !important;
    min-height: 50px !important;
  }
  .product-grid .market-product-price,
  .amazon-carousel .market-product-price {
    font-size: 28px !important;
  }
}

.social-icons a:hover svg {
  stroke: #fff !important;
}

.product-grid .brand-offer-card .market-offer-badge,
.amazon-carousel .brand-offer-card .market-offer-badge {
  display: block !important;
  position: absolute !important;
  top: 10px !important;
  left: 10px !important;
  background: #cc0c39 !important;
  color: #fff !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
  font-weight: bold !important;
  border-radius: 3px !important;
  z-index: 10 !important;
}

/* Custom Reviews Popup and Pointer Styles */
.market-product-rating, .detail-rating, .rating {
  cursor: pointer;
  user-select: none;
}
.market-product-rating:hover, .detail-rating:hover, .rating:hover {
  opacity: 0.85;
}

.reviews-popup {
  position: absolute;
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  border: 1px solid #eef2f6;
  width: 320px;
  max-height: 250px;
  overflow-y: auto;
  padding: 16px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  box-sizing: border-box;
}

.reviews-popup::-webkit-scrollbar {
  width: 6px;
}
.reviews-popup::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}
.reviews-popup::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.reviews-popup::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.reviews-popup-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
}

.review-item {
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.review-author {
  font-weight: 600;
  font-size: 13px;
  color: #334155;
}
.review-date {
  font-size: 11px;
  color: #64748b;
}
.review-rating {
  font-size: 12px;
  color: #fbbf24;
}
.review-text {
  font-size: 12px;
  color: #475569;
  line-height: 1.45;
  margin: 0;
}

/* Amazon-style Carousel Slider */
.amazon-carousel {
  display: flex !important;
  flex-direction: row !important;
  gap: 16px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  scroll-behavior: smooth !important;
  width: 100% !important;
  padding: 10px 0 !important;
}
.amazon-carousel::-webkit-scrollbar {
  display: none !important;
}
.amazon-carousel .market-product-card {
  min-width: 200px !important;
  max-width: 220px !important;
  flex: 0 0 auto !important;
}

/* From the manufacturer image styling */
.manufacturer-images {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 15px 0 !important;
  width: 100% !important;
}

.manufacturer-images img {
  max-width: 600px !important;
  width: 100% !important;
  height: auto !important;
  border: 1px solid #d5d9d9 !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  box-sizing: border-box !important;
}

/* Custom Nav Dropdown Styles */
.custom-nav-menu-list li {
  padding: 10px 15px;
  cursor: pointer;
  transition: background 0.1s;
  color: #333;
}
.custom-nav-menu-list li:hover {
  background: #f0f0f0;
}
.custom-nav-mega-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #333;
  padding: 8px;
  border-radius: 6px;
  transition: background 0.2s;
}
.custom-nav-mega-item:hover {
  background: #f9f9f9;
}
.custom-nav-mega-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #f8f8f8;
  border-radius: 4px;
}
.custom-nav-mega-info {
  display: flex;
  flex-direction: column;
}
.custom-nav-mega-title {
  font-size: 13px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.custom-nav-mega-price {
  font-size: 12px;
  color: #cc0c39;
  font-weight: bold;
}

@media (max-width: 768px) {
  .site-header { 
    padding: 15px 20px !important; 
    flex-wrap: nowrap !important; 
    justify-content: space-between !important; 
    gap: 15px !important; 
    align-items: center !important;
  }
  .mobile-header-triggers {
    display: flex !important;
    align-items: center;
  }
  .header-actions { display: none !important; }

  /* Desktop elements reset for overlay */
  .mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
  }
  .mobile-menu-overlay.menu-open {
    display: block;
  }
  .mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10001;
  }
  .menu-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
  }
  .mobile-menu-drawer {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: #f4f6f8;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.3s ease;
  }
  @keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
  }
  .mobile-menu-tabs {
    display: flex;
    margin: 15px;
    gap: 10px;
  }
  .mobile-tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 20px;
    background: #e9ecef;
    color: #0a4b75;
    font-weight: bold;
    cursor: pointer;
  }
  .mobile-tab.active {
    background: #14a0df;
    color: white;
  }
  .mobile-menu-drawer .header-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    background: #fff;
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 !important;
  }
  .mobile-menu-drawer .header-actions > a,
  .mobile-menu-drawer .header-actions > span {
    display: flex !important;
    width: 100%;
    padding: 12px 20px;
    color: #0a4b75 !important;
    font-size: 15px !important;
    font-weight: 700;
    justify-content: space-between;
    align-items: center;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none !important;
  }
  .mobile-menu-drawer .header-actions > a::after {
    content: "›";
    font-size: 18px;
    color: #888;
    margin-left: auto;
  }
  .mobile-menu-drawer .header-actions > span {
    padding: 0 !important;
    border-bottom: none !important;
  }
  .mobile-menu-drawer .header-actions > span a {
    display: flex !important;
    width: 100%;
    padding: 12px 20px;
    color: #0a4b75 !important;
    font-size: 15px !important;
    font-weight: 700;
    text-decoration: none;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    border: none !important;
  }
  .mobile-menu-drawer .cart-link b {
    display: inline-block !important;
    position: static !important;
    margin-left: 10px;
  }
  .mobile-menu-footer {
    padding: 20px;
    background: #f9f9f9;
  }
  .sales-support-btn {
    width: 100%;
    padding: 12px;
    background: #e8f4fa;
    color: #00a0e3;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
  }
  .covid-notice {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-bottom: 20px;
  }
  .mobile-menu-selectors {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    font-weight: 600;
  }

  /* Search Overlay */
  body.search-open {
    overflow: hidden;
  }
  body.search-open #searchForm {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    flex-direction: column;
    padding: 60px 20px 20px 20px !important;
    box-sizing: border-box;
    border-radius: 0 !important;
    border: none !important;
    animation: fadeIn 0.2s ease;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  body.search-open .search-close-btn {
    display: block !important;
  }
  body.search-open #headerCategoryDropdown {
    margin-bottom: 15px;
    border-radius: 25px !important;
    background: #f4f6f8 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 45px;
    justify-content: space-between;
  }
  body.search-open #searchInput {
    flex: none !important;
    margin-bottom: 20px;
    border-radius: 25px !important;
    background: #fff;
    height: 45px;
  }
  body.search-open #searchForm button[type="submit"] {
    width: 100%;
    border-radius: 25px !important;
    height: 45px;
    background: #f4a51c !important;
    font-size: 16px;
  }
  #searchForm { display: none !important; }
  
  body.search-open .custom-nav-menu-wrapper {
    left: 0 !important;
    right: auto !important;
    width: 140px !important;
    max-width: 40vw !important;
  }
  body.search-open .custom-nav-mega-pane {
    position: absolute !important;
    left: 100% !important;
    top: 0 !important;
    width: 200px !important;
    max-width: 55vw !important;
    height: 100% !important;
    box-shadow: 4px 4px 12px rgba(0,0,0,0.1) !important;
    border: 1px solid #ccc !important;
    border-left: none !important;
    background: #fff !important;
    z-index: 10 !important;
    overflow-y: auto !important;
  }
}

/* Hide mobile-specific menu elements on desktop view */
@media (min-width: 769px) {
  .mobile-menu-tabs,
  .mobile-menu-backdrop,
  .menu-close-btn {
    display: none !important;
  }
}


/* Mobile menu gap fix and mobile image zoom */
@media (max-width: 768px) {
  .mobile-menu-drawer .header-actions { gap: 0 !important; padding: 0 !important; margin: 0 !important; }
  .mobile-menu-drawer .header-actions > a, .mobile-menu-drawer .header-actions > span { margin: 0 !important; padding: 12px 20px !important; }
  .mobile-menu-gap-fix {}
  #mainDetailImage { cursor: zoom-in; touch-action: pinch-zoom; }
}

/* Printable Invoice / Bill Styling */
@media print {
  body * {
    visibility: hidden;
  }
  #invoiceModal, #invoiceModal * {
    visibility: visible;
  }
  #invoiceModal {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: #fff !important;
    padding: 0 !important;
  }
  .no-print-header {
    display: none !important;
  }
  .invoice-container {
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
