/* Mobile Compare — 91mobiles-inspired responsive SPA */

.mobile-compare-root,
.mobile-compare-blank-main {
  --mc-bg: #f5f6f8;
  --mc-card: #ffffff;
  --mc-border: #e2e5ea;
  --mc-text: #1a1a1a;
  --mc-muted: #6b7280;
  --mc-primary: #111827;
  --mc-accent: #e11d48;
  --mc-orange: #ff6536;
  --mc-better: #059669;
  --mc-radius: 12px;
  --mc-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--mc-text);
  line-height: 1.5;
  box-sizing: border-box;
}

.mobile-compare-root *,
.mobile-compare-root *::before,
.mobile-compare-root *::after {
  box-sizing: border-box;
}

.mobile-compare-blank-template {
  margin: 0;
  background: var(--mc-bg, #f5f6f8);
}

.mobile-compare-blank-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px;
}

/* Hide duplicate theme page titles on compare pages */
body.mobile-compare-active .entry-header,
body.mobile-compare-active .page-header,
body.mobile-compare-active .page-title,
body.mobile-compare-active .rh-post-title,
body.mobile-compare-active .post-title,
body.mobile-compare-active h1.entry-title,
body.mobile-compare-blank-template .entry-header {
  display: none !important;
}

.mc-page {
  max-width: 1160px;
  margin: 0 auto;
}

.mc-loading {
  text-align: center;
  padding: 48px 16px;
  color: var(--mc-muted);
}

/* Boot screen */
.mc-boot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.mc-boot-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mc-boot-text {
  margin: 0;
  color: var(--mc-muted);
  font-size: 0.95rem;
}

/* Spinner */
.mc-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--mc-border);
  border-top-color: var(--mc-primary);
  border-radius: 50%;
  animation: mc-spin 0.7s linear infinite;
  flex-shrink: 0;
}

.mc-btn-loading .mc-spinner {
  border-top-color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
}

@keyframes mc-spin {
  to { transform: rotate(360deg); }
}

/* Skeleton shimmer */
.mc-skeleton {
  background: linear-gradient(90deg, #eceef1 25%, #f5f6f8 50%, #eceef1 75%);
  background-size: 200% 100%;
  animation: mc-shimmer 1.2s ease-in-out infinite;
  border-radius: 6px;
}

@keyframes mc-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.mc-skeleton-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 8px;
  border-radius: 8px;
}

.mc-skeleton-img-lg {
  width: 100px;
  height: 100px;
  margin: 8px auto;
  border-radius: 8px;
}

.mc-skeleton-text {
  height: 14px;
  width: 80%;
  margin: 0 auto 12px;
}

.mc-skeleton-text-lg {
  height: 16px;
  width: 90%;
}

.mc-skeleton-text-sm {
  height: 12px;
  width: 60%;
}

.mc-skeleton-btn {
  height: 36px;
  width: 100%;
  margin-bottom: 6px;
}

.mc-skeleton-label {
  display: block;
  height: 14px;
  width: 100px;
}

.mc-skeleton-val {
  display: block;
  height: 14px;
  width: 70%;
  margin: 0 auto;
}

.mc-skeleton-block {
  height: 64px;
  width: 100%;
}

.mc-skeleton-card {
  pointer-events: none;
}

.mc-skeleton-pair {
  pointer-events: none;
  border-style: dashed;
}

/* Toast & alerts */
.mc-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mc-primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: mc-toast-in 0.25s ease;
}

@keyframes mc-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.mc-alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.mc-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.mc-search-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--mc-muted);
  border-top: 1px solid var(--mc-border);
}

.mc-btn-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

/* Header */
.mc-header {
  margin-bottom: 24px;
}

.mc-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.mc-subtitle {
  color: var(--mc-muted);
  margin: 0;
  font-size: 0.95rem;
}

.mc-breadcrumb {
  font-size: 0.85rem;
  color: var(--mc-muted);
  margin-bottom: 12px;
}

.mc-breadcrumb a {
  color: var(--mc-muted);
  text-decoration: none;
}

.mc-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.mc-header-actions {
  display: flex;
  gap: 8px;
}

/* Buttons */
.mc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.mc-btn-primary {
  background: var(--mc-primary);
  color: #fff;
  border-color: var(--mc-primary);
}

.mc-btn-primary:hover:not(:disabled) {
  background: #374151;
}

.mc-btn-primary.mc-disabled,
.mc-btn-primary:disabled {
  background: #d1d5db;
  border-color: #d1d5db;
  cursor: not-allowed;
}

