/* ================================================================
   LANDING.CSS
   Premium, modern, minimalist landing page design system
   ================================================================ */

/* === DESIGN TOKENS ===
   2026-11-26: "Technical instrument" theme — graphite + copper on neutral
   slate. Token NAMES are kept from the old green/ivory theme (used ~600x
   across new/style.css and dataweb.css), values remapped: forest/olive =
   graphite/slate, sage* = neutral greys, ivory/cream/beige = light neutral
   greys. The accent is copper (--c-accent); see the THEME block at the end
   of this file.

   WHY it is no longer navy + logo blue. Three reasons, in order of weight:

   1. It read as the e-shop this app is a copy of. Navy surfaces, a bright
      blue accent and blue-tinted greys is the default webshop/SaaS palette,
      and the planner is not a shop.
   2. Blue is TAKEN in this trade. The neutral conductor is blue, and the
      planner's own drawings paint phases brown/black/grey. A blue brand
      accent competes with a wire colour on the very page that draws wires.
   3. It is what the look-alike competitor does. Of the reference tools in
      docs/switchboard/01_research.md, the one that reads as SaaS rather than
      as an instrument (Electro Planner) brands itself with a cyan-to-blue
      gradient — the exact gradient this theme carried. The tools that read
      as instruments (PlanMyPanel, navrh-rozvadece.cz) are neutral slate and
      near-black, and spend saturated colour only on MEANING: device type,
      conductor, warning. That is the pattern copied here — neutral
      structure, copper for actions, and the semantic colours left alone.

   Copper because it is the material of the trade, it is warm against slate
   so the page stops looking like a dashboard, and no reference tool uses it.
   Every pair below is checked against WCAG AA; see docs/fe_docs/theme.md. */
:root {
  /* Brand Colors (names historical, see above) */
  --c-forest:     #1A1E22;  /* graphite: dark surfaces, table/board headers */
  --c-olive:      #3F4852;  /* slate: icons, links, bars */
  --c-sage:       #5A646F;
  --c-sage-mid:   #868F9A;
  --c-sage-light: #C8CED5;
  --c-sage-bg:    #EDEFF2;  /* hover / soft fill */

  /* Accent: copper */
  --c-accent:      #A64B0A;  /* copper; white text on it is 5.78:1 */
  --c-accent-hov:  #BE580F;  /* brighter on hover; white text still AA at 4.57:1 */
  --c-accent-ink:  #FFFFFF;  /* text on copper */
  --c-accent-text: #8A3C06;  /* copper text on light backgrounds (7.05:1) */
  --c-accent-dark: #F0B077;  /* copper lifted for DARK chrome (8.93:1 on --c-dark) */
  /* Channels, for the rgba() shadows and focus rings that cannot take a hex.
     They were hardcoded from the old blue in four places and every one of
     them was missed the last time the accent moved. */
  --c-accent-rgb:  166, 75, 10;

  /* --c-red / --c-violet are the real colours of the LOGO artwork, which is
     still the e-shop's wordmark (www/upload/Setting/*.svg, red #df2532 +
     violet #504595) — unreferenced in CSS, kept only to record that the logo
     has not followed the theme yet. The accent gradient stopped following
     them in 2026-11-25 and is now copper-to-amber, i.e. inside the brand.
     Horizontal and vertical variants only, never hardcoded at the usage
     site — and note the two SVG <linearGradient> copies listed in
     docs/fe_docs/theme.md, which cannot read a custom property. */
  --c-brand:   #A64B0A;
  --c-red:     #F0002C;
  --c-violet:  #8850FF;
  --g-roof:    linear-gradient(90deg, #8A3C06 0%, #A64B0A 45%, #E8A33D 100%);
  --g-roof-v:  linear-gradient(180deg, #8A3C06 0%, #A64B0A 45%, #E8A33D 100%);

  /* Neutral Palette */
  --c-ivory:    #F4F5F7;  /* page background */
  --c-cream:    #E9EBEF;
  --c-beige:    #D4D9DF;  /* borders */
  --c-wood:     #98A1AB;
  --c-gold:     #F2A516;  /* semantic amber: "info", required, warnings — NOT the accent */
  --c-charcoal: #171A1D;
  --c-brown:    #2C3238;  /* body text (11.88:1 on --c-ivory) */
  --c-muted:    #596270;
  --c-light:    #8A939E;
  /* Control borders. A button or input border has to clear 3:1 on EVERY
     ground it sits on, and the page (#F4F5F7) and soft fills (#E9EBEF) are
     not white — --c-light is only 2.85:1 there. #7E8793 clears all three. */
  --c-edge:     #7E8793;  /* control borders on light */
  --c-edge-dark: #6B757E; /* control borders on dark chrome */
  --c-white:    #FFFFFF;
  --c-danger:   #B3261E;
  --c-danger-hov:   #8C1D17;

  /* Dark chrome (hero, footer, info strip — the header bar itself is white) */
  --c-dark:        #1A1E22;
  --c-dark-2:      #23282D;  /* panels on dark */
  --c-dark-line:   #343B42;
  --c-dark-ink:    #F2F4F6;
  --c-dark-ink-2:  #AFB8C0;
  --c-dark-deep:   #0E1113;  /* the dark end of the chrome gradient */
  --c-dark-lift:   #2E363D;  /* the light end of it */

  /* Typography */
  --font-serif: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;  /* display/headings (name historical) */
  --font-sans:  'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Scale */
  --text-2xs: 0.65rem;
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-md:  1.125rem;
  --text-lg:  1.25rem;
  --text-xl:  1.5rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.25rem;
  --text-4xl: 3rem;
  --text-5xl: 3.75rem;

  /* Spacing */
  --sp-1:  0.25rem;  --sp-2:  0.5rem;   --sp-3:  0.75rem;
  --sp-4:  1rem;     --sp-5:  1.25rem;  --sp-6:  1.5rem;
  --sp-8:  2rem;     --sp-10: 2.5rem;   --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;     --sp-24: 6rem;

  /* Radii */
  --r-sm:   2px;   --r-md: 4px;    --r-lg: 6px;
  --r-xl:   6px;  --r-2xl: 8px;   --r-full: 9999px;  /* r-full kept for circles; pills are reset to 4px in the THEME block */

  /* Shadows */
  --sh-xs: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --sh-sm: 0 2px 8px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  --sh-md: 0 4px 16px rgba(0,0,0,0.09), 0 2px 8px rgba(0,0,0,0.05);
  --sh-lg: 0 8px 32px rgba(0,0,0,0.11), 0 4px 16px rgba(0,0,0,0.06);
  --sh-xl: 0 16px 48px rgba(0,0,0,0.13), 0 8px 24px rgba(0,0,0,0.07);
  --sh-card: 0 2px 20px rgba(20,24,30,0.08), 0 1px 6px rgba(20,24,30,0.04);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-base:   250ms ease;
  --t-slow:   450ms ease;
  --t-spring: 500ms cubic-bezier(0.34,1.56,0.64,1);

  /* Layout */
  --max-w:  1280px;
  --pad:    clamp(1.25rem, 4vw, 4rem);
  --nav-h:  72px;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--c-ivory);
}

body.rl-landing {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-brown);
  background: var(--c-ivory);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, button { font-family: inherit; }

/* === LAYOUT UTILITIES === */
.rl-container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Wider variant for pages whose content is a drawing or a wide table rather
   than prose - the switchboard result page (step 3) carries two
   millimetre-scaled SVGs, a 5-column summary row and the materials list, all
   of which were cramped at the 1280px reading width. A modifier rather than a
   bigger --max-w: the rest of the site keeps its line length. */
.rl-container--wide { max-width: 1440px; }

.rl-section {
  padding-top:    var(--sp-24);
  padding-bottom: var(--sp-24);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-sage);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  color: var(--c-charcoal);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-sub {
  font-size: var(--text-md);
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 520px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
}

.floating-email {
  border-radius: var(--p-full);
}

.btn-danger {
  background: var(--c-danger);
  color: var(--c-white);
  box-shadow: 0 2px 10px rgba(28,31,36,0.28);
}
.btn-danger:hover {
  background: var(--c-danger-hov);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28,31,36,0.38);
}
.btn-danger:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-olive);
  color: var(--c-white);
  box-shadow: 0 2px 10px rgba(28,31,36,0.28);
}
.btn-primary:hover {
  background: var(--c-forest);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(28,31,36,0.38);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--c-olive);
  border: 1.5px solid var(--c-beige);
}
.btn-outline:hover {
  border-color: var(--c-olive);
  background: rgba(28,31,36,0.05);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: var(--text-xs); }

/* === NAVIGATION === */
.rl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(238,239,241,0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
  display: flex;
  align-items: center;
}

.rl-nav.scrolled {
  border-bottom-color: var(--c-beige);
  box-shadow: 0 1px 20px rgba(0,0,0,0.07);
}

.rl-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Logo */
.rl-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.rl-nav__logo-icon { width: 34px; height: 34px; color: var(--c-olive); flex-shrink: 0; }

