/* ==========================================================================
   RyRy.in — design system
   Salon care at home. Warm, unhurried, precise. No external fonts/libraries.
   ========================================================================== */

:root {
  /* Colour */
  --c-primary: #7A2E3D;
  --c-primary-dark: #5E2130;
  --c-primary-tint: #F4E6E9;
  --c-accent: #C79A3B;
  --c-accent-tint: #F7EFDC;
  --c-bg: #FAF7F3;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F3ECE6;
  --c-text: #2A2320;
  --c-text-muted: #6B6058;
  --c-border: #E7DDD3;
  --c-success: #3F7A5C;
  --c-success-tint: #E8F1EC;
  --c-error: #B3413E;

  /* Type scale */
  --fs-caption: 0.8125rem;
  --fs-body: 0.9375rem;
  --fs-body-lg: 1.0625rem;
  --fs-h5: 1.25rem;
  --fs-h4: 1.5rem;
  --fs-h3: 1.875rem;
  --fs-h2: 2.25rem;
  --fs-h1: 2.75rem;

  --font-display: -apple-system, "SF Pro Rounded", "Segoe UI Rounded", "Avenir Next", ui-rounded, system-ui, sans-serif;
  --font-body: -apple-system, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;

  /* Spacing scale */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadow (warm-tinted, soft) */
  --shadow-sm: 0 1px 2px rgba(42, 35, 32, 0.06), 0 1px 1px rgba(42, 35, 32, 0.04);
  --shadow-md: 0 6px 16px rgba(90, 46, 46, 0.08);
  --shadow-lg: 0 16px 40px rgba(90, 46, 46, 0.14);

  --container: 1120px;
  --transition: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.rr-noscroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 var(--sp-3);
  color: var(--c-text);
}
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); line-height: 1.15; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
h4 { font-size: var(--fs-h4); line-height: 1.25; }
h5 { font-size: var(--fs-h5); }
p { margin: 0 0 var(--sp-3); color: var(--c-text-muted); }
a { color: inherit; }

img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.rr-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

.rr-eyebrow {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--sp-2);
}

/* ---------------------------------- Buttons ---------------------------------- */

.rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-body);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.rr-btn:active { transform: scale(0.97); }

.rr-btn--primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.rr-btn--primary:hover { background: var(--c-primary-dark); }

.rr-btn--secondary {
  background: transparent;
  color: var(--c-primary);
  border: 1.5px solid var(--c-primary);
}
.rr-btn--secondary:hover { background: var(--c-primary-tint); }

.rr-btn--ghost {
  background: transparent;
  color: var(--c-text);
  border: 1.5px solid var(--c-border);
}

.rr-btn--sm { padding: 9px 16px; font-size: var(--fs-caption); min-height: 36px; }
.rr-btn--block { width: 100%; }
.rr-btn--whatsapp {
  background: var(--c-success);
  color: #fff;
}
.rr-btn--whatsapp:hover { background: #336a4e; }
.rr-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------------------------------- Header ---------------------------------- */

.rr-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 243, 0.92);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.rr-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-4);
  max-width: var(--container);
  margin: 0 auto;
}
.rr-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--c-primary-dark);
}
.rr-logo span { color: var(--c-accent); }
.rr-nav {
  display: none;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.rr-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--c-text-muted);
}
.rr-nav a:hover, .rr-nav a.is-active { color: var(--c-primary); }
@media (min-width: 860px) {
  .rr-nav { display: flex; }
}
.rr-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.rr-cart-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-primary-dark);
  cursor: pointer;
}
.rr-cart-icon-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--c-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------------------------------- Hero ---------------------------------- */

.rr-hero {
  padding: var(--sp-7) 0 var(--sp-6);
}
.rr-hero__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
}
@media (min-width: 900px) {
  .rr-hero__inner { grid-template-columns: 1.1fr 0.9fr; }
}
.rr-hero h1 { max-width: 12ch; }
.rr-hero__sub { font-size: var(--fs-body-lg); max-width: 42ch; }
.rr-hero__from {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-accent-tint);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: var(--fs-body);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-5);
}
.rr-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.rr-hero__art {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, var(--c-primary-tint), var(--c-accent-tint) 70%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.rr-hero__art img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------- Sections ---------------------------------- */

.rr-section { padding: var(--sp-8) 0; }
.rr-section--alt { background: var(--c-surface-alt); }
.rr-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.rr-section__head p { margin: 0; }

/* ---------------------------------- Category chips ---------------------------------- */

.rr-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}
@media (min-width: 640px) { .rr-categories { grid-template-columns: repeat(4, 1fr); } }
.rr-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  text-decoration: none;
  color: var(--c-text);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.rr-category:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.rr-category__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--c-primary-tint);
  color: var(--c-primary);
  display: flex; align-items: center; justify-content: center;
}
.rr-category__name { font-weight: 700; font-size: var(--fs-body); }

