@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* Princess Reneem Storybook Land — Zen Cart 2.2.2 Custom Theme */
:root {
  --pr-purple-950: #240d3a;
  --pr-purple-900: #35164f;
  --pr-purple-800: #4c2372;
  --pr-purple-700: #654297;
  --pr-purple-500: #8761b6;
  --pr-lavender-100: #f5f1fa;
  --pr-lavender-200: #ebe1f7;
  --pr-cream: #fffdf7;
  --pr-cream-warm: #fff8eb;
  --pr-gold-400: #f3d57b;
  --pr-gold-500: #e5bc64;
  --pr-gold-600: #c8982f;
  --pr-ink: #25203e;
  --pr-ink-muted: #5a5073;
  --pr-border: #e3d6f1;
  --pr-white: #ffffff;
  --pr-radius-sm: 12px;
  --pr-radius-md: 20px;
  --pr-radius-lg: 26px;
  --pr-shadow-sm: 0 6px 20px rgba(53, 22, 79, 0.08);
  --pr-shadow-md: 0 14px 36px rgba(53, 22, 79, 0.13);
  --pr-font-display: 'Playfair Display', serif;
  --pr-font-body: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--pr-ink);
  font-family: var(--pr-font-body);
  font-size: 16.5px;
  line-height: 1.6;
  background: var(--pr-cream);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pr-purple-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--pr-purple-900); }
:focus-visible { outline: 3px solid var(--pr-gold-500); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.pr-container { width: min(1220px, 100% - 32px); margin-inline: auto; position: relative; z-index: 2; }
.pr-skip-link {
  position: fixed; left: -9999px; top: 8px; z-index: 9999;
  background: var(--pr-purple-900); color: var(--pr-white);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
}
.pr-skip-link:focus { left: 12px; }

/* Header & Navigation */
.pr-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 253, 247, 0.98);
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.42);
  box-shadow: 0 4px 18px rgba(53, 22, 79, 0.07);
}

.pr-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 78px; padding-block: 4px; position: relative; z-index: 3;
}
.pr-brand-wrap { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.pr-logo-link { display: inline-flex; align-items: center; text-decoration: none; padding: 2px 4px; }
.pr-logo-link img { height: 62px; width: auto; max-width: none; object-fit: contain; display: block; }
.pr-header-divider { width: 1.5px; height: 30px; background: #cbb9df; display: inline-block; }

.pr-nav { display: flex; align-items: center; }
.pr-nav-list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.pr-nav-item { position: relative; padding-bottom: 8px; margin-bottom: -8px; }
.pr-nav-link, .pr-nav-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: 999px;
  font-weight: 700; font-size: 0.96rem; color: var(--pr-ink);
  text-decoration: none; background: transparent; border: 0; cursor: pointer;
  min-height: 44px; font-family: inherit; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease;
}
.pr-nav-link:hover, .pr-nav-trigger:hover, .pr-nav-link.is-active {
  background: var(--pr-lavender-100); color: var(--pr-purple-900);
}
.pr-nav-link.is-active { box-shadow: inset 0 -2.5px 0 var(--pr-gold-500); border-radius: 10px 10px 0 0; }

/* Gapless hover bridge */
.pr-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 235px;
  padding-top: 6px; margin: 0; list-style: none;
  display: none; z-index: 1050;
}
.pr-dropdown-inner {
  background: var(--pr-white); border: 1.5px solid var(--pr-gold-500);
  border-radius: var(--pr-radius-sm); padding: 8px;
  box-shadow: var(--pr-shadow-md); list-style: none; margin: 0;
}
.pr-nav-item.is-open > .pr-dropdown,
.pr-nav-item:focus-within > .pr-dropdown { display: block; }
@media (hover: hover) {
  .pr-nav-item:hover > .pr-dropdown { display: block; }
}
.pr-dropdown a {
  display: block; padding: 10px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 700; color: var(--pr-ink); font-size: 0.93rem;
}
.pr-dropdown a:hover { background: var(--pr-lavender-100); color: var(--pr-purple-900); }

.pr-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.pr-cart-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--pr-lavender-100); color: var(--pr-purple-900);
  text-decoration: none; font-weight: 700; min-height: 44px;
  border: 1px solid var(--pr-border);
}

