/* MDCO Reviews Slider v2.2.0 */

/* ── Outer wrapper ── */
.mdco-widget { width: 100%; font-family: system-ui, -apple-system, sans-serif; }

/* ── Score header (Excellent / stars / based on N / Google) ── */
.mdco-score-header {
  text-align: center;
  margin-bottom: 20px;
  padding: 0 8px;
}
.mdco-score-label {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #111827;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.mdco-score-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 5px;
}
.mdco-score-star {
  width: 24px;
  height: 24px;
  fill: #E59A12;
}
.mdco-score-based {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}
.mdco-score-based strong { color: #374151; }
.mdco-score-google {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mdco-score-google svg { height: 22px; width: auto; }

/* ── Slider viewport ── */
.mdco-slider-wrap { overflow: hidden; width: 100%; position: relative; }
.mdco-track { display: flex; will-change: transform; }

/* ── Base card ── */
.mdco-card {
  flex-shrink: 0; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 8px;
  padding: 1.1rem 1.2rem 0.9rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  position: relative;
}
.mdco-g-icon { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; }
.mdco-stars { color: #E59A12; font-size: 14px; letter-spacing: 1px; margin-bottom: 1px; }
.mdco-card-body {
  font-size: 13px; line-height: 1.65; color: #374151; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.mdco-read-more {
  font-size: 11.5px; color: #6b7280; cursor: pointer;
  background: none; border: none; padding: 0; text-align: left;
  font-family: inherit; text-decoration: underline; text-underline-offset: 2px;
}
.mdco-read-more:hover { color: #1D9E75; }
.mdco-footer-row { display: flex; align-items: center; gap: 9px; margin-top: 5px; }
.mdco-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; flex-shrink: 0;
}
.mdco-footer-info { display: flex; flex-direction: column; gap: 1px; }
.mdco-card-author { font-size: 12.5px; color: #111827; font-weight: 600; margin: 0; }

/* Layouts */
.mdco-layout-a { border-radius: 12px; }
.mdco-layout-b { border-left: 3px solid #1D9E75; border-radius: 0 12px 12px 0; }
.mdco-layout-b .mdco-card-body { font-style: italic; }
.mdco-quote-mark { font-size: 40px; line-height: 0.45; color: #9FE1CB; margin-bottom: 5px; font-family: Georgia,serif; font-weight: 700; }
.mdco-layout-c { border-radius: 22px; }
.mdco-avatar-header { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; }
.mdco-avatar-header .mdco-avatar { width: 38px; height: 38px; font-size: 13px; }
.mdco-avatar-header .mdco-card-author { font-size: 13px; }
.mdco-avatar-header .mdco-stars { font-size: 12px; margin: 0; }
.mdco-layout-d { border-radius: 0; border-top: 2px solid #E59A12; border-bottom: 1px solid #e5e7eb; border-left: none; border-right: none; }
.mdco-layout-d .mdco-card-body { font-family: Georgia,serif; font-size: 14px; }

/* Modal */
.mdco-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.5); align-items: center; justify-content: center; padding: 20px;
}
.mdco-modal-overlay.open { display: flex; }
.mdco-modal-box {
  background: #fff; border-radius: 16px; padding: 2rem;
  max-width: 520px; width: 100%; max-height: 80vh; overflow-y: auto; position: relative;
}
.mdco-modal-close { position: absolute; top: 14px; right: 16px; font-size: 22px; cursor: pointer; color: #6b7280; background: none; border: none; line-height: 1; }
.mdco-modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.mdco-modal-stars { color: #E59A12; font-size: 17px; letter-spacing: 1px; margin-bottom: 10px; }
.mdco-modal-body { font-size: 14px; line-height: 1.75; color: #374151; }

/* Verified badge */
.mdco-verified-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 9.5px; color: #0F6E56; background: #E1F5EE;
  border: 1px solid #9FE1CB; border-radius: 20px; padding: 2px 8px;
  margin-top: 3px; flex-shrink: 0;
}
.mdco-verified-badge svg { width: 9px; height: 9px; flex-shrink: 0; }