/* Family-tree icon (nav logo mark + hero leaf accents) */
.rl-family-icon .gold { fill: #b8953a; stroke: #b8953a; }
.rl-family-icon .green { fill: #3e6526; stroke: #3e6526; }
.rl-family-icon .dark { fill: #1b4310; }
.rl-family-icon .line { fill: none; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
/* Footer variant: lighter tones for the dark footer background */
.rl-family-icon--footer .green { fill: #C0D9A8; stroke: #C0D9A8; }
.rl-family-icon--footer .dark { fill: #F8F5EE; }
.rl-nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.rl-nav__logo-name {
  font-family: var(--font-serif);
  font-size: var(--text-md);
  font-weight: 700;
  color: var(--c-charcoal);
  letter-spacing: -0.01em;
}
.rl-nav__logo-tag {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Links */
.rl-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}
.rl-nav__link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-brown);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.rl-nav__link:hover { color: var(--c-olive); background: rgba(28,31,36,0.07); }
.rl-nav__chevron { width: 11px; height: 11px; opacity: 0.45; transition: transform var(--t-fast); }
.rl-nav__link:hover .rl-nav__chevron { transform: rotate(180deg); opacity: 0.7; }

/* Actions */
.rl-nav__actions { display: flex; align-items: center; gap: var(--sp-3); flex-shrink: 0; }

/* Language/currency switchers duplicated inside the mobile hamburger dropdown (see .rl-nav__links.open below) */
.rl-nav__mobile-actions { display: none; }
.rl-nav__login {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-muted);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  transition: color var(--t-fast);
}
.rl-nav__login:hover { color: var(--c-olive); }
.rl-nav__cta {
  background: var(--c-olive);
  color: var(--c-white);
  padding: 0.5rem 1.2rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(28,31,36,0.28);
  transition: all var(--t-base);
}
.rl-nav__cta:hover { background: var(--c-forest); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(28,31,36,0.38); }

/* Hamburger */
.rl-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
}
.rl-nav__toggle span { display: block; width: 22px; height: 2px; background: var(--c-brown); border-radius: 2px; transition: all var(--t-fast); }

/* Mobile menu */
@media (max-width: 860px) {
  .rl-nav__links, .rl-nav__login { display: none; }
  .rl-nav__toggle { display: flex; }
  .rl-nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(238,239,241,0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: var(--sp-4) var(--pad);
    border-bottom: 1px solid var(--c-beige);
    gap: var(--sp-1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  /* Keep the header row from crowding out the hamburger — language/currency move into the dropdown instead */
  .rl-actions__lang, .rl-actions__currency { display: none; }

  .rl-nav__mobile-actions {
    display: block;
    width: 100%;
    margin-top: var(--sp-2);
    padding-top: var(--sp-3);
    border-top: 1px solid var(--c-beige);
  }
  .rl-nav__mobile-actions-inner {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }

  /* Tighten the row itself — logo + search/cart/account/toggle were still
     wide enough to push the toggle button past the viewport edge (clipped
     by body's overflow-x:hidden) on narrow phones. */
  .rl-nav__inner { gap: var(--sp-3); }
  .rl-nav__toggle { flex-shrink: 0; }
}

@media (max-width: 480px) {
  .rl-nav__logo-tag, .rl-nav__logo-name { display: none; }
  /* Text-only logo has no icon to fall back on — keep it visible. */
  .rl-nav__logo-name--text { display: inline; }
  .rl-nav__inner { gap: var(--sp-2); }
  .rl-nav__utils { gap: 0; }
}

/* === NAV UTILITIES (search / language / currency / cart) === */
.rl-nav__utils {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.rl-util { position: relative; }

.rl-util__btn {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 38px;
  padding: 0 var(--sp-2);
  border-radius: var(--r-full);
  color: var(--c-brown);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-util__btn:hover { background: rgba(28,31,36,0.07); color: var(--c-olive); }

.rl-util__chevron { opacity: 0.5; transition: transform var(--t-fast); }
.rl-util[data-open="true"] > .rl-util__btn .rl-util__chevron { transform: rotate(180deg); opacity: 0.8; }

.rl-util__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--sp-3);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 120;
}
.rl-util[data-open="true"] .rl-util__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Language */
.rl-lang__flag { font-size: 1rem; line-height: 1; }
.rl-lang__flag img,
img.rl-lang__flag {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.rl-lang__code { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em; }
.rl-lang__panel { min-width: 168px; display: flex; flex-direction: column; gap: 2px; }
.rl-lang__item {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--c-brown);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-lang__item span { font-size: 1rem; }
.rl-lang__item img {
  width: 18px; height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.rl-lang__item:hover { background: rgba(28,31,36,0.07); color: var(--c-olive); }
.rl-lang__item.is-active { color: var(--c-olive); font-weight: 600; background: var(--c-sage-bg); }

/* Account */
.rl-account__btn { font-size: 1rem; }
.rl-account__panel { min-width: 168px; display: flex; flex-direction: column; gap: 2px; }
.rl-account__item {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--c-brown);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-account__item:hover { background: rgba(28,31,36,0.07); color: var(--c-olive); }

/* Currency */
.rl-currency__code { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.02em; }
.rl-currency__panel { min-width: 120px; display: flex; flex-direction: column; gap: 2px; }
.rl-currency__item {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--c-brown);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-currency__item:hover { background: rgba(28,31,36,0.07); color: var(--c-olive); }
.rl-currency__item.is-active { color: var(--c-olive); font-weight: 600; background: var(--c-sage-bg); }

.rl-account-header__intro ul {list-style: circle;}
/* Search */
/* fixed + centered under nav (nav's backdrop-filter = containing block, spans viewport) */
.rl-search__panel {
  position: fixed;
  top: calc(var(--nav-h) - 6px);
  right: auto;
  left: 50%;
  transform: translate(-50%, -8px);
  width: min(760px, calc(100vw - 2 * var(--pad)));
}
.rl-util[data-open="true"] .rl-search__panel { transform: translate(-50%, 0); }
.rl-search__form {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border: 1.5px solid var(--c-beige);
  border-radius: var(--r-full);
  transition: border-color var(--t-fast);
}
.rl-search__form:focus-within { border-color: var(--c-olive); }
.rl-search__icon { color: var(--c-muted); flex-shrink: 0; }
.rl-search__input {
  border: none;
  outline: none;
  flex: 1;
  font-size: var(--text-sm);
  color: var(--c-brown);
  background: transparent;
}
.rl-search__input::placeholder { color: var(--c-light); }
.rl-search__hint {
  margin-top: var(--sp-2);
  padding: 0 var(--sp-2);
  font-size: var(--text-2xs);
  color: var(--c-light);
}
.rl-search__results {
  margin-top: var(--sp-2);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  max-height: min(480px, 60vh);
  overflow-y: auto;
}
.rl-search__group { display: flex; flex-direction: column; gap: 2px; }
.rl-search__group-title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0 var(--sp-2);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: capitalize;
  color: var(--c-muted);
}
.rl-search__group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px; height: 16px;
  padding: 0 3px;
  background: var(--c-sage-bg);
  color: var(--c-olive);
  border-radius: var(--r-full);
  font-size: 0.62rem;
  font-weight: 700;
}
.rl-search__result {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  color: var(--c-brown);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-search__result:hover { background: rgba(28,31,36,0.07); color: var(--c-olive); }
.rl-search__result-thumb {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
}
.rl-search__result-thumb img,
.rl-search__result-thumb picture {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rl-search__result-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rl-search__all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-top: 1px solid var(--c-beige);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-olive);
}
.rl-search__all:hover { color: var(--c-charcoal); }
.rl-search__all-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 4px;
  background: var(--c-sage-bg);
  border-radius: var(--r-full);
  font-size: 0.68rem;
  font-weight: 700;
}

/* Cart */
.rl-cart__btn { position: relative; }
.rl-cart__badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 16px; height: 16px;
  padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-olive);
  color: var(--c-white);
  font-size: 0.62rem;
  font-weight: 700;
  border-radius: var(--r-full);
  line-height: 1;
  box-shadow: 0 0 0 2px var(--c-ivory);
}
.rl-cart__panel { width: min(320px, 86vw); }
.rl-cart__items { display: flex; flex-direction: column; gap: var(--sp-2); max-height: 260px; overflow-y: auto; }
.rl-cart__item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2);
  border-radius: var(--r-md);
}
.rl-cart__item:nth-child(even) { background: var(--c-sage-bg); }
.rl-cart__item-remove {
  flex-shrink: 0;
  margin-left: auto;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: rgba(192, 57, 43, 0.12);
  color: #C0392B;
  border-radius: var(--r-full);
  font-size: 10px;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-cart__item-remove:hover { background: #C0392B; color: var(--c-white); }
.rl-cart__empty { padding: var(--sp-3) 0; text-align: center; color: var(--c-muted); font-size: var(--text-sm); }
.rl-cart__item-thumb {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-sage-bg);
  border-radius: var(--r-md);
  color: var(--c-sage);
}
.rl-cart__item-thumb svg { width: 20px; height: 20px; }
.rl-cart__item-thumb picture,
.rl-cart__item-thumb img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.rl-cart__item-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.rl-cart__item-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-brown);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.rl-cart__item-meta { font-size: var(--text-xs); color: var(--c-muted); }
.rl-cart__foot {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-beige);
}
.rl-cart__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: var(--text-sm);
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}
.rl-cart__total strong { color: var(--c-charcoal); font-size: var(--text-md); }
.rl-cart__checkout { width: 100%; justify-content: center; }

/* Mobile */
@media (max-width: 860px) {
  .rl-lang__code { display: none; }

  .rl-search__panel,
  .rl-lang__panel,
  .rl-currency__panel,
  .rl-cart__panel {
    position: fixed;
    top: var(--nav-h);
    left: var(--pad); right: var(--pad);
    width: auto;
    transform: translateY(-8px);
  }
  .rl-util[data-open="true"] .rl-search__panel,
  .rl-util[data-open="true"] .rl-lang__panel,
  .rl-util[data-open="true"] .rl-currency__panel,
  .rl-util[data-open="true"] .rl-cart__panel {
    transform: translateY(0);
  }
}

/* === BREADCRUMBS ===
   .rl-nav is position:fixed, so the breadcrumb bar (rendered right after the
   header in the layout) needs its own top offset or it renders underneath it.
   This app publishes its own breadcrumb view
   (resources/views/vendor/breadcrumbs/bootstrap5.blade.php), which renders
   <nav class="breadcrumb"> with .breadcrumb-item <a>/<span> children directly
   — not the package's default <ol class="breadcrumb"><li> markup. */
nav.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);

  padding-top: var(--sp-3);
  padding-bottom: var(--sp-3);
  background: var(--c-ivory);
  border-bottom: 1px solid var(--c-beige);
  font-size: var(--text-sm);
}
nav.rl-breadcrumb--offset{
  margin-top: var(--nav-h);
}
/* Left group (crumb trail) and right group (page actions, e.g. the planner's
   Search/Statistics/Settings shortcuts) as two independent flex-wrapping
   clusters inside the space-between nav, rather than one flat item list —
   lets the actions wrap onto their own line on narrow screens without
   breaking up the crumb trail itself. */
.breadcrumb-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}
.rl-breadcrumb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
}
nav.breadcrumb .breadcrumb-item {
  color: var(--c-olive);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--t-fast);
}
nav.breadcrumb .breadcrumb-item:hover { color: var(--c-forest); text-decoration: underline; }
nav.breadcrumb .breadcrumb-item.active { color: var(--c-muted); font-weight: 400; }
nav.breadcrumb .breadcrumb-item:not(:last-child)::after {
  content: '/';
  margin-left: var(--sp-2);
  color: var(--c-light);
  text-decoration: none;
}

/* === HERO SECTION === */
.rl-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--sp-16));
  padding-bottom: var(--sp-20);
  background: var(--c-ivory);
  position: relative;
  overflow: hidden;
}

/* Atmospheric background */
.rl-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 75% 70% at 68% 38%, rgba(201,206,212,0.26) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 10% 75%, rgba(230,232,235,0.38) 0%, transparent 60%),
    radial-gradient(ellipse 40% 45% at 88% 70%, rgba(154,161,170,0.10) 0%, transparent 55%);
  pointer-events: none;
}

/* Background photo from the "HP hero" presentation set. Faded by opacity and
   masked towards the left (headline side) so the copy stays readable; the
   right half (login box sits on its own card) keeps more of the photo. */
.rl-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 45%, #000 75%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.4) 45%, #000 75%);
  pointer-events: none;
}

/* the planner-mark decorations compete with the photo */
.rl-hero--photo .rl-hero__leaf { opacity: 0.05; }

@media (max-width: 900px) {
  /* single column: text over the whole width, so fade evenly */
  .rl-hero__bg {
    opacity: 0.18;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

.rl-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-10), 5vw, var(--sp-20));
  align-items: center;
  position: relative;
}

/* --- Hero Left (Text) --- */
.rl-hero__left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 580px;
  min-width: 0; /* grid items default to min-width:auto — without this, long badge/headline text (esp. longer translated strings) forces the whole grid track wider than the viewport instead of wrapping */
}

.rl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.35rem 0.875rem;
  background: var(--c-sage-bg);
  border: 1px solid var(--c-sage-light);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-sage);
  width: fit-content;
  max-width: 100%;
  white-space: normal;
}

.rl-hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-sage-mid);
  flex-shrink: 0;
}

.rl-hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.1rem);
  font-weight: 700;
  color: var(--c-charcoal);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.rl-hero__headline em { font-style: italic; color: var(--c-olive); }

.rl-hero__sub {
  font-size: clamp(1rem, 1.8vw, var(--text-md));
  color: var(--c-muted);
  line-height: 1.75;
  max-width: 460px;
}

.rl-hero__actions { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }

.rl-hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  padding-top: var(--sp-2);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.trust-badge__icon {
  width: 30px; height: 30px;
  background: var(--c-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm);
  flex-shrink: 0;
}
.trust-badge__icon svg { width: 14px; height: 14px; color: var(--c-sage); }
.trust-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.trust-badge__title { font-size: var(--text-xs); font-weight: 700; color: var(--c-charcoal); }
.trust-badge__sub   { font-size: 0.68rem; color: var(--c-muted); }

/* --- Hero Right (Visual) --- */
.rl-hero__right { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }

/* HP login box (planner) — added 2026-09-25 */
.rl-hero__login .rl-form-card { width: 100%; max-width: 440px; }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1.05;
  margin-left: auto;
}

/* Desktop app mockup */
.hv-app {
  position: absolute;
  top: 0; left: 0;
  right: 8%;
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,0.04);
  overflow: hidden;
}