.pr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 999px;
  font-family: inherit; font-weight: 800; font-size: 0.96rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .18s ease, filter .18s ease;
}
.pr-btn:hover { transform: translateY(-1px); }
.pr-btn-royal {
  background: linear-gradient(135deg, #6b3f9c 0%, #3a175a 100%);
  color: var(--pr-white); border-color: var(--pr-gold-500);
  box-shadow: 0 6px 18px rgba(53, 22, 79, 0.25);
}
.pr-btn-royal:hover { color: var(--pr-white); filter: brightness(1.08); }
.pr-btn-gold {
  background: linear-gradient(135deg, #fffdf7 0%, #fff0c7 100%);
  color: var(--pr-purple-900); border-color: var(--pr-gold-500);
  box-shadow: var(--pr-shadow-sm);
}
.pr-btn-gold:hover { color: var(--pr-purple-950); background: #fff4d6; }
.pr-btn-outline {
  background: var(--pr-white); color: var(--pr-purple-900);
  border-color: var(--pr-purple-700);
}
.pr-btn-outline:hover, .pr-btn-outline.is-active {
  background: var(--pr-purple-900); color: var(--pr-white);
}

.pr-mobile-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--pr-border); background: var(--pr-white);
  color: var(--pr-purple-900); font-size: 1.25rem; cursor: pointer;
}
.pr-mobile-drawer {
  display: none; background: var(--pr-white);
  border-top: 1px solid var(--pr-border);
  padding: 16px; box-shadow: var(--pr-shadow-md);
}
.pr-mobile-drawer.is-open { display: block; }
.pr-mobile-drawer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pr-mobile-drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px; font-weight: 700;
  color: var(--pr-ink); text-decoration: none; background: var(--pr-lavender-100);
}

/* Mockup-Matched Panoramic Hero Banner */
.pr-hero-panoramic {
  position: relative; overflow: hidden;
  background-color: #dde6ff;
  background-image: url('../images/hero-panoramic-hd.webp?v=4');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: clamp(440px, 35.2vw, 620px);
  display: flex; align-items: center;
  padding-block: clamp(32px, 4.2vw, 60px);
}
.pr-hero-panoramic::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 46%; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse 68% 72% at 44% 48%, rgba(255, 253, 255, 0.72) 0%, rgba(248, 243, 255, 0.35) 55%, rgba(248, 243, 255, 0) 100%);
}
.pr-hero-panoramic::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 32px;
  background: #fffcf4;
  clip-path: ellipse(56% 100% at 50% 100%);
  z-index: 3;
}
.pr-hero-copy {
  max-width: 490px; text-align: center; position: relative; z-index: 4;
  margin: 0 auto 0 0;
  padding: 10px 6px;
}
.pr-crown-icon { display: flex; justify-content: center; margin-bottom: 4px; }
.pr-hero-eyebrow {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.45rem, 2.3vw, 1.9rem);
  font-weight: 700; line-height: 1.1; color: #5b3185; margin: 0 0 4px;
}
.pr-hero-title, .pr-hero-panoramic h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.1vw, 3.35rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 14px;
  color: #3a165e;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.96);
}
.pr-hero-subtitle {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: #2f254b; max-width: 39ch; margin: 0 auto 22px; font-weight: 700;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.96);
}
.pr-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pr-hero-mobile-art {
  display: none; margin-top: 22px; border-radius: var(--pr-radius-md);
  overflow: hidden; border: 2px solid rgba(255,255,255,0.85); box-shadow: var(--pr-shadow-md);
}

