/* ================================================================
   MR.DENIM — AI Assistant Widget (Denim Texture Redesign)
   Matched to editorial brand mockup v3
   Fonts: Cormorant Garamond (display) · Jost (UI)
   Palette: #0A0C0F bg · #D4AF37 gold · #12151A card
   ================================================================ */

/* ── Floating Trigger ───────────────────────────────────────── */
#mrd-chat-trigger {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9990;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow: visible;
  padding: 0;
}

/* Outer pulse rings */
#mrd-chat-trigger::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.35);
  animation: mrd-ring 2.8s ease-in-out infinite;
}
#mrd-chat-trigger::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.13);
  animation: mrd-ring 2.8s ease-in-out 0.6s infinite;
}
@keyframes mrd-ring {
  0%   { transform: scale(1); opacity: 0.9; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

#mrd-chat-trigger:hover { transform: scale(1.07) translateY(-2px); }
#mrd-chat-trigger.mrd-open { transform: scale(0.9) rotate(90deg); }

/* trigger icons */
.mrd-trigger-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212,175,55,0.7);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.6), 0 8px 28px rgba(0,0,0,0.6);
  transition: opacity 0.25s, transform 0.3s;
}
.mrd-trigger-icon-close {
  width: 26px;
  height: 26px;
  transition: opacity 0.25s, transform 0.3s;
  display: none;
}
#mrd-chat-trigger.mrd-open .mrd-trigger-icon      { display: none; }
#mrd-chat-trigger.mrd-open .mrd-trigger-icon-close { display: block; }

/* notification dot */
.mrd-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 13px;
  height: 13px;
  background: #EF4444;
  border-radius: 50%;
  border: 2px solid #000;
  animation: mrd-pop 0.4s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes mrd-pop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}
.mrd-badge.mrd-hidden { display: none; }

/* ── Chat Window ────────────────────────────────────────────── */
#mrd-chat-window {
  position: fixed;
  bottom: 112px;
  right: 28px;
  z-index: 9989;
  width: 390px;
  max-height: 620px;
  display: flex;
  flex-direction: column;
  background:
    /* Denim texture overlay */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%230A0E14'/%3E%3Cline x1='0' y1='0' x2='4' y2='4' stroke='%23161D26' stroke-width='0.6' opacity='0.6'/%3E%3Cline x1='4' y1='0' x2='0' y2='4' stroke='%23101620' stroke-width='0.3' opacity='0.3'/%3E%3C/svg%3E"),
    #0D1117;
  border: 1px solid rgba(212,175,55,0.22);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 40px 100px rgba(0,0,0,0.9),
    0 10px 40px rgba(0,0,0,0.7),
    inset 0 1px 0 rgba(255,255,255,0.05);

  transform: translateY(20px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition:
    transform 0.45s cubic-bezier(0.16,1,0.3,1),
    opacity   0.35s cubic-bezier(0.16,1,0.3,1);
}
#mrd-chat-window.mrd-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* ── Header ─────────────────────────────────────────────────── */
.mrd-header {
  padding: 18px 18px 16px;
  background: linear-gradient(160deg, #0C1118 0%, #111820 100%);
  border-bottom: 1px solid rgba(212,175,55,0.18);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
}
/* Gold shimmer line at top */
.mrd-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #D4AF37 40%, #E8C84A 60%, transparent 100%);
  opacity: 0.7;
}
/* Denim subtle diagonal lines on header */
.mrd-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 3px,
    rgba(255,255,255,0.012) 3px,
    rgba(255,255,255,0.012) 4px
  );
  pointer-events: none;
}

/* Avatar */
.mrd-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(212,175,55,0.6);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.5), 0 0 18px rgba(212,175,55,0.2);
  background: #0D1117;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.mrd-avatar-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #D4AF37;
  text-align: center;
  line-height: 1.1;
  text-transform: uppercase;
  user-select: none;
}
.mrd-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.mrd-header-info { flex: 1; min-width: 0; position: relative; z-index: 1; }

.mrd-header-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  line-height: 1.1;
  text-transform: uppercase;
}

.mrd-header-sub {
  font-family: 'Jost', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-top: 2px;
}

.mrd-header-status {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  text-transform: uppercase;
}
.mrd-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px rgba(34,197,94,0.8);
  flex-shrink: 0;
  animation: mrd-pulse-green 2s ease-in-out infinite;
}
@keyframes mrd-pulse-green {
  0%, 100% { box-shadow: 0 0 5px rgba(34,197,94,0.6); }
  50%       { box-shadow: 0 0 12px rgba(34,197,94,1); }
}

.mrd-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.mrd-header-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  transition: all 0.2s ease;
}
.mrd-header-btn:hover {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.35);
  color: #D4AF37;
}
.mrd-header-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Messages Area ──────────────────────────────────────────── */
.mrd-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-behavior: smooth;
  min-height: 0;
}
.mrd-messages::-webkit-scrollbar { width: 3px; }
.mrd-messages::-webkit-scrollbar-track { background: transparent; }
.mrd-messages::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,0.2);
  border-radius: 2px;
}