.hv-app__bar {
  height: 34px;
  background: #F2F2F2;
  border-bottom: 1px solid #E6E6E6;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}
.hv-app__dots { display: flex; gap: 5px; }
.hv-app__dot { width: 8px; height: 8px; border-radius: 50%; }
.hv-app__dot:nth-child(1) { background: #FF5F57; }
.hv-app__dot:nth-child(2) { background: #FFBD2E; }
.hv-app__dot:nth-child(3) { background: #28C840; }
.hv-app__urlbar {
  flex: 1;
  margin: 0 16px;
  height: 18px;
  background: var(--c-white);
  border: 1px solid #E0E0E0;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  color: #AAA;
  gap: 4px;
}

.hv-app__nav {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border-bottom: 1px solid #F0F0F0;
  gap: 8px;
  background: var(--c-white);
}
.hv-app__logo-mark { display: flex; align-items: center; gap: 4px; }
.hv-app__logo-mark svg { width: 14px; height: 14px; color: var(--c-olive); }
.hv-app__logo-name { font-family: var(--font-serif); font-size: 9px; font-weight: 700; color: var(--c-charcoal); }
.hv-app__nav-links { display: flex; gap: 6px; flex: 1; justify-content: center; }
.hv-app__nav-link { font-size: 7px; color: #888; padding: 2px 5px; border-radius: 4px; }
.hv-app__nav-btn { font-size: 7px; font-weight: 700; background: var(--c-olive); color: #fff; padding: 3px 9px; border-radius: 8px; }

.hv-app__tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px 4px;
}
.hv-app__tab { font-size: 7px; padding: 3px 8px; border-radius: 8px; color: #999; background: #F5F5F5; }
.hv-app__tab.active { background: var(--c-olive); color: #fff; font-weight: 600; }

.hv-app__tree { padding: 4px 8px 10px; }
.hv-tree-svg { width: 100%; height: auto; }

/* Static, read-only tree preview inside the app mockup, no
   interaction (no pan/zoom/click). */
.hp-tree-graph {
  width: 100%;
  height: 230px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

/* Framed wall art card */
.hv-frame {
  position: absolute;
  bottom: -4%;
  right: 0;
  width: 36%;
  border-radius: var(--r-lg);
  background: var(--c-white);
  box-shadow: var(--sh-xl);
  padding: 5px;
}
.hv-frame__outer {
  border-radius: 8px;
  border: 5px solid #C4A055;
  background: linear-gradient(135deg,#D4B468 0%,#B8923A 25%,#CBA54C 50%,#B8923A 75%,#D4B468 100%);
  padding: 2px;
}
.hv-frame__mat {
  background: #F7F4EE;
  border-radius: 4px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 150px;
}
.hv-frame__tree-svg { width: 55%; color: var(--c-sage); }
.hv-frame__name { font-family: var(--font-serif); font-size: 7px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-charcoal); text-align: center; }
.hv-frame__tagline { font-size: 5.5px; letter-spacing: 0.08em; color: var(--c-muted); text-align: center; }
.hv-frame__year { font-size: 5.5px; color: var(--c-light); }

/* Floating badges */
.hv-badge {
  position: absolute;
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  z-index: 5;
}
.hv-badge--family {
  bottom: 20%;
  left: -6%;
  animation: float 4.5s ease-in-out infinite;
}
.hv-badge--stats {
  top: 6%;
  right: -5%;
  animation: float 4.5s ease-in-out infinite 2.2s;
}
.hv-badge__icon {
  width: 32px; height: 32px;
  background: var(--c-sage-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hv-badge__icon svg { width: 15px; height: 15px; color: var(--c-olive); }
.hv-badge__text { display: flex; flex-direction: column; line-height: 1.2; }
.hv-badge__label { font-size: 0.7rem; font-weight: 700; color: var(--c-charcoal); }
.hv-badge__sub { font-size: 0.62rem; color: var(--c-muted); }
.hv-badge__num { font-family: var(--font-serif); font-size: var(--text-xl); font-weight: 700; color: var(--c-olive); line-height: 1; }
.hv-badge__divider { align-self: stretch; width: 1px; background: var(--c-beige); flex-shrink: 0; }

/* Decorative leaves */
.rl-hero__leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.1;
  color: var(--c-sage);
}
.rl-hero__leaf--tl { top: 11%; left: -1%; width: 470px; transform: rotate(-8deg); }
/* Planner mark (2026-09-26) — tilt instead of the old leaf flip */
.rl-hero__leaf--br { bottom: 4%; right: 1%; width: 210px; transform: rotate(10deg); }

/* === FEATURE STRIP === */
.rl-features {
  background: var(--c-white);
  border-top: 1px solid var(--c-beige);
  border-bottom: 1px solid var(--c-beige);
  padding: var(--sp-10) 0;
}

.rl-features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
  justify-content: center;
  gap: var(--sp-2);
}

.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--r-lg);
  cursor: default;
  transition: background var(--t-base), transform var(--t-base);
}
.feat-item:hover { background: var(--c-sage-bg); transform: translateY(-3px); }
.feat-item__icon {
  width: 44px; height: 44px;
  background: var(--c-sage-bg);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--t-base);
}
.feat-item:hover .feat-item__icon { background: var(--c-sage-light); }
.feat-item__icon svg { width: 22px; height: 22px; color: var(--c-olive); }
.feat-item__title { font-size: var(--text-xs); font-weight: 700; color: var(--c-charcoal); line-height: 1.3; }
.feat-item__desc  { font-size: 0.7rem; color: var(--c-muted); line-height: 1.4; }

/* === PARTNERS STRIP === */
.rl-partners {
  background: var(--c-white);
  border-top: 1px solid var(--c-beige);
  border-bottom: 1px solid var(--c-beige);
  padding: var(--sp-10) 0;
}

.rl-partners__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
  justify-content: center;
  align-items: center;
  gap: var(--sp-6);
}

.rl-partners__item {
  display: flex;
  justify-content: center;
  padding: var(--sp-4) var(--sp-3);
  border-radius: var(--r-lg);
  transition: background var(--t-base), transform var(--t-base);
}
.rl-partners__item:hover { background: var(--c-sage-bg); transform: translateY(-3px); }

.rl-partners__lnk { display: block; width: 100%; }

.rl-partners__logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--t-base), opacity var(--t-base);
}
.rl-partners__item:hover .rl-partners__logo { filter: grayscale(0%); opacity: 1; }

/* === HOW IT WORKS === */
.rl-hiw {
  background: var(--c-cream);
  padding: var(--sp-24) 0;
}

.rl-hiw__head { text-align: center; margin-bottom: var(--sp-16); }

.rl-hiw__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  position: relative;
}

/* Connector line */
.rl-hiw__steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 30px);
  right: calc(12.5% + 30px);
  height: 1px;
  background: linear-gradient(90deg, var(--c-sage-light) 0%, var(--c-sage) 50%, var(--c-sage-light) 100%);
  z-index: 0;
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  padding: var(--sp-6) var(--sp-4);
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  position: relative;
  z-index: 1;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.step-card__num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-olive);
  color: var(--c-white);
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
}

.step-card__icon {
  width: 54px; height: 54px;
  background: var(--c-sage-bg);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-base);
}
.step-card:hover .step-card__icon { background: var(--c-sage-light); }
.step-card__icon svg { width: 26px; height: 26px; color: var(--c-olive); }

.step-card__title { font-family: var(--font-serif); font-size: var(--text-lg); font-weight: 700; color: var(--c-charcoal); }
.step-card__desc  { font-size: var(--text-sm); color: var(--c-muted); line-height: 1.65; }

/* Coming soon ribbon */
.step-card--soon { overflow: hidden; }
.step-card--soon .step-card__num,
.step-card--soon .step-card__icon,
.step-card--soon .step-card__title,
.step-card--soon .step-card__desc { opacity: .4; filter: grayscale(.5); }

.step-card__ribbon {
  position: absolute;
  top: 22px;
  right: -46px;
  z-index: 2;
  width: 170px;
  padding: 5px 0;
  background: var(--c-gold);
  color: var(--c-white);
  text-align: center;
  text-transform: uppercase;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .04em;
  transform: rotate(45deg);
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* Dark aside banner */
.rl-hiw__aside {
  margin-top: var(--sp-12);
  background: var(--c-forest);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-12);
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  position: relative;
  overflow: hidden;
}
.rl-hiw__aside::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 80% at 90% 50%, rgba(83,122,58,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 30% 60% at 10% 50%, rgba(83,122,58,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.rl-hiw__aside-body { flex: 1; position: relative; z-index: 1; }
.rl-hiw__aside-quote {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.3;
}
.rl-hiw__aside-sub { font-size: var(--text-sm); color: rgba(255,255,255,0.55); margin-top: var(--sp-3); }
.rl-hiw__aside-cta { flex-shrink: 0; position: relative; z-index: 1; }
.rl-hiw__aside .btn-primary { background: var(--c-white); color: var(--c-forest); box-shadow: 0 2px 14px rgba(0,0,0,0.2); }
.rl-hiw__aside .btn-primary:hover { background: var(--c-cream); }

/* === GALLERY SECTION === */
.rl-gallery {
  padding: var(--sp-24) 0;
  background: var(--c-ivory);
  overflow: hidden;
}
.rl-gallery__head { text-align: center; margin-bottom: var(--sp-12); }

.gallery-wrap { overflow: hidden; }

.gallery-track {
  display: flex;
  gap: var(--sp-5);
  transition: transform 0.52s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  padding: var(--sp-3) var(--sp-1) var(--sp-6);
  cursor: grab;
  user-select: none;
}
.gallery-track:active { cursor: grabbing; }

.gallery-card {
  flex-shrink: 0;
  width: calc(25% - var(--sp-4));
  min-width: 200px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--sh-lg);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.gallery-card:hover { transform: translateY(-7px) scale(1.015); box-shadow: var(--sh-xl); }

/* Room backgrounds per card */
.gallery-card__room {
  aspect-ratio: 3/4;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
}
.gallery-card:nth-child(1) .gallery-card__room { background: linear-gradient(170deg,#EDE5DC 0%,#D8CEBD 60%,#C8BAA8 100%); }
.gallery-card:nth-child(2) .gallery-card__room { background: linear-gradient(170deg,#F0EEEA 0%,#E4E0DA 60%,#D8D4CE 100%); }
.gallery-card:nth-child(3) .gallery-card__room { background: linear-gradient(170deg,#2C3228 0%,#38402E 60%,#262E1C 100%); }
.gallery-card:nth-child(4) .gallery-card__room { background: linear-gradient(170deg,#E4EBE0 0%,#D4DDD0 60%,#C4CEBC 100%); }
.gallery-card:nth-child(5) .gallery-card__room { background: linear-gradient(170deg,#F2EAE0 0%,#E8DCCE 60%,#DCCFBC 100%); }

/* Floor / surface */
.gallery-card__room::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 32%;
  background: rgba(0,0,0,0.08);
  border-radius: 0 0 0 0;
}

/* Frame artwork */
.gallery-card__artwork {
  position: relative;
  z-index: 2;
  width: 72%;
  background: #F7F3EE;
  border-radius: 2px;
  padding: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  aspect-ratio: 3/4;
}
.gallery-card:nth-child(1) .gallery-card__artwork { border: 7px solid #C4A055; box-shadow: 0 8px 28px rgba(0,0,0,0.18), inset 0 0 0 1.5px rgba(255,255,255,0.4); }
.gallery-card:nth-child(2) .gallery-card__artwork { border: 7px solid #DEDEDE; box-shadow: 0 8px 28px rgba(0,0,0,0.14), inset 0 0 0 1.5px rgba(255,255,255,0.5); background: #FAFAFA; }
.gallery-card:nth-child(3) .gallery-card__artwork { border: 7px solid #1A1A1A; box-shadow: 0 8px 28px rgba(0,0,0,0.45), inset 0 0 0 1.5px rgba(255,255,255,0.08); background: #F5F2EC; }
.gallery-card:nth-child(4) .gallery-card__artwork { border: 7px solid #8B7355; box-shadow: 0 8px 28px rgba(0,0,0,0.16), inset 0 0 0 1.5px rgba(255,255,255,0.3); }
.gallery-card:nth-child(5) .gallery-card__artwork { border: 7px solid #C4A055; box-shadow: 0 8px 28px rgba(0,0,0,0.18), inset 0 0 0 1.5px rgba(255,255,255,0.4); }

.gallery-card__artwork svg { width: 65%; height: auto; opacity: 0.85; }
.gallery-card:nth-child(3) .gallery-card__artwork svg { color: #2C3228; opacity: 0.75; }
.gallery-card:nth-child(1) .gallery-card__artwork svg,
.gallery-card:nth-child(4) .gallery-card__artwork svg,
.gallery-card:nth-child(5) .gallery-card__artwork svg { color: var(--c-sage); }
.gallery-card:nth-child(2) .gallery-card__artwork svg { color: #5A7A48; }

.gallery-card__art-name { font-family: var(--font-serif); font-size: 6px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-charcoal); text-align: center; line-height: 1.3; }
.gallery-card__art-sub  { font-size: 5px; letter-spacing: 0.05em; color: var(--c-muted); text-align: center; }

/* Card info panel */
.gallery-card__info {
  padding: var(--sp-4) var(--sp-5);
}
.gallery-card__type  { font-size: var(--text-xs); font-weight: 600; color: var(--c-sage); letter-spacing: 0.05em; text-transform: uppercase; }
.gallery-card__label { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--c-charcoal); margin-top: 2px; }
.gallery-card__price { font-size: var(--text-sm); color: var(--c-muted); margin-top: 2px; }

/* Carousel Controls */
.gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
}
.gallery-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1.5px solid var(--c-beige);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--c-brown);
  transition: all var(--t-base);
  box-shadow: var(--sh-sm);
}
.gallery-btn:hover { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }
.gallery-btn svg { width: 17px; height: 17px; }
.gallery-dots { display: flex; gap: var(--sp-2); }
.gallery-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: var(--c-beige);
  cursor: pointer;
  transition: all var(--t-base);
}
.gallery-dot.active { background: var(--c-olive); width: 20px; }

/* Coming soon placeholder */
.gallery-placeholder {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  background: var(--c-white);
  border: 1.5px dashed var(--c-beige);
  border-radius: var(--r-2xl);
}
.gallery-placeholder__icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--sp-5);
  background: var(--c-sage-bg);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
}
.gallery-placeholder__icon svg { width: 30px; height: auto; color: var(--c-olive); }
.gallery-placeholder__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-charcoal);
}
.gallery-placeholder__text {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.65;
  margin-top: var(--sp-3);
}

/* === TESTIMONIALS === */
.rl-testimonials {
  background: var(--c-cream);
  padding: var(--sp-24) 0;
}
.rl-testimonials__head { text-align: center; margin-bottom: var(--sp-12); }

.testi-wrap { overflow: hidden; }

.testi-track {
  display: flex;
  gap: var(--sp-5);
  transition: transform 0.52s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  padding: var(--sp-3) var(--sp-1) var(--sp-6);
  cursor: grab;
  user-select: none;
}
.testi-track:active { cursor: grabbing; }

.testi-card {
  flex-shrink: 0;
  width: calc(25% - var(--sp-5));
  min-width: 240px;
  background: var(--c-white);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.testi-card__stars { display: flex; gap: 2px; }
.testi-card__stars svg { width: 13px; height: 13px; }
.testi-card__quote { font-size: var(--text-sm); color: var(--c-brown); line-height: 1.75; flex: 1; }
.testi-card__author { display: flex; align-items: center; gap: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--c-beige); margin-top: auto; }
.testi-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-sage-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--c-olive);
  flex-shrink: 0;
  border: 2px solid var(--c-sage-bg);
}
.testi-card__name   { font-size: var(--text-sm); font-weight: 700; color: var(--c-charcoal); line-height: 1.2; }
.testi-card__family { font-size: var(--text-xs); color: var(--c-muted); }

/* === PRODUCT CARD (category / listing grid) === */
.rl-product-card {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.rl-product-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }

/* .categoryProduct (shop.css) sets a fixed 13rem height for the old card layout;
   override it here so the new card sizes to its actual content. */
.rl-product-card__link { display: block; color: inherit; height: auto; }

.rl-product-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-md);
  text-align: center;
  color: var(--c-white);
  background: var(--c-forest);
  padding: var(--sp-3) var(--sp-4);
  margin: 0;
}

.rl-product-card__media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--c-ivory); }
/* Str::image() wraps the img in an inline <picture>, so the img's height: 100%
   had nothing definite to resolve against and fell back to its natural
   ratio — leaving a gap under non-square images. Pin the picture to the
   square instead. */
.rl-product-card__media picture { position: absolute; inset: 0; display: block; }
.rl-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.rl-product-card:hover .rl-product-card__media img { transform: scale(1.05); }

.rl-product-card__discount {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  min-width: 2.75rem; height: 2.75rem; padding: 0 0.4rem;
  border-radius: var(--r-full);
  background: var(--c-danger);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: 700;
  box-shadow: var(--sh-sm);
  z-index: 2;
}

/* Older featured-product card (product_boxes.blade.php) puts a category badge
   at top-left already, so the discount circle goes on the opposite corner. */
.product-img .rl-product-card__discount { left: auto; right: var(--sp-3); }

.rl-product-card__code {
  position: absolute; top: var(--sp-3); right: var(--sp-3);
  background: rgba(26,26,26,0.6);
  color: var(--c-white);
  font-size: var(--text-2xs);
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
  z-index: 2;
}

/* Bottom-right corner (top corners are already taken by the discount
   circle and the code badge above). z-index above .rl-product-card__attrs
   (z-index: 3) so the attribute hover-overlay — which covers the whole
   image, inset: 0 — never sits on top of the button and swallows clicks
   meant for it. */
.rl-product-card__favorite {
  position: absolute; bottom: var(--sp-3); right: var(--sp-3);
  z-index: 4;
}
.rl-product-card__favorite .rl-favorite-btn {
  width: 2rem; height: 2rem;
  background: rgba(255,255,255,0.85);
  box-shadow: var(--sh-sm);
}
.rl-product-card__favorite .rl-favorite-btn:hover { background: var(--c-white); }

.rl-product-card__price-row {
  display: flex; align-items: baseline; justify-content: flex-end; gap: var(--sp-1);
  padding: var(--sp-2) var(--sp-4);
  background: var(--c-sage-bg);
}
.rl-product-card__price { font-weight: 700; color: var(--c-charcoal); font-size: var(--text-md); }
.rl-product-card__price-suffix { color: var(--c-muted); font-size: var(--text-xs); }

/* Attribute list is hidden by default and revealed as an overlay only over the
   image (.rl-product-card__media) — the title, price, quantity stepper and
   add-to-basket button all live outside it, so they stay visible and reachable. */
.rl-product-card__attrs {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-1);
  padding: var(--sp-5);
  background: rgba(26,26,26,0.92);
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity var(--t-base);
  pointer-events: none;
}
.rl-product-card__media:hover .rl-product-card__attrs,
.rl-product-card__media:focus-within .rl-product-card__attrs {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rl-product-card__attr {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--c-cream);
}
.rl-product-card__attr:nth-child(even) { background: rgba(255,255,255,0.08); border-radius: var(--r-sm); }

/* Compound selector so this beats the element's own .px-2 (Bootstrap utility, same
   specificity as a single class) which was otherwise winning on left/right padding. */
.quantity_actions.rl-product-card__actions { padding: var(--sp-2); display: flex; justify-content: flex-end; }
/* The form inside spans the full card width (.w-100), so it needs its own
   flex alignment for the parent's justify-content to have any visible effect. */
.rl-product-card__actions form { display: flex; justify-content: flex-end; }

.rl-product-card__footer {
  display: block;
  text-align: center;
  padding: var(--sp-3) var(--sp-4);
  margin-top: auto;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-olive);
  border-top: 1px solid var(--c-beige);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-product-card__footer:hover { background: var(--c-sage-bg); color: var(--c-forest); }

.rl-price { color: var(--c-forest); font-weight: 700; }

/* Unit price badge shown next to the product detail title */
.rl-detail-title-price {
  display: inline-flex; flex-direction: column; align-items: center; flex-shrink: 0;
  background: var(--c-forest);
  color: var(--c-white);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: var(--sh-sm);
}
.rl-detail-title-price small {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: var(--text-2xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Quantity stepper — reused on product cards and the product detail page */
.rl-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--c-beige);
  border-radius: var(--r-full);
  overflow: hidden;
  background: var(--c-white);
}
.rl-qty__btn {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-ivory);
  color: var(--c-olive);
  transition: background var(--t-fast);
}
.rl-qty__btn:hover { background: var(--c-sage-bg); }
.rl-qty__input {
  width: 2.75rem;
  height: 2rem;
  border: none;
  border-left: 1px solid var(--c-beige);
  border-right: 1px solid var(--c-beige);
  text-align: center;
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: var(--text-sm);
  appearance: textfield;
  -moz-appearance: textfield;
}
.rl-qty__input::-webkit-outer-spin-button,
.rl-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.rl-qty-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.rl-qty-wrap__stock { font-size: var(--text-xs); color: var(--c-muted); }