.mc-btn-outline {
  background: #fff;
  border-color: var(--mc-border);
  color: var(--mc-text);
}

.mc-btn-outline:hover {
  border-color: var(--mc-primary);
}

.mc-btn-ghost {
  background: transparent;
  border-color: var(--mc-border);
  color: var(--mc-text);
}

.mc-btn-buy {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.mc-btn-compare {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 24px auto 0;
  padding: 14px 24px;
  font-size: 1rem;
}

/* Selection — 91mobiles horizontal slot picker */
.mc-select-section {
  background: var(--mc-card);
  border: 1px solid var(--mc-border);
  border-radius: 8px;
  padding: 12px;
  box-shadow: var(--mc-shadow);
}

.mc-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--mc-muted);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mc-section-title {
  font-size: 0.95rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.mc-slots-scroll {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mc-slot-card {
  position: relative;
  flex: 1 1 0;
  max-width: 200px;
  min-width: 0;
  min-height: 140px;
  border: 1px solid var(--mc-border);
  border-radius: 8px;
  padding: 10px 8px;
  background: #fafafa;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mc-slot-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
  font: inherit;
  color: inherit;
}

.mc-slot-open-label {
  font-size: 0.72rem;
  color: var(--mc-muted);
  line-height: 1.2;
}

.mc-slot-picker {
  display: none;
  width: 100%;
}

.mc-slot-picker-open,
.mc-slot-active .mc-slot-picker {
  display: block;
}

.mc-slot-active .mc-slot-open {
  display: none;
}

.mc-slot-picker .mc-search-input {
  width: 100%;
  border: 1px solid var(--mc-border);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.75rem;
  text-align: left;
  outline: none;
  background: #fff;
}

.mc-slot-empty .mc-search-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  background: #fff;
  border: 1px solid var(--mc-border);
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  max-height: 220px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.mc-slot-empty .mc-search-dropdown li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 0.75rem;
}

.mc-slot-empty .mc-search-dropdown li:hover {
  background: #f3f4f6;
}

.mc-slot-empty .mc-search-dropdown img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-slot-filled {
  background: #fff;
  justify-content: flex-start;
}

.mc-slot-placeholder {
  width: 36px;
  height: 36px;
  border: 1px dashed var(--mc-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--mc-muted);
  margin: 4px auto 6px;
}

.mc-slot-card .mc-slot-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 4px auto 6px;
}

.mc-slot-card .mc-slot-name {
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.mc-slot-card .mc-slot-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--mc-muted);
  padding: 2px;
  line-height: 1;
}

.mc-slot-empty {
  padding-top: 4px;
}

.mc-slot-empty .mc-search-input {
  width: 100%;
}

.mc-slots-scroll .mc-vs-badge {
  width: 22px;
  height: 22px;
  font-size: 0.55rem;
  flex-shrink: 0;
}

.mc-slots-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  overflow-x: auto;
}

.mc-vs-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--mc-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.mc-slot {
  position: relative;
  flex: 0 0 108px;
  min-width: 108px;
  max-width: 108px;
  border: 1px solid var(--mc-border);
  border-radius: 10px;
  padding: 12px;
  background: #fafafa;
}

.mc-slot-filled {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
}

.mc-slot-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-slot-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.mc-slot-remove {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--mc-muted);
  padding: 4px;
}

.mc-slot-empty {
  padding: 0;
}

.mc-search-input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 14px 12px;
  font-size: 0.9rem;
  outline: none;
}

.mc-search-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--mc-border);
  max-height: 240px;
  overflow-y: auto;
}

.mc-search-dropdown li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.85rem;
}

.mc-search-dropdown li:hover {
  background: #f3f4f6;
}

.mc-search-dropdown img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Sections & cards */
.mc-section {
  margin-top: 20px;
}

.mc-section h2 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  font-weight: 700;
}

.mc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.mc-product-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 6px;
}

.mc-product-card h3 {
  font-size: 0.68rem;
  margin: 0 0 8px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-product-card .mc-btn {
  padding: 5px 8px;
  font-size: 0.65rem;
}

.mc-add-btn.mc-added {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Popular pairs */
.mc-popular-grid,
.mc-popular-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}

.mc-popular-pair {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--mc-card);
  border: 1px solid var(--mc-border);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s;
}

.mc-popular-pair:hover {
  border-color: var(--mc-primary);
}

.mc-popular-pair .mc-vs-badge {
  width: 26px;
  height: 26px;
  font-size: 0.62rem;
  flex-shrink: 0;
}