/* ---------------------------------- Service cards ---------------------------------- */

.rr-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 640px) { .rr-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rr-grid { grid-template-columns: repeat(3, 1fr); } }

.rr-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.rr-card:hover { box-shadow: var(--shadow-md); }
.rr-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--c-primary-tint), var(--c-surface-alt));
}
.rr-card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.rr-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-2); }
.rr-card__name { font-weight: 700; font-size: var(--fs-body-lg); margin: 0; }
.rr-card__benefit { font-size: var(--fs-body); margin: 0; }
.rr-card__meta { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-caption); color: var(--c-text-muted); margin: var(--sp-1) 0 0; }
.rr-card__meta .rr-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--c-text-muted); }
.rr-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: var(--sp-3); }
.rr-price { display: flex; align-items: baseline; gap: var(--sp-2); }
.rr-price__now { font-weight: 800; font-size: var(--fs-h5); color: var(--c-text); }
.rr-price__mrp { font-size: var(--fs-caption); color: var(--c-text-muted); text-decoration: line-through; }
.rr-price__save { display: block; font-size: var(--fs-caption); color: var(--c-success); font-weight: 600; }
.rr-card__link { font-size: var(--fs-caption); font-weight: 600; color: var(--c-text-muted); text-decoration: underline; background: none; border: none; padding: 0; cursor: pointer; }

/* Add button -> stepper morph */
.rr-add {
  position: relative;
  min-width: 92px;
  height: 40px;
}
.rr-add__btn {
  width: 100%; height: 40px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-primary);
  background: var(--c-surface);
  color: var(--c-primary);
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.rr-add__btn:hover { background: var(--c-primary); color: #fff; }
.rr-stepper {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  border: 1.5px solid var(--c-primary);
  border-radius: var(--r-pill);
  background: var(--c-primary-tint);
  overflow: hidden;
}
.rr-stepper.is-active { display: flex; }
.rr-add.is-added .rr-add__btn { display: none; }
.rr-stepper button {
  background: none; border: none; width: 32px; height: 100%;
  color: var(--c-primary); font-size: 1.05rem; font-weight: 700; cursor: pointer;
}
.rr-stepper__count { font-weight: 800; color: var(--c-primary-dark); }

/* trust microcopy near add */
.rr-trust {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ---------------------------------- Packages (ticket style) ---------------------------------- */

.rr-tickets {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}
@media (min-width: 780px) { .rr-tickets { grid-template-columns: repeat(3, 1fr); } }

.rr-ticket {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.rr-ticket--best {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}
.rr-ticket__badge {
  position: absolute;
  top: -12px; left: var(--sp-4);
  background: var(--c-accent);
  color: #3a2c08;
  font-weight: 800;
  font-size: var(--fs-caption);
  padding: 5px 14px;
  border-radius: var(--r-pill);
}
.rr-ticket__top { padding: var(--sp-5) var(--sp-5) var(--sp-4); }
.rr-ticket__name { font-size: var(--fs-h5); margin-bottom: var(--sp-1); }
.rr-ticket__tagline { margin: 0; font-size: var(--fs-body); }
.rr-ticket__includes {
  list-style: none;
  margin: var(--sp-3) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: var(--fs-body);
}
.rr-ticket__includes li { display: flex; gap: var(--sp-2); align-items: baseline; }
.rr-ticket__includes li::before { content: "•"; color: var(--c-accent); font-weight: 800; }

.rr-ticket__perf {
  position: relative;
  border-top: 2px dashed var(--c-border);
  margin: 0 var(--sp-5);
}
.rr-ticket__perf::before, .rr-ticket__perf::after {
  content: "";
  position: absolute; top: -10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}
.rr-ticket__perf::before { left: -30px; }
.rr-ticket__perf::after { right: -30px; }

.rr-ticket__stub { padding: var(--sp-4) var(--sp-5) var(--sp-5); }
.rr-ticket__pricing { display: flex; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-1); }
.rr-ticket__individual { font-size: var(--fs-caption); color: var(--c-text-muted); text-decoration: line-through; }
.rr-ticket__price { font-size: var(--fs-h3); font-weight: 800; }
.rr-ticket__savings { color: var(--c-success); font-weight: 700; font-size: var(--fs-body); margin-bottom: var(--sp-4); }
.rr-ticket .rr-btn { width: 100%; }

/* ---------------------------------- Sticky cart bar ---------------------------------- */

#stickyBar {
  position: fixed;
  left: var(--sp-4); right: var(--sp-4); bottom: var(--sp-4);
  z-index: 50;
  background: var(--c-primary-dark);
  color: #fff;
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  opacity: 0;
  transition: transform var(--transition), opacity var(--transition);
  max-width: calc(var(--container) - 32px);
  margin: 0 auto;
}
#stickyBar.is-visible { transform: translateY(0); opacity: 1; }
.rr-stickybar__row { line-height: 1.35; }
.rr-stickybar__row strong { font-size: var(--fs-body-lg); }
.rr-stickybar__fv { font-size: var(--fs-caption); opacity: 0.9; }
.rr-stickybar__fv--unlocked { color: #CFEFDB; display: inline-flex; align-items: center; gap: 4px; opacity: 1; }
#stickyBar .rr-btn--primary { background: #fff; color: var(--c-primary-dark); flex-shrink: 0; }
#stickyBar .rr-btn--primary:hover { background: var(--c-accent-tint); }

/* ---------------------------------- Cart drawer (bottom sheet on mobile) ---------------------------------- */

#cartOverlay {
  position: fixed; inset: 0;
  background: rgba(42, 35, 32, 0.45);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition);
}
#cartOverlay.is-open { opacity: 1; visibility: visible; }