.rl-add-btn {
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--r-full);
  background: var(--c-olive);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--t-fast), transform var(--t-fast);
}
.rl-add-btn:hover { background: var(--c-forest); transform: translateY(-1px); }

/* === PRODUCT DETAIL PAGE === */
.image-slider.rl-detail-gallery {
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  background: var(--c-white);
}
.rl-detail-gallery .carousel-item picture,
.rl-detail-gallery .carousel-item img { background: var(--c-ivory); }
.rl-detail-gallery .carousel-control-prev,
.rl-detail-gallery .carousel-control-next { width: 3rem; opacity: 1; }
.rl-detail-gallery .carousel-control-prev i,
.rl-detail-gallery .carousel-control-next i {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.85);
  color: var(--c-forest) !important;
  box-shadow: var(--sh-sm);
}

.rl-detail-panel {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: var(--sp-6);
  height: 100%;
}

.rl-detail-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-4);
}

.rl-detail-attr {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--text-sm);
  color: var(--c-brown);
}
.rl-detail-attr:nth-child(even) { background: var(--c-ivory); border-radius: var(--r-sm); }
.rl-detail-attr__value { font-weight: 600; color: var(--c-charcoal); }

.rl-detail-price-box {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  background: var(--c-forest);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  margin: var(--sp-4) 0;
}
.rl-detail-price-box__discount {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: var(--c-sage-light);
  font-size: var(--text-2xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rl-detail-price-box__discount strong {
  background: var(--c-danger);
  color: var(--c-white);
  border-radius: var(--r-full);
  padding: 0.4rem 0.6rem;
  font-size: var(--text-sm);
}
.rl-detail-price-box__now { color: var(--c-white); font-size: var(--text-xl); font-weight: 700; }
.rl-detail-price-box__was { color: rgba(255,255,255,0.55); text-decoration: line-through; font-size: var(--text-sm); }
.rl-detail-price-box__no-vat { color: var(--c-muted); font-size: var(--text-xs); text-align: right; }

.rl-detail-share {
  display: flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-5);
}
.rl-detail-share a {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-ivory);
  color: var(--c-olive);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-detail-share a:hover { background: var(--c-olive); color: var(--c-white); }

/* Tag chips - product/post detail pages, the tag landing page */
.rl-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.rl-tag-chip {
  display: inline-flex; align-items: center;
  background: var(--c-sage-bg);
  color: var(--c-olive);
  border: none;
  border-radius: var(--r-full);
  padding: 0.3rem 0.85rem;
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-tag-chip:hover { background: var(--c-olive); color: var(--c-white); }
.rl-tag-chip::before { content: "#"; margin-right: 0.2rem; opacity: 0.6; }
.rl-tag-chip.is-active { background: var(--c-olive); color: var(--c-white); }

/* Favorite toggle - reused on the detail page header and, smaller, on
   product cards (see .rl-product-card__favorite below). */
.rl-favorite-btn {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-ivory);
  color: var(--c-olive);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.rl-favorite-btn:hover { background: var(--c-sage-bg); transform: translateY(-1px); }
.rl-favorite-btn.is-active { color: var(--c-danger); }

/* Tabs */
.rl-detail-tabs.nav-tabs { border-bottom: 1px solid var(--c-beige); gap: var(--sp-2); }
.rl-detail-tabs .nav-link {
  border: none;
  color: var(--c-muted);
  font-weight: 600;
  font-size: var(--text-sm);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 2px solid transparent;
}
.rl-detail-tabs .nav-link:hover { color: var(--c-olive); }
.rl-detail-tabs .nav-link.active {
  color: var(--c-forest);
  background: transparent;
  border-bottom-color: var(--c-olive);
}
.rl-detail-tab-content {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: var(--sp-6);
}

/* Variant picker (product detail) */
.rl-variant-btn {
  border-radius: var(--r-full);
  padding: 0.5rem 1.1rem;
  font-size: var(--text-sm);
  font-weight: 600;
  background: var(--c-ivory);
  color: var(--c-brown);
  border: 1.5px solid var(--c-beige);
  transition: all var(--t-fast);
}
.rl-variant-btn:hover { border-color: var(--c-olive); color: var(--c-olive); }
.rl-variant-btn.is-active { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }

/* === CART / CHECKOUT PAGE === */

/* Step indicator */
.rl-steps { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; margin-bottom: var(--sp-10); }
/* The five checkout pages (Frontend/Basket/*) render no breadcrumb bar - their
   @section("Breadcrumbs") is commented out - so this nav is the first thing
   under the position:fixed .rl-nav and slides underneath it. Same situation and
   same remedy as nav.rl-breadcrumb--offset above: clear the nav with var(--nav-h)
   rather than a hardcoded pixel value, so it tracks the real header height.
   Drop the modifier from steps.blade.php if those breadcrumbs are ever restored,
   or the offset will be applied twice. */
.rl-steps--offset { margin-top: var(--nav-h); }
.rl-steps__step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  padding: 0 var(--sp-6);
  color: var(--c-muted);
}
.rl-steps__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.1rem; left: 50%;
  width: 100%; height: 1px;
  background: var(--c-beige);
  z-index: 0;
}
.rl-steps__num {
  position: relative; z-index: 1;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-white);
  border: 1.5px solid var(--c-beige);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-muted);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.rl-steps__label {
  position: relative; z-index: 1;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--c-ivory);
}
.rl-steps__step.is-done .rl-steps__num { background: var(--c-sage-bg); border-color: var(--c-sage); color: var(--c-olive); }
.rl-steps__step.is-done:hover .rl-steps__num { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }
.rl-steps__step.is-done .rl-steps__label { color: var(--c-olive); }
.rl-steps__step.is-active .rl-steps__num { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-white); box-shadow: var(--sh-sm); }
.rl-steps__step.is-active .rl-steps__label { color: var(--c-forest); }
@media (max-width: 768px) {
  .rl-steps__step { padding: 0 var(--sp-3); }
  .rl-steps__label { display: none; }
}

/* Cart item list */
.rl-cart-list { display: flex; flex-direction: column; gap: var(--sp-4); }
.rl-cart-item {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: var(--sp-5);
}
.rl-cart-item__header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-beige);
}
.rl-cart-item__title {
  display: flex; align-items: center; gap: var(--sp-3);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--c-charcoal);
}
.rl-cart-item__code {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-2xs);
  letter-spacing: 0.04em;
  color: var(--c-white);
  background: var(--c-olive);
  padding: 0.2rem 0.6rem;
  border-radius: var(--r-full);
}
.rl-cart-item__body { display: flex; align-items: center; flex-wrap: nowrap; gap: var(--sp-4); }
.rl-cart-item__media {
  position: relative;
  width: 4.5rem; height: 4.5rem; flex-shrink: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-ivory);
}
.rl-cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.rl-cart-item__discount-badge {
  position: absolute; top: 0.25rem; left: 0.25rem;
  min-width: 1.6rem; height: 1.6rem; padding: 0 0.25rem;
  border-radius: var(--r-full);
  background: var(--c-danger);
  color: var(--c-white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700;
  box-shadow: var(--sh-sm);
  z-index: 2;
}
.rl-cart-item__details { flex: 1 1 auto; min-width: 0; font-size: var(--text-sm); color: var(--c-brown); }
.rl-cart-item__qty { flex-shrink: 0; }
.rl-cart-item__qty-static { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; min-width: 3rem; }
.rl-cart-item__qty-label { font-size: var(--text-2xs); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-muted); }
.rl-cart-item__qty-value { font-weight: 700; color: var(--c-charcoal); font-size: var(--text-sm); }
.rl-cart-item__unit-price,
.rl-cart-item__price { flex-shrink: 0; min-width: 5rem; text-align: right; font-weight: 700; color: var(--c-charcoal); }
.rl-cart-item__total { flex-shrink: 0; min-width: 5rem; text-align: right; }
.rl-cart-item__remove {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-ivory);
  color: var(--c-danger);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-cart-item__remove:hover { background: var(--c-danger); color: var(--c-white); }
