/* Global button box model — stop width:100% + padding from overflowing */
.rd-body .ug-btn {
  box-sizing: border-box;
  max-width: 100%;
}
html {
  overflow-x: hidden;
  max-width: 100%;
}
.rd-body {
  margin: 0;
  min-height: 100%;
  background: var(--ug-cream, #f6efe4);
  color: var(--ug-slate-800, #2a241f);
  font-family: var(--ug-font, Outfit, sans-serif);
  position: static;
  overflow: visible;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  padding-top: 0;
  padding-bottom: 0;
}
.rd-coupon-hint { font-size: 0.85rem; color: var(--ug-slate-500); margin-top: 0.5rem; }
.rd-section { padding: 2rem 0 3rem; }
.rd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 768px) {
  .rd-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 1100px) {
  .rd-grid { grid-template-columns: repeat(4, 1fr); }
}

.rd-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 24px rgba(23,20,18,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ug-spring), box-shadow 0.25s;
}
.rd-card:hover { transform: translateY(-4px); box-shadow: var(--ug-shadow-md); }
.rd-card__media { position: relative; display: block; aspect-ratio: 1; background: var(--ug-cream); overflow: hidden; }
.rd-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rd-card__body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.rd-card__title { font-size: 0.95rem; font-weight: 700; margin: 0; line-height: 1.35; }
.rd-card__title a { text-decoration: none; color: var(--ug-slate-900); }
.rd-card__price { display: flex; align-items: baseline; gap: 0.45rem; }
.rd-card__price strong { font-size: 1.05rem; color: var(--ug-brand); }
.rd-card__price s { color: var(--ug-slate-400); font-size: 0.85rem; }
.rd-card .rd-add { margin-top: auto; width: 100%; }

