/* ============================================================
   ROSA BOOK — базові стилі лише для сторінок varieties/*.html.

   Безпечно виділено з assets/styles.css після перевірки всіх 575
   сторінок сортів 2026-08-25. Загальний styles.css не скорочено.
   Нові класи карток контролює build-catalog.py до будь-якого apply.
   Дизайн-накладки сторінок сортів лишаються у variety-theme.css.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700&family=Inter:wght@400;500;600;700&display=swap");
:root {
    --ink: #2a2624;
    --muted: #756f64;
    --line: #d8cfb8;
    --paper: #f5efe0;
    --paper-deep: #ebe3cf;
    --panel: #fbf7ec;
    --leaf: #426b4f;
    --moss: #78936f;
    --rose: #b84a62;
    --sun: #d99b42;
    --sky: #e7f0ef;
    --shadow: 0 18px 50px rgba(42, 38, 36, 0.12);
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.012em;
  }
* {
    box-sizing: border-box;
  }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family:
      Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    line-height: 1.5;
  }
a {
    color: inherit;
    text-decoration: none;
  }
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px clamp(18px, 5vw, 64px);
    border-bottom: 1px solid rgba(32, 35, 31, 0.08);
    background: rgba(251, 250, 246, 0.92);
    backdrop-filter: blur(18px);
  }
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 750;
    letter-spacing: 0;
  }
.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 60% 38%, #f7d5da 0 18%, transparent 19%),
      radial-gradient(circle at 40% 58%, #cf6577 0 22%, transparent 23%),
      linear-gradient(135deg, var(--leaf), #97ad79);
  }
.nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
  }
.nav::-webkit-scrollbar {
    display: none;
  }
.nav a {
    padding: 8px 10px;
    border-radius: 8px;
  }
.nav a:hover {
    background: var(--sky);
    color: var(--ink);
  }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--leaf);
    font-size: 13px;
    font-weight: 720;
    text-transform: uppercase;
  }
h1,
  h2,
  h3 {
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0;
  }
h1 {
    max-width: 920px;
    margin-top: 16px;
    color: #3a232a;
    font-family:
      Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    font-size: clamp(40px, 5.3vw, 72px);
    font-weight: 820;
    font-style: italic;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
    text-rendering: geometricPrecision;
  }
.rose-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
  }
.variety-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 32px) clamp(16px, 4vw, 40px) 80px;
  }
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 0 18px;
    padding: 10px 14px;
    background: var(--sky);
    border-radius: 10px;
    font-size: 13px;
  }
.breadcrumbs a {
    color: var(--leaf);
    font-weight: 600;
    text-decoration: underline;
  }
.breadcrumbs a:hover {
    color: var(--rose);
  }
.breadcrumbs span.current {
    color: var(--ink);
    font-weight: 700;
  }
.breadcrumbs .sep {
    color: var(--muted);
  }
@media (max-width: 640px){.topbar {
      align-items: flex-start;
      flex-direction: column;
      gap: 12px;
    }
.nav {
      justify-content: flex-start;
      width: 100%;
      padding-bottom: 2px;
      gap: 4px;
      font-size: 13px;
    }
.nav a {
      padding: 7px 7px;
    }}
.rose-card.rcs {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  border: none;
  box-shadow: none;
}
.rose-card.rcs * { box-sizing: border-box; }
.rose-card.rcs.rcs {
  background: linear-gradient(180deg, #f7e8eb 0%, #fff 100%);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px);
  margin: 0 auto 40px;
}
.rcs {
        max-width: 1300px; margin: 0 auto 40px;
        padding: clamp(20px, 4vw, 36px);
        background: linear-gradient(180deg, #f7e8eb 0%, #fff 100%);
        border-radius: 20px;
      }
.rcs-hero { display: flex; gap: 32px; align-items: flex-end; margin-bottom: 28px; flex-wrap: wrap; }
.rcs-hero .photo { width: 340px; height: 340px; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px rgba(125, 30, 50, 0.22); flex-shrink: 0; }
.rcs-hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.rcs-hero .info { flex: 1 1 320px; min-width: 0; }
.rcs-hero .info .eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #7d1732; }
.rcs-hero h1 { font-family: var(--font-display); color: inherit; font-size: clamp(40px, 6vw, 72px); font-weight: 800; margin: 4px 0 4px; letter-spacing: -0.03em; line-height: 0.95; }
.rcs-hero .rose-name-uk {
        font-size: clamp(22px, 2.4vw, 30px);
        font-weight: 600;
        color: #7d1732;
        letter-spacing: -0.01em;
        margin: 0 0 14px;
        font-style: italic;
      }
.rcs-hero .meta { font-size: 14px; color: #555; margin-top: 10px; }
.rcs-hero .meta strong { color: #1a1a1a; }
.rcs-group-badge {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        margin-top: 4px;
        border-radius: 12px;
        background: linear-gradient(135deg, #8a5cb8, #4f2d7a);
        color: white;
        box-shadow: 0 10px 22px rgba(79, 45, 122, 0.25);
      }
.rcs-group-badge .rcs-group-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        opacity: 0.75;
      }
.rcs-group-badge .rcs-group-value {
        font-size: 15px;
        font-weight: 800;
        letter-spacing: -0.01em;
      }
.rcs-group-badge .rcs-group-series {
        font-size: 12px;
        opacity: 0.85;
        border-left: 1px solid rgba(255,255,255,0.3);
        padding-left: 10px;
      }
.rcs-aroma-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        margin: 8px 0 0 8px;
        border-radius: 12px;
        color: white;
        font-size: 14px;
        font-weight: 700;
        vertical-align: top;
        box-shadow: 0 6px 14px rgba(0,0,0,0.12);
      }
.rcs-aroma-chip .rcs-aroma-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        opacity: 0.8;
      }
.rcs-aroma-chip .rcs-aroma-value { letter-spacing: -0.005em; }
.rcs-aroma-none { background: linear-gradient(135deg, #a1a1aa, #52525b); }
.rcs-aroma-faint { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.rcs-aroma-light { background: linear-gradient(135deg, #6ee7b7, #047857); }
.rcs-aroma-medium { background: linear-gradient(135deg, #fbbf24, #b45309); }
.rcs-aroma-strong { background: linear-gradient(135deg, #fb7185, #9d174d); }
.rcs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 14px; }
.rcs-tile { padding: 20px; border-radius: 14px; color: white; min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; }
.rcs-tile .top { font-size: 13px; font-weight: 600; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.06em; }
.rcs-tile .big { font-size: 32px; font-weight: 800; line-height: 1; overflow-wrap: anywhere; word-break: break-word; min-width: 0; }
.rcs-tile .small { font-size: 13px; opacity: 0.9; overflow-wrap: anywhere; min-width: 0; }
.rcs-tile { min-width: 0; }
.rcs-tile.rose { background: linear-gradient(135deg, #c93a5a, #7d1732); }
.rcs-tile.leaf { background: linear-gradient(135deg, #4a6b4f, #2d4030); }
.rcs-tile.gold { background: linear-gradient(135deg, #d4a574, #8a6334); }
.rcs-tile.berry { background: linear-gradient(135deg, #8b1a3a, #4d0a1f); }
.rcs-tile.sky { background: linear-gradient(135deg, #5e8aa8, #2d4458); }
.rcs-tile.cream { background: linear-gradient(135deg, #f5e8d0, #d4b894); color: #3d2f1a; }
.rcs-tile.sun { background: linear-gradient(135deg, #f5b557, #c97b1a); }
.rcs-card { background: white; border-radius: 14px; padding: 20px; }
.rcs-card h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; }
.rcs-card p { margin: 0 0 8px; font-size: 14px; color: #444; line-height: 1.5; }
.rcs-card-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.rcs-pill { padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #f4f4f5; color: #444; }
.rcs-pill.rose { background: #ffe0e9; color: #7d1732; }
.rcs-pill.leaf { background: #e1ebd9; color: #2d4030; }
.rcs-pill.contrast { background: #f3e6f0; color: #5a1530; border: 1px solid #d9bccc; }
.rcs-tile.violet { background: linear-gradient(135deg, #8a5cb8, #4f2d7a); }
.rcs-scheme {
        background: linear-gradient(180deg, #fff8fa 0%, #fff 70%);
        border-radius: 14px;
        padding: 24px;
        margin: 14px 0;
        border: 1px solid #f3dde2;
      }
.rcs-scheme h4 { margin: 0 0 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.rcs-scheme > p { margin: 0 0 22px; font-size: 13.5px; color: #555; line-height: 1.5; max-width: 720px; }
.rcs-scheme-stage {
        display: grid;
        grid-template-columns: minmax(170px, 1fr) 2.2fr 2.2fr;
        gap: 22px;
        align-items: start;
      }
@media (max-width: 980px){.rcs-scheme-stage { grid-template-columns: 1fr; }}
.rcs-scheme-col-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: #7d1732;
        margin-bottom: 16px;
        border-bottom: 1px solid #f3dde2;
        padding-bottom: 8px;
      }
.rcs-scheme-hero { text-align: center; }
.rcs-scheme-hero .rcs-scheme-name { font-size: 22px; font-weight: 800; margin-top: 14px; letter-spacing: -0.01em; }
.rcs-scheme-hero .rcs-scheme-color { font-size: 12px; color: #888; margin-top: 2px; }
.rcs-bloom-row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
        gap: 14px;
      }
.rcs-bloom-cell { text-align: center; font-size: 12px; font-weight: 600; }
.rcs-companion-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  padding: 4px;
  transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.rcs-companion-link:hover {
  background: rgba(127, 29, 58, .06);
  transform: translateY(-2px);
}
.rcs-companion-link:focus-visible {
  outline: 3px solid rgba(127, 29, 58, .35);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .rcs-companion-link { transition: none; }
  .rcs-companion-link:hover { transform: none; }
}
.rcs-bloom-cell .rcs-name { display: block; margin-top: 10px; color: #222; }
.rcs-bloom-cell .rcs-tone { display: block; color: #888; font-weight: 500; font-size: 11px; margin-top: 2px; }
.rcs-photo {
        width: 100%; max-width: 92px; aspect-ratio: 1 / 1;
        border-radius: 14px; overflow: hidden; margin: 0 auto;
        background: #f3dde2;
        border: 1px solid rgba(122, 58, 116, 0.45);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: box-shadow .25s, transform .25s, border-color .25s;
      }
.rcs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rcs-photo:hover {
        transform: translateY(-2px);
        border-color: rgba(122, 58, 116, 0.85);
        box-shadow: 0 7px 16px rgba(0, 0, 0, 0.13);
      }
.rcs-photo-xl {
        max-width: 160px; border-radius: 18px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
      }
.rcs-photo-link { display: block; text-decoration: none; cursor: pointer; }
.rcs-photo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rcs-photo-row.rcs-row-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rcs-photo-row.rcs-row-4 .rcs-photo { max-width: 84px; }
@media (max-width: 560px){
  .rcs-photo-row.rcs-row-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .rcs-photo-row.rcs-row-4 .rcs-photo { max-width: 104px; }
  .rcs-photo-row.rcs-row-4 .rcs-name { line-height: 1.3; }
}
.rcs-field {
        display: grid; grid-template-columns: minmax(120px, 40%) 1fr;
        gap: 4px 12px; margin: 0 0 4px; font-size: 13px;
      }
.rcs-field dt { color: #7d1732; font-weight: 600; margin: 0; }
.rcs-field dd { margin: 0; color: #333; line-height: 1.4; }
.rcs-duo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        margin-bottom: 14px;
      }
@media (max-width: 720px){.rcs-duo { grid-template-columns: 1fr; }}
.rcs-duo .rcs-card { padding: 22px; }
.rcs-duo .rcs-card h4 { margin: 0 0 12px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.rcs-thorn-scale {
        display: inline-flex; flex-wrap: wrap; gap: 4px;
        margin: 4px 0 6px;
      }
.rcs-thorn-step {
        font-size: 10px;
        padding: 3px 9px;
        border-radius: 999px;
        background: #f4f4f5;
        color: #888;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.04em;
      }
.rcs-thorn-step.active {
        background: linear-gradient(135deg, #7d1732, #4a0820);
        color: white;
        box-shadow: 0 4px 10px rgba(125,30,50,0.25);
      }
.rcs-scheme-details {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 14px;
        margin-bottom: 14px;
      }
@media (max-width: 900px){.rcs-scheme-details { grid-template-columns: 1fr; }}
.rcs-scheme-details .rcs-card { padding: 22px; }
.rcs-scheme-details .rcs-card h4 {
        margin: 0 0 8px; font-size: 15px; font-weight: 800; letter-spacing: -0.01em;
      }
.rcs-scheme-details .rcs-card > p {
        margin: 0 0 14px; font-size: 13px; color: #555; line-height: 1.5;
      }
.rcs-scheme-details .rcs-card-row { margin-top: 4px; }
.rcs-landscape {
        background: white;
        border-radius: 14px;
        padding: 24px clamp(20px, 3vw, 32px);
        margin-bottom: 14px;
      }
.rcs-landscape h4 {
        margin: 0 0 12px; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; color: #1a1a1a;
      }
.rcs-landscape h4::before { content: "✦ "; color: #7d1732; }
.rcs-landscape p { margin: 0 0 8px; font-size: 13.5px; color: #444; line-height: 1.55; }
.rcs-landscape p:last-child { margin: 0; }
.rcs-bottom-bar {
        background: white;
        border-radius: 14px;
        padding: 24px clamp(20px, 3vw, 32px);
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px;
      }
@media (max-width: 720px){.rcs-bottom-bar { grid-template-columns: 1fr; }}
.rcs-bottom-bar h4 {
        margin: 0 0 10px; font-size: 16px; font-weight: 800; color: #1a1a1a;
        letter-spacing: -0.01em;
      }
.rcs-bottom-bar h4::before { content: "✦ "; color: #7d1732; }
.rcs-bottom-bar p { margin: 0 0 10px; font-size: 13.5px; color: #444; line-height: 1.55; }
.rcs-bottom-bar p:last-child { margin-bottom: 0; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #34D399 !important;outline-offset:2px !important;border-radius:3px}
.skip-link{position:absolute;left:10px;top:-60px;z-index:2000;background:#34D399;color:#04140D;padding:9px 16px;border-radius:10px;font-weight:600;font-size:14px;text-decoration:none;box-shadow:0 6px 20px rgba(0,0,0,.3);transition:top .15s ease}
.skip-link:focus{top:10px}