@media (max-width: 767.98px) {
  .rl-cart-item__body { flex-wrap: wrap; }
}
.rl-cart-item__footer {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--sp-3);
  margin-top: var(--sp-3);
}
.rl-cart-item__attributes {
  display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-4);
  flex: 1 1 auto;
  font-size: var(--text-xs);
  color: var(--c-muted);
}
.rl-cart-item__attribute { display: inline-flex; align-items: baseline; gap: 0.25rem; }
.rl-cart-item__attribute strong { color: var(--c-charcoal); font-weight: 700; }
.rl-cart-item__applied-discount {
  margin-left: auto;
  text-align: right;
  font-size: var(--text-xs);
  color: var(--c-olive);
}
.rl-cart-item__discount-note {
  background: var(--c-sage-bg);
  color: var(--c-olive);
  font-size: var(--text-xs);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-md);
}

/* Order summary panel */
.rl-cart-summary-sticky {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-4));
}
.rl-cart-summary {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: var(--sp-6);
}
.rl-cart-summary__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-4);
}
.rl-cart-summary__rows {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-beige);
  font-size: var(--text-sm);
  color: var(--c-brown);
}
.rl-cart-summary__row { display: flex; justify-content: space-between; gap: var(--sp-3); }
.rl-cart-summary__note { font-size: var(--text-xs); color: var(--c-muted); }
.rl-cart-summary__total { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.rl-cart-summary__total > span:first-child { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-md); color: var(--c-charcoal); }
.rl-cart-summary__total-value { font-weight: 700; font-size: var(--text-xl); color: var(--c-forest); }
.rl-cart-summary__total-value.is-struck { font-size: var(--text-sm); color: var(--c-muted); text-decoration: line-through; font-weight: 600; }
.rl-cart-summary__vat-note { font-size: var(--text-xs); color: var(--c-muted); margin-top: var(--sp-1); }
.rl-cart-summary__discount,
.rl-cart-summary__hint { font-size: var(--text-xs); margin-top: var(--sp-2); }
.rl-cart-summary__hint { background: var(--c-sage-bg); color: var(--c-olive); padding: var(--sp-2) var(--sp-3); border-radius: var(--r-md); }
.rl-cart-summary__gdpr { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: var(--text-xs); color: var(--c-muted); margin-bottom: var(--sp-5); }
.rl-cart-summary__gdpr input[type="checkbox"] { margin: 0.15rem 0 0 0; width: 1rem; height: 1rem; flex-shrink: 0; accent-color: var(--c-olive); cursor: pointer; }
.rl-cart-summary__actions { display: flex; flex-direction: column; gap: var(--sp-3); }
.rl-cart-summary__actions .btn { white-space: normal; text-align: center; line-height: 1.3; }
.rl-cart-summary__back {
  display: block;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.rl-cart-summary__back:hover { color: var(--c-olive); }

/* === STANDALONE FORM CARD (newsletter confirm, unsubscribe, etc.) === */
.rl-form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: var(--sp-10) var(--sp-8);
}

.rl-form-field { margin-bottom: var(--sp-5); }

.rl-form-field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-2);
}

.rl-form-field input,
.rl-form-field select {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-beige);
  background: var(--c-ivory);
  color: var(--c-charcoal);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.rl-form-field input:focus,
.rl-form-field select:focus { border-color: var(--c-sage); background: var(--c-white); }
.rl-form-field input:read-only { color: var(--c-muted); cursor: not-allowed; }
.rl-form-field label i { color: var(--c-olive); margin-right: 0.3rem; }
.rl-form-field--error input,
.rl-form-field--error select { border-color: var(--c-danger); }
.rl-form-error { font-size: var(--text-xs); color: var(--c-danger); margin-top: var(--sp-1); }

.rl-form-required { font-size: var(--text-xs); color: var(--c-gold); margin-bottom: var(--sp-4); }

.rl-form-hint { font-size: var(--text-xs); color: var(--c-muted); line-height: 1.6; margin-bottom: var(--sp-6); }
.rl-form-hint a { color: var(--c-olive); text-decoration: underline; transition: color var(--t-fast); }
.rl-form-hint a:hover { color: var(--c-forest); }

/* HP hero login: "no account yet?" + register CTA below the form (added 2026-09-27) */
.rl-form-card__register { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--c-beige); }

.rl-form-card--compact { padding: var(--sp-6); max-width: none; margin: 0; }

/* Stat strip: a row of labelled facts (switchboard result summary:
   enclosure / modules used / spare / supply / circuits).

   Deliberately NOT .rl-summary-row, which is the order-review list: there
   `justify-content: space-between` pushes the value to the right edge of its
   box, which is right for a stacked list of rows and wrong inside grid
   columns - each value ended up jammed against the next column label and the
   five facts read as one run-on line. Here the label sits above its value.

   auto-fit rather than fixed columns, so the same markup is 5 across on the
   wide result page and 2 on a tablet without a media query. */
.rl-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--sp-5);
  margin: 0;
}
.rl-stat-strip__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  padding-left: var(--sp-5);
  border-left: 1px solid var(--c-beige);
}
.rl-stat-strip__item:first-child { padding-left: 0; border-left: none; }
.rl-stat-strip__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
/* margin: 0 also resets the browser default indent on <dd>. */
.rl-stat-strip__value {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: 1.25;
  color: var(--c-charcoal);
}
.rl-stat-strip__sub { color: var(--c-muted); font-weight: 600; }
.rl-stat-strip__value .badge { vertical-align: middle; font-size: var(--text-2xs); }

/* Total row of a data table. `.rl-summary-row` was used here, but it is
   `display: flex` - on a <tr> that turns the cells into flex items and they
   stop lining up with the columns above them. A table total needs table
   layout plus a rule above it, nothing more. */
.rl-table-total td {
  border-top: 2px solid var(--c-beige);
  padding-top: var(--sp-3);
  font-size: var(--text-md);
}

/* Rhythm for a page that stacks cards. `--compact` zeroes the card margin on
   purpose - its job is to undo the centred 560px column - so stacked compact
   cards sit flush against each other with no air between sections.

   On the wrapper rather than on the modifier, so this is opt-in: pages that
   already space their own cards (the wizard step 2 uses `mb-3`, the basket
   steps their own spacing) are left exactly as they are. */
.rl-card-stack > .rl-form-card { margin-bottom: var(--sp-8); }
.rl-card-stack > .rl-form-card:last-child { margin-bottom: 0; }

/* Settings page: sticky left-side jump nav (added 2026-09-24) — the planner
   Settings page (Frontend/Planner/settings.blade.php) grew enough cards
   (Names/Hours/Shift rotation/Holidays/Note types/Members) that scrolling
   through all of them top to bottom got long; this lets a section be
   jumped to directly. Reuses the same sticky formula as
   .rl-cart-summary-sticky above (this token, not planner.css's, since
   settings.blade.php doesn't load the standalone planner bundle — only the
   interactive day board does). */
.rl-settings-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
}

/* Planner Settings → Jména: short code (month-view row label, 2026-10-02). */
.rl-short-code-field { max-width: 8rem; }
.rl-short-code-input {
  max-width: 6.5rem;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.rl-settings-nav {
  flex: 0 0 200px;
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-4));
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: var(--sp-3);
}

.rl-settings-nav__link {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  color: var(--c-brown);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}

.rl-settings-nav__link:hover {
  background: var(--c-sage-bg);
  color: var(--c-forest);
}

.rl-settings-content {
  flex: 1 1 auto;
  min-width: 0;
}

/* .rl-form-card defaults to a narrow, centered 560px block (standalone
   confirm/unsubscribe forms elsewhere on the site) — widened here to fill
   the content column now that it shares the row with a nav instead of
   being centered on its own. Scoped to .rl-settings-content so every other
   .rl-form-card usage on the site is unaffected. */
.rl-settings-content .rl-form-card {
  max-width: none;
  margin: 0;
}

/* Anchor-jumping to a card lands its heading clear of the fixed .rl-nav
   header instead of tucking it underneath. */
.rl-settings-content .rl-form-card[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--sp-4));
}

/* Tabs mode (2026-10-01) — settings.blade.php's inline script hides every
   card except the active one; [hidden] must win over .rl-form-card's display. */
.rl-settings-content .rl-form-card[hidden] {
  display: none;
}

.rl-settings-nav__link.is-active,
.rl-settings-nav__link.is-active:hover {
  background: var(--c-olive);
  color: var(--c-white);
}

/* User manual CMS page (/documentation, 2026-10-02): same side menu as the
   planner Settings. Content pasted in the editor only uses these classes;
   Frontend/Page/index.blade.php's script adds --tabs (one section at a
   time). Without JS every section shows, stacked. */
.rl-manual {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-6);
  margin: var(--sp-6) 0;
}

.rl-manual__nav {
  flex: 0 0 240px;
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-4));
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  max-height: calc(100vh - var(--nav-h) - var(--sp-8));
  overflow-y: auto;
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: var(--sp-3);
}

.rl-manual__nav a {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  color: var(--c-brown);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}

.rl-manual__nav a:hover { background: var(--c-sage-bg); color: var(--c-forest); }
.rl-manual__nav a.is-active,
.rl-manual__nav a.is-active:hover { background: var(--c-olive); color: var(--c-white); }

.rl-manual__content {
  flex: 1 1 auto;
  min-width: 0;
}

.rl-manual__section {
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: var(--sp-6) var(--sp-8);
  margin-bottom: var(--sp-6);
}

.rl-manual--tabs .rl-manual__section[hidden] { display: none; }
.rl-manual,
.rl-manual__section,
.rl-manual__section [id] { scroll-margin-top: calc(var(--nav-h) + var(--sp-4)); }
.rl-manual__section > h2:first-child { margin-top: 0; }

@media (max-width: 900px) {
  .rl-manual { flex-direction: column; }

  .rl-manual__nav {
    position: sticky;
    top: var(--nav-h);
    z-index: 10;
    flex: none;
    width: 100%;
    max-height: none;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  .rl-manual__nav a { flex: 0 0 auto; white-space: nowrap; }
  .rl-manual__section { padding: var(--sp-4); }
}

/* Planner Settings sidebar (2026-10-02): the menu card + a separate dark
   "Můj účet" box under it (👤 + user's name). The sidebar is what's sticky. */
.rl-settings-side {
  flex: 0 0 200px;
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-4));
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-width: 0;
}

.rl-settings-side .rl-settings-nav {
  position: static;
  flex: none;
}

.rl-settings-nav__link.rl-settings-account-link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--c-forest);
  box-shadow: var(--sh-card);
  color: var(--c-white);
  white-space: nowrap;
}

.rl-settings-account-link i { color: var(--c-sage-light); }

.rl-settings-account-link span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.rl-settings-nav__link.rl-settings-account-link:hover,
.rl-settings-nav__link.rl-settings-account-link.is-active,
.rl-settings-nav__link.rl-settings-account-link.is-active:hover {
  background: var(--c-olive);
  color: var(--c-white);
  box-shadow: var(--sh-card), inset 3px 0 0 var(--c-accent);
}

/* The reused customer-account forms are cards themselves — flatten them
   inside the tab card so there's no card-in-card frame. */
.rl-settings-account .rl-form-card {
  max-width: none;
  margin: 0 0 var(--sp-6);
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.rl-settings-account .rl-form-card + .rl-form-card {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--c-cream);
}

@media (max-width: 900px) {
  .rl-settings-layout {
    flex-direction: column;
  }

  .rl-settings-nav {
    position: sticky;
    top: var(--nav-h);
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    z-index: 10;
  }

  /* Tabs: one swipeable row instead of a wrapped block. */
  .rl-settings-nav--tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .rl-settings-nav--tabs .rl-settings-nav__link {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Sidebar on top: tab row + account box below it, sticky together. */
  .rl-settings-side {
    position: sticky;
    top: var(--nav-h);
    flex: none;
    width: 100%;
    z-index: 10;
    gap: var(--sp-2);
  }

  .rl-settings-side .rl-settings-nav { position: static; }

  .rl-settings-nav__link.rl-settings-account-link { padding: var(--sp-2) var(--sp-3); }
}

/* Order confirmation page (order_send.blade.php) */
.rl-order-success__icon {
  width: 4rem; height: 4rem;
  margin: 0 auto var(--sp-6);
  border-radius: var(--r-full);
  background: var(--c-sage-bg);
  color: var(--c-forest);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
}
.rl-order-success__qr {
  margin-top: var(--sp-8);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-beige);
}
.rl-order-success__qr img {
  margin: var(--sp-4) auto 0;
  padding: var(--sp-4);
  background: var(--c-white);
  border: 1px solid var(--c-beige);
  border-radius: var(--r-lg);
}

