/* ── Logo icon divs (replace inline SVG) ── */
.rm-logo {
  background: url('../assets/logo_small.svg') center / contain no-repeat;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(100, 210, 255, 0.8));
}
.rm-logo-32  { width: 32px;  height: 32px; }
.rm-logo-48  { width: 48px;  height: 48px; }
.rm-logo-120 { width: 120px; height: 120px; }

/* ── Mobile navigation ── */

/* Fallback: hide nav elements correctly even before Tailwind CDN loads */
@media (max-width: 767px) {
  .desktop-nav { display: none !important; }
  .mobile-burger { display: flex !important; }
}
@media (min-width: 768px) {
  .mobile-burger { display: none !important; }
  #mobile-menu { display: none !important; }
}

/* Bigger touch target for burger button */
.mobile-burger {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile menu slide-down animation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
#mobile-menu.menu-open {
  max-height: 500px;
  opacity: 1;
}

/* Hamburger ↔ X icon animation */
.burger-icon line { transition: transform 0.25s ease, opacity 0.2s ease; transform-origin: center; }
.burger-icon.is-open .line-top { transform: rotate(45deg) translate(0, 6px); }
.burger-icon.is-open .line-mid { opacity: 0; }
.burger-icon.is-open .line-bot { transform: rotate(-45deg) translate(0, -6px); }

/* Mobile menu link touch targets */
#mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
}

/* ── Price Widget (desktop) ── */
.rm-price-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.rm-price-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  transition: background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  line-height: 1;
}
.rm-price-badge:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}
.rm-price-badge--info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  cursor: default;
}
.rm-price-badge--info:hover {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.rm-price-period {
  font-weight: 500;
  font-size: 0.7rem;
  opacity: 0.85;
}
.rm-price-chevron {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  transition: transform 0.2s;
}
.rm-price-open .rm-price-chevron {
  transform: rotate(180deg);
}
.rm-price-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  padding: 12px 16px;
  z-index: 100;
}
.rm-price-open .rm-price-dropdown {
  display: block;
}
.rm-price-line1 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #24292f;
  margin-bottom: 6px;
}
.rm-price-line2 {
  font-size: 0.72rem;
  color: #6b7280;
  line-height: 1.45;
}

/* ── Price Widget (mobile) ── */
.rm-price-mobile {
  padding: 10px 12px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fcd34d;
  border-radius: 8px;
}
.rm-price-mobile-badge {
  font-size: 1.25rem;
  font-weight: 700;
  color: #92400e;
}
.rm-price-mobile .rm-price-line1 {
  margin-top: 4px;
}
.rm-price-mobile .rm-price-line2 {
  margin-top: 4px;
}