#cartDrawer {
  position: fixed;
  z-index: 61;
  background: var(--c-surface);
  left: 0; right: 0; bottom: 0;
  max-height: 86vh;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  transform: translateY(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
#cartDrawer.is-open { transform: translateY(0); }
@media (min-width: 640px) {
  #cartDrawer {
    left: auto; right: var(--sp-5); bottom: var(--sp-5); top: var(--sp-5);
    width: 420px; max-height: none; border-radius: var(--r-xl);
    transform: translateX(120%);
  }
  #cartDrawer.is-open { transform: translateX(0); }
}
.rr-drawer__handle {
  width: 40px; height: 4px; background: var(--c-border); border-radius: var(--r-pill);
  margin: var(--sp-3) auto 0;
}
@media (min-width: 640px) { .rr-drawer__handle { display: none; } }
.rr-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--c-border);
}
.rr-drawer__head h4 { margin: 0; }
.rr-drawer__close {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-border);
  background: var(--c-surface-alt); cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--c-text-muted);
}
.rr-drawer__body { padding: var(--sp-4) var(--sp-5) var(--sp-6); overflow-y: auto; flex: 1; }
.rr-drawer__empty { text-align: center; padding: var(--sp-7) 0; }
.rr-drawer__empty .rr-btn { margin-top: var(--sp-3); }

.rr-cartline {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  transition: opacity 180ms ease, transform 180ms ease;
}
.rr-cartline.is-removing { opacity: 0; transform: translateX(12px); }
.rr-cartline__name { font-weight: 700; margin: 0; font-size: var(--fs-body); }
.rr-cartline__price { margin: 0; font-size: var(--fs-caption); color: var(--c-text-muted); }
.rr-cartline__controls { display: flex; align-items: center; gap: var(--sp-2); }
.rr-qty__btn {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--c-border);
  background: var(--c-surface-alt); cursor: pointer; font-weight: 700;
}
.rr-qty__num { min-width: 16px; text-align: center; font-weight: 700; }
.rr-cartline__total { font-weight: 700; font-size: var(--fs-body); }
.rr-cartline__remove { background: none; border: none; color: var(--c-text-muted); cursor: pointer; padding: 4px; }
.rr-badge { font-size: 0.6875rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); }
.rr-badge--pkg { background: var(--c-accent-tint); color: #7a5e10; }

.rr-drawer__progress { padding: var(--sp-4) 0; }
.rr-fv { margin: 0 0 var(--sp-2); font-weight: 600; font-size: var(--fs-body); }
.rr-fv--unlocked { color: var(--c-success); display: flex; align-items: center; gap: 6px; }
.rr-progress { height: 8px; background: var(--c-surface-alt); border-radius: var(--r-pill); overflow: hidden; }
.rr-progress__fill { height: 100%; background: var(--c-accent); border-radius: var(--r-pill); transition: width var(--transition); }

.rr-drawer__summary { border-top: 1px solid var(--c-border); padding: var(--sp-4) 0; }
.rr-drawer__row { display: flex; justify-content: space-between; margin-bottom: var(--sp-2); color: var(--c-text-muted); }
.rr-drawer__row--total { color: var(--c-text); font-weight: 800; font-size: var(--fs-body-lg); }
.rr-drawer__note { font-size: var(--fs-caption); text-align: center; margin-top: var(--sp-3); }

/* ---------------------------------- Toast ---------------------------------- */

.rr-toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translate(-50%, 12px);
  background: var(--c-text);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-body);
  opacity: 0;
  z-index: 70;
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: none;
}
.rr-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.rr-toast__check { color: var(--c-success); display: flex; }