.rl-form-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-6);
}
.rl-form-card__subtitle {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-4);
}

.rl-checkbox { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--text-sm); font-weight: 600; color: var(--c-charcoal); cursor: pointer; }
.rl-checkbox input[type="checkbox"] { width: 1.1rem; height: 1.1rem; flex-shrink: 0; accent-color: var(--c-olive); cursor: pointer; }

/* === LOGIN / REGISTER PAGE === */
.rl-auth-tabs { display: flex; justify-content: center; gap: var(--sp-2); margin-bottom: var(--sp-6); }
.rl-auth-tabs .nav-link {
  padding: 0.6rem 1.5rem;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-muted);
  background: var(--c-white);
  border: 1.5px solid var(--c-beige);
  transition: all var(--t-fast);
}
.rl-auth-tabs .nav-link:hover { border-color: var(--c-olive); color: var(--c-olive); }
.rl-auth-tabs .nav-link.active { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }

.rl-auth-cta {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-5);
  text-align: center;
  background: var(--c-forest);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  color: var(--c-white);
  padding: var(--sp-8);
}
.rl-auth-cta h5 { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-lg); margin: 0; color: var(--c-white); }
.rl-auth-cta .btn-primary { background: var(--c-white); color: var(--c-forest); }
.rl-auth-cta .btn-primary:hover { background: var(--c-cream); }

/* === CUSTOMER ACCOUNT PAGE === */
.rl-account-header {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.rl-account-header__title { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-2xl); color: var(--c-charcoal); margin: 0; }
.rl-account-header__meta { font-size: var(--text-sm); color: var(--c-muted); }
.rl-account-header__meta strong { color: var(--c-olive); font-weight: 700; }
/* Reused .hv-badge (normally a floating hero decoration) sitting inline next to the h1 here,
   keeping its card look and float animation but freed from absolute positioning */
.rl-account-header__meta .hv-badge { position: static; animation: float-slight 4.5s ease-in-out infinite; }
@keyframes float-slight {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

.rl-account-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.rl-account-toolbar .rl-auth-tabs { justify-content: flex-start; margin-bottom: 0; }

/* === CONTACT PAGE (contact.blade.php / entity.blade.php) === */
.rl-page-header { text-align: center; margin-bottom: var(--sp-8); }
.rl-page-header__title { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-3xl); color: var(--c-charcoal); margin: 0; }

/* Small serif dividers replacing the old bg-secondary "chip" sub-headings
   (Opening Hours, entity group names) inside the contact sidebar. */
.rl-sidebar-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--c-charcoal);
  margin: var(--sp-6) 0 var(--sp-3);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--c-sage-light);
}
.rl-sidebar-heading:first-child { margin-top: 0; }

.rl-info-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  padding: var(--sp-5);
  margin-bottom: var(--sp-4);
  font-size: var(--text-sm);
  color: var(--c-brown);
}
.rl-info-card--flush { padding: 0; overflow: hidden; }
/* Leaflet stacks its panes/controls at z-index 200-1000, above the fixed .rl-nav (100) -
   keep them in their own stacking context so the map scrolls under the header */
.leaflet-container { isolation: isolate; }

/* Shared icon-badge + row layout for phone/email lines, reused by both the
   sidebar contact block and the entity cards below. */
.rl-icon-row { display: flex; align-items: center; gap: var(--sp-3); }
.rl-icon-row + .rl-icon-row { margin-top: var(--sp-2); }
/* Top-aligned variant for rows whose text wraps multiple lines (e.g. the address
   block), so the badge sits with the first line instead of the vertical center. */
.rl-icon-row--top { align-items: flex-start; }
.rl-icon-row--top .rl-icon-badge { margin-top: 0.1rem; }
.rl-icon-badge {
  width: 30px; height: 30px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-sage-bg);
  color: var(--c-olive);
  font-size: 0.8rem;
}
.rl-icon-row a { color: var(--c-brown); }
.rl-icon-row a:hover { color: var(--c-olive); }

.rl-social-icons { display: flex; gap: var(--sp-3); justify-content: center; margin: var(--sp-5) 0; }
.rl-social-icons .socialIcons {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-ivory);
  border: 1.5px solid var(--c-beige);
  color: var(--c-olive);
  font-size: var(--text-md);
  transition: background var(--t-base), color var(--t-base), transform var(--t-base), border-color var(--t-base);
}
.rl-social-icons .socialIcons:hover { background: var(--c-olive); color: var(--c-white); transform: translateY(-2px); }

/* .rl-footer__soc is styled for the dark footer by default (near-white on
   dark); this page has a light background, so give it the same treatment
   as the .socialIcons circle above instead of reusing the footer colors. */
.rl-social-icons .rl-footer__soc {
  width: 40px; height: 40px;
  background: var(--c-ivory);
  border: 1.5px solid var(--c-beige);
  color: var(--c-olive);
}
.rl-social-icons .rl-footer__soc:hover { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); transform: translateY(-2px); }
.rl-social-icons .rl-footer__soc svg { width: 18px; height: 18px; }

.rl-entity-card {
  display: flex;
  background: var(--c-white);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-card);
  overflow: hidden;
  margin-bottom: var(--sp-4);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.rl-entity-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.rl-entity-card__media { width: 38%; flex-shrink: 0; background: var(--c-sage-bg); }
.rl-entity-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rl-entity-card__body { flex: 1; min-width: 0; padding: var(--sp-4); display: flex; flex-direction: column; justify-content: center; gap: var(--sp-2); }
.rl-entity-card__name { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-md); color: var(--c-charcoal); margin: 0 0 var(--sp-1); }
.rl-entity-card__body .rl-icon-badge { width: 26px; height: 26px; font-size: 0.7rem; }

/* Empty state (no records yet) */
.rl-empty-state {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: var(--sp-4);
  padding: var(--sp-12) var(--sp-6);
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  margin-bottom: var(--sp-8);
}
.rl-empty-state__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-sage-bg);
  color: var(--c-olive);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.rl-empty-state__text { color: var(--c-muted); font-size: var(--text-sm); }

.rl-order-card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
}
.rl-order-card__header {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-beige);
  font-size: var(--text-xs);
}
.rl-order-card__date { color: var(--c-muted); }
.rl-order-card__badges { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.rl-order-card__body { padding: var(--sp-4); flex: 1 1 auto; }
.rl-order-card__label { font-size: var(--text-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.rl-order-card__number { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-md); color: var(--c-charcoal); margin: 0.15rem 0 var(--sp-3); }
.rl-order-card__products {
  background: var(--c-ivory);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  font-size: var(--text-sm);
}
.rl-order-card__products a { color: var(--c-brown); }
.rl-order-card__products a:hover { color: var(--c-olive); }
.rl-order-card__products { list-style: disc; padding-left: 1.25rem; }
.rl-order-card__footer { padding: var(--sp-3) var(--sp-4); border-top: 1px solid var(--c-beige); font-size: var(--text-sm); }

/* Selectable radio option row (shipping methods, payment methods, ...) */
.rl-option {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  border: 1.5px solid var(--c-beige);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-3);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.rl-option:hover { border-color: var(--c-sage); background: var(--c-sage-bg); }
.rl-option:has(input:checked) { border-color: var(--c-olive); background: var(--c-sage-bg); }
.rl-option input[type="radio"] { margin-top: 0.2rem; width: 1.1rem; height: 1.1rem; flex-shrink: 0; accent-color: var(--c-olive); }
.rl-option__body { display: flex; flex-direction: column; gap: 0.15rem; }
.rl-option__name { display: flex; align-items: center; gap: var(--sp-2); font-weight: 700; color: var(--c-charcoal); font-size: var(--text-sm); }
.rl-option__desc { font-size: var(--text-xs); color: var(--c-muted); }

/* Compact pill picker (currency, small single-value choices) */
.rl-pill-options { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.rl-pill-option {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 3.5rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--c-beige);
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--c-brown);
  cursor: pointer;
  transition: all var(--t-fast);
}
.rl-pill-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.rl-pill-option:hover { border-color: var(--c-olive); color: var(--c-olive); }
.rl-pill-option:has(input:checked) { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }

.rl-shipping-address {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-sage-bg);
  border-radius: var(--r-md);
  color: var(--c-charcoal);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* Order review (summary.blade.php) */
.rl-summary-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 1px solid var(--c-beige);
  font-size: var(--text-sm);
}
.rl-summary-row:last-child { border-bottom: none; }
.rl-summary-row > span:first-child { color: var(--c-muted); }
.rl-summary-row > strong { color: var(--c-charcoal); text-align: right; font-weight: 700; }

.rl-summary-note {
  width: 100%;
  min-height: 8rem;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-beige);
  background: var(--c-ivory);
  color: var(--c-charcoal);
  font-size: var(--text-sm);
  font-family: inherit;
  outline: none;
  resize: vertical;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.rl-summary-note:focus { border-color: var(--c-sage); background: var(--c-white); }

.list_of_places_wrapper > label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-2);
}
.list_of_places_wrapper > input[type="text"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--c-beige);
  background: var(--c-ivory);
  color: var(--c-charcoal);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.list_of_places_wrapper > input[type="text"]:focus { border-color: var(--c-sage); background: var(--c-white); }

/* AJAX pickup-point search results */
#list_of_places { max-height: 420px; overflow-y: auto; border-radius: var(--r-lg); }
#list_of_places.list-group { border: 1px solid var(--c-beige); }
#list_of_places .list-group-item { border-color: var(--c-beige); padding: var(--sp-3) var(--sp-4); }
#list_of_places .place-title h5 { font-family: var(--font-serif); font-size: var(--text-sm); color: var(--c-charcoal); margin: 0; }
#list_of_places .place-title span { font-size: var(--text-xs); color: var(--c-muted); }

/* === SITE MODAL (session flash / info messages) === */
.rl-modal .modal-content {
  border: none;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  overflow: hidden;
  font-family: var(--font-sans);
}

.rl-modal .modal-header {
  background: var(--c-forest);
  border: none;
  padding: var(--sp-5) var(--sp-6);
}
.rl-modal .modal-header.rl-modal-header--error { background: var(--c-danger); }
.rl-modal .modal-header.rl-modal-header--info  { background: var(--c-gold); }

.rl-modal .modal-title {
  color: var(--c-white);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-lg);
}

.rl-modal .btn-close { filter: brightness(0) invert(1); opacity: 0.85; }
.rl-modal .btn-close:hover { opacity: 1; }

.rl-modal .modal-body {
  padding: var(--sp-6);
  color: var(--c-brown);
  font-size: var(--text-sm);
  line-height: 1.7;
}
.rl-modal .modal-body a { color: var(--c-olive); text-decoration: underline; }
.rl-modal .modal-footer { border-top: 1px solid var(--c-beige); padding: var(--sp-4) var(--sp-6); }

/* Add/remove/update-to-cart confirmation modal */
.rl-modal-product { display: flex; gap: var(--sp-5); }
.rl-modal-product__media {
  width: 6rem; height: 6rem; flex-shrink: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-ivory);
}
.rl-modal-product__media img { width: 100%; height: 100%; object-fit: cover; }
.rl-modal-product__info { flex: 1 1 auto; min-width: 0; }
.rl-modal-product__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--c-charcoal);
  margin-bottom: var(--sp-3);
}
.rl-modal-product__row {
  display: flex; justify-content: space-between; gap: var(--sp-3);
  padding: var(--sp-1) 0;
  font-size: var(--text-sm);
}
.rl-modal-product__row > span:first-child { color: var(--c-muted); }
.rl-modal-product__row > span:last-child,
.rl-modal-product__row > strong { color: var(--c-charcoal); font-weight: 700; }
.rl-modal-product__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3);
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--c-beige);
  font-weight: 700;
}
.rl-modal-product__total strong { color: var(--c-forest); font-size: var(--text-md); }
.rl-modal-product__vat-note { font-size: var(--text-xs); color: var(--c-muted); text-align: right; margin-top: 0.15rem; }
.rl-modal-product__discount { font-size: var(--text-xs); color: var(--c-danger); font-weight: 600; text-align: right; margin-top: -0.1rem; }

/* Donate modal: choice buttons keep the outline style/subtitle as-is, but the
   icon + main label are pulled into a solid green fill flush with the button's
   own edges. Negative margins cancel the button's padding so the fill bleeds
   to the border; overflow:hidden on the button clips it to the capsule shape. */
.rl-choice-btn { overflow: hidden; }
.rl-choice-label {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  align-self: stretch;
  background: var(--c-olive);
  color: var(--c-white);
  padding: 0 1rem;
  margin: -0.75rem 0 -0.75rem -1.5rem;
  font-weight: 600;
}

/* === CTA SECTION === */
.rl-cta {
  background: var(--c-forest);
  padding: var(--sp-24) 0;
  position: relative;
  overflow: hidden;
}
.rl-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 80% 50%, rgba(83,122,58,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(83,122,58,0.16) 0%, transparent 58%);
  pointer-events: none;
}
.rl-cta__content {
  text-align: center;
  position: relative; z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.rl-cta__eyebrow { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-sage-light); margin-bottom: var(--sp-4); display: block; }