.rd-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ug-slate-800);
  box-shadow: 0 4px 12px rgba(23,20,18,0.14);
}
.rd-badge--hot, .rd-badge--deal { background: var(--ug-brand); color: #fff; }
.rd-badge--deal { left: auto; right: 0.65rem; }
.rd-badge--new { background: var(--ug-teal); color: #fff; }
.rd-badge--trending { background: var(--ug-mustard); color: #1a1a1a; }
.rd-badge--most_sold { background: var(--ug-slate-900); color: #fff; }

.rd-card__badges {
  position: absolute;
  inset: 0.55rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-content: flex-start;
  pointer-events: none;
}
.rd-card__badges .rd-badge {
  position: static;
  top: auto; left: auto; right: auto;
}
.rd-card__badges .rd-badge--deal { margin-left: auto; }

.rd-countdown {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ug-brand-dark);
  font-variant-numeric: tabular-nums;
}
.rd-countdown--lg { font-size: 1.05rem; margin: 0.5rem 0; }

.rd-timer {
  margin-top: 0.75rem;
}
.rd-timer__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ug-brand);
  margin-bottom: 0.4rem;
}
.rd-timer__units {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.rd-timer__unit {
  min-width: 3.1rem;
  background: #171412;
  color: #fff;
  border-radius: 0.7rem;
  padding: 0.45rem 0.4rem 0.4rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(23,20,18,0.18);
  animation: rdTimerPulse 1.2s ease-in-out infinite;
}
.rd-timer__unit:nth-child(2) { animation-delay: 0.1s; }
.rd-timer__unit:nth-child(3) { animation-delay: 0.2s; }
.rd-timer__unit:nth-child(4) { animation-delay: 0.3s; }
.rd-timer__unit strong {
  display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.rd-timer__unit em {
  display: block; font-style: normal; font-size: 0.62rem; opacity: 0.75; margin-top: 0.15rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.rd-timer--mini .rd-timer__unit {
  min-width: 2.4rem; padding: 0.3rem 0.25rem; border-radius: 0.55rem;
}
.rd-timer--mini .rd-timer__unit strong { font-size: 0.85rem; }
.rd-timer__ended { font-weight: 800; color: var(--ug-slate-500); }
@keyframes rdTimerPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

.rd-ticker {
  /* Lives inside fixed .ug-site-header — always under the nav pill, never behind it */
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: linear-gradient(90deg, var(--ug-brand), var(--ug-brand-darker));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0;
  margin: 0.5rem -1rem 0;
  width: calc(100% + 2rem);
  box-sizing: border-box;
  border-radius: 0;
  pointer-events: auto;
}
.ug-site-header--ticker {
  padding-bottom: 0;
}
/* Extra top space so content clears nav + ticker */
.ug-page-bg:has(> .ug-site-header--ticker) {
  padding-top: 7.15rem;
}
@media (max-width: 767px) {
  .ug-page-bg:has(> .ug-site-header--ticker) {
    padding-top: 6.35rem;
  }
  .rd-ticker {
    margin: 0.4rem -0.65rem 0;
    width: calc(100% + 1.3rem);
    font-size: 0.72rem;
    padding: 0.4rem 0;
  }
}
.rd-ticker__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: rdTicker 28s linear infinite;
}
.rd-ticker__item { white-space: nowrap; padding-inline: 1rem; }
@keyframes rdTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.rd-cart-btn {
  position: relative;
  border: none;
  background: var(--ug-cream);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ug-slate-800);
}
.rd-cart-btn__count {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  background: var(--ug-brand);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
}
.rd-cart-btn.is-bump { animation: rdBump 0.45s var(--ug-spring); }
@keyframes rdBump { 0%,100%{transform:scale(1)} 40%{transform:scale(1.2)} }

.rd-flyout-backdrop {
  position: fixed; inset: 0; background: rgba(23,20,18,0.35); z-index: 400;
}
.rd-flyout {
  position: fixed; top: 0; right: 0; height: 100%; width: min(22rem, 92vw);
  background: #fff; z-index: 410; transform: translateX(105%);
  transition: transform 0.35s var(--ug-ease);
  box-shadow: -12px 0 40px rgba(0,0,0,0.12);
  padding: 1.25rem;
  overflow: auto;
}
.rd-flyout.is-open { transform: translateX(0); }
.rd-flyout h3 { margin: 0 0 1rem; }
.rd-flyout-line { display: flex; gap: 0.75rem; margin-bottom: 0.85rem; align-items: center; }
.rd-flyout-line img { width: 3.25rem; height: 3.25rem; object-fit: cover; border-radius: 0.65rem; }
.rd-flyout-line strong { display: block; font-size: 0.85rem; }
.rd-ghost-img {
  position: fixed; z-index: 999; width: 4rem; height: 4rem; border-radius: 1rem;
  object-fit: cover; pointer-events: none; transition: transform 0.7s var(--ug-spring), opacity 0.7s;
  opacity: 0.95;
}

.rd-slider { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center; }
.rd-slider__track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 0.15rem 1rem; scrollbar-width: none;
}
.rd-slider__track::-webkit-scrollbar { display: none; }
.rd-slider__slide { flex: 0 0 min(70vw, 16rem); scroll-snap-align: start; }
.rd-slider__btn {
  border: none; background: #fff; width: 2.4rem; height: 2.4rem; border-radius: 999px;
  box-shadow: var(--ug-shadow-sm); font-size: 1.4rem; cursor: pointer;
}

.rd-filters { display: grid; grid-template-columns: 1fr; gap: 0.65rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
  .rd-filters { grid-template-columns: 2fr 1fr 1fr auto; }
}

.rd-pdp {
  display: grid; gap: 1.35rem; padding: 1.1rem 1rem 2.5rem;
}
@media (min-width: 900px) {
  .rd-pdp {
    grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
    gap: 2rem 2.75rem;
    align-items: start;
    max-width: 68rem;
    margin-inline: auto;
  }
}
.rd-pdp__gallery { max-width: 28rem; width: 100%; margin-inline: auto; }
@media (min-width: 900px) {
  .rd-pdp__gallery { margin-inline: 0; max-width: none; }
}
.rd-pdp__mainimg {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1;
  width: 100%;
  max-height: none;
  box-shadow: 0 12px 32px rgba(23,20,18,0.1);
}
.rd-pdp__mainimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-pdp__badges {
  position: absolute;
  inset: 0.75rem;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}
.rd-pdp__badges-left { display: flex; flex-wrap: wrap; gap: 0.35rem; max-width: 70%; }
.rd-pdp__badges .rd-badge {
  position: static;
  top: auto; left: auto; right: auto;
  box-shadow: 0 4px 12px rgba(23,20,18,0.18);
}
.rd-pdp__title {
  font-size: clamp(1.15rem, 3.2vw, 1.65rem);
  line-height: 1.25;
  margin: 0 0 0.4rem;
}
.rd-pdp__sub { color: var(--ug-slate-500); margin: 0 0 0.85rem; font-size: 0.95rem; }
.rd-pill-deal {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--ug-brand);
  color: #fff;
  letter-spacing: 0.02em;
}
.rd-pdp__pricebox {
  background: linear-gradient(135deg, #fff7f5, #fff);
  border: 1px solid rgba(196,48,43,0.12);
  border-radius: 1.1rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.rd-pdp__price { flex-wrap: wrap; align-items: center; margin: 0; }
.rd-pdp__price strong {
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  color: var(--ug-brand);
  letter-spacing: -0.02em;
}
.rd-pdp__price s { font-size: 1rem; }
.rd-pdp__select { margin-bottom: 0.85rem; }
.rd-pdp__buyrow { display: grid; gap: 0.85rem; margin: 0.85rem 0 1rem; }
.rd-pdp__thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; flex-wrap: wrap; }
.rd-pdp__thumb { border: 2px solid transparent; border-radius: 0.75rem; overflow: hidden; padding: 0; width: 3.75rem; height: 3.75rem; cursor: pointer; background: none; }
.rd-pdp__thumb.is-active { border-color: var(--ug-brand); }
.rd-pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rd-pdp__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0; }
.rd-pdp__atc { flex: 1 1 10rem; min-height: 3rem; font-weight: 800; box-shadow: 0 8px 20px rgba(196,48,43,0.28); }
.rd-pdp__buy { flex: 1 1 8rem; min-height: 3rem; font-weight: 800; }
.rd-qty {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: #fff; border: 1px solid rgba(23,20,18,0.1); border-radius: 999px; padding: 0.2rem;
}
.rd-qty button {
  width: 2.1rem; height: 2.1rem; border: none; border-radius: 999px;
  background: var(--ug-cream); color: var(--ug-slate-800); font-size: 1.15rem; font-weight: 800; cursor: pointer;
}
.rd-qty input {
  width: 2.75rem; border: none; text-align: center; font-weight: 800; background: transparent; height: 2.1rem;
}
.rd-share { display: flex; gap: 0.75rem; align-items: center; font-size: 0.85rem; margin-bottom: 1rem; }
.rd-share a { color: var(--ug-brand-dark); font-weight: 700; }
.rd-pdp__desc { color: var(--ug-slate-600); line-height: 1.65; }
.rd-source { font-size: 0.8rem; color: var(--ug-slate-400); }