.mc-popular-side {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mc-popular-side img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-popular-side span {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ─── Selection page: 91mobiles desktop ─── */
.mc-header-91 {
  margin-bottom: 16px;
}

.mc-header-91 .mc-title {
  font-size: 1.5rem;
  margin: 0;
}

.mc-select-91 {
  padding: 16px 20px 20px;
  overflow: visible;
}

.mc-slots-91 {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 20;
}

.mc-slot-wrap {
  flex: 1;
  min-width: 0;
  position: relative;
}

.mc-slot-91 {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--mc-border);
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #fff;
  font: inherit;
  text-align: left;
}

.mc-slot-91.mc-slot-empty {
  justify-content: center;
  color: var(--mc-muted);
  font-size: 0.9rem;
  cursor: pointer;
  background: #fafafa;
}

.mc-slot-91.mc-slot-empty.is-active,
.mc-slot-wrap.is-open .mc-slot-91.mc-slot-picker {
  border-color: var(--mc-orange);
  box-shadow: inset 0 0 0 1px var(--mc-orange);
}

.mc-slot-91.mc-slot-picker {
  padding: 0;
  background: #fff;
}

.mc-slot-picker .mc-picker-search {
  width: 100%;
  border: none;
  padding: 14px 16px;
  font-size: 0.9rem;
  outline: none;
  display: block;
  background: transparent;
}

.mc-slot-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 60;
  background: #fff;
  border: 1px solid var(--mc-border);
  border-top: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-height: 320px;
  overflow-y: auto;
}

.mc-slot-dropdown .mc-search-dropdown {
  border-top: none;
  max-height: none;
}

.mc-slot-dropdown .mc-search-dropdown li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.85rem;
}

.mc-slot-dropdown .mc-search-dropdown li:hover {
  background: #f8f9fb;
}

.mc-slot-dropdown .mc-search-dropdown img {
  width: 36px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-dd-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mc-dd-name {
  font-weight: 700;
  line-height: 1.3;
  color: var(--mc-text);
}

.mc-dd-meta {
  font-size: 0.75rem;
  color: var(--mc-orange);
  line-height: 1.3;
}

.mc-search-empty {
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--mc-muted);
}

.mc-search-status-inline {
  display: flex;
  justify-content: center;
  padding: 8px;
  border-top: 1px solid var(--mc-border);
}

.mc-slot-91.mc-slot-filled {
  gap: 10px;
  position: relative;
}

.mc-slot-91-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-slot-91-name {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
}

.mc-slot-91-remove {
  background: none;
  border: none;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--mc-muted);
  padding: 4px;
  flex-shrink: 0;
}

.mc-slot-91-remove:hover {
  color: var(--mc-text);
}

.mc-vs-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--mc-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
  margin: 0 -6px;
  z-index: 2;
  align-self: center;
  text-transform: lowercase;
}

.mc-picker-panel {
  display: none;
}

.mc-picker-search {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--mc-border);
  padding: 12px 16px;
  font-size: 0.9rem;
  outline: none;
  display: block;
}

.mc-btn-compare-91 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 14px;
  background: #e8eaed;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #9ca3af;
  cursor: not-allowed;
}

.mc-btn-compare-91.is-ready {
  background: #d8dce2;
  color: var(--mc-text);
  cursor: pointer;
}

.mc-btn-compare-91.is-ready:hover {
  background: #cdd2d9;
}

.mc-suggest-91 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mc-suggest-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--mc-border);
  border-radius: 4px;
  background: #fff;
}

.mc-suggest-item img {
  width: 44px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.mc-suggest-body {
  flex: 1;
  min-width: 0;
}

.mc-suggest-body h3 {
  font-size: 0.85rem;
  margin: 0 0 8px;
  font-weight: 700;
  line-height: 1.3;
}

.mc-suggest-add {
  background: none;
  border: 1px solid var(--mc-border);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--mc-text);
}

.mc-suggest-add:hover:not(:disabled) {
  border-color: var(--mc-primary);
}

.mc-suggest-add.is-added,
.mc-suggest-add:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.mc-popular-91 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mc-section-91 {
  margin-top: 24px;
}

/* ─── Compare view: 91mobiles desktop hero (sticky) ─── */
.mc-page.mc-compare {
  --mc-label-w: 180px;
  --mc-cols: 3;
}

.mc-compare-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mc-compare-top .mc-breadcrumb {
  margin: 0 0 6px;
  font-size: 0.8rem;
  color: var(--mc-muted);
}

