/* =========================================================================
   REFLECTIONS — site styles.
   One file, no preprocessor. Colours come from the logo: Reflections red,
   bulb blue and the yellow light rays.
   ========================================================================= */

/* ----------------------------- tokens ----------------------------- */

:root {
  --red: #e31b23;
  --red-dark: #b8141b;
  --blue: #8a5f1a;        /* bronze-gold (was logo blue) */
  --blue-dark: #6b4812;
  --gold: #e8c98a;
  --gold-dark: #dcb76c;
  --yellow: #fbe94f;
  --yellow-soft: #fff8c4;

  --ink: #17181c;
  --ink-2: #3d3f47;
  --muted: #6b6e78;
  --line: #e6e4dc;
  --line-strong: #d3d0c4;

  --bg: #ffffff;
  --cream: #faf7ee;
  --card: #ffffff;
  --footer: #15161a;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 20, 30, .04), 0 6px 20px rgba(20, 20, 30, .06);
  --shadow-lg: 0 2px 4px rgba(20, 20, 30, .05), 0 16px 40px rgba(20, 20, 30, .10);

  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --header-h: 76px;
}

/* ----------------------------- base ----------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.center { text-align: center; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius-sm);
}
.skip:focus { top: 12px; color: #fff; }

.eyebrow {
  font: 600 .78rem/1.4 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.lede { font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }
.center .lede { margin-inline: auto; }

.rule {
  width: 56px; height: 4px; border-radius: 2px; margin: 18px 0 22px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--yellow) 50% 100%);
}
.center .rule { margin-inline: auto; }

/* ----------------------------- buttons ----------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 .95rem/1 var(--font-body);
  cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }

.btn--accent { background: var(--yellow); color: var(--ink); }
.btn--accent:hover { background: #f5dc1f; color: var(--ink); }

.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ----------------------------- header ----------------------------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 8px 14px; border-radius: 999px;
  color: var(--ink-2); font-weight: 500; font-size: .95rem;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--cream); }
.nav a.is-active { color: var(--red); }
.nav .btn { margin-left: 10px; padding: 10px 18px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 10px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer;
}
.nav-toggle svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* ----------------------------- hero ----------------------------- */

.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 500px at 85% 20%, var(--yellow-soft), transparent 60%),
    var(--bg);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lede { margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 14px; }
