.rg-btn-compare {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  line-height: 1.2;
}

.rg-btn-compare:hover {
  background: #eef5fc;
  border-color: #93c5fd;
  color: #13519c;
}

.rg-btn-compare.is-compared {
  background: #eef5fc;
  border-color: #13519c;
  color: #13519c;
  font-weight: 700;
}

.rg-btn-compare.is-compared .rg-compare-icon-add {
  display: none !important;
}

.rg-btn-compare.is-compared .rg-compare-icon-check {
  display: inline-block !important;
  color: #13519c;
}

.rg-btn-compare.rg-btn--block {
  width: 100%;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 8px;
  line-height: 1.4;
  height: auto;
  box-sizing: border-box;
}

.rg-btn-compare.rg-btn--block:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a;
}

.rg-btn-compare.rg-btn--block.is-compared {
  background: #eef5fc !important;
  border-color: #13519c !important;
  color: #13519c !important;
  font-weight: 700;
}

.rg-card-compare-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.rg-pdp-compare-wrap {
  margin-top: 12px;
  margin-bottom: 8px;
}

.rg-btn-compare-pdp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: center;
}

.rg-btn-compare-pdp:hover {
  background: #eef5fc;
  border-color: #93c5fd;
  color: #13519c;
}

.rg-btn-compare-pdp.is-compared {
  background: #eef5fc;
  border-color: #13519c;
  color: #13519c;
  font-weight: 700;
}

.rg-compare-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  padding: 12px 16px;
}

.rg-compare-dock.is-collapsed {
  transform: translateY(105%);
  pointer-events: none;
}

.rg-compare-dock-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.rg-compare-dock-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.rg-compare-dock-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0f172a;
}

.rg-compare-dock-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #13519c;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
}

.rg-compare-dock-slots {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
}

.rg-compare-dock-slots::-webkit-scrollbar {
  display: none;
}

.rg-compare-slot-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 6px 10px;
  position: relative;
  flex-shrink: 0;
  width: 220px;
  max-width: 220px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.rg-compare-slot-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.rg-compare-slot-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.rg-compare-slot-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.rg-compare-slot-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #13519c;
  margin-top: 2px;
}

.rg-compare-slot-remove {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.15s ease;
  margin-left: 2px;
}

.rg-compare-slot-remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

.rg-compare-slot-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 6px 12px;
  height: 46px;
  width: 140px;
  flex-shrink: 0;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.rg-compare-slot-empty:hover {
  border-color: #13519c;
  color: #13519c;
  background: #f8fafc;
}

.rg-compare-dock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rg-btn-compare-now {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #13519c;
  color: #ffffff;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(19, 81, 156, 0.3);
}

.rg-btn-compare-now:hover {
  background: #0f427c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(19, 81, 156, 0.4);
}

.rg-compare-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 9999px;
}

.rg-btn-compare-clear {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.rg-btn-compare-clear svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.rg-btn-compare-clear:hover {
  color: #ef4444;
}

.rg-btn-compare-collapse {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.rg-btn-compare-collapse:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.rg-compare-floating-pill {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #13519c;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(19, 81, 156, 0.35);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rg-compare-floating-pill:hover {
  background: #0f427c;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(19, 81, 156, 0.45);
}

.rg-compare-floating-pill:active {
  transform: scale(0.95);
}

@keyframes rgPillPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.rg-compare-floating-pill.rg-pill-pulse {
  animation: rgPillPulse 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rg-compare-floating-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #13519c;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
}

.rg-compare-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  animation: rgCompareFadeIn 0.25s ease forwards;
}

.rg-compare-modal {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
}

body.rg-compare-modal-open #cw-widget-holder,
body.rg-compare-modal-open .woot-widget-holder,
body.rg-compare-modal-open .woot-widget-bubble,
body.rg-compare-modal-open iframe#chatwoot_live_chat_widget,
body.rg-compare-modal-open #crisp-chatbox,
body.rg-compare-modal-open .crisp-client {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.rg-compare-modal-content {
  pointer-events: auto;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: rgCompareSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rgCompareFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rgCompareSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rg-compare-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.rg-compare-modal-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #13519c;
  margin-bottom: 4px;
}

.rg-compare-modal-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}

.rg-compare-modal-subtitle {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.rg-compare-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rg-compare-modal-close {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.rg-compare-modal-close:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
}

.rg-compare-modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  padding: 0;
}

.rg-compare-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}

