.mpc-product-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--mpc-product-background-color, transparent);
  color: var(--mpc-product-text-color, #17202a);
  font-family: var(--mpc-product-font-family, inherit);
  font-size: var(--mpc-product-font-size, 15px);
  margin-top: 14px;
}

.mpc-add-button,
.mpc-drawer-cta,
.mpc-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 3px;
  background: var(--mpc-product-button-bg-color, var(--gcid-primary-color, #00448b));
  color: #fff !important;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  padding: 8px 14px;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.mpc-add-button:hover,
.mpc-add-button.is-added {
  background: var(--mpc-product-button-hover-bg, var(--gcid-secondary-color, #8b0100));
  color: var(--mpc-product-button-hover-text, #fff) !important;
}

.mpc-add-button {
  color: var(--mpc-product-button-text-color, #fff) !important;
}

.mpc-drawer-cta {
  background: var(--mpc-drawer-button-bg-color, var(--gcid-primary-color, #00448b));
  color: var(--mpc-drawer-button-text-color, #fff) !important;
}

.mpc-drawer-cta:hover {
  background: var(--mpc-drawer-button-hover-bg, var(--gcid-secondary-color, #8b0100));
  color: var(--mpc-drawer-button-hover-text, #fff) !important;
}

.mpc-product-link {
  background: var(--mpc-page-button-bg-color, var(--gcid-primary-color, #00448b));
  color: var(--mpc-page-button-text-color, #fff) !important;
}

.mpc-product-link:hover {
  background: var(--mpc-page-button-hover-bg, var(--gcid-secondary-color, #8b0100));
  color: var(--mpc-page-button-hover-text, #fff) !important;
}

.mpc-product-note {
  color: var(--mpc-product-text-color, #555);
  font-size: 0.95rem;
  font-weight: 700;
}

.mpc-drawer {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 99999;
  display: none;
  pointer-events: none;
}

.mpc-drawer.is-visible {
  display: block;
}

.mpc-drawer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(180px, 2fr) auto 34px;
  gap: 12px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid rgba(0, 68, 139, 0.2);
  border-radius: 6px;
  background: var(--mpc-drawer-background-color, rgba(255, 255, 255, 0.96));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  color: var(--mpc-drawer-text-color, #17202a);
  font-family: var(--mpc-drawer-font-family, inherit);
  font-size: var(--mpc-drawer-font-size, 15px);
  padding: 12px;
  pointer-events: auto;
}

.mpc-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: var(--mpc-drawer-button-bg-color, rgba(0, 68, 139, 0.08));
  color: var(--mpc-drawer-button-text-color, #00448b);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mpc-drawer-close:hover {
  background: var(--mpc-drawer-button-hover-bg, #8b0100);
  color: var(--mpc-drawer-button-hover-text, #fff);
}

.mpc-drawer-inner strong,
.mpc-drawer-inner span {
  display: block;
}

.mpc-drawer-inner span {
  color: var(--mpc-drawer-text-color, #5f6b77);
  font-size: 0.9rem;
  font-weight: 700;
}

.mpc-drawer-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mpc-drawer-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(0, 68, 139, 0.18);
  border-radius: 999px;
  background: rgba(0, 68, 139, 0.06);
  color: var(--mpc-drawer-text-color, #00448b);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 7px 8px 7px 11px;
}

.mpc-drawer-item button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 999px;
  background: var(--mpc-drawer-button-bg-color, #00448b);
  color: var(--mpc-drawer-button-text-color, #fff);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.mpc-drawer-item button:hover {
  background: var(--mpc-drawer-button-hover-bg, #8b0100);
  color: var(--mpc-drawer-button-hover-text, #fff);
}

.mpc-product-head button {
  border: 1px solid rgba(0, 68, 139, 0.18);
  border-radius: 999px;
  background: var(--mpc-page-button-bg-color, #00448b);
  color: var(--mpc-page-button-text-color, #fff);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 7px 10px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.mpc-product-head button:hover {
  background: var(--mpc-page-button-hover-bg, #8b0100);
  color: var(--mpc-page-button-hover-text, #fff);
}

.medico-product-compare-page {
  width: min(1180px, 94vw);
  color: var(--mpc-page-text-color, #17202a);
  font-family: var(--mpc-page-font-family, inherit);
  font-size: var(--mpc-page-font-size, 16px);
  margin: 0 auto;
}

.mpc-page-status {
  color: var(--mpc-page-text-color, #5f6b77);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.mpc-compare-grid {
  overflow-x: auto;
  border: 1px solid rgba(0, 68, 139, 0.14);
  border-radius: 6px;
  background: var(--mpc-page-background-color, #fff);
}

.mpc-row {
  display: grid;
  grid-template-columns: 180px repeat(var(--mpc-count), minmax(210px, 1fr));
  min-width: calc(180px + (210px * var(--mpc-count)));
  border-bottom: 1px solid rgba(0, 68, 139, 0.1);
}

.mpc-row:last-child {
  border-bottom: 0;
}

.mpc-label,
.mpc-value,
.mpc-product-head {
  padding: 14px;
}

.mpc-label {
  background: rgba(0, 68, 139, 0.06);
  color: #00448b;
  font-weight: 800;
}

.mpc-value {
  color: var(--mpc-page-text-color, #17202a);
  font-weight: 650;
}

.mpc-product-head {
  display: grid;
  gap: 10px;
  align-content: start;
}

.mpc-product-head img {
  width: 100%;
  aspect-ratio: 5 / 3.3;
  object-fit: cover;
}

.mpc-product-head h3 {
  margin: 0;
  color: var(--mpc-page-text-color, #17202a);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.mpc-mini-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--mpc-icon-button-text-color, #00448b);
  font-family: var(--mpc-icon-font-family, inherit);
  font-size: var(--mpc-icon-font-size, 16px);
  text-decoration: none;
}

.mpc-mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.mpc-mini-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.mpc-mini-icon-custom {
  background: currentColor;
  mask: var(--mpc-icon-image) center / contain no-repeat;
  -webkit-mask: var(--mpc-icon-image) center / contain no-repeat;
}

.mpc-mini-count {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--mpc-icon-button-bg-color, var(--gcid-secondary-color, #8b0100));
  color: var(--mpc-icon-button-hover-text, #fff);
  font-family: inherit;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  padding: 0 3px;
}

.mpc-mini-link:not(.has-items) .mpc-mini-count {
  background: #8b98a6;
}

@media (max-width: 760px) {
  .mpc-drawer {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .mpc-drawer-inner {
    grid-template-columns: 1fr;
  }

  .mpc-drawer-close {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .mpc-drawer-cta,
  .mpc-add-button {
    width: 100%;
  }
}