.rl-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  color: var(--c-white);
  line-height: 1.18;
  margin-bottom: var(--sp-4);
}
.rl-cta__sub { font-size: var(--text-md); color: rgba(255,255,255,0.6); margin-bottom: var(--sp-8); line-height: 1.65; }
.rl-cta__form { display: flex; gap: var(--sp-3); max-width: 440px; margin: 0 auto; }
.rl-cta__input {
  flex: 1;
  padding: 0.9rem 1.25rem;
  border-radius: var(--r-full);
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.1);
  color: var(--c-white);
  font-size: var(--text-sm);
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.rl-cta__input::placeholder { color: rgba(255,255,255,0.4); }
.rl-cta__input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.15); }
.rl-cta .btn-primary { background: var(--c-white); color: var(--c-forest); flex-shrink: 0; }
.rl-cta .btn-primary:hover { background: var(--c-cream); }
.rl-cta__note { font-size: var(--text-xs); color: rgba(255,255,255,0.35); margin-top: var(--sp-4); }

/* === FOOTER === */
.rl-footer {
  background: #15181C;
  color: rgba(255,255,255,0.55);
  padding: var(--sp-16) 0 var(--sp-8);
}

.rl-footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.rl-footer__main-up {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}

.rl-footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.rl-footer__logo { display: flex; align-items: center; gap: var(--sp-3); }
.rl-footer__logo svg { width: 42px; height: 42px; color: var(--c-sage-light); }
.rl-footer__logo-name { font-family: var(--font-serif); font-size: var(--text-md); font-weight: 700; color: var(--c-white); }
.rl-footer__tagline { font-size: var(--text-sm); line-height: 1.65; max-width: 220px; }
.rl-footer__social { display: flex; gap: var(--sp-3); }
.rl-footer__soc {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.13);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--t-base);
}
.rl-footer__soc:hover { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }
.rl-footer__soc svg { width: 15px; height: 15px; }

.rl-footer__col-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-white); margin-bottom: var(--sp-4); }
.rl-footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.rl-footer__lnk { font-size: var(--text-sm); color: rgba(255,255,255,0.48); transition: color var(--t-fast); }
.rl-footer__lnk:hover { color: var(--c-white); }

.rl-footer__nl { display: flex; flex-direction: column; gap: var(--sp-4); }
.rl-footer__nl-title { font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-white); }
.rl-footer__nl-text { font-size: var(--text-sm); line-height: 1.55; }
.rl-footer__nl-form { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-1); }
.rl-footer__nl-input {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: var(--c-white);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.rl-footer__nl-input::placeholder { color: rgba(255,255,255,0.28); }
.rl-footer__nl-input:focus { border-color: var(--c-sage-light); background: rgba(255,255,255,0.1); }
.rl-footer__nl-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  background: var(--c-olive);
  color: var(--c-white);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--t-fast);
}
.rl-footer__nl-btn:hover { background: var(--c-sage); }
.rl-footer__nl-error { font-size: var(--text-xs); line-height: 1.4; color: var(--c-gold); }

.rl-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-8);
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.rl-footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.3); }
.rl-footer__bl { display: flex; gap: var(--sp-6); }
.rl-footer__bl-lnk { font-size: var(--text-xs); color: rgba(255,255,255,0.3); transition: color var(--t-fast); }
.rl-footer__bl-lnk:hover { color: rgba(255,255,255,0.65); }

/* === ANIMATIONS === */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.34s; }
.reveal-d5 { transition-delay: 0.44s; }

/* Hero entrance */
.rl-hero__badge   { animation: fadeInUp 0.6s ease 0.05s both; }
.rl-hero__headline { animation: fadeInUp 0.7s ease 0.18s both; }
.rl-hero__sub     { animation: fadeInUp 0.6s ease 0.30s both; }
.rl-hero__actions { animation: fadeInUp 0.6s ease 0.40s both; }
.rl-hero__trust   { animation: fadeInUp 0.6s ease 0.50s both; }
.hero-visual      { animation: fadeIn  0.9s ease 0.35s both; }

/* === PRODUCT LISTING BANNER (product_content_banner_rl.blade.php) ===
   Matches .rl-product-card's rounding/shadow so the banner slotted into the
   grid doesn't stand out with Bootstrap's sharper default card corners. */
.rl-banner-card {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

/* === SYSTEM / ERROR PAGE BANNER (⚡errors/index.blade.php) ===
   Full-bleed variant of .rl-banner-card for maintenance / 404 / server-error
   pages: fixed-height image with a forest-toned scrim and serif title. */
.rl-banner-card--system { position: relative; min-height: 360px; }
.rl-banner-card--system picture { position: absolute; inset: 0; }
.rl-banner-card--system img { width: 100%; height: 100%; object-fit: cover; }
.rl-banner-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: linear-gradient(180deg, rgba(28,53,16,0.20) 0%, rgba(28,53,16,0.78) 100%);
  text-align: center;
}
.rl-banner-card__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  color: var(--c-white);
  margin: 0;
}
.rl-banner-card__text { color: var(--c-sage-light); font-size: var(--text-md); max-width: 560px; }
.rl-banner-card__text p { margin: 0; }
.rl-banner-card--system.rl-banner-card--maintenance { min-height: 600px; }
@media (max-width: 768px) {
  .rl-banner-card--system { min-height: 280px; }
  .rl-banner-card--system.rl-banner-card--maintenance { min-height: 480px; }
}

/* === PRODUCT CATEGORY FACET FILTERS (⚡category_product_filter.blade.php) === */
.rl-filters {
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  padding: var(--sp-6);
}
.rl-filters__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-5);
}
.rl-filters__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--c-charcoal);
  display: flex; align-items: center; gap: var(--sp-2);
}
.rl-filters__reset {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: var(--r-full);
  background: var(--c-sage-bg);
  color: var(--c-danger);
  transition: background var(--t-fast), color var(--t-fast);
}
.rl-filters__reset:hover { background: var(--c-danger); color: var(--c-white); }

.rl-filters__section { margin-bottom: var(--sp-6); }
.rl-filters__section:last-child { margin-bottom: 0; }
.rl-filters__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-3);
}
.rl-filters__label-unit {
  color: var(--c-gold);
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}
.rl-filters__checkboxes { display: flex; flex-direction: column; gap: var(--sp-2); }
.rl-filters__range-note { font-size: var(--text-xs); color: var(--c-muted); }

/* Sort pills reuse .rl-pill-options/.rl-pill-option but are driven by wire:click
   rather than a wrapped radio input, so the active state is a bolt-on class. */
.rl-pill-option.is-active { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }
.rl-pill-option--sort {
  min-width: 0;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: var(--text-xs);
}
.rl-pill-option--sort i { font-size: 0.7rem; }

/* === PAGINATION (Frontend/_Sections/Paginator/bootstrap-5.blade.php) === */
.rl-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.rl-pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 var(--sp-2);
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-beige);
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base);
}
.rl-pagination a.page-link:hover,
.rl-pagination button.page-link:hover { background: var(--c-sage-bg); border-color: var(--c-sage-light); color: var(--c-olive); }
.rl-pagination .page-item.active .page-link { background: var(--c-olive); border-color: var(--c-olive); color: var(--c-white); }
.rl-pagination .page-item.disabled .page-link {
  background: var(--c-ivory);
  border-color: var(--c-beige);
  color: var(--c-light);
  opacity: 0.7;
  cursor: default;
}
.rl-pagination__summary { font-size: var(--text-sm); color: var(--c-muted); margin: 0; }
/* Livewire listings (vendor/livewire/bootstrap.blade.php) sit in a narrower column next to the filter sidebar */
.rl-pagination--compact { gap: var(--sp-1); flex-wrap: nowrap; }
.rl-pagination--compact .page-link { min-width: 34px; height: 34px; }

/* === SEARCH RESULTS PAGE (Frontend/Search) === */
.rl-search-page__group { margin-bottom: var(--sp-12); }
.rl-search-page__group-head {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.rl-search-page__group-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--c-charcoal);
  text-transform: capitalize;
  margin: 0;
}
.rl-search-page__group-head .rl-search__all-count { color: var(--c-olive); }

.rl-result-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-card);
  overflow: hidden;
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.rl-result-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); color: inherit; }
.rl-result-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-ivory); }
.rl-result-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.rl-result-card:hover .rl-result-card__media img { transform: scale(1.05); }
.rl-result-card__body { flex: 1; padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); }
.rl-result-card__title { font-family: var(--font-serif); font-weight: 700; font-size: var(--text-md); color: var(--c-charcoal); }
.rl-result-card__text {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rl-result-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--c-beige);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--c-olive);
}
.rl-result-card:hover .rl-result-card__footer { color: var(--c-forest); }

.rl-faq { display: flex; flex-direction: column; gap: var(--sp-3); }
.rl-faq__item { background: var(--c-white); border-radius: var(--r-lg); box-shadow: var(--sh-card); overflow: hidden; }
.rl-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--c-charcoal);
  text-align: left;
}
.rl-faq__question-sub {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--c-muted);
  margin-top: 2px;
}
.rl-faq__question i { flex-shrink: 0; color: var(--c-olive); transition: transform var(--t-base); }
.rl-faq__question[aria-expanded="true"] i { transform: rotate(180deg); }
.rl-faq__answer { padding: 0 var(--sp-5) var(--sp-5); font-size: var(--text-sm); color: var(--c-muted); line-height: 1.7; }

/* === EVENTS CALENDAR (Booking/Calendar/main.blade.php + events_calendar.blade.php) === */
.rl-cal { margin-bottom: var(--sp-16); }

.rl-cal__head { text-align: center; margin-bottom: var(--sp-8); }
.rl-cal__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-2xl), 4vw, var(--text-3xl));
  font-weight: 700;
  color: var(--c-charcoal);
  letter-spacing: -0.02em;
  margin-top: var(--sp-2);
}
.rl-cal__title .rl-cal__year { color: var(--c-olive); font-weight: 400; }

.rl-cal__yearnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}
.rl-cal__yearlink {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0.5rem 1.1rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-beige);
  background: var(--c-white);
  color: var(--c-charcoal);
  font-weight: 600;
  font-size: var(--text-sm);
  flex-shrink: 0;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.rl-cal__yearlink:hover { border-color: var(--c-olive); color: var(--c-olive); background: var(--c-sage-bg); }

.rl-cal__months { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-2); }
.rl-cal__month-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-beige);
  background: var(--c-white);
  color: var(--c-charcoal);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all var(--t-fast);
}
.rl-cal__month-btn:hover { border-color: var(--c-olive); color: var(--c-olive); }
.rl-cal__month-btn.is-active {
  background: var(--c-olive);
  border-color: var(--c-olive);
  color: var(--c-white);
  box-shadow: 0 2px 10px rgba(28,31,36,0.28);
}

.rl-cal__month-head { margin-bottom: var(--sp-5); }
.rl-cal__month-name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--c-charcoal);
}

.rl-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}
.rl-cal__weekday {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding-bottom: var(--sp-2);
}
.rl-cal__weekday--weekend { color: var(--c-danger); }

.rl-cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--sp-2);
  margin-bottom: var(--sp-10);
}

.rl-cal__day {
  position: relative;
  min-height: 92px;
  padding: var(--sp-2);
  background: var(--c-white);
  border: 1.5px solid var(--c-beige);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.rl-cal__day--empty { background: transparent; border-color: transparent; }
.rl-cal__day.is-today { border-color: var(--c-forest); box-shadow: 0 0 0 1px var(--c-forest); }
.rl-cal__day.is-past:not(.is-today) { background: var(--c-ivory); }
.rl-cal__day.is-past .rl-cal__day-num { color: var(--c-light); }
.rl-cal__day.is-closed { background: rgba(163,55,43,0.06); border-color: rgba(163,55,43,0.18); }
.rl-cal__day.has-event:not(.is-closed) { background: var(--c-sage-bg); border-color: var(--c-sage-light); }

.rl-cal__day-num { font-weight: 700; font-size: var(--text-sm); color: var(--c-charcoal); }

.rl-cal__day-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-danger);
}

.rl-cal__events { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.rl-cal__event {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-olive);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
  cursor: pointer;
}
.rl-cal__event:hover { color: var(--c-forest); }
.rl-cal__event i { margin-right: 3px; }

/* Modal (events_calendar.blade.php) */
.rl-cal-modal .modal-content { border-radius: var(--r-xl); overflow: hidden; border: none; box-shadow: var(--sh-xl); }
.rl-cal-modal .modal-header { background: var(--c-forest); border: none; padding: var(--sp-5) var(--sp-6); }
.rl-cal-modal .modal-title { font-family: var(--font-serif); font-weight: 700; color: var(--c-white); font-size: var(--text-md); }
.rl-cal-modal .modal-body { padding: var(--sp-6); }
.rl-cal-modal .show-now-link {
  color: var(--c-forest);
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}
.rl-cal-modal .show-now-link:hover,
.rl-cal-modal .show-now-link:focus { color: var(--c-olive); }