.mc-compare-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.mc-compare-top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.mc-link-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mc-text);
  cursor: pointer;
  text-decoration: none;
}

.mc-link-btn:hover {
  color: var(--mc-orange);
}

.mc-link-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sticky hero — slides down from top on scroll (91mobiles desktop) */
.mc-compare-sticky-anchor {
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.mc-compare-sticky-spacer {
  height: 0;
  transition: height 0.2s ease;
}

.mc-compare-sticky {
  position: relative;
  z-index: 99;
  background: #fff;
  overflow: visible;
  transition: box-shadow 0.2s ease;
}

.mc-compare-sticky.is-pinned {
  position: fixed;
  top: var(--mc-sticky-top, 0px);
  left: 0;
  z-index: 99;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  animation: mc-sticky-slide 0.28s ease forwards;
}

/* Pinned bar — compact horizontal row like 91mobiles (desktop only) */
@media (min-width: 768px) {
  .mc-compare-sticky.is-pinned .mc-compare-hero {
    border-radius: 0;
  }

  .mc-compare-sticky.is-pinned .mc-hero-label-spacer {
    min-height: 68px;
  }

  .mc-compare-sticky.is-pinned .mc-hero-phone {
    display: grid;
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto auto;
    gap: 1px 10px;
    align-items: center;
    min-height: 68px;
    padding: 8px 26px 8px 10px;
    text-align: left;
  }

  .mc-compare-sticky.is-pinned .mc-hero-img-link {
    grid-row: 1 / 4;
    grid-column: 1;
    margin: 0;
    align-self: center;
  }

  .mc-compare-sticky.is-pinned .mc-hero-img {
    height: 52px;
    width: auto;
    max-width: 52px;
    margin: 0;
  }

  .mc-compare-sticky.is-pinned .mc-hero-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.76rem;
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mc-compare-sticky.is-pinned .mc-hero-price {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.8rem;
    font-weight: 700;
    margin: 0;
    color: var(--mc-text);
  }

  .mc-compare-sticky.is-pinned .mc-hero-store-link {
    grid-column: 2;
    grid-row: 3;
    font-size: 0.7rem;
    margin: 0;
  }

  .mc-compare-sticky.is-pinned .mc-hero-close {
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    font-size: 0.85rem;
  }

  .mc-compare-sticky.is-pinned .mc-hero-add {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    padding: 8px;
  }

  .mc-compare-sticky.is-pinned .mc-btn-add-compare {
    padding: 8px 14px;
    font-size: 0.78rem;
    border-radius: 22px;
    box-shadow: none;
    gap: 4px;
  }

  .mc-compare-sticky.is-pinned .mc-btn-add-icon {
    font-size: 1rem;
  }

  .mc-compare-sticky.is-pinned .mc-filter-bar {
    padding: 5px 12px;
  }

  .mc-compare-sticky.is-pinned .mc-toggle-compact {
    font-size: 0.78rem;
    gap: 6px;
  }

  .mc-compare-sticky.is-pinned .mc-toggle-compact input {
    width: 13px;
    height: 13px;
  }
}

@keyframes mc-sticky-slide {
  from {
    transform: translateY(-100%);
    opacity: 0.6;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

body.admin-bar .mobile-compare-root {
  --mc-sticky-top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .mobile-compare-root {
    --mc-sticky-top: 46px;
  }
}

/* Unified horizontal scroll wrapper (mobile) */
.mc-compare-sync {
  overflow: visible;
}

.mc-compare-sync-inner {
  width: auto;
}

@media screen and (max-width: 767px) {
  .mc-compare-sticky {
    position: relative;
    z-index: 20;
    background: #fff;
    transition: box-shadow 0.2s ease;
  }

  .mc-compare-sticky.is-pinned {
    position: fixed;
    top: var(--mc-sticky-top, 0px);
    left: 0 !important;
    width: 100% !important;
    z-index: 100;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    animation: mc-sticky-slide 0.28s ease forwards;
    will-change: transform;
  }

  .mc-compare-sticky.is-pinned-mobile {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  }

  /* No horizontal scroll — phones fill screen */
  .mc-compare-sync {
    overflow: visible;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .mc-compare-sync-inner {
    width: 100%;
    min-width: 0;
  }

  .mc-compare-sticky-spacer {
    transition: height 0.2s ease;
  }

  .mc-compare-sticky .mc-compare-hero,
  .mc-compare-sticky .mc-hero-grid,
  .mc-compare-table-wrap {
    overflow: visible;
  }

  /* Hero label column aligns with spec labels — phones align with spec values */
  .mc-compare-sticky .mc-hero-label-spacer {
    display: block;
    width: var(--mc-label-w);
    min-width: var(--mc-label-w);
    background: #fafafa;
    border-right: 1px solid #e8e8e8;
  }

  .mc-compare-sticky.is-pinned .mc-hero-label-spacer {
    min-height: 64px;
  }

  .mc-compare-sticky .mc-hero-phone {
    min-height: 168px;
    padding: 10px 6px 8px;
  }

  /* Compact horizontal row when pinned (like desktop) */
  .mc-compare-sticky.is-pinned .mc-hero-grid {
    grid-template-columns: var(--mc-label-w) repeat(var(--mc-phone-cols, var(--mc-cols, 3)), minmax(0, 1fr));
  }

  .mc-compare-sticky.is-pinned .mc-hero-phone {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    gap: 0 6px;
    align-items: center;
    min-height: 64px;
    padding: 6px 20px 6px 6px;
    text-align: left;
  }

  .mc-compare-sticky.is-pinned .mc-hero-img-link {
    grid-row: 1 / 3;
    grid-column: 1;
    margin: 0;
  }

  .mc-compare-sticky.is-pinned .mc-hero-img {
    height: 44px;
    max-width: 44px;
    margin: 0;
  }

  .mc-compare-sticky.is-pinned .mc-hero-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.62rem;
    margin: 0;
    -webkit-line-clamp: 2;
  }

  .mc-compare-sticky.is-pinned .mc-hero-price {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.65rem;
    margin: 0;
  }

  .mc-compare-sticky.is-pinned .mc-hero-store-link {
    display: none;
  }

  .mc-compare-sticky.is-pinned .mc-hero-close {
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
  }

  .mc-compare-sticky.is-pinned .mc-hero-add {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 6px;
  }

  .mc-compare-sticky.is-pinned .mc-btn-add-compare {
    padding: 6px 10px;
    font-size: 0.62rem;
    border-radius: 16px;
    gap: 3px;
    box-shadow: none;
  }

  .mc-compare-sticky.is-pinned .mc-btn-add-icon {
    font-size: 0.8rem;
  }

  .mc-compare-sticky.is-pinned .mc-filter-bar {
    padding: 4px 8px;
  }

  .mc-compare-sticky.is-pinned .mc-toggle-compact {
    font-size: 0.65rem;
    gap: 4px;
  }

  .mc-compare-sticky .mc-hero-img-link {
    display: block;
    margin-bottom: 6px;
  }

  .mc-compare-sticky .mc-hero-img {
    display: block;
    height: 88px;
    width: auto;
    max-width: 72px;
    margin: 0 auto;
    object-fit: contain;
  }

  .mc-compare-sticky .mc-hero-name {
    font-size: 0.72rem;
    line-height: 1.2;
    margin: 0 0 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mc-compare-sticky .mc-hero-price {
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 0 2px;
  }

  .mc-compare-sticky .mc-hero-store-link {
    font-size: 0.68rem;
    margin: 0;
  }

  .mc-compare-sticky .mc-filter-bar {
    padding: 6px 8px;
  }
}

/* Hero phone showcase */
.mc-compare-hero {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
  overflow: visible;
}

.mc-hero-grid {
  display: grid;
  grid-template-columns: var(--mc-label-w) repeat(var(--mc-cols, 3), 1fr);
}

.mc-hero-label-spacer {
  background: #fafafa;
  border-right: 1px solid #e8e8e8;
  min-height: 1px;
}

.mc-hero-phone {
  position: relative;
  padding: 20px 16px 14px;
  text-align: center;
  border-right: 1px solid #e8e8e8;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mc-hero-phone:last-child {
  border-right: none;
}

.mc-hero-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-hero-close:hover {
  background: #eee;
  color: #333;
}

.mc-hero-img-link {
  display: block;
  margin-bottom: 10px;
}

.mc-hero-img {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.mc-hero-name {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--mc-text);
}

.mc-hero-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mc-text);
  margin: 0 0 6px;
}

.mc-hero-store-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--mc-orange);
  text-decoration: none;
  margin-top: auto;
}