.rd-cart-page { margin-bottom: 1.5rem; }
.rd-cart-side { max-width: 28rem; }
.rd-coupon-row { display: flex; gap: 0.5rem; }
.rd-totals { margin: 1rem 0; font-weight: 700; }
.rd-totals div { display: flex; justify-content: space-between; margin: 0.35rem 0; }
.rd-hint { font-size: 0.82rem; color: var(--ug-slate-500); }
.rd-empty { text-align: center; padding: 3rem; color: var(--ug-slate-500); }

.rd-checkout__grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) {
  .rd-checkout__grid { grid-template-columns: 1.2fr 0.8fr; }
}
.rd-checkout__summary { background: #fff; border-radius: 1.25rem; padding: 1.25rem; box-shadow: var(--ug-shadow-sm); }
.rd-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.rd-deal-banners { display: grid; gap: 0.75rem; margin-bottom: 1.5rem; }
.rd-deal-banner {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-radius: 1rem; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, var(--ug-brand), var(--ug-brand-darker));
}
.rd-deal-banner--sunday { background: linear-gradient(135deg, #0f766e, #2a9d8f); }
.rd-deal-banner--midweek { background: linear-gradient(135deg, #c2410c, #e01f2e); }
.rd-deal-banner--freak { background: linear-gradient(135deg, #7c3aed, #e01f2e); }
.rd-ship-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }

/* Admin — UGCify ug-app-* shell extras + colorful tables */
.rd-admin-filters {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin-bottom: 0;
}
@media (min-width: 720px) {
  .rd-admin-filters {
    grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr)) auto;
    align-items: end;
  }
}
.rd-admin-filters .ug-field { margin: 0; }
.rd-table-fun thead th {
  background: linear-gradient(135deg, #fff6f6 0%, #f6efe4 55%, #fde9eb 100%) !important;
  color: var(--ug-slate-700);
  border-bottom: 2px solid rgba(224, 31, 46, 0.12);
}
.rd-table-fun tbody tr {
  transition: background 0.2s, transform 0.2s;
}
.rd-table-fun tbody tr:nth-child(even) {
  background: rgba(255, 246, 246, 0.55);
}
.rd-table-fun tbody tr:nth-child(odd) {
  background: #fff;
}
.rd-table-fun tbody tr:hover {
  background: rgba(232, 184, 75, 0.16) !important;
}
.rd-table-fun td {
  vertical-align: middle;
}
.rd-status-badge {
  text-transform: capitalize;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.rd-money {
  font-weight: 800;
  color: var(--ug-brand-dark);
  font-variant-numeric: tabular-nums;
}
.rd-money--ok { color: #0f766e; }
.rd-stripe-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--ug-slate-500);
  word-break: break-all;
}
.rd-admin-thumb {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  border-radius: 0.65rem;
  box-shadow: 0 4px 12px rgba(23,20,18,0.1);
}
.rd-admin-grid2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 900px) {
  .rd-admin-grid2 { grid-template-columns: 1.2fr 0.8fr; }
}
.rd-admin-note {
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(23,20,18,0.06);
  margin-bottom: 0.55rem;
}
.rd-admin-note.is-unread {
  border-left: 4px solid var(--ug-brand);
  background: linear-gradient(90deg, #fff6f6, #fff);
}
.rd-quick-status {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}
.rd-quick-status .ug-select {
  min-width: 8.5rem;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
}
.rd-admin-imgs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0.75rem 0;
}
.rd-row2 {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .rd-row2 { grid-template-columns: 1fr 1fr; }
}

/* Admin */
.rd-admin-body { margin: 0; background: #f7f4ef; font-family: var(--ug-font, Outfit, sans-serif); }
.rd-admin-shell { display: grid; min-height: 100vh; }
@media (min-width: 900px) {
  .rd-admin-shell { grid-template-columns: 15rem 1fr; }
}
.rd-admin-side {
  background: #1a1a1a; color: #fff; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem;
}
.rd-admin-brand { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.1rem; }
.rd-admin-nav { display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.rd-admin-nav a { color: rgba(255,255,255,0.8); text-decoration: none; padding: 0.45rem 0.6rem; border-radius: 0.5rem; }
.rd-admin-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.rd-admin-main { padding: 1.5rem; }
.rd-admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0.75rem; margin-bottom: 1.5rem; }
.rd-admin-cols { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .rd-admin-cols { grid-template-columns: 1.2fr 0.8fr; } }
.rd-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 1rem; overflow: hidden; font-size: 0.9rem; }
.rd-table th, .rd-table td { padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--ug-slate-200); text-align: left; }
.rd-admin-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 0.75rem; flex-wrap: wrap; }
.rd-admin-form { max-width: 40rem; background: #fff; padding: 1.25rem; border-radius: 1rem; margin-bottom: 1.5rem; }
.rd-notes { list-style: none; padding: 0; }
.rd-notes li { background: #fff; padding: 0.75rem 1rem; border-radius: 0.75rem; margin-bottom: 0.5rem; }
.rd-notes li.is-unread { border-left: 3px solid var(--ug-brand); }

@media (max-width: 767px) {
  .rd-row2 { grid-template-columns: 1fr; }
  .rd-buy-desk { display: none !important; }
  .rd-menu-btn { display: none !important; }

  /* Always show site name in mobile header (theme hides it ≤380px) */
  .rd-nav .ug-logo {
    flex: 1 1 auto;
    min-width: 0;
    gap: 0.4rem;
    max-width: calc(100% - 3.25rem);
  }
  .rd-nav .ug-logo__text {
    display: flex !important;
    align-items: baseline;
    min-width: 0;
  }
  .rd-nav .ug-logo__brand,
  .rd-nav .ug-logo__accent {
    font-size: 0.98rem !important;
    line-height: 1.1;
  }

  /* Buttons: prevent padding+width overflow past edges */
  .rd-body .ug-btn,
  .rd-body .ug-btn--lg {
    box-sizing: border-box;
    max-width: 100%;
  }
  .ug-hero__cta,
  .ug-cta-band__actions {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .ug-hero__cta .ug-btn,
  .ug-cta-band__actions .ug-btn {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal;
  }
  .ug-cta-band {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    margin-inline: 0;
    padding-inline: 1.15rem;
  }

  /* Space for fixed tabbar + iOS home indicator */
  .rd-body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }
  .ug-page-bg:has(> .ug-site-header) { padding-top: 4.25rem; }
  .ug-page-bg:has(> .ug-site-header--ticker) { padding-top: 6.35rem; }
  .rd-section { padding: 1.25rem 0 2rem; }

  /* Keep content off screen edges */
  .container-custom {
    padding-inline: 1.25rem !important;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: clip;
  }
  .ug-hero.container-custom,
  .rd-hero.container-custom {
    padding-inline: 1.25rem !important;
  }
  .ug-hero__copy {
    padding-inline: 0;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .ug-nav__inner {
    padding-inline: 0.75rem 0.55rem !important;
  }
  .ug-section-head {
    padding-inline: 0;
  }
  .ug-footer__grid.container-custom,
  .ug-footer__bottom.container-custom {
    padding-inline: 1.25rem !important;
  }

  .rd-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
  .rd-card { border-radius: 1rem; }
  .rd-card__body { padding: 0.7rem 0.75rem 0.85rem; gap: 0.35rem; }
  .rd-card__title {
    font-size: 0.78rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.05rem;
  }
  .rd-card__price strong { font-size: 0.92rem; }
  .rd-card__price s { font-size: 0.72rem; }
  .rd-countdown { font-size: 0.68rem; }
  .rd-badge { font-size: 0.58rem; padding: 0.2rem 0.4rem; top: 0.55rem; left: 0.55rem; }
  .rd-badge--deal { right: 0.55rem; left: auto; }
  .rd-pdp__badges { inset: 0.55rem; }
  .rd-pdp__mainimg { max-height: none; width: 100%; }
  .rd-pdp__gallery { max-width: 100%; }
  .rd-pdp__title { font-size: 1.12rem; }
  .rd-card .rd-add {
    font-size: 0.75rem;
    padding: 0.55rem 0.5rem;
    border-radius: 999px;
  }
  .rd-filters {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 1rem;
  }
  .ug-hero__brand { font-size: clamp(2rem, 10vw, 2.5rem) !important; }
  .ug-hero__title { font-size: clamp(1.35rem, 6vw, 1.7rem) !important; max-width: none !important; }
  .ug-hero__subtitle { font-size: 0.92rem !important; margin-bottom: 1rem !important; }
  .ug-hero__cta { gap: 0.55rem; }
  .rd-hero .ug-hero__copy { padding: 0.65rem 0 0.85rem; }
  .rd-slider__slide { flex: 0 0 min(70vw, 15rem); }
  .rd-footer, .ug-footer { padding-bottom: 0.5rem; }
}

/* App-style mobile tab bar — fixed to true viewport */
.rd-tabbar {
  display: none;
}
@media (max-width: 767px) {
  .rd-tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    background: #ffffff;
    border-top: 1px solid rgba(23,20,18,0.1);
    box-shadow: 0 -10px 30px rgba(23,20,18,0.1);
    /* Labels must stay above home indicator / browser chrome */
    padding: 0.45rem 0.35rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    min-height: calc(3.65rem + env(safe-area-inset-bottom, 0px));
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }
  .rd-tabbar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
    color: var(--ug-slate-500);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.1rem;
    border-radius: 0.75rem;
    min-width: 0;
    line-height: 1.1;
  }
  .rd-tabbar__item span:last-child {
    display: block;
    white-space: nowrap;
  }
  .rd-tabbar__item svg {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
  }
  .rd-tabbar__item.is-active {
    color: var(--ug-brand);
    background: var(--ug-brand-50);
  }
  .rd-tabbar__cart-wrap {
    position: relative;
    display: inline-flex;
  }
  .rd-tabbar__count {
    position: absolute;
    top: -0.35rem;
    right: -0.55rem;
    min-width: 1rem;
    height: 1rem;
    border-radius: 999px;
    background: var(--ug-brand);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    display: none;
    place-items: center;
    padding: 0 0.2rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .rd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .rd-card__title { font-size: 0.88rem; }
  .container-custom { padding-inline: 1.25rem; }
}


/* ---- AliExpress-style rich product HTML ---- */
.rd-pdp__details { padding-top: 0.5rem; }
.rd-pdp__richdesc {
  overflow: hidden;
  padding: 1.25rem 1.15rem 1.5rem !important;
}
.rd-richdesc { max-width: 52rem; margin: 0 auto; }
.rd-richdesc__hero { margin-bottom: 1.35rem; }
.rd-richdesc__trend {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; margin-bottom: 0.75rem;
}
.rd-richdesc__pulse {
  display: inline-flex; animation: rdPulse 1.2s ease-in-out infinite;
}
@keyframes rdPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}
.rd-richdesc__chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  background: #fff6f6; color: var(--ug-brand-dark);
  border: 1px solid rgba(224,31,46,0.15);
  animation: rdChipIn 0.7s var(--ug-spring, cubic-bezier(.2,.8,.2,1)) both;
}
.rd-richdesc__chip--mint { background: #ecfdf5; color: #0f766e; border-color: rgba(15,118,110,0.2); }
.rd-richdesc__chip--hot {
  background: linear-gradient(90deg, #fee2e2, #ffedd5);
  color: #c2410c; border-color: rgba(194,65,12,0.25);
  animation: rdChipIn 0.7s both, rdShimmer 2.4s linear infinite;
  background-size: 200% 100%;
}
@keyframes rdChipIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes rdShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
.rd-richdesc__title {
  font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 800;
  margin: 0 0 0.55rem; color: var(--ug-slate-900); line-height: 1.25;
}
.rd-richdesc__lead {
  margin: 0 0 0.85rem; color: var(--ug-slate-600); line-height: 1.65; font-size: 0.98rem;
}
.rd-richdesc__emoji-row {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.45rem 0.85rem;
  font-size: 0.86rem; font-weight: 650; color: var(--ug-slate-700);
}
.rd-richdesc__block { margin: 1.35rem 0; }
.rd-richdesc__block h3 {
  margin: 0 0 0.65rem; font-size: 1.1rem; font-weight: 800;
}
.rd-richdesc__block h4 { margin: 0 0 0.5rem; font-size: 0.98rem; font-weight: 800; }
.rd-richdesc__block p { margin: 0 0 0.65rem; color: var(--ug-slate-600); line-height: 1.65; }
.rd-richdesc__table-wrap { overflow-x: auto; border-radius: 1rem; border: 1px solid rgba(23,20,18,0.08); }
.rd-richdesc__table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff;
}
.rd-richdesc__table th {
  text-align: left; padding: 0.7rem 0.85rem;
  background: linear-gradient(135deg, #fff6f6, #f6efe4);
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ug-slate-500);
}
.rd-richdesc__table td {
  padding: 0.7rem 0.85rem; border-top: 1px solid rgba(23,20,18,0.06); vertical-align: top;
}
.rd-richdesc__table tr:nth-child(even) td { background: rgba(255,246,246,0.45); }
.rd-richdesc__table tr:hover td { background: rgba(232,184,75,0.14); }
.rd-richdesc__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.rd-richdesc__features li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start;
  padding: 0.85rem 1rem; border-radius: 1rem;
  background: #fff; border: 1px solid rgba(23,20,18,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rd-richdesc__features li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(23,20,18,0.08);
}
.rd-richdesc__features li > span { font-size: 1.35rem; line-height: 1; }
.rd-richdesc__features strong { display: block; margin-bottom: 0.15rem; }
.rd-richdesc__features p { margin: 0; font-size: 0.88rem; color: var(--ug-slate-500); }
.rd-richdesc__grid2 {
  display: grid; gap: 0.85rem;
}
@media (min-width: 720px) {
  .rd-richdesc__grid2 { grid-template-columns: 1fr 1fr; }
}
.rd-richdesc__card {
  background: linear-gradient(180deg, #fff, #fffaf5);
  border: 1px solid rgba(23,20,18,0.07);
  border-radius: 1rem; padding: 1rem 1.05rem;
}
.rd-richdesc__card ol, .rd-richdesc__card ul {
  margin: 0; padding-left: 1.15rem; color: var(--ug-slate-600); line-height: 1.55; font-size: 0.9rem;
}
.rd-richdesc__faq p {
  background: #fff; border-radius: 0.85rem; padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--ug-brand);
}
.rd-richdesc__seo {
  margin-top: 1.25rem; padding-top: 1rem;
  border-top: 1px dashed rgba(23,20,18,0.12);
}
.rd-richdesc__trust {
  font-weight: 700; color: var(--ug-slate-700) !important;
}
.rd-richdesc [data-anim="rise"],
.rd-richdesc [data-anim="fade"] {
  animation: rdDescIn 0.75s ease both;
}
.rd-richdesc [data-anim="fade"] { animation-delay: 0.08s; }
.rd-richdesc .rd-richdesc__block:nth-child(3) { animation-delay: 0.12s; }
.rd-richdesc .rd-richdesc__block:nth-child(4) { animation-delay: 0.18s; }
@keyframes rdDescIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Admin HTML editor */
.rd-html-editor { display: grid; gap: 0.75rem; }
@media (min-width: 960px) {
  .rd-html-editor { grid-template-columns: 1fr 1fr; align-items: start; }
}
.rd-html-editor textarea {
  min-height: 22rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem; line-height: 1.45;
}
.rd-html-preview {
  min-height: 22rem; max-height: 32rem; overflow: auto;
  background: #fff; border: 1px solid rgba(23,20,18,0.08);
  border-radius: 1rem; padding: 0.85rem;
}
.rd-html-toolbar { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.5rem; }

/* Checkout wizard */
.rd-wiz__head { text-align: center; margin-bottom: 1.25rem; }
.rd-wiz__head h1 { margin: 0 0 0.35rem; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.rd-wiz__sub { margin: 0; color: var(--ug-slate-500); font-size: 0.95rem; }
.rd-wiz__steps {
  list-style: none; margin: 0 auto 1.35rem; padding: 0;
  display: flex; justify-content: center; gap: 0.35rem; flex-wrap: wrap;
  max-width: 28rem;
}
.rd-wiz__step {
  flex: 1 1 4.5rem; min-width: 4.25rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  opacity: 0.45; transition: opacity 0.25s ease, transform 0.25s ease;
}
.rd-wiz__step span {
  width: 2rem; height: 2rem; border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem;
  background: #fff; border: 2px solid rgba(23,20,18,0.12);
  color: var(--ug-slate-600);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ug-spring);
}
.rd-wiz__step em { font-style: normal; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; }
.rd-wiz__step.is-active { opacity: 1; }
.rd-wiz__step.is-active span {
  background: var(--ug-brand); border-color: var(--ug-brand); color: #fff;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(196, 48, 43, 0.35);
}
.rd-wiz__step.is-done { opacity: 0.9; }
.rd-wiz__step.is-done span {
  background: #ecfdf5; border-color: #0f766e; color: #0f766e;
}
.rd-wiz { max-width: 40rem; margin: 0 auto; }
.rd-wiz__panels { position: relative; min-height: 18rem; }
.rd-wiz__panel {
  display: none;
}
.rd-wiz__panel.is-active { display: block; }
.rd-wiz__panel.is-enter {
  animation: rdWizIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes rdWizIn {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.rd-wiz__card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.15rem 1.2rem 1.35rem;
  box-shadow: 0 10px 32px rgba(23,20,18,0.07);
  border: 1px solid rgba(23,20,18,0.05);
}
.rd-wiz__card h2 { margin: 0 0 0.35rem; font-size: 1.2rem; }
.rd-wiz__lines { display: grid; gap: 0.75rem; margin-top: 1rem; }
.rd-wiz__line {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fff8f4, #fff);
  border: 1px solid rgba(23,20,18,0.06);
  animation: rdWizIn 0.45s ease both;
}
.rd-wiz__line img, .rd-wiz__line-ph {
  width: 4rem; height: 4rem; border-radius: 0.75rem; object-fit: cover;
  background: var(--ug-cream);
}
.rd-wiz__line-meta strong { display: block; font-size: 0.88rem; line-height: 1.3; }
.rd-wiz__qty {
  display: inline-flex; align-items: center; gap: 0.25rem; margin-top: 0.45rem;
}
.rd-wiz__qty button {
  width: 1.85rem; height: 1.85rem; border-radius: 999px; border: none;
  background: var(--ug-brand); color: #fff; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; line-height: 1;
  transition: transform 0.2s var(--ug-spring);
}
.rd-wiz__qty button:active { transform: scale(0.9); }
.rd-wiz__qty input {
  width: 3rem; text-align: center; border: 1px solid rgba(23,20,18,0.12);
  border-radius: 0.5rem; height: 1.85rem; font-weight: 700;
}
.rd-wiz__line-price { font-weight: 800; color: var(--ug-brand); white-space: nowrap; }
.rd-wiz__ship-grid {
  display: grid; gap: 0.65rem; margin-top: 0.85rem;
}
@media (min-width: 560px) {
  .rd-wiz__ship-grid { grid-template-columns: 1fr 1fr; }
}
.rd-ship-card {
  position: relative;
  display: grid; gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 2px solid rgba(23,20,18,0.08);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ug-spring);
}
.rd-ship-card input { position: absolute; opacity: 0; pointer-events: none; }
.rd-ship-card__carrier { font-weight: 800; font-size: 0.95rem; }
.rd-ship-card__name { font-size: 0.85rem; color: var(--ug-slate-600); }
.rd-ship-card__eta { font-size: 0.75rem; color: var(--ug-slate-400); }
.rd-ship-card__rate { margin-top: 0.35rem; color: var(--ug-brand); font-size: 1.05rem; }
.rd-ship-card:hover { transform: translateY(-2px); }
.rd-ship-card.is-selected {
  border-color: var(--ug-brand);
  box-shadow: 0 10px 24px rgba(196, 48, 43, 0.15);
  background: linear-gradient(180deg, #fff5f4, #fff);
}
.rd-wiz__review { display: grid; gap: 0.85rem; margin: 1rem 0; }
.rd-wiz__review-block {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: var(--ug-cream);
  animation: rdWizIn 0.4s ease both;
}
.rd-wiz__review-block h4 { margin: 0 0 0.35rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ug-slate-500); }
.rd-wiz__review-block p { margin: 0.15rem 0; font-size: 0.92rem; }
.rd-wiz__summary { margin-top: 0.5rem; }
.rd-totals__grand {
  margin-top: 0.5rem; padding-top: 0.5rem;
  border-top: 1px dashed rgba(23,20,18,0.15);
  font-size: 1.1rem; color: var(--ug-brand);
}
.rd-wiz__nav {
  display: flex; justify-content: space-between; gap: 0.75rem;
  margin-top: 1.15rem; padding-bottom: 1rem;
}
.rd-wiz__nav .ug-btn { min-width: 7.5rem; }
.rd-wiz__pay.is-loading { opacity: 0.75; pointer-events: none; }
.rd-wiz__pay.is-loading::after {
  content: '';
  display: inline-block; width: 0.85rem; height: 0.85rem; margin-left: 0.45rem;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  border-radius: 50%; animation: rdSpin 0.7s linear infinite;
  vertical-align: -0.1rem;
}
@keyframes rdSpin { to { transform: rotate(360deg); } }

/* About / Contact / Map */
.rd-about__hero { max-width: 46rem; margin-bottom: 1.5rem; }
.rd-about__eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ug-brand); margin: 0 0 0.5rem;
}
.rd-about__lead { font-size: 1.05rem; line-height: 1.65; color: var(--ug-slate-600); }
.rd-about__highlights {
  display: grid; gap: 1rem; margin: 1.5rem 0;
}
@media (min-width: 720px) {
  .rd-about__highlights { grid-template-columns: 1fr 1fr; }
}
.rd-about__highlights article,
.rd-about__quote,
.rd-about__card {
  background: #fff; border-radius: 1.15rem; padding: 1.15rem 1.25rem;
  box-shadow: 0 8px 24px rgba(23,20,18,0.06);
}
.rd-about__quote { margin: 0; border-left: 4px solid var(--ug-brand); }
.rd-about__quote p { font-size: 1.15rem; font-weight: 600; margin: 0 0 0.5rem; }
.rd-about__quote footer { color: var(--ug-slate-500); font-size: 0.9rem; }
.rd-about__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }

