:root {
  --rr-bg: #f5f1e8;
  --rr-surface: #fffaf1;
  --rr-card: #ffffff;
  --rr-text: #1b1814;
  --rr-muted: #6f675d;
  --rr-line: rgba(27, 24, 20, .11);
  --rr-primary: #c75a16;
  --rr-primary-dark: #943f0f;
  --rr-primary-soft: #fff0df;
  --rr-dark: #12100d;
  --rr-radius: 24px;
  --rr-shadow: 0 24px 70px rgba(45, 30, 12, .12);
  --rr-shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rr-text);
  background:
    radial-gradient(circle at 10% 0%, rgba(199, 90, 22, .10), transparent 34%),
    linear-gradient(180deg, #fbf7ef 0%, var(--rr-bg) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

.rrdp-shell { width: min(var(--rr-shell), calc(100% - 32px)); margin-inline: auto; }
.rrdp-skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 10000;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  border-radius: 10px;
}
.rrdp-skip-link:focus { top: 12px; }

.rrdp-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(18, 16, 13, .94);
  color: #fff;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-bar .rrdp-site-header { top: 32px; }
.rrdp-header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.rrdp-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.rrdp-brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e08a2f, #c75a16);
  color: #fff;
  font-weight: 950;
  letter-spacing: -.04em;
  box-shadow: 0 14px 40px rgba(199, 90, 22, .35);
}
.rrdp-logo img { max-height: 48px; width: auto; display: block; }
.rrdp-brand-text { display: grid; line-height: 1.08; }
.rrdp-brand-text strong { font-size: 1.02rem; letter-spacing: .03em; text-transform: uppercase; }
.rrdp-brand-text small { color: rgba(255,255,255,.62); font-size: .78rem; }

.rrdp-nav-list { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 8px; }
.rrdp-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  font-weight: 750;
  font-size: .92rem;
}
.rrdp-nav-list a:hover,
.rrdp-nav-list .current-menu-item > a { background: rgba(255,255,255,.09); color: #fff; }
.rrdp-menu-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 14px;
  padding: 9px 12px;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}
.rrdp-menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 99px; }
.rrdp-menu-toggle em { font-style: normal; font-weight: 800; font-size: .88rem; }

.rrdp-main { min-height: calc(100vh - 170px); }
.rrdp-section { padding: 72px 0; }
.rrdp-section-tight { padding-top: 20px; }
.rrdp-content-card,
.rrdp-app-card {
  background: rgba(255,250,241,.86);
  border: 1px solid rgba(120, 84, 38, .13);
  border-radius: 32px;
  box-shadow: var(--rr-shadow);
  padding: clamp(24px, 4vw, 52px);
}
.rrdp-app-card { padding: clamp(18px, 3vw, 42px); }
.rrdp-owner-card { background: rgba(255,255,255,.92); }
.rrdp-entry-title { margin: 0 0 22px; font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -.06em; line-height: .96; }
.rrdp-entry-title a:hover { color: var(--rr-primary); }
.rrdp-entry-content > *:first-child { margin-top: 0; }
.rrdp-entry-content > *:last-child { margin-bottom: 0; }
.rrdp-entry-content a { color: var(--rr-primary-dark); font-weight: 800; }
.rrdp-entry + .rrdp-entry { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--rr-line); }