.mc-hero-store-link:hover {
  text-decoration: underline;
}

.mc-hero-add {
  justify-content: center;
}

.mc-btn-add-compare {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mc-orange);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 101, 54, 0.35);
  transition: background 0.15s, transform 0.15s;
}

.mc-btn-add-compare:hover {
  background: #e55a2e;
  transform: translateY(-1px);
}

.mc-btn-add-icon {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 400;
}

.mc-skeleton-hero-img {
  width: 100px;
  height: 150px;
  margin: 0 auto 10px;
}

.mc-skeleton-mini-img {
  width: 40px;
  height: 56px;
  margin: 0 auto;
}

/* Filter bar */
.mc-filter-bar {
  border: 1px solid #e8e8e8;
  border-top: none;
  background: #fafafa;
  padding: 10px 16px;
}

.mc-filter-bar-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

.mc-spinner-fast {
  width: 16px;
  height: 16px;
  animation-duration: 0.45s;
}

.mc-loading-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mc-muted);
  font-size: 0.82rem;
}

.mc-loading-text {
  font-weight: 600;
}

.mc-compare-table-wrap {
  border: 1px solid #e8e8e8;
  border-top: none;
  background: #fff;
  overflow: visible;
}

.mc-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  table-layout: fixed;
}

.mc-col-label {
  width: var(--mc-label-w);
}