.rd-contact__head { max-width: 40rem; margin-bottom: 1.35rem; }
.rd-contact__grid {
  display: grid; gap: 1.15rem;
}
@media (min-width: 900px) {
  .rd-contact__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.rd-contact__card {
  background: #fff; border-radius: 1.25rem; padding: 1.2rem 1.25rem 1.4rem;
  box-shadow: 0 10px 28px rgba(23,20,18,0.07);
}
.rd-contact__card h2 { margin: 0.85rem 0 0.35rem; font-size: 1.05rem; }
.rd-contact__card h2:first-child { margin-top: 0; }
.rd-contact__card h3 { margin: 0 0 0.25rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ug-slate-500); }
.rd-contact__link {
  display: inline-block; font-weight: 800; font-size: 1.1rem;
  color: var(--ug-brand); text-decoration: none; margin-bottom: 0.35rem;
}
.rd-contact__form { margin-top: 1.15rem; display: grid; gap: 0.65rem; }
.rd-contact__meta {
  display: grid; gap: 0.85rem; margin: 1rem 0;
}
@media (min-width: 480px) {
  .rd-contact__meta { grid-template-columns: 1fr 1fr; }
}
.rd-map {
  margin-top: 0.75rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(23,20,18,0.08);
  background: var(--ug-cream);
}
.rd-map__frame {
  display: block; width: 100%; height: 16rem; border: 0;
}
.rd-map__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 0.75rem;
  background: #fff;
}
.rd-contact__wholesale {
  margin-top: 1.35rem; padding: 1.15rem 1.25rem;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #fff5f4, #fff);
  border: 1px solid rgba(196,48,43,0.12);
}
.rd-contact__wholesale-cta {
  font-weight: 800; color: var(--ug-brand); margin: 0.35rem 0;
}
.rd-footer__wholesale {
  font-weight: 800; color: var(--ug-brand); font-size: 0.9rem; margin: 0.35rem 0 0.65rem;
}
.rd-footer__addr {
  font-size: 0.82rem; color: var(--ug-slate-500); margin-top: 0.65rem; line-height: 1.45;
}
.rd-footer__news {
  display: grid; gap: 0.45rem;
}