.rrdp-hero { padding: clamp(64px, 9vw, 120px) 0 42px; }
.rrdp-hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.rrdp-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--rr-primary-soft);
  color: var(--rr-primary-dark);
  font-weight: 900;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 18px;
}
.rrdp-hero h1 { margin: 0 0 18px; font-size: clamp(3rem, 8vw, 6.2rem); line-height: .88; letter-spacing: -.075em; }
.rrdp-hero p { color: var(--rr-muted); font-size: clamp(1.08rem, 2vw, 1.24rem); max-width: 620px; margin: 0 0 28px; }
.rrdp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rrdp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 16px;
  font-weight: 900;
  border: 1px solid transparent;
}
.rrdp-btn-primary { background: var(--rr-primary); color: #fff; box-shadow: 0 18px 42px rgba(199,90,22,.28); }
.rrdp-btn-primary:hover { background: var(--rr-primary-dark); }
.rrdp-btn-ghost { background: rgba(255,255,255,.75); border-color: var(--rr-line); color: var(--rr-text); }
.rrdp-btn-ghost:hover { background: #fff; }

.rrdp-hero-panel {
  min-height: 440px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,250,241,.74)),
    radial-gradient(circle at 25% 20%, rgba(199,90,22,.26), transparent 36%);
  border: 1px solid rgba(120, 84, 38, .14);
  box-shadow: var(--rr-shadow);
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 18px;
}
.rrdp-panel-top { height: 64px; border-radius: 22px; background: linear-gradient(135deg, var(--rr-dark), #3b2616); }
.rrdp-fake-card { height: 132px; border-radius: 24px; background: #fff; border: 1px solid var(--rr-line); box-shadow: 0 16px 40px rgba(0,0,0,.06); }
.rrdp-fake-card.small { height: 92px; width: 78%; }
.rrdp-fake-row { height: 18px; width: 86%; border-radius: 99px; background: rgba(199,90,22,.18); }
.rrdp-fake-row.short { width: 52%; }
.rrdp-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rrdp-mini-card { background: rgba(255,255,255,.72); border: 1px solid var(--rr-line); border-radius: 24px; padding: 22px; box-shadow: 0 14px 38px rgba(0,0,0,.05); }
.rrdp-mini-card strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.rrdp-mini-card span { color: var(--rr-muted); }

.rrdp-app-wrap { padding: 28px 0 64px; }
.rrdp-owner-wrap { background: linear-gradient(180deg, rgba(18,16,13,.05), transparent); }

.rrdp-not-found { text-align: center; }
.rrdp-not-found span { display: block; color: var(--rr-primary); font-size: 5rem; font-weight: 950; letter-spacing: -.08em; }
.rrdp-not-found h1 { margin: 0 0 10px; }
.rrdp-not-found p { color: var(--rr-muted); margin-bottom: 24px; }

.rrdp-site-footer {
  background: var(--rr-dark);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
}
.rrdp-footer-inner {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
}
.rrdp-site-footer p { margin: 4px 0 0; color: rgba(255,255,255,.68); }
.rrdp-footer-brand { text-align: right; }
.rrdp-footer-brand p { color: #fff; margin: 0; }
.rrdp-footer-brand strong { color: #ffb06b; }
.rrdp-footer-brand small { color: rgba(255,255,255,.55); }

/* Ajustes para shortcodes/paneles Punto Sabor */
.puntosabor-wrap,
.psb-wrap,
.puntosabor-owner,
.psb-owner {
  font-family: inherit !important;
}
.rrdp-app-card .puntosabor-wrap,
.rrdp-app-card .psb-wrap { margin: 0 !important; }

@media (max-width: 782px) {
  .admin-bar .rrdp-site-header { top: 46px; }
}
@media (max-width: 820px) {
  .rrdp-menu-toggle { display: inline-flex; }
  .rrdp-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: rgba(18,16,13,.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    padding: 12px;
    display: none;
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
  }
  .rrdp-nav.is-open { display: block; }
  .rrdp-nav-list { flex-direction: column; align-items: stretch; }
  .rrdp-nav-list a { justify-content: center; }
  .rrdp-hero-grid { grid-template-columns: 1fr; }
  .rrdp-hero-panel { min-height: 320px; }
  .rrdp-mini-grid { grid-template-columns: 1fr; }
  .rrdp-footer-inner { flex-direction: column; align-items: flex-start; }
  .rrdp-footer-brand { text-align: left; }
}
@media (max-width: 560px) {
  .rrdp-shell { width: min(100% - 22px, var(--rr-shell)); }
  .rrdp-header-inner { min-height: 66px; }
  .rrdp-brand-text small { display: none; }
  .rrdp-app-wrap { padding-top: 16px; }
  .rrdp-content-card, .rrdp-app-card { border-radius: 24px; }
}