.stat {
  flex: 1 1 140px;
  padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.stat b { display: block; font: 700 1.8rem/1.1 var(--font-head); color: var(--blue); }
.stat span { font-size: .85rem; color: var(--muted); }

/* The glowing bulb: yellow orb with eight rays, echoing the logo. */
.hero__art { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.hero__orb {
  position: absolute; inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #fffde6 0%, var(--yellow) 45%, #f2c80f 100%);
  box-shadow: 0 0 80px 20px rgba(251, 233, 79, .55), 0 0 160px 60px rgba(251, 233, 79, .25);
  animation: glow 4s ease-in-out infinite;
}
.hero__rays { position: absolute; inset: 0; }
.hero__rays span {
  position: absolute; left: 50%; top: 50%;
  width: 8px; height: 50%;
  transform-origin: 0 0;
}
.hero__rays span::after {
  content: ''; position: absolute; left: 0; top: 74%;
  width: 8px; height: 22%; border-radius: 4px;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(251, 233, 79, .8);
}
@keyframes glow {
  50% { box-shadow: 0 0 100px 30px rgba(251, 233, 79, .65), 0 0 200px 80px rgba(251, 233, 79, .3); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__orb { animation: none; }
  html { scroll-behavior: auto; }
}

/* ----------------------------- photo hero (home page) ----------------------------- */
/* Full-bleed photo that runs up behind the header. Photo: Corey O'Brien / Unsplash.
   The local file is listed first; the Unsplash copy shows only if it is missing. */

.home .header {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background .25s ease, border-color .25s ease;
}
.home .header.is-scrolled {
  background: rgba(255, 255, 255, .94); border-bottom-color: var(--line);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.home .brand img { height: 56px; }
.home .nav a:not(.btn) { color: #111; }
.home .nav a:not(.btn):hover { background: rgba(255, 255, 255, .6); }

.hero--photo {
  --hero-ink: #111;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 96px) 0 112px;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  background: #fbf6ec;
  color: var(--hero-ink);
}
.hero--photo::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    url('../img/hero-lanterns.jpg'),
    url('https://images.unsplash.com/photo-1455043390614-7a8273cd8209?w=2000&q=75&auto=format');
  background-size: cover; background-position: 60% 40%;
  filter: brightness(1.08) saturate(1.05);
}
.hero--photo::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(255,251,243,.96) 0%, rgba(255,250,240,.86) 36%, rgba(255,248,235,.2) 64%, rgba(255,248,235,0) 100%),
    linear-gradient(180deg, rgba(255,252,246,.85) 0%, rgba(255,252,246,0) 16%);
}
.hero--photo .wrap { width: 100%; }
.hero__copy { max-width: 600px; }
.hero--photo .eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--blue); letter-spacing: .28em; font-family: 'Jost', var(--font-body); font-weight: 600;
}
.hero--photo .eyebrow::before { content: ''; flex: 0 0 40px; height: 1px; background: currentColor; }
.hero--photo h1 {
  font: 500 clamp(3rem, 6.6vw, 5.4rem)/.98 'Cormorant Garamond', Georgia, serif;
  color: #1b1510; letter-spacing: -.01em; margin-bottom: 24px; text-wrap: balance;
}
.hero--photo h1 em { display: block; font-style: italic; color: var(--blue); }  /* bronze-gold */
.hero--photo .lede { color: var(--hero-ink); font-family: 'Jost', var(--font-body); font-size: 1.06rem; max-width: 520px; }
.hero--photo .btn { border-radius: 999px; font-family: 'Jost', var(--font-body); }
/* Warm gold buttons on the home and catalogue pages, echoing the glowing lanterns. */
.home .btn--primary,
.catalogue-page .btn--primary,
.catalogue-page .btn--accent { background: var(--gold); color: #111; }
.home .btn--primary:hover,
.catalogue-page .btn--primary:hover,
.catalogue-page .btn--accent:hover { background: var(--gold-dark); color: #111; }
.hero--photo .btn--primary { box-shadow: 0 8px 24px rgba(183, 140, 60, .3); }
.hero--photo .btn--ghost { border-color: var(--hero-ink); color: var(--hero-ink); background: rgba(255, 255, 255, .75); }
.hero--photo .btn--ghost:hover { background: #fff; }
.hero--photo .stat {
  background: rgba(246, 232, 200, .82); border-color: rgba(183, 140, 60, .35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero--photo .stat b { font: 600 2.2rem/1.1 'Cormorant Garamond', Georgia, serif; color: var(--hero-ink); }
.hero--photo .stat span { color: var(--hero-ink); font-family: 'Jost', var(--font-body); }

@media (max-width: 880px) {
  .home .brand img { height: 44px; }
  .home .header.nav-open { background: #fff; }
  .hero.hero--photo { min-height: 0; padding: calc(var(--header-h) + 40px) 0 64px; }
  .hero--photo::before { background-position: 70% 30%; }
  .hero--photo::after {
    background: linear-gradient(180deg, rgba(255,251,243,.9) 0%, rgba(255,250,240,.86) 55%, rgba(255,248,235,.7) 100%);
  }
}

/* ----------------------------- trust strip ----------------------------- */

.strip { background: var(--gold); color: rgba(17, 17, 17, .78); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 26px; font-size: .9rem; }
.strip__row b { display: block; color: #111; font: 600 1rem/1.3 var(--font-head); margin-bottom: 2px; }

/* ----------------------------- sections ----------------------------- */

.section { padding: 88px 0; }
.section--cream { background: var(--cream); }

/* Category tiles (home) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tile {
  display: flex; flex-direction: column;
  padding: 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.tile__icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: 16px;
  border-radius: 12px; background: var(--yellow-soft);
}
.tile__icon svg { width: 100%; height: 100%; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile__icon { background: var(--yellow); }
.tile h3 { margin-bottom: 6px; }
.tile p { font-size: .92rem; color: var(--muted); flex: 1; }
.tile__count { font-size: .8rem; font-weight: 600; color: var(--red); margin-top: 6px; }

/* Features (why) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  padding: 28px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.feature__n { font: 700 2rem/1 var(--font-head); color: var(--yellow); -webkit-text-stroke: 1px #d9c21a; margin-bottom: 14px; }
.feature p { font-size: .93rem; color: var(--ink-2); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.contact-card {
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--red);
}
.contact-card h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }
.contact-card p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.contact-card a { font-weight: 600; }

/* ----------------------------- catalogue ----------------------------- */

.cat-head {
  padding: 56px 0 32px;
  background: radial-gradient(700px 300px at 90% 0%, var(--yellow-soft), transparent 70%), var(--cream);
  border-bottom: 1px solid var(--line);
}

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.search { position: relative; flex: 1 1 360px; max-width: 560px; }
.search svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
}
.search input {
  width: 100%; padding: 14px 18px 14px 46px;
  font: 400 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  transition: border-color .15s, box-shadow .15s;
}
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(138, 95, 26, .15); }
.toolbar__count { font-size: .9rem; font-weight: 500; color: var(--muted); }

.cat-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding-block: 40px 80px; }

.sidebar { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.sidebar h4 { font: 600 .75rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding-left: 12px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar button {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  width: 100%; padding: 9px 12px;
  font: 500 .92rem/1.3 var(--font-body); color: var(--ink-2); text-align: left;
  background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer;
}
.sidebar button:hover { background: var(--cream); color: var(--ink); }
.sidebar button em { font-style: normal; font-size: .78rem; color: var(--muted); }
.sidebar button.is-active { background: var(--yellow); color: var(--ink); font-weight: 600; }
.sidebar button.is-active em { color: var(--ink); }

.cat-section { margin-bottom: 56px; }
.cat-section > header { padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--ink); }
.cat-section > header h2 { font-size: 1.6rem; margin-bottom: 4px; }
.cat-section > header p { margin: 0; color: var(--muted); }

.series {
  margin-bottom: 22px; padding: 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.series__top { display: flex; gap: 22px; margin-bottom: 18px; }
.series__badge {
  flex: 0 0 120px; height: 120px;
  display: grid; place-items: center;
  background: var(--cream); border-radius: var(--radius-sm);
  overflow: hidden;
}
.series__badge:empty { display: none; }
.series__badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.series__meta { min-width: 0; flex: 1; }
.series__name { font-size: 1.3rem; margin-bottom: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; }
.chip--range { background: rgba(232, 201, 138, .35); color: var(--blue-dark); }
.chip--count { background: var(--cream); color: var(--ink-2); }

.series__features { margin: 0; padding-left: 18px; font-size: .9rem; color: var(--ink-2); }
.series__features li { margin-bottom: 2px; }
.series__features li::marker { color: var(--red); }
.series__note {
  margin: 10px 0 0; padding: 8px 12px;
  font-size: .83rem; color: var(--ink-2);
  background: var(--yellow-soft); border-left: 3px solid var(--yellow); border-radius: 4px;
}

.series__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.series__table table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.series__table th {
  padding: 10px 12px; text-align: left; white-space: nowrap;
  font-weight: 600; font-size: .75rem; letter-spacing: .03em; color: var(--ink-2);
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.series__table td { padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.series__table tbody tr:last-child td { border-bottom: 0; }
.series__table tbody tr:hover td { background: #fffdf0; }
.series__table tr.is-hidden { display: none; }
.series__table code {
  font: 500 .82rem var(--font-mono); color: var(--blue-dark);
  padding: 2px 6px; background: rgba(232, 201, 138, .25); border-radius: 4px;
}

.series__more {
  margin-top: 12px; padding: 8px 16px;
  font: 600 .85rem var(--font-body); color: var(--blue);
  background: none; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer;
  white-space: pre;
}
.series__more:hover { border-color: var(--blue); background: rgba(232, 201, 138, .15); }

.empty { padding: 56px 24px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.empty b { display: block; font: 600 1.2rem var(--font-head); margin-bottom: 8px; }
.empty p { margin: 0; color: var(--muted); }

/* ----------------------------- footer ----------------------------- */

.footer { background: var(--footer); color: rgba(255, 255, 255, .62); padding: 64px 0 28px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer img { height: 44px; width: auto; margin-bottom: 18px; }
.footer p { max-width: 36ch; }
.footer h5 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: var(--yellow); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem;
}

/* ----------------------------- responsive ----------------------------- */

@media (max-width: 1024px) {
  .features, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .strip__row { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --header-h: 64px; }
  .wrap { padding-inline: 16px; }
  .brand img { height: 38px; }

  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 14px; border-radius: var(--radius-sm); }
  .nav .btn { margin: 8px 0 0; }

  .hero { padding: 48px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { max-width: 240px; order: -1; }

  .section { padding: 64px 0; }

  .cat-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
  .sidebar { position: static; max-height: none; overflow: visible; margin-inline: -16px; }
  .sidebar h4 { display: none; }
  .sidebar ul { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
  .sidebar ul::-webkit-scrollbar { display: none; }
  .sidebar button { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
  .sidebar button.is-active { border-color: var(--yellow); }
}

@media (max-width: 600px) {
  .features, .contact-grid, .strip__row { grid-template-columns: 1fr; }
  .strip__row { gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .series { padding: 18px; }
  .series__top { flex-direction: column; gap: 14px; }
  .series__badge { flex-basis: auto; width: 100%; height: 140px; }
}

/* ----------------------------- stock & requests ----------------------------- */

:root { --wa: #1fa855; --wa-dark: #168a45; }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); color: #fff; }

.chip--oos { background: #fde8e8; color: var(--red-dark); }

.series__ask {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: .85rem; font-weight: 600; color: var(--wa-dark);
}
.series__ask::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--wa);
}
.series__ask:hover { color: var(--wa); }

.series__table tr.is-oos td { color: var(--muted); }
.series__table tr.is-oos code { opacity: .6; }
.tag-oos {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
  font-size: .7rem; font-weight: 600; color: var(--red-dark); background: #fde8e8;
}
.series__table .col-request { text-align: right; width: 1%; }
.row-add {
  padding: 4px 12px; font: 600 .78rem var(--font-body); color: var(--wa-dark);
  background: #fff; border: 1px solid var(--wa); border-radius: 999px; cursor: pointer;
}
.row-add:hover { background: #eaf8ef; }
.row-add.is-added { background: var(--wa); color: #fff; }

.request-bar {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  width: max-content; max-width: calc(100% - 32px);
  padding: 8px 8px 8px 20px;
  background: var(--ink); color: #fff; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.request-bar[hidden], .request-panel[hidden] { display: none; }
.request-bar__view {
  padding: 0; font: 600 .92rem var(--font-body); color: #fff;
  background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.request-bar .btn { padding: 10px 18px; }

.request-panel {
  position: fixed; left: 50%; bottom: 84px; z-index: 60; transform: translateX(-50%);
  width: min(520px, calc(100% - 32px)); max-height: 60vh; overflow-y: auto;
  padding: 18px 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.request-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.request-panel__head h4 { margin: 0; }
.request-panel__close { font-size: 1.5rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--muted); }
.request-panel__list { list-style: none; margin: 0; padding: 0; }
.request-panel__list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .9rem; }
.request-panel__label { flex: 1; min-width: 0; }
.request-panel__list input { width: 64px; padding: 6px 8px; font: inherit; border: 1px solid var(--line-strong); border-radius: 6px; }
.request-panel__remove { padding: 0; font: 500 .8rem var(--font-body); color: var(--red); background: none; border: 0; cursor: pointer; }

@media (max-width: 600px) {
  .request-bar { bottom: 12px; padding-left: 16px; }
  .request-bar__view { font-size: .82rem; }
  .request-bar .btn { padding: 9px 14px; font-size: .85rem; }
  .request-panel { bottom: 72px; }
}