/* Auth pages — UGCify split layout, lock to viewport (no page scroll) */
html.rd-auth-lock,
html.rd-auth-lock body.rd-auth-lock {
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  margin: 0;
}
html.rd-auth-lock body.rd-auth-lock {
  padding: 0 !important;
}
html.rd-auth-lock .ug-auth-page {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  grid-template-rows: 1fr;
}
html.rd-auth-lock .ug-auth-brand {
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: clamp(1.5rem, 3vh, 3rem) clamp(1.75rem, 3vw, 3.5rem);
}
html.rd-auth-lock .ug-auth-brand__title {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  margin: 1rem 0 0.65rem;
}
html.rd-auth-lock .ug-auth-brand__text {
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
html.rd-auth-lock .ug-auth-brand__features { gap: 0.65rem; }
html.rd-auth-lock .ug-auth-form-side {
  height: 100dvh;
  max-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  padding: clamp(1rem, 2.5vh, 2rem) 1.25rem;
  align-items: center;
  justify-content: center;
}
html.rd-auth-lock .ug-auth-card {
  max-height: calc(100dvh - 2rem);
  overflow: hidden;
  padding: clamp(1.15rem, 2.2vh, 1.75rem) clamp(1.15rem, 2vw, 2rem);
  margin: 0;
}
html.rd-auth-lock .ug-auth-card__header { margin-bottom: 0.85rem; }
html.rd-auth-lock .ug-auth-card__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 0.65rem;
}
html.rd-auth-lock .ug-auth-card__title { font-size: 1.35rem; margin-bottom: 0.25rem; }
html.rd-auth-lock .ug-auth-card__subtitle { font-size: 0.8125rem; line-height: 1.4; }
html.rd-auth-lock .ug-auth-card__subtitle a {
  color: var(--ug-brand);
  font-weight: 700;
  text-decoration: none;
}
html.rd-auth-lock .ug-field { margin-bottom: 0.65rem; }
html.rd-auth-lock .ug-field__label { margin-bottom: 0.3rem; font-size: 0.8125rem; }
html.rd-auth-lock .ug-field__optional { font-weight: 500; color: var(--ug-slate-400); }
html.rd-auth-lock .ug-input-wrap .ug-input,
html.rd-auth-lock .ug-input { min-height: 2.65rem; }
html.rd-auth-lock .ug-auth-divider { margin: 0.75rem 0; }
html.rd-auth-lock .ug-auth-footer { margin-top: 0.75rem; }
html.rd-auth-lock .ug-auth-footer a { color: var(--ug-brand); font-weight: 700; }
html.rd-auth-lock .ug-btn--lg { min-height: 2.75rem; padding-block: 0.7rem; }
html.rd-auth-lock .ug-auth-form-side { min-height: 0; }
html.rd-auth-lock .ug-field__error { margin-top: 0.25rem; margin-bottom: 0.35rem; min-height: 0; }
@media (max-width: 1023px) {
  html.rd-auth-lock .ug-auth-form-side { padding: 1rem 1rem; }
  html.rd-auth-lock .ug-auth-card {
    max-height: calc(100dvh - 1.5rem);
    border-radius: 1.35rem;
  }
}