/* ── Message Bubbles ────────────────────────────────────────── */
.mrd-msg {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  animation: mrd-in 0.38s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes mrd-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mrd-msg.mrd-user { flex-direction: row-reverse; }

/* Small avatar circles in messages */
.mrd-msg-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #0D1117;
  overflow: hidden;
}
.mrd-msg-avatar .mrd-avatar-img,
.mrd-msg-avatar img.mrd-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.mrd-msg-avatar-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #D4AF37;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
}
/* User avatar — simple circle */
.mrd-msg.mrd-user .mrd-msg-avatar {
  background: rgba(212,175,55,0.12);
  border-color: rgba(212,175,55,0.25);
}
.mrd-msg.mrd-user .mrd-msg-avatar svg {
  width: 16px;
  height: 16px;
  stroke: rgba(212,175,55,0.7);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
}

/* Bubble */
.mrd-bubble {
  max-width: 80%;
  padding: 14px 17px;
  border-radius: 18px;
  font-family: 'Jost', sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  word-break: break-word;
  position: relative;
}

/* Bot bubble */
.mrd-msg.mrd-bot .mrd-bubble {
  background: rgba(18,24,34,0.95);
  border: 1px solid rgba(255,255,255,0.07);
  border-bottom-left-radius: 4px;
  color: rgba(255,255,255,0.85);
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

/* User bubble */
.mrd-msg.mrd-user .mrd-bubble {
  background: linear-gradient(135deg, #C9A227, #B8960C);
  border-bottom-right-radius: 4px;
  color: #000;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(180,140,30,0.3);
}

/* time */
.mrd-bubble-time {
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-top: 6px;
  opacity: 0.38;
  font-family: 'Jost', sans-serif;
}
.mrd-msg.mrd-user .mrd-bubble-time { text-align: right; }

/* Bot message formatting */
.mrd-msg.mrd-bot .mrd-bubble strong { color: #D4AF37; font-weight: 600; }
.mrd-msg.mrd-bot .mrd-bubble em {
  font-style: italic;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  color: #D4AF37;
}
.mrd-msg.mrd-bot .mrd-bubble a {
  color: #D4AF37;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}
.mrd-msg.mrd-bot .mrd-bubble a:hover { opacity: 0.7; }
.mrd-msg.mrd-bot .mrd-bubble ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
  padding: 0;
}
.mrd-msg.mrd-bot .mrd-bubble ul li {
  padding-left: 16px;
  position: relative;
  color: rgba(255,255,255,0.75);
}
.mrd-msg.mrd-bot .mrd-bubble ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: rgba(212,175,55,0.5);
  font-size: 10px;
}

/* ── Product Card in Chat ────────────────────────────────────── */
.mrd-product-cards { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.mrd-product-card {
  background: #141414;
  border: 1px solid rgba(212,175,55,0.16);
  border-radius: 10px;
  padding: 11px 13px;
  display: flex;
  gap: 11px;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.mrd-product-card:hover {
  border-color: rgba(212,175,55,0.42);
  background: #1A1A14;
  transform: translateX(2px);
}
.mrd-product-card-icon {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: rgba(212,175,55,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mrd-product-card-icon svg {
  width: 17px; height: 17px;
  stroke: #D4AF37; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.mrd-product-card-info { flex: 1; min-width: 0; }
.mrd-product-card-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,0.88);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mrd-product-card-cat {
  font-family: 'Jost', sans-serif;
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  margin-top: 1px;
}
.mrd-product-card-price {
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 600;
  color: #D4AF37; white-space: nowrap;
}
.mrd-product-card-arrow {
  width: 15px; height: 15px;
  stroke: rgba(212,175,55,0.35); fill: none;
  stroke-width: 1.8; stroke-linecap: round;
  transition: all 0.2s; flex-shrink: 0;
}
.mrd-product-card:hover .mrd-product-card-arrow {
  stroke: #D4AF37; transform: translateX(2px);
}

/* ── Typing Indicator ────────────────────────────────────────── */
.mrd-typing {
  display: flex; gap: 10px;
  align-items: flex-end;
  animation: mrd-in 0.3s ease both;
}
.mrd-typing-bubble {
  background: rgba(18,24,34,0.95);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  padding: 14px 18px;
  display: flex; gap: 5px; align-items: center;
}
.mrd-typing-dot {
  width: 5px; height: 5px;
  border-radius: 50%; background: #D4AF37;
  opacity: 0.5;
  animation: mrd-bounce 1.2s ease-in-out infinite;
}
.mrd-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.mrd-typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes mrd-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.35; }
  40%           { transform: translateY(-6px); opacity: 1; }
}

/* ── "You Can Ask Me About" Section ─────────────────────────── */
.mrd-ask-section {
  flex-shrink: 0;
  padding: 0 14px 8px;
  position: relative;
}

.mrd-ask-close {
  position: absolute;
  right: 14px; top: -6px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.25);
  cursor: pointer; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  transition: all 0.2s; z-index: 2;
}
.mrd-ask-close svg { width: 14px; height: 14px; }
.mrd-ask-close:hover { color: #D4AF37; background: rgba(212,175,55,0.1); }

.mrd-ask-label {
  font-family: 'Jost', sans-serif;
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  text-align: center; margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.mrd-ask-label::before,
.mrd-ask-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent);
}

/* 3-column grid matching mockup */
.mrd-category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 7px;
}

.mrd-cat-card {
  background: rgba(14,20,30,0.9);
  border: 1px solid rgba(212,175,55,0.14);
  border-radius: 10px;
  padding: 11px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mrd-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.0), transparent);
  transition: background 0.3s;
}
.mrd-cat-card:hover {
  background: rgba(20,28,42,0.95);
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.1);
}
.mrd-cat-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.45), transparent);
}
.mrd-cat-card:active { transform: translateY(0); }