.mc-spec-label {
  width: var(--mc-label-w);
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #e8e8e8;
  background: #fff;
  color: var(--mc-text);
  vertical-align: middle;
}

.mc-phone-col {
  border-right: 1px solid #e8e8e8;
  vertical-align: middle;
}

.mc-spec-row:nth-child(even) .mc-spec-label,
.mc-spec-row:nth-child(even) .mc-spec-val {
  background: #fafafa;
}

.mc-spec-group-row {
  background: #f0f0f0;
}

.mc-spec-group {
  text-align: left;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--mc-text);
  border-bottom: 1px solid #e0e0e0;
  border-top: 2px solid #e0e0e0;
}

.mc-spec-val {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
  line-height: 1.4;
  word-break: break-word;
}

.mc-spec-val.mc-better {
  color: var(--mc-better);
  font-weight: 700;
}

.mc-toggle-compact {
  font-size: 0.85rem;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.mc-fab-compare {
  display: none;
}

.mc-toggle-compact input {
  width: 15px;
  height: 15px;
  accent-color: var(--mc-orange);
}

.mc-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: pointer;
}

.mc-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--mc-primary);
}

.mc-price {
  font-size: 0.85rem;
  color: var(--mc-accent);
  font-weight: 600;
  margin: 0 0 12px;
}

.mc-add-icon {
  font-size: 2.5rem;
  color: var(--mc-muted);
  margin-bottom: 12px;
}

.mc-btn-sm {
  padding: 6px 10px;
  font-size: 0.72rem;
  border-radius: 6px;
}

.mc-skeleton-img-sm {
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
}

.mc-spec-skeleton .mc-spec-label,
.mc-spec-skeleton .mc-spec-val {
  padding: 10px 8px;
}