.rd-auth__err { color: var(--ug-brand); margin-top: 0.75rem; min-height: 1.2em; }
.rd-auth__notice {
  background: #ecfdf5; border: 1px solid rgba(15,118,110,0.25);
  border-radius: 0.85rem; padding: 0.85rem; font-size: 0.9rem;
}
.rd-auth__notice-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.65rem; }
.rd-wiz__guest-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem;
  margin: 0.75rem 0 1rem; padding: 0.7rem 0.85rem;
  background: linear-gradient(135deg, #fff8f4, #fff);
  border: 1px dashed rgba(196,48,43,0.25);
  border-radius: 0.85rem; font-size: 0.88rem;
}
.rd-wiz__guest-bar a { font-weight: 800; color: var(--ug-brand); }
.rd-account__head {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  align-items: flex-start; margin-bottom: 1.25rem;
}
.rd-account__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Admin full-width responsive */
.ug-app-main.container-custom {
  max-width: none !important;
  width: 100%;
  padding-inline: clamp(0.85rem, 2vw, 1.75rem);
}
.rd-admin-wide {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}
.rd-admin-stack {
  display: grid;
  gap: 1rem;
}
.rd-settings-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 960px) {
  .rd-settings-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
  .rd-settings-grid > div:last-child {
    grid-column: 1 / -1;
  }
}
.rd-badge-checks {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1rem;
  padding: 0.65rem 0.75rem;
  background: var(--ug-cream);
  border-radius: 0.85rem;
}