/* Ornamental Section Headings & Backgrounds */
.pr-section { padding-block: clamp(34px, 4.2vw, 56px); position: relative; overflow: hidden; }
.pr-section--cream {
  background: linear-gradient(180deg, #fffcf4 0%, #fff7e9 100%);
}
.pr-section--friends {
  background-color: #f5ecfe;
  background-image: url('../images/friends-bg-panoramic.webp?v=1');
  background-position: center center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding-block: clamp(46px, 5.2vw, 68px);
}
.pr-section--friends::before,
.pr-section--friends::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 18px;
  pointer-events: none;
  z-index: 1;
}
.pr-section--friends::before {
  top: 0;
  background: linear-gradient(180deg, #fff7e9 0%, rgba(255, 247, 233, 0) 100%);
}
.pr-section--friends::after {
  bottom: 0;
  background: linear-gradient(0deg, #f4ecfd 0%, rgba(244, 236, 253, 0) 100%);
}

.pr-section--lavender {
  background: linear-gradient(180deg, #f3ebfd 0%, #fcf4fb 60%, #fff7ec 100%);
}
.pr-section--parents {
  padding-block: clamp(28px, 3.6vw, 44px) clamp(26px, 3.4vw, 40px);
}
.pr-section-head { text-align: center; margin-bottom: clamp(22px, 3vw, 34px); position: relative; z-index: 2; }
.pr-section-title {
  font-family: var(--pr-font-display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--pr-purple-900);
  margin: 0 0 8px;
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
}
.pr-flourish-svg { width: 54px; height: 20px; flex-shrink: 0; }
.pr-section-lead { color: var(--pr-ink-muted); max-width: 62ch; margin: 0 auto; font-weight: 700; }

/* Explore 3 Feature Cards */
.pr-cards-3 {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  padding-top: 14px;
}
.pr-feature-card {
  position: relative;
  border-radius: 18px;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .2s ease;
}
.pr-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fffcf4;
  border: 2px solid #e6c677;
  border-radius: 18px;
  box-shadow: var(--pr-shadow-sm);
  z-index: 1;
  pointer-events: none;
  transition: box-shadow .2s ease;
}
.pr-feature-card:hover { transform: translateY(-4px); }
.pr-feature-card:hover::before { box-shadow: var(--pr-shadow-md); }
.pr-feature-media {
  position: relative; z-index: 2;
  margin: calc(-3.2% + 2px) 2px 0;
  aspect-ratio: 1000 / 540;
  background: transparent;
}
.pr-feature-media::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px;
  background: #fffcf4; clip-path: ellipse(60% 100% at 50% 100%);
  pointer-events: none;
}
.pr-feature-media img { width: 100%; height: 100%; object-fit: contain; object-position: center top; display: block; }
.pr-feature-body {
  position: relative; z-index: 2;
  padding: 12px 18px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.pr-feature-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--pr-lavender-100); color: var(--pr-purple-800); font-size: 1.25rem;
}
.pr-feature-text h3 {
  font-family: var(--pr-font-display); font-size: 1.18rem; margin: 0 0 4px; color: var(--pr-purple-900);
}
.pr-feature-text p { margin: 0; font-size: 0.9rem; color: var(--pr-ink-muted); line-height: 1.45; }
.pr-arrow-circle {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1.5px solid var(--pr-purple-700); color: var(--pr-purple-800); font-weight: 800;
}