/* Mobile overrides — desktop untouched above 768px */
@media (max-width: 767px) {
  body.mobile-compare-active .site-main,
  body.mobile-compare-active .content-area,
  body.mobile-compare-active .entry-content,
  body.mobile-compare-active .container,
  body.mobile-compare-active .rh-container,
  body.mobile-compare-active #content,
  body.mobile-compare-blank-template .mobile-compare-blank-main {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.mobile-compare-active.mc-view-compare .mobile-compare-root,
  body.mobile-compare-active.mc-view-compare .entry-content,
  body.mobile-compare-active.mc-view-compare .site-main,
  body.mobile-compare-active.mc-view-compare .content-area {
    overflow: visible !important;
  }

  .mobile-compare-root {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  body.mobile-compare-active {
    -webkit-overflow-scrolling: touch;
  }

  .mobile-compare-blank-main {
    max-width: 100%;
    padding: 0;
    margin: 0;
  }

  .mobile-compare-root,
  .mobile-compare-blank-main {
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
  }

  .mc-page {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mc-page.mc-compare {
    --mc-label-w: 72px;
  }

  /* Compare page header */
  .mc-compare-top {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px 10px 0;
  }

  .mc-compare-title {
    font-size: 0.88rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mc-compare-top-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  /* Hero + table — single horizontal scroll via .mc-compare-sync */
  .mc-compare-hero {
    overflow: visible;
  }

  .mc-hero-grid {
    grid-template-columns: var(--mc-label-w) repeat(var(--mc-phone-cols, var(--mc-cols, 3)), minmax(0, 1fr));
    width: 100%;
    overflow: visible;
  }

  .mc-hero-label-spacer {
    display: block;
    width: var(--mc-label-w);
    min-width: var(--mc-label-w);
    background: #fafafa;
    border-right: 1px solid #e8e8e8;
  }

  .mc-hero-phone {
    min-width: 0;
    width: auto;
    min-height: 200px;
    padding: 14px 6px 10px;
  }

  .mc-hero-img {
    height: 110px;
  }

  .mc-hero-name {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .mc-hero-price {
    font-size: 0.82rem;
    font-weight: 700;
  }

  .mc-hero-store-link {
    font-size: 0.72rem;
  }

  .mc-hero-add {
    min-height: auto;
    padding: 8px 4px;
  }

  .mc-btn-add-compare {
    padding: 8px 14px;
    font-size: 0.72rem;
    border-radius: 20px;
    gap: 4px;
    box-shadow: 0 1px 5px rgba(255, 101, 54, 0.28);
  }

  .mc-btn-add-icon {
    font-size: 0.9rem;
  }

  .mc-compare-table-wrap {
    overflow: visible;
  }

  .mc-compare-table {
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
    font-size: 0.8rem;
  }

  .mc-col-label {
    width: var(--mc-label-w);
  }

  .mc-col-phone {
    width: calc((100% - var(--mc-label-w)) / var(--mc-phone-cols, var(--mc-cols, 3)));
  }

  .mc-spec-label {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: var(--mc-label-w);
    max-width: var(--mc-label-w);
    width: var(--mc-label-w);
    padding: 10px 6px;
    font-size: 0.72rem;
    background: #fff;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.05);
  }

  .mc-spec-row:nth-child(even) .mc-spec-label {
    background: #fafafa;
  }

  .mc-spec-group {
    position: static;
    left: auto;
    font-size: 0.72rem;
    padding: 8px 10px;
  }

  .mc-phone-col {
    min-width: 0;
    width: auto;
    padding: 10px 6px;
    font-size: 0.72rem;
    word-break: break-word;
  }

  .mc-filter-bar {
    padding: 8px 10px;
  }

  .mc-filter-bar-inner {
    justify-content: space-between;
    gap: 10px;
  }

  .mc-toggle-compact {
    font-size: 0.72rem;
  }

  /* Floating Compare button (91mobiles style) */
  .mc-fab-compare {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    right: 14px;
    bottom: 18px;
    z-index: 120;
    padding: 10px 18px;
    background: var(--mc-orange);
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(255, 101, 54, 0.45);
  }

  .mc-fab-icon {
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 400;
  }

  .mc-fab-label {
    line-height: 1;
  }

  /* Selection page — stacked full-width slots */
  .mc-header-91 .mc-title {
    font-size: 1.25rem;
  }

  .mc-select-91 {
    padding: 10px;
    margin: 0 10px;
    border-radius: 0;
  }

  .mc-header-91 {
    padding: 0 10px;
  }

  .mc-section-91 {
    padding: 0 10px;
  }

  .mc-slots-91 {
    flex-direction: column;
    gap: 0;
  }

  .mc-slot-wrap {
    flex: none;
    width: 100%;
  }

  .mc-slot-91 {
    width: 100%;
    min-height: 52px;
  }

  .mc-vs-pill {
    display: flex;
    margin: 6px auto;
    align-self: center;
  }

  .mc-slot-dropdown {
    position: relative;
    left: auto;
    right: auto;
    width: 100%;
    max-height: 280px;
  }

  .mc-slot-dropdown .mc-search-dropdown li {
    padding: 12px 14px;
    font-size: 0.88rem;
    align-items: center;
  }

  .mc-dd-name {
    font-size: 0.88rem;
    white-space: normal;
    word-break: break-word;
  }

  .mc-slot-dropdown .mc-search-dropdown img {
    width: 44px;
    height: 58px;
  }

  /* Suggested — horizontal scroll cards */
  .mc-suggest-91 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
  }

  .mc-suggest-item {
    flex: 0 0 78%;
    min-width: 260px;
    max-width: 300px;
  }

  .mc-suggest-item img {
    width: 52px;
    height: 68px;
  }

  .mc-suggest-body h3 {
    font-size: 0.88rem;
  }

  /* Popular — horizontal scroll */
  .mc-popular-91 {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
  }

  .mc-popular-91 .mc-popular-pair {
    flex: 0 0 85%;
    min-width: 280px;
  }

  .mc-slots-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 6px;
  }

  .mc-slot-card {
    flex: 0 0 110px;
    max-width: 110px;
  }

  .mc-popular-grid,
  .mc-popular-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .mc-popular-pair {
    flex: 0 0 260px;
    min-width: 240px;
  }

  .mc-card-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .mc-product-card {
    flex: 0 0 120px;
    width: 120px;
  }

  .mc-header-compact-actions {
    width: 100%;
  }
}

/* Mobile: single table — hero phones + specs share exact same columns */
@media (max-width: 767px) {
  .mc-compare--mobile-unified {
    padding-bottom: 72px;
  }

  .mc-compare--mobile-unified .mc-compare-sync {
    overflow: visible;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .mc-compare--mobile-unified .mc-compare-table-wrap {
    border: none;
    background: transparent;
    overflow: visible;
  }

  .mc-compare--mobile-unified .mc-compare-unified {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8rem;
  }

  .mc-compare--mobile-unified .mc-compare-sticky {
    position: relative;
    z-index: 100;
    background: #fff;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-pinned {
    position: fixed;
    left: 0 !important;
    width: 100% !important;
    z-index: 110;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    animation: mc-sticky-slide 0.28s ease forwards;
  }

  .mc-compare--mobile-unified .mc-compare-head-wrap {
    border: 1px solid #e8e8e8;
    border-bottom: none;
    background: #fff;
  }

  .mc-compare--mobile-unified .mc-compare-body-wrap {
    border: 1px solid #e8e8e8;
    border-top: none;
    background: #fff;
  }

  .mc-compare--mobile-unified .mc-hero-row th,
  .mc-compare--mobile-unified .mc-filter-row th {
    position: static;
    top: auto;
  }

  .mc-compare--mobile-unified th.mc-filter-cell {
    display: table-cell !important;
  }

  .mc-compare--mobile-unified th.mc-hero-phone {
    display: table-cell !important;
    vertical-align: top;
    text-align: center;
    padding: 0;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
    font-weight: 400;
  }

  .mc-compare--mobile-unified .mc-hero-phone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 12px 6px 10px;
    min-height: 168px;
    box-sizing: border-box;
  }

  .mc-compare--mobile-unified th.mc-hero-phone:last-child {
    border-right: none;
  }

  .mc-compare--mobile-unified .mc-hero-img {
    height: 100px;
  }

  .mc-compare--mobile-unified .mc-hero-name {
    font-size: 0.76rem;
    line-height: 1.25;
    margin: 0 0 4px;
  }

  .mc-compare--mobile-unified .mc-hero-price {
    font-size: 0.8rem;
    margin: 0 0 4px;
  }

  .mc-compare--mobile-unified .mc-filter-cell {
    padding: 0;
    border-bottom: 1px solid #e8e8e8;
    background: #fafafa;
    font-weight: 400;
  }

  .mc-compare--mobile-unified .mc-filter-bar {
    border: none;
    border-radius: 0;
    padding: 8px 10px;
  }

  .mc-compare--mobile-unified .mc-spec-group {
    text-align: center;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

  .mc-compare--mobile-unified .mc-spec-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }

  .mc-compare--mobile-unified .mc-spec-mini-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: #888;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .mc-compare--mobile-unified .mc-spec-val-text {
    display: block;
    font-size: 0.72rem;
    line-height: 1.35;
    word-break: break-word;
  }

  .mc-compare--mobile-unified .mc-phone-col {
    padding: 10px 6px;
    font-size: 0.72rem;
    word-break: break-word;
    border-right: 1px solid #e8e8e8;
    text-align: center;
    vertical-align: middle;
  }

  .mc-compare--mobile-unified .mc-spec-row:nth-child(even) .mc-phone-col {
    background: #fafafa;
  }

  .mc-compare--mobile-unified tr.mc-spec-row td.mc-phone-col:last-child {
    border-right: none;
  }

  .mc-compare--mobile-unified thead.is-compact .mc-filter-bar,
  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-filter-bar {
    padding: 4px 8px;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-phone-inner {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    gap: 0 6px;
    align-items: center;
    min-height: 58px;
    padding: 6px 20px 6px 6px;
    text-align: left;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-img-link {
    grid-row: 1 / 3;
    grid-column: 1;
    margin: 0;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-img {
    height: 36px;
    max-width: 36px;
    margin: 0;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-name {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.6rem;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-price {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.62rem;
    margin: 0;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-store-link {
    display: none;
  }

  .mc-compare--mobile-unified .mc-compare-sticky.is-compact .mc-hero-close {
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
  }

  .mc-compare--mobile-unified .mc-fab-compare {
    display: flex !important;
  }
}