@media (max-width: 700px) {
  .rl-cal__day { min-height: 64px; padding: 6px; }
  .rl-cal__day-num { font-size: var(--text-xs); }
  .rl-cal__event { font-size: 0.65rem; }
  .rl-cal__month-name { font-size: var(--text-lg); }
  .rl-cal__days, .rl-cal__weekdays { gap: 4px; }
}

/* === BOOKING FORM (Booking/form.blade.php) === */
.rl-book { padding-top: var(--sp-8); padding-bottom: var(--sp-16); }

.rl-book__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  font-weight: 700;
  color: var(--c-charcoal);
  margin: var(--sp-1) 0 var(--sp-4);
}

.rl-book__subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-charcoal);
}

.rl-book__date-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}
.rl-book__date-value { font-size: var(--text-md); font-weight: 700; color: var(--c-forest); }
.rl-book__date-value.is-past { color: var(--c-danger); }

.rl-book__times { margin-top: var(--sp-3); }
.rl-pill-option.is-booked {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: line-through;
}
.rl-pill-option.is-booked:hover { border-color: var(--c-beige); color: var(--c-brown); }

.rl-book__image { border-radius: var(--r-lg); overflow: hidden; background: var(--c-ivory); margin-bottom: var(--sp-5); }

@media (max-width: 992px) {
  .rl-book__image { max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* === EVENT DETAIL PAGE (Booking/show.blade.php) === */
.rl-event-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-card); background: var(--c-ivory); }

.rl-event-status {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.35rem 0.875rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.rl-event-status--active { background: var(--c-sage-bg); border: 1px solid var(--c-sage-light); color: var(--c-olive); }
.rl-event-status--inactive { background: rgba(163,55,43,0.08); border: 1px solid rgba(163,55,43,0.2); color: var(--c-danger); }
.rl-event-status-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.rl-event-dates { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-4) 0; }
.rl-event-dates__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-3) var(--sp-4);
  background: var(--c-ivory);
  border-radius: var(--r-md);
  min-width: 8rem;
}
.rl-event-dates__label {
  font-size: var(--text-2xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.rl-event-dates__value { font-weight: 700; color: var(--c-charcoal); font-size: var(--text-md); }

.rl-event-content { color: var(--c-brown); line-height: 1.7; }
.rl-event-content p:last-child { margin-bottom: 0; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .rl-footer__main   { grid-template-columns: 1fr 1fr 1fr; }
  .rl-footer__brand  { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: var(--sp-8); }
  .rl-footer__nl     { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .rl-hero__grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .rl-hero__right { order: -1; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .rl-hiw__steps { grid-template-columns: repeat(2, 1fr); }
  .rl-hiw__steps::before { display: none; }
  .testi-card { width: calc(50% - var(--sp-3)); }
  .rl-hiw__aside { flex-direction: column; text-align: center; padding: var(--sp-8); }
  .gallery-card { width: calc(50% - var(--sp-3)); }
}

@media (max-width: 600px) {
  :root { --pad: 1.25rem; }
  .rl-features__grid    { grid-template-columns: repeat(auto-fit, minmax(120px, 160px)); }
  .testi-card           { width: 80vw; min-width: 240px; }
  .rl-hiw__steps        { grid-template-columns: 1fr; }
  .rl-cta__form         { flex-direction: column; }
  .rl-footer__main      { grid-template-columns: 1fr; }
  .rl-hero__actions     { flex-direction: column; align-items: flex-start; }
  .rl-hero__trust       { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .gallery-card         { width: 80vw; min-width: 260px; }
  .rl-footer__bottom    { flex-direction: column; align-items: flex-start; }
  .rl-hiw__aside        { border-radius: var(--r-lg); }
}

/* ── CMS page content (TinyMCE HTML, Page/Layouts/default) — tables ── */
.rl-cms-content table {
  width: 100%;
  margin: var(--sp-4) 0 var(--sp-6);
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--c-beige);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-white);
  font-size: var(--text-sm);
}
.rl-cms-content th,
.rl-cms-content td {
  padding: var(--sp-2) var(--sp-3);
  border-bottom: 1px solid var(--c-cream);
  text-align: center;
  vertical-align: middle;
}
.rl-cms-content th:first-child,
.rl-cms-content td:first-child { text-align: left; }
.rl-cms-content thead th {
  background: var(--c-forest);
  color: var(--c-white);
  font-weight: 600;
  white-space: nowrap;
}
.rl-cms-content tbody tr:nth-child(even) { background: var(--c-ivory); }
.rl-cms-content tbody tr:hover { background: var(--c-sage-bg); }
.rl-cms-content tbody tr:last-child td { border-bottom: 0; }
.rl-cms-content tbody td:not(:first-child) { color: var(--c-muted); }
@media (max-width: 768px) {
  .rl-cms-content table { display: block; overflow-x: auto; }
}

/* ================================================================
   THEME: Rozvaděč online (2026-10-05, repainted 2026-11-26)
   Technical-instrument look: white header (the logo needs a light ground),
   graphite hero and footer, light neutral app pages, condensed uppercase
   headings, copper primary actions. Colour/font/radius TOKENS are remapped at the top
   of this file; this block only adjusts what tokens can't express.
   ================================================================ */

/* --- Type --- */
/* old style.css sets Playfair on every h1-h6 (elements only: .h1-.h6 are icon size utilities) */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-serif); }
:is(.h1, .h2, .h3, .h4, .h5, .h6):not(i):not(.fa):not([class*="fa-"]) { font-family: var(--font-serif); }
.rl-cms-content h1,
.rl-cms-content h2,
.rl-cms-content h3 {
  color: var(--c-charcoal);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.rl-cms-content h1,
.rl-cms-content h2 { text-transform: uppercase; }
.rl-cms-content h1 em,
.rl-cms-content h2 em,
.rl-cms-content h3 em { font-style: normal; color: var(--c-accent-text); }
.section-title,
.rl-hero__headline,
.rl-form-card__title {
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.02;
}
.rl-form-card__title,
.rl-form-card__subtitle { letter-spacing: 0.02em; }
.section-label { color: var(--c-accent-text); }
.rl-nav__logo-name,
.rl-footer__logo-name { text-transform: uppercase; letter-spacing: 0.04em; }

/* --- Buttons: square-ish, uppercase, blue primary --- */
.btn {
  border-radius: var(--r-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.btn-primary {
  background: var(--c-accent);
  color: var(--c-accent-ink);
  box-shadow: none;
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--c-accent-hov);
  color: var(--c-accent-ink);
  box-shadow: 0 4px 14px rgba(var(--c-accent-rgb), 0.32);
}
/* Outline buttons. The border is --c-light and not --c-sage-light, because a
   border IS the button: at 1.59:1 the old one was invisible on white and the
   control read as a bare text link (reported on the planner's step 3). WCAG
   1.4.11 wants 3:1 for a boundary that carries meaning; --c-edge is 3.33:1
   on the page background and --c-accent 5.30:1. */
.btn-outline { color: var(--c-charcoal); border-color: var(--c-edge); }
.btn-outline:hover { border-color: var(--c-charcoal); background: rgba(23,26,29,0.05); }

/* Bootstrap's COLOUR VARIANTS, mapped onto the design system.
   Views reach for .btn-outline-primary / .btn-outline-secondary out of habit
   (the wizard, the CMS, the account pages all do), and until now those fell
   through to the legacy stylesheet, which paints them from the pre-rl
   --primary and --c-beige. Two things were wrong with that: the border was
   invisible, and .btn-outline-primary:hover put hardcoded #212529 text on a
   --primary fill at 1.66:1. Owning them here is cheaper and safer than
   editing every view, and it keeps one definition of what a button looks
   like. --secondary IS .btn-outline; --primary is its accent twin. */
.btn-outline-secondary,
.btn-outline-secondary:not(:disabled):not(.disabled) {
  color: var(--c-charcoal);
  border-color: var(--c-edge);
  background: transparent;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:not(:disabled):not(.disabled):active {
  color: var(--c-charcoal);
  border-color: var(--c-charcoal);
  background: rgba(23,26,29,0.05);
}
.btn-outline-primary,
.btn-outline-primary:not(:disabled):not(.disabled) {
  color: var(--c-accent-text);
  border-color: var(--c-accent);
  background: transparent;
}
.btn-outline-primary:hover,
.btn-outline-primary:not(:disabled):not(.disabled):active {
  color: var(--c-accent-ink);
  border-color: var(--c-accent);
  background: var(--c-accent);
}
.btn-outline-primary:focus,
.btn-outline-primary.focus,
.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
  box-shadow: 0 0 0 3px rgba(var(--c-accent-rgb), 0.18);
}
.btn-outline-secondary:focus,
.btn-outline-secondary.focus,
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus {
  box-shadow: 0 0 0 3px rgba(23,26,29,0.12);
}

.btn-danger { box-shadow: none; }
.btn-danger:hover { box-shadow: 0 4px 14px rgba(179,38,30,0.28); }
.rl-checkbox input[type="checkbox"],
body.rl-landing input[type="checkbox"],
body.rl-landing input[type="radio"] { accent-color: var(--c-accent); }
.rl-form-field input:focus,
.rl-form-field select:focus,
.rl-form-field textarea:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(var(--c-accent-rgb), 0.18); }

/* --- Header: white bar (see new/dataweb.css for the info strip above it) --- */
.rl-nav { background: rgba(255,255,255,0.97); border-bottom-color: var(--c-beige); }
.rl-nav.scrolled { border-bottom-color: var(--c-beige); box-shadow: 0 2px 18px rgba(23,26,29,0.12); }
.rl-nav__logo-name { color: var(--c-charcoal); }
.rl-nav__logo-tag { color: var(--c-muted); }
.rl-nav__link,
.rl-util__btn { color: var(--c-brown); }
.rl-nav__link:hover,
.rl-util__btn:hover,
.rl-util[data-open="true"] > .rl-util__btn { color: var(--c-accent-text); background: var(--c-sage-bg); }
.rl-nav__toggle span { background: var(--c-charcoal); }
@media (max-width: 860px) {
  .rl-nav__links.open { background: rgba(255,255,255,0.99); border-bottom-color: var(--c-beige); }
  .rl-nav__mobile-actions { border-top-color: var(--c-beige); }
}

/* --- Homepage hero: dark --- */
.rl-hero { background: var(--c-dark); color: var(--c-dark-ink); }
.rl-hero::before {
  background: radial-gradient(ellipse 55% 60% at 78% 40%, rgba(var(--c-accent-rgb), 0.07) 0%, transparent 65%);
}
.rl-hero__leaf { display: none; }
.rl-hero__bg {
  opacity: 0.38;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 45%, #000 80%);
          mask-image: linear-gradient(90deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 45%, #000 80%);
}
@media (max-width: 900px) {
  .rl-hero__bg { opacity: 0.22; -webkit-mask-image: none; mask-image: none; }
}
.rl-hero__headline { color: var(--c-dark-ink); }
/* CMS text wraps lines in <em>: accent colour, no italics */
.rl-hero__headline em { font-style: normal; color: var(--c-accent); }
.rl-hero__left em { font-style: normal; }
.rl-hero__sub,
.rl-hero__left p { color: var(--c-dark-ink-2); }
/* CMS intro may open with its own h2/h3 (old style.css gives it a dark serif) */
.rl-hero__left h2,
.rl-hero__left h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--c-dark-ink);
}
.rl-hero__left strong,
.rl-hero__left b { color: var(--c-dark-ink); }
.rl-hero .trust-badge__icon { background: var(--c-dark-2); border: 1px solid var(--c-dark-line); box-shadow: none; }
.rl-hero .trust-badge__icon svg { color: var(--c-accent-dark); }
.rl-hero .trust-badge__title { color: var(--c-dark-ink); }
.rl-hero .trust-badge__sub { color: var(--c-dark-ink-2); }
.rl-hero .btn-outline { color: var(--c-dark-ink); border-color: var(--c-edge-dark); }
.rl-hero .btn-outline:hover { border-color: var(--c-accent-dark); color: var(--c-accent-dark); background: transparent; }

/* hero login / open-planner card: dark panel (the standalone login page stays light) */
.rl-hero .rl-form-card {
  background: var(--c-dark-2);
  border: 1px solid var(--c-dark-line);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  color: var(--c-dark-ink);
}
.rl-hero .rl-form-card__title,
.rl-hero .rl-checkbox { color: var(--c-dark-ink); }
.rl-hero .rl-form-field label,
.rl-hero .rl-form-hint { color: var(--c-dark-ink-2); }
.rl-hero .rl-form-hint a { color: var(--c-dark-ink-2); }
.rl-hero .rl-form-hint a:hover { color: var(--c-accent-dark); }
.rl-hero .rl-form-field input {
  background: var(--c-dark);
  border-color: var(--c-edge-dark);
  color: var(--c-dark-ink);
}
.rl-hero .rl-form-card__register { border-top-color: var(--c-dark-line); }

/* --- Footer --- */
.rl-footer { background: var(--c-dark-deep); }
.rl-footer__lnk:hover { color: var(--c-accent-dark); }
.rl-footer__nl-btn { background: var(--c-accent); color: var(--c-accent-ink); }
.rl-footer__nl-btn:hover { background: var(--c-accent-hov); color: var(--c-accent-ink); }
