/* Maison Product Tabs - isolated styles */
.mpt {
  --mpt-border: var(--mpt-tab-border, #e8e8e8);
  --mpt-text: var(--mpt-tab-active-text, #222);
  --mpt-muted: var(--mpt-tab-text, #666);
  width: 100%;
  margin: 28px 0;
  color: var(--mpt-text);
}
.mpt__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--mpt-border);
}
.mpt__tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: var(--mpt-tab-bg, transparent);
  color: var(--mpt-muted);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  padding: 13px 18px;
  text-align: center;
}
.mpt__tab[aria-selected="true"] {
  color: var(--mpt-tab-active-text, var(--mpt-text));
  background: var(--mpt-tab-active-bg, transparent);
  border-bottom-color: var(--mpt-tab-active-border, currentColor);
}
.mpt__panel {
  display: none;
  width: 100%;
  padding: 22px 0;
}
.mpt__panel.is-active { display: block; }
.mpt__content {
  max-width: 100%;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.mpt__content img,
.mpt__content video,
.mpt__content iframe {
  max-width: 100%;
}
.mpt__content img { height: auto; }
.mpt__content table {
  max-width: 100%;
  border-collapse: collapse;
}
.mpt__table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mpt__empty { display: none; }

@media (max-width: 767px) {
  .mpt { margin: 20px 0; }
  .mpt__items {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .mpt__tab {
    flex: 0 0 auto;
    padding: 12px 14px;
    font-size: 13px;
  }
  .mpt__panel { padding: 16px 0; }
}