.rg-compare-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  padding: 20px 16px;
  border-bottom: 2px solid #e2e8f0;
  vertical-align: top;
  text-align: center;
}

.rg-compare-matrix-table thead th.rg-cmp-label-col {
  width: 220px;
  min-width: 200px;
  text-align: left;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  padding: 20px 16px;
}

.rg-cmp-col-header-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  min-width: 180px;
}

.rg-cmp-remove-col-btn {
  position: absolute;
  top: -8px;
  right: -4px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rg-cmp-remove-col-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.rg-cmp-prod-badge {
  display: none !important;
}

.rg-cmp-prod-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 10px;
  background: #ffffff;
}

.rg-cmp-prod-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.rg-cmp-prod-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
}

.rg-cmp-prod-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #13519c;
}

.rg-cmp-prod-reg-price {
  font-size: 0.85rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.rg-cmp-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #13519c;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  width: 100%;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(19, 81, 156, 0.25);
}

.rg-cmp-buy-btn:hover {
  background: #0f427c;
  transform: translateY(-1px);
}

.rg-cmp-add-slot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 200px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 12px;
  padding: 20px;
  background: #f8fafc;
}

.rg-cmp-add-slot-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #13519c;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.rg-cmp-add-slot-btn:hover {
  background: #eef5fc;
  border-color: #93c5fd;
}

