/* rozvozkvetinpraha.cz, the gift tag on a bouquet look (proposal 046, D2 and D3).
   Hand-written, not part of the Tailwind build. Every colour this domain prints lives
   here as a custom property. Tailwind utilities in the templates carry spacing, grid
   and type scale only. Unlayered, so it beats Tailwind's utility layer. */

:root {
  --rk-ink: #24163f;
  --rk-iris: #4c2a9a;
  --rk-iris-dark: #3a1f78;
  --rk-paper: #f7f4fb;
  --rk-paper-2: #ece5f6;
  --rk-line: #d5c9ea;
  --rk-text: #2a2238;
  --rk-muted: #645a78;
  --rk-mimosa: #f4cf3a;
  --rk-tag: #fff8dc;
  --rk-leaf: #2f7d5b;
  --rk-cond: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --rk-sans: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --rk-hand: 'Caveat', 'Segoe Script', cursive;
}

.rk-body {
  background: var(--rk-paper);
  color: var(--rk-text);
  font-family: var(--rk-sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* The global demand-form.twig prints these two, recoloured here (046, Design identity). */
.rk-body .text-gray-900 { color: var(--rk-ink); }
.rk-body .text-gray-700 { color: var(--rk-text); }
.rk-body main h1.text-gray-900 {
  font-family: var(--rk-cond);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Header and nav */
.rk-header {
  background: var(--rk-paper);
  border-bottom: 3px solid var(--rk-mimosa);
}
.rk-logo { color: var(--rk-ink); text-decoration: none; }
.rk-logo-word { line-height: 1; white-space: nowrap; }
.rk-logo-word .rk-logo-main {
  font-family: var(--rk-cond);
  font-weight: 700;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--rk-ink);
}
.rk-logo-word .rk-logo-hand {
  font-family: var(--rk-hand);
  font-weight: 600;
  font-size: 1.625rem;
  color: var(--rk-iris);
  margin-left: 0.25rem;
}
.rk-navrow {
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.rk-navrow::-webkit-scrollbar { display: none; }
.rk-nav {
  font-family: var(--rk-sans);
  font-weight: 500;
  color: var(--rk-ink);
  text-decoration: none;
  white-space: nowrap;
}
.rk-nav:hover, .rk-nav:focus-visible { color: var(--rk-iris); text-decoration: underline; }

/* Buttons, the pill */
.rk-btn {
  display: inline-block;
  background: var(--rk-iris);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  padding: 14px 28px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.rk-btn:hover, .rk-btn:focus-visible { background: var(--rk-iris-dark); color: #ffffff; }
.rk-btn-small {
  padding: 8px 18px;
  font-size: 0.9375rem;
}

/* Hero, the dark band */
.rk-hero {
  background: var(--rk-ink);
  color: var(--rk-paper);
}
.rk-hero p { color: var(--rk-paper); }
.rk-hero .rk-note { color: rgba(247, 244, 251, 0.85); }
.rk-hero a:not(.rk-btn) { color: var(--rk-paper); text-decoration: underline; }
.rk-hero a:not(.rk-btn):hover, .rk-hero a:not(.rk-btn):focus-visible { color: var(--rk-mimosa); }
.rk-kicker {
  font-family: var(--rk-cond);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rk-iris);
}
.rk-hero .rk-kicker { color: var(--rk-mimosa); }

/* Headings */
.rk-h1, .rk-h2, .rk-h3 {
  font-family: var(--rk-cond);
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: var(--rk-ink);
}
.rk-hero .rk-h1 { color: var(--rk-paper); }
.rk-h1 { font-weight: 700; font-size: 2.5rem; text-transform: uppercase; }
.rk-h2 { font-weight: 700; font-size: 1.875rem; }
.rk-h3 { font-weight: 600; font-size: 1.375rem; }
@media (min-width: 768px) {
  .rk-h1 { font-size: 3.5rem; }
  .rk-h2 { font-size: 2.25rem; }
}

/* The gift tag: cut top left corner and a punched hole */
.rk-tag {
  position: relative;
  background: var(--rk-tag);
  border: 1px solid var(--rk-iris);
  border-radius: 6px;
  padding: 26px 22px 20px 22px;
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}
.rk-tag::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rk-paper);
  box-shadow: 0 0 0 1px var(--rk-iris);
}
/* The cut corner hides the border there, so a hairline redraws the diagonal. */
.rk-tag::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 25.5px;
  height: 1px;
  background: var(--rk-iris);
  transform-origin: 0 0;
  transform: translate(0, 18px) rotate(-45deg);
}
.rk-tag .rk-note { color: var(--rk-muted); }
.rk-hand {
  font-family: var(--rk-hand);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  color: var(--rk-ink);
}

/* The route, a dashed line from the shop dot to the door */
.rk-route {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 22rem;
  color: var(--rk-line);
}
.rk-route::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.rk-route .rk-route-line {
  flex: 1;
  border-top: 2px dashed currentColor;
  margin: 0 6px;
}
.rk-route svg { flex: none; }
.rk-hero .rk-route { color: var(--rk-mimosa); }

/* The three steps joined by the route */
.rk-steps { position: relative; }
@media (min-width: 768px) {
  .rk-steps::before {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    top: 50%;
    border-top: 2px dashed var(--rk-line);
    z-index: 0;
  }
  .rk-steps > * { position: relative; z-index: 1; }
}
.rk-step-no {
  font-family: var(--rk-cond);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rk-iris);
}

/* The hero picture */
.rk-visacka { max-width: 30rem; margin: 0 auto; }
@media (min-width: 768px) {
  .rk-visacka { transform: rotate(-4deg); }
}

/* Cards, tables, notes, links on paper */
.rk-card {
  background: var(--rk-paper-2);
  border: 1px solid var(--rk-line);
  border-radius: 6px;
  padding: 20px;
}
.rk-card a:not(.rk-btn), .rk-table a { color: var(--rk-iris); }
a.rk-card {
  display: block;
  color: var(--rk-ink);
  font-weight: 600;
  text-decoration: none;
}
a.rk-card:hover, a.rk-card:focus-visible { border-color: var(--rk-iris); color: var(--rk-iris); }
.rk-tablewrap { overflow-x: auto; }
.rk-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.rk-table-wide { min-width: 40rem; }
.rk-table th {
  background: var(--rk-paper-2);
  font-family: var(--rk-cond);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-align: left;
  color: var(--rk-ink);
}
.rk-table th, .rk-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rk-line);
  vertical-align: top;
}
.rk-table td.rk-num { font-weight: 600; white-space: nowrap; }
.rk-note { color: var(--rk-muted); font-size: 15px; }
.rk-link {
  color: var(--rk-iris);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rk-link:hover, .rk-link:focus-visible { color: var(--rk-iris-dark); }
.rk-list { list-style: disc; padding-left: 1.25rem; }
.rk-list li + li { margin-top: 0.4rem; }
.rk-label {
  font-family: var(--rk-cond);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Footer */
.rk-footer {
  background: var(--rk-ink);
  color: rgba(247, 244, 251, 0.85);
}
.rk-footer .rk-label { color: var(--rk-mimosa); }
.rk-footer a { color: var(--rk-paper); text-decoration: underline; text-underline-offset: 2px; }
.rk-footer a:hover, .rk-footer a:focus-visible { color: var(--rk-mimosa); }