/* ---------------------------------- Filters (services page) ---------------------------------- */

.rr-filterbar {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
  margin-bottom: var(--sp-5);
  scrollbar-width: none;
}
.rr-filterbar::-webkit-scrollbar { display: none; }
.rr-filterchip {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  font-weight: 600;
  font-size: var(--fs-body);
  cursor: pointer;
  color: var(--c-text-muted);
}
.rr-filterchip.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------------------------------- Checkout stepper ---------------------------------- */

.rr-steps {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.rr-steps__item { display: flex; align-items: center; gap: var(--sp-2); color: var(--c-text-muted); font-weight: 600; font-size: var(--fs-caption); }
.rr-steps__num {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-surface-alt); border: 1.5px solid var(--c-border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.75rem; color: var(--c-text-muted);
}
.rr-steps__item.is-active .rr-steps__num { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.rr-steps__item.is-active { color: var(--c-text); }
.rr-steps__sep { flex: 1; height: 1px; background: var(--c-border); }

/* ---------------------------------- Forms ---------------------------------- */

.rr-form { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; max-width: 560px; }
.rr-field { display: flex; flex-direction: column; gap: var(--sp-1); }
.rr-field label { font-weight: 700; font-size: var(--fs-caption); }
.rr-field input, .rr-field textarea, .rr-field select {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
}
.rr-field input:focus, .rr-field textarea:focus, .rr-field select:focus { border-color: var(--c-primary); }
.rr-field--group { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.rr-field__error { color: var(--c-error); font-size: var(--fs-caption); font-weight: 600; min-height: 1.2em; }
.rr-field.has-error input, .rr-field.has-error textarea { border-color: var(--c-error); }
.rr-phone-row { display: flex; gap: var(--sp-2); }
.rr-phone-row select { flex: 0 0 84px; }

/* ---------------------------------- Booking summary (sticky on desktop) ---------------------------------- */

.rr-booking-grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 940px) { .rr-booking-grid { grid-template-columns: 1.3fr 1fr; } }
.rr-summary-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  align-self: start;
}
@media (min-width: 940px) { .rr-summary-card { position: sticky; top: 96px; } }
.rr-summary-card h5 { margin-bottom: var(--sp-4); }
.rr-summary-line { display: flex; justify-content: space-between; padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-body); }
.rr-summary-total { display: flex; justify-content: space-between; padding-top: var(--sp-3); font-weight: 800; font-size: var(--fs-h5); }
.rr-summary-note { font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: var(--sp-3); }

/* ---------------------------------- Trust strip / footer ---------------------------------- */

.rr-trust-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}
@media (min-width: 720px) { .rr-trust-strip { grid-template-columns: repeat(4, 1fr); } }
.rr-trust-item { display: flex; gap: var(--sp-3); align-items: flex-start; }
.rr-trust-item__icon { color: var(--c-primary); flex-shrink: 0; }
.rr-trust-item h5 { margin: 0 0 2px; font-size: var(--fs-body-lg); }
.rr-trust-item p { margin: 0; font-size: var(--fs-caption); }

.rr-footer {
  background: var(--c-primary-dark);
  color: #ECD9DC;
  padding: var(--sp-7) 0 var(--sp-8);
  margin-top: var(--sp-8);
}
.rr-footer a { color: #fff; text-decoration: none; }
.rr-footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .rr-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.rr-footer__brand { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: var(--sp-2); }
.rr-footer h6 { color: #fff; font-size: var(--fs-caption); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--sp-3); }
.rr-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs-body); }
.rr-footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: var(--sp-6); padding-top: var(--sp-4); font-size: var(--fs-caption); opacity: 0.8; }

/* ---------------------------------- Utility ---------------------------------- */

.rr-visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
.rr-mt-0 { margin-top: 0; }
.rr-center { text-align: center; }
.rr-skeleton {
  background: linear-gradient(90deg, var(--c-surface-alt) 25%, #EDE4DC 37%, var(--c-surface-alt) 63%);
  background-size: 400% 100%;
  animation: rr-shimmer 1.4s ease infinite;
  border-radius: var(--r-md);
}
@keyframes rr-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* space so fixed sticky bar never covers content */
.rr-page-pad-bottom { padding-bottom: 96px; }