.rg-cmp-group-row th {
  background: #f1f5f9 !important;
  color: #0f172a;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: none !important;
  letter-spacing: normal;
  padding: 10px 16px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.rg-compare-matrix-table tbody tr td,
.rg-compare-matrix-table tbody tr th {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.rg-compare-matrix-table tbody tr th {
  text-align: left;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.rg-compare-matrix-table tbody tr td {
  text-align: center;
  color: #1e293b;
  font-size: 0.875rem;
}

.rg-compare-matrix-table tbody tr:hover td {
  background: #f8fafc;
}

.rg-cmp-val-normal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
  line-height: 1.4;
}

.rg-cmp-val-normal.rg-cmp-has-check .rg-cmp-inline-check {
  color: #16a34a;
  flex-shrink: 0;
}

.rg-cmp-inline-check {
  flex-shrink: 0;
  color: #16a34a;
}

.rg-cmp-val-normal,
.rg-cmp-val-diff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.4;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.rg-cmp-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  border-radius: 50%;
  vertical-align: middle;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.rg-cmp-status-icon svg {
  width: 9px !important;
  height: 9px !important;
}

.rg-cmp-status-check {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.rg-cmp-status-cross {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
}

.rg-cmp-color-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.rg-cmp-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.rg-cmp-row--diff td {
  background-color: transparent;
}

.rg-cmp-row--diff th {
  background-color: #ffffff !important;
  border-left: none !important;
}

.rg-cmp-row--diff:hover td {
  background-color: #f8fafc !important;
}

.rg-cmp-th-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rg-cmp-th-label {
  font-weight: 600;
  color: #1e293b;
}

.rg-cmp-diff-tag {
  display: none !important;
}

.rg-cmp-diff-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rg-cmp-switch-label {
  display: none !important;
}

.rg-cmp-switch-label:hover {
  border-color: #94a3b8;
  color: #0f172a;
}

.rg-cmp-switch-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.rg-cmp-switch-slider {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 18px;
  background-color: #cbd5e1;
  border-radius: 18px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.rg-cmp-switch-slider::before {
  content: "";
  position: absolute;
  height: 12px;
  width: 12px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.rg-cmp-switch-input:checked + .rg-cmp-switch-slider {
  background-color: #13519c;
}

.rg-cmp-switch-input:checked + .rg-cmp-switch-slider::before {
  transform: translateX(14px);
}

.rg-compare-matrix-table.rg-cmp-filter-diff-only tr[data-diff="0"],
.rg-compare-matrix-table.rg-cmp-filter-diff-only tr.rg-cmp-group-row[data-has-diff="0"],
.rg-cmp-matrix-table.rg-cmp-filter-diff-only tr[data-diff="0"],
.rg-cmp-matrix-table.rg-cmp-filter-diff-only tr.rg-cmp-group-row[data-has-diff="0"] {
  display: none !important;
}

.rg-compare-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rg-cmp-m-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8125rem;
  table-layout: fixed;
}

.rg-cmp-m-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #ffffff;
  padding: 6px 6px;
  border-bottom: 2px solid #e2e8f0;
  vertical-align: top;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.rg-cmp-m-th-col {
  width: 50%;
  vertical-align: top;
  padding: 6px 6px;
  background: #ffffff;
}

.rg-cmp-m-th-col:first-child {
  border-right: 1px solid #e2e8f0;
}

.rg-cmp-m-card-compact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  text-align: left;
}

.rg-cmp-m-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  min-height: 38px;
}

.rg-cmp-m-thumb {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  background: #ffffff;
}

.rg-cmp-m-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 20px;
}

.rg-cmp-m-name {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.rg-cmp-m-card-top .rg-cmp-prod-price-row {
  margin: 2px 0 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.rg-cmp-m-card-top .rg-cmp-prod-price {
  font-size: 0.875rem;
  font-weight: 800;
  color: #13519c;
  line-height: 1;
}

.rg-cmp-m-card-top .rg-cmp-remove-col-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
  font-size: 14px;
  line-height: 1;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.rg-cmp-m-card-top .rg-cmp-remove-col-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.rg-cmp-buy-btn--compact {
  width: 100%;
  height: 28px;
  line-height: 28px;
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #13519c;
  color: #ffffff;
  box-sizing: border-box;
  transition: all 0.15s ease;
}

.rg-cmp-buy-btn--compact:hover {
  background: #0f427c;
}

.rg-cmp-m-card-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  height: 72px;
  box-sizing: border-box;
  gap: 4px;
}

.rg-cmp-m-empty-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.rg-cmp-m-quick-select {
  height: 26px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #13519c;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0 6px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.rg-cmp-m-group-row th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  padding: 8px 12px;
  text-align: left;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.rg-cmp-m-feature-row td {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 7px 12px;
}

.rg-cmp-m-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.rg-cmp-m-feature-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #334155;
  line-height: 1.3;
}

.rg-cmp-m-values-row td {
  padding: 9px 10px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.35;
  width: 50%;
}

.rg-cmp-m-values-row td.rg-cmp-m-col-1 {
  border-right: 1px solid #e2e8f0;
}

.rg-cmp-m-feature-row.rg-cmp-row--diff td {
  background: #f8fafc;
  border-left: none !important;
}

.rg-cmp-m-values-row.rg-cmp-row--diff td {
  background: #ffffff;
}

.rg-cmp-m-values-row.rg-cmp-row--diff td:hover {
  background: #f8fafc;
}

.rg-cmp-m-footer-buy-row td {
  background: #ffffff;
  border-top: 2px solid #e2e8f0;
  padding: 10px 8px;
}

.rg-cmp-m-table.rg-cmp-filter-diff-only tr[data-diff="0"],
.rg-cmp-m-table.rg-cmp-filter-diff-only tr.rg-cmp-m-group-row[data-has-diff="0"] {
  display: none !important;
}

@media (max-width: 768px) {
  .rg-compare-dock {
    display: none !important;
  }

  .rg-compare-floating-pill {
    bottom: 20px;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 16px;
    right: auto;
    padding: 9px 16px;
    font-size: 0.84rem;
  }

  body.single-product.has-sticky-buy-bar .rg-compare-floating-pill {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
    left: 14px !important;
    transition: bottom 0.25s ease, opacity 0.2s ease !important;
  }

  body.single-product.has-sticky-buy-bar .rg-back-to-top {
    bottom: calc(132px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.single-product.has-sticky-buy-bar .woot-widget-bubble,
  body.single-product.has-sticky-buy-bar .woot--bubble-holder {
    bottom: calc(126px + env(safe-area-inset-bottom, 0px)) !important;
    transition: bottom 0.25s ease !important;
  }

  .rg-compare-modal {
    padding: 12px 10px !important;
  }

  .rg-compare-modal-content {
    max-height: 94vh;
    border-radius: 14px;
    width: 100%;
    overflow: hidden;
  }

  .rg-compare-modal-header {
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    min-height: 48px;
    box-sizing: border-box;
    width: 100%;
  }

  .rg-compare-modal-eyebrow,
  .rg-compare-modal-subtitle {
    display: none !important;
  }

  .rg-compare-modal-header-text {
    flex: 1 1 auto;
    min-width: 0;
  }

  .rg-compare-modal-title {
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none !important;
    color: #0f172a;
  }

  .rg-compare-modal-header-actions {
    width: auto !important;
    gap: 8px;
    flex-shrink: 0;
    margin: 0;
  }

  .rg-cmp-switch-label {
    padding: 4px 8px;
    font-size: 0.72rem;
    gap: 5px;
  }

  .rg-cmp-switch-slider {
    width: 26px;
    height: 15px;
  }

  .rg-cmp-switch-slider::before {
    height: 11px;
    width: 11px;
    left: 2px;
    bottom: 2px;
  }

  .rg-cmp-switch-input:checked + .rg-cmp-switch-slider::before {
    transform: translateX(11px);
  }

  .rg-compare-modal-close {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 50% !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
  }

  .rg-compare-modal-close:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
  }

  .rg-compare-modal-close svg {
    width: 16px !important;
    height: 16px !important;
  }

  .rg-compare-modal-body {
    -webkit-overflow-scrolling: touch;
  }

  .rg-product-card .rg-btn-compare.rg-btn--block,
  .rg-btn-compare.rg-btn--block {
    display: inline-flex !important;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    gap: 6px;
  }
}

.rg-cmp-open-page-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #13519c;
  background: #eef5fc;
  border: 1px solid #bfdbfe;
  padding: 4px 8px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.rg-cmp-open-page-link:hover {
  background: #dbeafe;
  color: #0b3260;
}

.rg-compare-page-wrapper {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 80px;
  box-sizing: border-box;
}

.rg-cmp-page-hero {
  margin-bottom: 24px;
  text-align: center;
}

.rg-cmp-page-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #13519c;
  background: #eef5fc;
  border: 1px solid #bfdbfe;
  padding: 3px 12px;
  border-radius: 9999px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rg-cmp-page-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.rg-cmp-page-desc {
  font-size: 0.95rem;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.rg-cmp-page-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.rg-cmp-page-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #64748b;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rg-cmp-page-clear-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.rg-cmp-page-clear-btn:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

.rg-cmp-page-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #13519c;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #eef5fc;
  border: 1px solid #bfdbfe;
  transition: all 0.15s ease;
}

.rg-cmp-page-back-link:hover {
  background: #dbeafe;
}

.rg-compare-page-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-top: 20px;
}

.rg-cmp-empty-presets {
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border: 1.5px dashed #cbd5e1;
  border-radius: 16px;
  margin: 20px 0;
}

.rg-cmp-empty-presets-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.rg-cmp-empty-presets-desc {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 24px;
}

.rg-cmp-presets-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.rg-cmp-preset-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rg-cmp-preset-pill:hover {
  background: #eef5fc;
  border-color: #13519c;
  color: #13519c;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(19, 81, 156, 0.1);
}

@media (max-width: 768px) {
  body.page-slug-compare .rg-compare-floating-pill,
  body.page-id-2233 .rg-compare-floating-pill {
    display: none !important;
  }

  .rg-compare-page-wrapper {
    padding: 16px 8px 60px;
  }

  .rg-cmp-page-title {
    font-size: 1.45rem;
  }

  .rg-cmp-page-desc {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .rg-cmp-page-toolbar {
    gap: 8px;
  }

  .rg-compare-page-card {
    border-radius: 12px;
    border-left: none;
    border-right: none;
  }

  .rg-cmp-preset-pill {
    width: 100%;
    justify-content: center;
  }
}