/* Hide the right-arrow since cards are vertical now */
.mrd-cat-arrow { display: none; }

.mrd-cat-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.16);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}
.mrd-cat-card:hover .mrd-cat-icon {
  background: rgba(212,175,55,0.16);
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 0 12px rgba(212,175,55,0.15);
}
.mrd-cat-icon svg {
  width: 18px; height: 18px;
  stroke: #D4AF37; fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.mrd-cat-info { flex: 1; min-width: 0; width: 100%; }
.mrd-cat-label {
  font-family: 'Jost', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color 0.2s;
  text-align: center;
}
.mrd-cat-card:hover .mrd-cat-label { color: rgba(255,255,255,0.95); }

/* Hide category grid once user starts chatting */
.mrd-ask-section.mrd-hidden { display: none; }

/* ── Input Area ──────────────────────────────────────────────── */
.mrd-input-area {
  padding: 12px 16px 0;
  background: rgba(8,12,18,0.96);
  border-top: 1px solid rgba(212,175,55,0.12);
  flex-shrink: 0;
}
.mrd-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 11px 10px 11px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.mrd-input-wrap:focus-within {
  border-color: rgba(212,175,55,0.35);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.06);
}

/* Attachment-style icon before input */
.mrd-input-attach {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.mrd-input-attach svg {
  width: 18px; height: 18px;
  stroke: rgba(212,175,55,0.4); fill: none;
  stroke-width: 1.6; stroke-linecap: round;
}

#mrd-input {
  flex: 1;
  background: none; border: none; outline: none;
  color: rgba(255,255,255,0.85);
  font-family: 'Jost', sans-serif;
  font-size: 13.5px; line-height: 1.5;
  resize: none; max-height: 90px;
  overflow-y: auto; padding: 0;
  scrollbar-width: none;
}
#mrd-input::-webkit-scrollbar { display: none; }
#mrd-input::placeholder { color: rgba(255,255,255,0.22); font-style: italic; }

/* Gold paper-plane send button */
#mrd-send-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A227, #E8C84A, #B8960C);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 2px 12px rgba(180,140,30,0.4);
}
#mrd-send-btn:hover { transform: scale(1.08); box-shadow: 0 5px 20px rgba(180,140,30,0.55); }
#mrd-send-btn:active { transform: scale(0.95); }
#mrd-send-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
#mrd-send-btn svg { width: 16px; height: 16px; fill: #000; }

/* ── Footer tagline with logo ─────────────────────────────────── */
.mrd-footer-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 14px;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  margin-top: 12px;
}
.mrd-footer-logo {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.4);
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.06);
  flex-shrink: 0;
}
.mrd-footer-logo svg { width: 18px; height: 18px; }
.mrd-footer-tag-divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.mrd-footer-tag-text { display: flex; flex-direction: column; gap: 1px; }
.mrd-footer-tag-line1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.mrd-footer-tag-line2 {
  font-family: 'Jost', sans-serif;
  font-size: 9px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(212,175,55,0.4);
}

/* ── Error Bubble ────────────────────────────────────────────── */
.mrd-error-bubble {
  background: rgba(239,68,68,0.07) !important;
  border-color: rgba(239,68,68,0.2) !important;
  color: rgba(255,120,120,0.85) !important;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  #mrd-chat-trigger { bottom: 20px; right: 20px; width: 60px; height: 60px; }
  #mrd-chat-trigger .mrd-trigger-icon { width: 60px; height: 60px; }
  #mrd-chat-window {
    bottom: 90px;
    right: 12px; left: 12px;
    width: auto;
    max-height: 62dvh;
    border-radius: 20px;
    transform-origin: bottom right;
  }
  .mrd-bubble { max-width: 88%; }
  .mrd-category-grid { grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
  .mrd-cat-label { font-size: 8.5px; }
  #mrd-input { font-size: 16px; }
}