/* Royal Friends 5 Character Cards — Mockup-exact pop-out portraits & circular medallions */
.pr-friends-grid {
  --pr-friend-circle: clamp(134px, 12.6vw, 156px);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px; position: relative; z-index: 2; padding-top: 8px;
}
.pr-friend-card {
  position: relative;
  isolation: isolate;
  background: transparent;
  border: 0;
  border-radius: 22px;
  margin-top: calc(var(--pr-friend-circle) * 1.06);
  padding: 0 10px 18px;
  text-align: center;
  box-shadow: none;
  display: flex; flex-direction: column; align-items: center;
}
.pr-friend-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fffef9 0%, #fff8ea 100%);
  border: 2px solid #e5bd60;
  border-radius: 22px;
  box-shadow: 0 8px 22px rgba(53, 22, 79, 0.11);
  z-index: 2;
  pointer-events: none;
}
.pr-friend-avatar {
  position: absolute;
  bottom: calc(100% - 10px);
  left: 50%;
  margin-left: calc(var(--pr-friend-circle) * -0.83335);
  width: calc(var(--pr-friend-circle) * 1.6667);
  height: calc(var(--pr-friend-circle) * 1.5278);
  pointer-events: none;
}
.pr-friend-avatar::before {
  content: '';
  position: absolute;
  bottom: calc(var(--pr-friend-circle) * -0.08);
  left: 50%;
  margin-left: calc(var(--pr-friend-circle) * -0.5);
  width: var(--pr-friend-circle);
  height: var(--pr-friend-circle);
  border-radius: 50%;
  border: 3.5px solid #e2b144;
  background: radial-gradient(circle at 50% 42%, #fff4f9 0%, #f6d4ec 56%, #e4c1ef 100%);
  box-shadow: 0 0 0 1px rgba(189, 134, 24, 0.32), inset 0 2px 7px rgba(255, 255, 255, 0.65), 0 8px 18px rgba(53, 22, 79, 0.14);
  z-index: 1;
}
.pr-friend-avatar img {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
}
.pr-friend-pill {
  position: relative; z-index: 4;
  margin-top: -17px;
  min-width: min(94%, 194px);
  background: linear-gradient(180deg, #76389c 0%, #48166e 100%);
  color: #ffeaa8; border: 2px solid #e6be60;
  border-radius: 999px; padding: 5px 12px; font-weight: 800; font-size: clamp(0.82rem, 0.95vw, 0.9rem);
  line-height: 1.25;
  margin-bottom: 10px; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(45, 16, 72, 0.24);
}
.pr-friend-card p {
  position: relative; z-index: 4;
  margin: 0; font-size: 0.87rem; color: #2a2146; line-height: 1.4; font-weight: 600;
}
.pr-friend-card p strong { font-weight: 800; color: #241840; }

/* For Parents Spotlight Band — Mockup-exact 3-part card */
.pr-parents-box {
  background: linear-gradient(125deg, #fffdf9 0%, #fff9f5 56%, #fdf4fb 100%);
  border: 1.5px solid rgba(229, 189, 96, 0.62);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(53, 22, 79, 0.09);
  overflow: hidden;
  display: grid; grid-template-columns: minmax(250px, 0.94fr) minmax(0, 1.38fr) minmax(240px, 0.92fr);
  align-items: stretch; gap: 0; padding: 0;
}
.pr-parents-photo { overflow: hidden; display: flex; align-items: center; }
.pr-parents-photo--family {
  position: relative;
  align-items: stretch;
}
.pr-parents-photo--family img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 76%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 76%, rgba(0, 0, 0, 0) 100%);
}
.pr-parents-photo--laptop {
  justify-content: center;
  padding: 12px 16px 8px 4px;
}
.pr-parents-photo--laptop img {
  width: 100%; max-width: 330px; height: auto; object-fit: contain;
}
.pr-parents-center {
  text-align: left;
  padding: clamp(20px, 2.5vw, 30px) clamp(14px, 1.8vw, 24px);
  display: flex; flex-direction: column; justify-content: center;
}
.pr-parents-center h2 {
  font-family: var(--pr-font-display); font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 700; color: #3a165e; margin: 0 0 8px;
  display: inline-flex; align-items: center; gap: 10px; line-height: 1.1;
}
.pr-parents-crown { width: 38px; height: 27px; flex-shrink: 0; display: block; }
.pr-parents-lead {
  margin: 0; color: #2d2148; font-weight: 600; font-size: 0.97rem; line-height: 1.46;
}
.pr-parents-pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin: 18px 0 0;
}
.pr-pillar {
  text-align: center; padding: 4px 6px;
  font-size: 0.82rem; font-weight: 700; color: #2d2148; line-height: 1.25;
  border-right: 1px solid #dfd1ee;
  display: flex; flex-direction: column; align-items: center;
}
.pr-pillar:last-child { border-right: 0; }
.pr-pillar-svg { width: 42px; height: 42px; margin-bottom: 6px; flex-shrink: 0; }

/* Generic Panels, Badges, Levels */
.pr-levels-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pr-level-card, .pr-panel {
  background: var(--pr-white); border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius-md); padding: 22px; box-shadow: var(--pr-shadow-sm);
}
.pr-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--pr-lavender-100); color: var(--pr-purple-900);
}
.pr-badge--gold { background: #fff1cc; color: #704b06; border: 1px solid var(--pr-gold-500); }

.pr-page-banner {
  background: linear-gradient(135deg, #efe4ff 0%, #fff4f8 55%, #fff9e8 100%);
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
  padding-block: clamp(28px, 4vw, 48px);
  text-align: center;
}
.pr-page-banner h1 {
  font-family: var(--pr-font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  color: var(--pr-purple-900); margin: 0 0 10px;
}
.pr-page-banner p { max-width: 64ch; margin: 0 auto; color: var(--pr-ink-muted); font-weight: 600; }

/* Native Zen Cart Pages (Login, Create Account, Account, Cart, Checkout) */
#mainWrapper { width: 100%; }
.pr-zc-shell { padding-block: 32px; }
.pr-zc-columns { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.pr-zc-columns.no-left { grid-template-columns: minmax(0, 1fr); }
.pr-zc-columns.with-both { grid-template-columns: 220px minmax(0, 1fr) 220px; }

.centerColumn {
  background: var(--pr-white);
  border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius-md);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--pr-shadow-sm);
}
.centerColumn > h1 {
  font-family: var(--pr-font-display);
  color: var(--pr-purple-900);
  margin: 0 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  border-bottom: 2px solid var(--pr-lavender-200);
  padding-bottom: 10px;
}
#loginDefault .floatingBox {
  width: calc(50% - 12px);
  background: #fcfaff;
  border: 1.5px solid var(--pr-border);
  border-radius: 16px;
  padding: 22px;
  margin: 0 0 20px;
}
#loginDefault .floatingBox.back { float: left; }
#loginDefault .floatingBox.forward { float: right; }
.clearBoth { clear: both; display: block; }
fieldset {
  border: 1.5px solid var(--pr-border);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 20px;
  background: #fcfaff;
}
legend {
  font-family: var(--pr-font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--pr-purple-900);
  padding: 0 10px;
}
.inputLabel { display: block; font-weight: 700; color: var(--pr-ink); margin: 10px 0 4px; }
.information, .advisory { color: var(--pr-ink-muted); margin-bottom: 14px; font-size: 0.95rem; }
.buttonRow { margin-top: 14px; display: inline-block; }
.buttonRow.forward { float: right; }
.buttonRow.back { float: left; padding-top: 10px; }
.alert { color: #b42318; font-weight: 700; margin-left: 4px; }

.centerBoxWrapper {
  background: var(--pr-white); border: 1.5px solid var(--pr-border);
  border-radius: var(--pr-radius-md); padding: 20px; margin-bottom: 24px;
  box-shadow: var(--pr-shadow-sm);
}
.centerBoxHeading {
  font-family: var(--pr-font-display); color: var(--pr-purple-900);
  margin-top: 0; border-bottom: 2px solid var(--pr-lavender-200); padding-bottom: 10px;
}
input[type="submit"], button.cssButton, .cssButton {
  background: linear-gradient(135deg, #6b3f9c, #3a175a);
  color: var(--pr-white); border: 1.5px solid var(--pr-gold-500);
  border-radius: 999px; padding: 10px 22px; font-weight: 800; cursor: pointer;
  min-height: 44px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  font-family: inherit; font-size: 0.95rem;
}
input[type="submit"]:hover, button.cssButton:hover, .cssButton:hover {
  filter: brightness(1.08); color: var(--pr-white);
}
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], select, textarea {
  font: inherit; padding: 10px 13px; border: 1.5px solid #cbbbe0; border-radius: 10px;
  width: 100%; max-width: 100%; background: var(--pr-white); color: var(--pr-ink);
}
input[type="checkbox"], input[type="radio"] { width: auto; accent-color: var(--pr-purple-700); }

.messageStackError, .messageStackWarning, .messageStackSuccess, .messageStackCaution {
  border-radius: 12px; padding: 12px 16px; margin: 12px 0; font-weight: 700;
}
.messageStackError { background: #fdecec; color: #8a1c1c; border: 1px solid #f2b8b5; }
.messageStackSuccess { background: #e8f6ec; color: #195e2d; border: 1px solid #a8d8b7; }
.messageStackCaution, .messageStackWarning { background: #fff6de; color: #6e4f07; border: 1px solid #e9cb76; }

/* Footer matching Mockup — Sweeping Golden S-Wave, Gold Crown Logo & Castle Silhouette */
.pr-footer {
  background: transparent;
  color: var(--pr-white);
  padding: 36px 0 14px;
  position: relative;
  overflow: hidden;
  margin-top: -12px;
}
.pr-footer-backdrop {
  position: absolute;
  inset: 0;
  background: linear-gradient(96deg, #341059 0%, #4b1d78 42%, #3a1462 72%, #35105a 100%);
  clip-path: polygon(0.00% 28.0px, 2.44% 22.9px, 5.05% 19.3px, 7.83% 17.1px, 10.74% 16.1px, 13.78% 16.1px, 16.92% 16.9px, 20.14% 18.3px, 23.44% 20.0px, 26.78% 21.9px, 30.15% 23.9px, 33.54% 25.6px, 36.91% 26.9px, 40.27% 27.6px, 43.58% 27.5px, 46.83% 26.3px, 50.00% 24.0px, 53.14% 21.1px, 56.31% 18.3px, 59.49% 15.8px, 62.70% 13.6px, 65.90% 11.6px, 69.12% 10.0px, 72.32% 8.8px, 75.52% 8.0px, 78.70% 7.7px, 81.86% 7.9px, 84.99% 8.6px, 88.09% 9.9px, 91.14% 11.9px, 94.15% 14.5px, 97.10% 17.9px, 100.00% 22.0px, 100% 100%, 0% 100%);
  z-index: 0;
  pointer-events: none;
}
.pr-footer-castle-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  height: calc(100% - 4px);
  width: auto;
  max-width: 44%;
  object-fit: cover;
  object-position: right bottom;
  z-index: 1;
}
.pr-footer-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 54px;
  z-index: 2;
}
.pr-footer-wave-stroke {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 3;
  pointer-events: none;
}
.pr-footer-inner { position: relative; z-index: 4; }
.pr-footer a { color: #f6e7b8; text-decoration: none; }
.pr-footer a:hover { color: var(--pr-white); text-decoration: underline; }
.pr-footer-grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(160px, 240px);
  align-items: center; gap: 22px; min-height: 92px;
}
.pr-footer-brand { display: flex; align-items: center; gap: 18px; }
.pr-footer-brand img { height: 84px; width: auto; max-width: none; object-fit: contain; }
.pr-footer-divider { width: 1.5px; height: 48px; background: rgba(255,255,255,0.34); }
.pr-footer-tagline { margin: 0; font-size: 0.94rem; color: #f7efff; max-width: 24ch; line-height: 1.38; font-weight: 600; }
.pr-footer-links {
  display: flex; flex-wrap: wrap; gap: 8px 0; list-style: none; margin: 0; padding: 0;
  justify-content: center; font-weight: 700; font-size: 0.96rem;
}
.pr-footer-links a { color: #ffffff; }
.pr-footer-links a:hover { color: #ffeaa8; }
.pr-footer-links li + li::before { content: '|'; margin: 0 12px; color: rgba(255,255,255,0.42); }
.pr-footer-castle-spacer { width: 100%; height: 1px; }
.pr-footer-legal {
  margin-top: 10px; padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 0.8rem; color: rgba(232, 221, 248, 0.82); position: relative; z-index: 4;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .pr-friends-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); --pr-friend-circle: 144px; row-gap: 20px; }
  .pr-desktop-br { display: none; }
  .pr-parents-box { grid-template-columns: 1fr; text-align: center; }
  .pr-parents-photo--family img { -webkit-mask-image: none; mask-image: none; max-height: 260px; }
  .pr-parents-photo--laptop { padding: 4px 18px 20px; }
  .pr-parents-center { text-align: center; align-items: center; }
  .pr-parents-center h2 { justify-content: center; }
  .pr-parents-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
  .pr-pillar { border-right: 0; background: var(--pr-lavender-100); border-radius: 12px; padding: 10px 8px; }
}
@media (max-width: 960px) {
  .pr-nav, .pr-header-divider { display: none; }
  .pr-mobile-toggle { display: inline-flex; }
  .pr-hero-panoramic {
    background-image: none;
    background: radial-gradient(circle at 30% 20%, #f5ebff 0%, #e1e8ff 65%, #d7d8f7 100%);
    min-height: auto;
  }
  .pr-hero-copy { max-width: 100%; margin: 0 auto; }
  .pr-hero-mobile-art { display: block; }
  .pr-section--friends { background-size: cover; }
  .pr-cards-3 { grid-template-columns: 1fr; }
  .pr-zc-columns, .pr-zc-columns.with-both { grid-template-columns: 1fr; }
  .pr-footer { padding-top: 42px; }
  .pr-footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .pr-footer-brand { flex-direction: column; }
  .pr-footer-divider, .pr-footer-castle-spacer { display: none; }
  .pr-footer-links li + li::before { margin: 0 10px; }
  .pr-footer-castle-bg { max-width: 100%; width: 320px; height: auto; opacity: 0.45; }
}
@media (max-width: 768px) {
  #loginDefault .floatingBox { width: 100%; float: none !important; }
  .buttonRow.forward, .buttonRow.back { float: none; display: block; margin-top: 12px; }
}
@media (max-width: 600px) {
  .pr-friends-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); --pr-friend-circle: 118px; gap: 14px; }
  .pr-friend-pill { font-size: 0.8rem; padding: 4px 10px; min-width: 92%; }
  .pr-header-actions .pr-btn { padding-inline: 14px; font-size: 0.86rem; }
}
@media (max-width: 400px) {
  .pr-friends-grid { grid-template-columns: 1fr; --pr-friend-circle: 146px; }
}
