/*
  redesign/css/style.css
  Sdílený design systém pro redesign/. Všechny třídy mají prefix "rdx-",
  aby se nikde nekřížily s Bootstrapem, default.css ani myaccount.css,
  které používá zbytek (nepřepsaného) projektu.
*/

.rdx {
    font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #23262b;
    background-color: #ffffff;
}

.rdx a { text-decoration: none; }

.rdx h1, .rdx h2, .rdx h3, .rdx h4 {
    font-weight: 700;
    color: #1c1f23;
    letter-spacing: -0.01em;
}

.rdx p { line-height: 1.65; }

/* ---------- hlavička (redesign/pages/header.php) ---------- */

.rdx-topbar {
    background: #1c1f23;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Aby kotvové odkazy v nav (#jak-to-funguje apod.) nezajely cíl pod
   fixní hlavičku, necháváme při scrollu nahoře rezervu. */
html {
    scroll-padding-top: 84px;
}

.rdx-topbar-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* 'wide' varianta hlavičky (širší menu prostor) - viz $rdxContainerWidth
   v pages/header.php. Standardní hlavička je vždy 1140px bez ohledu na
   šířku obsahu stránky pod ní. */
.rdx-topbar-inner--wide { max-width: 2400px; }

.rdx-logo {
    display: inline-flex;
    align-items: center;
}

.rdx-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.rdx-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.rdx-nav a {
    color: #d7dadf;
    font-size: 14.5px;
    font-weight: 600;
}

.rdx-nav a:hover { color: #ffffff; }

.rdx-nav .rdx-btn { color: #ffffff; }

/* ---------- tlačítka ---------- */

.rdx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.rdx-btn--primary { background-color: #1e8e4f; color: #ffffff; }
.rdx-btn--primary:hover { background-color: #187a42; color: #ffffff; }

.rdx-btn--ghost {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}
.rdx-btn--ghost:hover { border-color: #ffffff; background-color: rgba(255, 255, 255, 0.08); }

.rdx-btn--outline-dark {
    background-color: transparent;
    border-color: #1c1f23;
    color: #1c1f23;
}
.rdx-btn--outline-dark:hover { background-color: #1c1f23; color: #ffffff; }

.rdx-btn--sm { padding: 7px 14px; font-size: 13.5px; border-radius: 6px; }
.rdx-btn--danger { background-color: #b3261e; color: #ffffff; }
.rdx-btn--danger:hover { background-color: #941f18; color: #ffffff; }
.rdx-btn--block { width: 100%; }

.rdx-btn--secondary {
    background-color: #eef2f6;
    border-color: #cbd1d8;
    color: #1c1f23;
    flex: 1 1 0;
    padding: 12px 10px;
}
.rdx-btn--secondary:hover,
.rdx-btn--secondary:active { background-color: #dfe4e9; border-color: #cbd1d8; }

/* ---------- layout rytmus ---------- */

.rdx-section { padding: 56px 0; }
.rdx-section--tight { padding: 32px 0; }
.rdx-section--alt { background-color: #f6f7f9; }

.rdx-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.rdx-container--narrow {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}

/*
   Široká varianta kontejneru - zatím používaná pouze na
   redesign/cash-on-delivery.php ("Moje dobírky"), aby tabulka
   mohla využít téměř celou šířku obrazovky. Ostatní stránky
   nadále používají .rdx-container beze změny.
*/
.rdx-container--wide {
    width: 100%;
    max-width: 2400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (max-width: 900px) {
    .rdx-container--wide { padding: 0 24px; }
}

@media (max-width: 600px) {
    .rdx-container--wide { padding: 0 16px; }
}

.rdx-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1e8e4f;
    margin-bottom: 10px;
}

.rdx-page-head { margin-bottom: 28px; }
.rdx-page-head h1 { font-size: 28px; margin: 0 0 8px 0; }
.rdx-page-head p { color: #565b62; margin: 0; }

/* ---------- karty ---------- */

.rdx-card {
    background: #ffffff;
    border: 1px solid #dde1e6;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 32, 0.04), 0 8px 24px rgba(16, 24, 32, 0.06);
}

.rdx-card + .rdx-card { margin-top: 16px; }

/* ---------- upozornění ---------- */

.rdx-alert {
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 14.5px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.rdx-alert--ok {
    background-color: #eaf6ef;
    border-color: #bfe6cf;
    color: #14532d;
}

.rdx-alert--error {
    background-color: #fdecec;
    border-color: #f3c6c3;
    color: #7a221c;
}

/* ---------- formuláře ---------- */

.rdx-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.rdx-form-group { flex: 1 1 220px; min-width: 200px; }
.rdx-form-group--full { flex-basis: 100%; }

.rdx-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #33373d;
    margin-bottom: 6px;
}

.rdx-error-text {
    color: #b3261e;
    font-size: 12.5px;
    font-weight: 600;
    margin-left: 6px;
}

.rdx-input,
.rdx-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #d3d7dc;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1c1f23;
    box-sizing: border-box;
}

.rdx-input:focus,
.rdx-select:focus {
    outline: none;
    border-color: #1e8e4f;
    box-shadow: 0 0 0 3px rgba(30, 142, 79, 0.15);
}

.rdx-hint { font-size: 12.5px; color: #7a7f87; margin-top: 4px; }

.rdx-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 48px 20px;
    border: 1px dashed #d3d7dc;
    border-radius: 12px;
    color: #7a7f87;
    background: #fafbfc;
}
.rdx-empty-state svg { color: #b7bdc4; }
.rdx-empty-state p { margin: 0; font-size: 14.5px; }

.rdx-form-actions {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #eceef1;
}

fieldset.rdx-fieldset {
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 16px;
    margin: 0 0 16px 0;
}

fieldset.rdx-fieldset legend {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6c7178;
    padding: 0 6px;
}

/* ---------- nahrávání fotek (redesign/new-item.php) ---------- */

.rdx-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rdx-photo-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.rdx-photo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.rdx-photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #d3d7dc;
    background: #f6f7f9;
}

.rdx-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rdx-photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 28px;
    height: 28px;
    min-height: 0;
    border-radius: 50%;
    border: none;
    background: rgba(28, 31, 35, 0.65);
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.rdx-photo-remove:hover { background: rgba(179, 38, 30, 0.9); }

.rdx-photo-item-removed img { opacity: 0.3; }
.rdx-photo-item-removed .rdx-photo-remove { background: rgba(30, 142, 79, 0.85); }
.rdx-photo-item-removed .rdx-photo-remove:hover { background: rgba(30, 142, 79, 0.85); }

/* ---------- tabulky ---------- */

.rdx-table-wrap {
    overflow-x: auto;
    border: 1px solid #e7e9ec;
    border-radius: 12px;
}

table.rdx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

table.rdx-table th {
    text-align: left;
    background-color: #f6f7f9;
    color: #4a4f57;
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 12px 14px;
    border-bottom: 1px solid #e7e9ec;
    white-space: nowrap;
}

.rdx-sort-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.rdx-sort-link:hover { color: #1e8e4f; }
.rdx-sort-arrow { font-size: 8px; display: inline-block; }

table.rdx-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eceef1;
    vertical-align: middle;
}

table.rdx-table tbody tr:last-child td { border-bottom: none; }
table.rdx-table tbody tr:hover { background-color: #fafbfc; }

.rdx-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.rdx-badge--ok { background: #eaf6ef; color: #14532d; }
.rdx-badge--pending { background: #fdf3e3; color: #8a5a00; }

/* "Bonita zákazníků" - teploměr poměru zaplaceno/nezaplaceno */
.rdx-bonita {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rdx-bonita-bar {
    height: 8px;
    border-radius: 999px;
    background: #f1e0e0;
    overflow: hidden;
}

.rdx-bonita-bar-fill {
    height: 100%;
    border-radius: 999px;
}

.rdx-bonita-bar-fill--good { background: #1e8e4f; }
.rdx-bonita-bar-fill--mid { background: #c98a1f; }
.rdx-bonita-bar-fill--bad { background: #b3261e; }
.rdx-bonita-bar-fill--none { background: #c7ccd2; }

.rdx-bonita-label { font-size: 12px; font-weight: 700; white-space: nowrap; }
.rdx-bonita-label--good { color: #1e8e4f; }
.rdx-bonita-label--mid { color: #a5690a; }
.rdx-bonita-label--bad { color: #b3261e; }
.rdx-bonita-label--none { color: #7a7f87; }

/* "Přehled" - souhrnné statistické karty */
.rdx-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}

.rdx-stat-card { padding: 18px 20px; }
.rdx-stat-card-label { font-size: 13px; color: #7a7f87; margin-bottom: 6px; }
.rdx-stat-card-value { font-size: 26px; font-weight: 700; color: #1c1f23; line-height: 1.1; }

@media (max-width: 900px) {
    .rdx-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .rdx-stats-grid { grid-template-columns: 1fr; }
}

.rdx-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 6px 12px;
    margin-bottom: 14px;
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    background: #fafbfc;
    font-size: 13px;
    color: #4a4f57;
}

.rdx-pagination__info strong { color: #1c1f23; }

.rdx-pagination__pages {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}

.rdx-pagination__page,
.rdx-pagination__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border-radius: 6px;
    text-decoration: none;
    color: #4a4f57;
    font-size: 13px;
}

.rdx-pagination__page:hover,
.rdx-pagination__nav:hover { background: #eef2f6; color: #1c1f23; }

.rdx-pagination__page--active {
    background: #1e8e4f;
    color: #ffffff;
    font-weight: 700;
}

.rdx-pagination__page--active:hover { background: #1e8e4f; color: #ffffff; }

.rdx-pagination__nav--disabled { color: #c7ccd2; cursor: default; }
.rdx-pagination__nav--disabled:hover { background: none; color: #c7ccd2; }

.rdx-pagination__ellipsis { padding: 0 4px; color: #9aa1a9; }

.rdx-pagination__goto {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rdx-pagination__goto label { white-space: nowrap; }

.rdx-pagination__goto-input {
    width: 48px;
    height: 26px;
    padding: 0 6px;
    text-align: center;
    box-sizing: border-box;
}

.rdx-pagination__goto-btn {
    height: 26px;
    padding: 0 10px;
    font-size: 12.5px;
}

@media (max-width: 600px) {
    .rdx-pagination { justify-content: center; text-align: center; }
    .rdx-pagination__goto { width: 100%; justify-content: center; }
}

.rdx-search-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px 0;
}

/* .rdx-btn--secondary jinde (např. new-item.php) má flex:1 1 0, aby si
   dvě tlačítka rovnoměrně rozdělila řádek - tady (tlačítko "Hledat" a
   odkaz "Zobrazit vše") to nechceme, mají mít jen svou přirozenou šířku. */
.rdx-search-form .rdx-btn { flex: 0 0 auto; }

.rdx-search-form__input {
    flex: 0 1 360px;
    min-width: 200px;
    max-width: 360px;
}

@media (max-width: 600px) {
    .rdx-search-form { flex-direction: column; align-items: stretch; }
    .rdx-search-form__input { flex: 1 1 auto; }
}

.rdx-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e7e9ec;
}

/* ---------- účet: přihlášený layout (sidebar) ---------- */

.rdx-account {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.rdx-account-side {
    flex: 0 0 220px;
    background: #f6f7f9;
    border: 1px solid #e7e9ec;
    border-radius: 12px;
    padding: 16px;
    position: sticky;
    top: 20px;
}

.rdx-account-side h4 {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #7a7f87;
    margin: 14px 6px 8px 6px;
}

.rdx-account-side h4:first-child { margin-top: 4px; }

.rdx-account-side a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #33373d;
    font-size: 14px;
    font-weight: 600;
}

.rdx-account-side a svg { flex: 0 0 auto; width: 16px; height: 16px; }

.rdx-account-side a:hover { background: #eceef1; }
.rdx-account-side a.rdx-active { background: #1e8e4f; color: #ffffff; }

.rdx-account-submenu {
    list-style: none;
    margin: 0 0 4px 0;
    padding: 0 0 0 34px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rdx-account-submenu a {
    display: block;
    padding: 6px 10px;
    border-radius: 6px;
    color: #565b62;
    text-decoration: none;
    font-size: 13.5px;
}
.rdx-account-submenu a:hover { background: #eceef1; color: #1c1f23; }
.rdx-account-submenu a.rdx-active { background: #eaf6ef; color: #1e8e4f; font-weight: 700; }

.rdx-settings-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 4px;
    border-bottom: 1px solid #eceef1;
    color: #1c1f23;
    text-decoration: none;
    font-size: 15px;
}
.rdx-settings-link:last-child { border-bottom: none; }
.rdx-settings-link:hover { color: #1e8e4f; }
.rdx-settings-link-icon { display: flex; flex: 0 0 auto; color: #7a7f87; }
.rdx-settings-link:hover .rdx-settings-link-icon { color: #1e8e4f; }

.rdx-account-main { flex: 1 1 auto; min-width: 0; }

.rdx-account-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e7e9ec;
    flex-wrap: wrap;
    gap: 10px;
}

.rdx-account-topbar h1 { font-size: 22px; margin: 0; }

.rdx-account-user {
    font-size: 13.5px;
    color: #565b62;
}

.rdx-account-user strong { color: #1c1f23; }

/* ---------- patička ---------- */

.rdx-footer {
    background-color: #f2f3f5;
    border-top: 1px solid #e7e9ec;
    padding: 44px 0 24px 0;
    margin-top: 40px;
}

.rdx-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rdx-footer h6 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c7178;
    margin: 0 0 12px 0;
}

.rdx-footer a {
    display: block;
    color: #33373d;
    font-size: 14px;
    padding: 4px 0;
}

.rdx-footer a:hover { color: #1e8e4f; }

.rdx-footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e2e4e8;
    font-size: 13px;
    color: #7a7f87;
    text-align: center;
}

/* ---------- responsivita ---------- */

@media (max-width: 900px) {
    .rdx-account { flex-direction: column; }
    .rdx-account-side { position: static; width: 100%; flex-basis: auto; }
    .rdx-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .rdx-btn { width: 100%; }
    .rdx-nav { width: 100%; justify-content: flex-start; }
    .rdx-footer-grid { grid-template-columns: 1fr; }
}

/* ==============================================================
   Homepage 2.0 - komponenty pro marketingovou prezentaci
   (hero, kroky, flow diagram, FAQ, segmenty e-shopů...)
   Vše dál v prefixu "rdx-", navazuje na existující design systém.
   ============================================================== */

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

.rdx-hero {
    background: linear-gradient(180deg, #20242a 0%, #2b2f36 100%);
    color: #ffffff;
    padding: 76px 0 64px 0;
}

/* Bezpečnostní pravidlo: nadpisy přímo v .rdx-hero (i mimo .rdx-hero-copy,
   např. na redesign/odkup-pohledavek.php) musí být vždy bílé - jinak je
   přebije obecné tmavé ".rdx h1" pravidlo a na tmavém pozadí zmizí. */
.rdx-hero h1,
.rdx-hero h2,
.rdx-hero h3 {
    color: #ffffff;
}

.rdx-hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 44px;
    align-items: center;
}

.rdx-hero-copy { flex: 1 1 520px; }

.rdx-hero-copy h1 {
    color: #ffffff;
    font-size: 42px;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.rdx-hero-lead {
    color: #c9cdd3;
    font-size: 18px;
    max-width: 560px;
    margin: 0 0 28px 0;
}

.rdx-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.rdx-hero-ways {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.rdx-hero-way {
    font-size: 12.5px;
    font-weight: 600;
    color: #d7dadf;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 6px 12px;
    border-radius: 999px;
}

.rdx-hero-panel {
    flex: 0 1 340px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    padding: 26px;
}

.rdx-hero-panel-label { font-size: 13px; color: #a9afb6; margin-bottom: 6px; }
.rdx-hero-panel-value { font-size: 30px; font-weight: 700; margin-bottom: 16px; }

.rdx-hero-panel-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: #c9cdd3;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rdx-hero-panel-row strong { color: #ffffff; }

/* ---------- nadpis sekce vystředěný ---------- */

.rdx-page-head--center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 36px auto;
}

/* ---------- obecné grid helpery ---------- */

.rdx-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rdx-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rdx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* uvnitř mřížek řeší rozestup mezi kartami "gap", takže dědění
   ".rdx-card + .rdx-card" mezery (určené pro svislé sloupce karet)
   ruší - jinak se karty kromě první v řádku posunou dolů */
.rdx-grid-2 > .rdx-card + .rdx-card,
.rdx-grid-3 > .rdx-card + .rdx-card,
.rdx-grid-4 > .rdx-card + .rdx-card {
    margin-top: 0;
}

/* ---------- náklady na nepřevzatou dobírku ---------- */

.rdx-cost-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 16px 18px;
}

.rdx-cost-icon {
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fdecec;
    color: #b3261e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

.rdx-cost-item strong { display: block; font-size: 14.5px; color: #1c1f23; margin-bottom: 2px; }
.rdx-cost-item p { margin: 0; font-size: 14px; color: #4a4f57; }

.rdx-callout {
    margin-top: 28px;
    padding: 18px 22px;
    border-radius: 12px;
    background: #eaf6ef;
    border: 1px solid #bfe6cf;
    color: #14532d;
    font-size: 15px;
    font-weight: 600;
}

/* ---------- číslované kroky ---------- */

.rdx-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1e8e4f;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 14px;
}

/* karta s číslem nahoře uprostřed a textem pod ním */
.rdx-step-card {
    text-align: center;
}

/* ---------- flow diagram (e-shop -> NeatGravity) ---------- */

.rdx-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 32px 0;
}

.rdx-flow-step {
    background: #ffffff;
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1c1f23;
    text-align: center;
    min-width: 130px;
}

.rdx-flow-arrow { color: #9aa0a8; font-size: 20px; padding: 0 4px; }

/* ---------- způsoby napojení / integrace ---------- */

.rdx-method-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.rdx-method {
    background: #ffffff;
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    color: #33373d;
    font-weight: 600;
}

.rdx-method span { display: block; font-size: 12px; font-weight: 400; color: #7a7f87; margin-top: 4px; }

.rdx-badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.rdx-platform-badge {
    font-size: 13px;
    font-weight: 600;
    color: #4a4f57;
    background: #f6f7f9;
    border: 1px dashed #d3d7dc;
    padding: 8px 14px;
    border-radius: 8px;
}

/* ---------- segmenty podle velikosti e-shopu ---------- */

.rdx-segment-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1e8e4f;
    background: #eaf6ef;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.rdx-segment-arrow { margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #1c1f23; }

/* ---------- statistiky v řadě ---------- */

.rdx-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.rdx-stat-strip-value { font-size: 30px; font-weight: 700; color: #1c1f23; }
.rdx-stat-strip-label { font-size: 13.5px; color: #6c7178; margin-top: 4px; }

/* ---------- FAQ akordeon (nativní <details>, bez JS) ---------- */

.rdx-faq-item {
    border: 1px solid #e7e9ec;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #ffffff;
}

.rdx-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-weight: 700;
    font-size: 15px;
    color: #1c1f23;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.rdx-faq-item summary::-webkit-details-marker { display: none; }
.rdx-faq-item summary::after { content: "+"; font-size: 20px; color: #7a7f87; font-weight: 400; }
.rdx-faq-item[open] summary::after { content: "\2013"; }

.rdx-faq-item .rdx-faq-body {
    padding: 0 18px 16px 18px;
    font-size: 14.5px;
    color: #565b62;
}

/* ---------- sjednocený seznam s ikonou zaškrtnutí ----------
   Nahrazuje obyčejné odrážky (•) ve výhodách, aby držely stejný
   vizuální jazyk jako karty nákladů/kroků/důvodů. */

.rdx-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rdx-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: #33373d;
    line-height: 1.5;
    padding: 7px 0;
}

.rdx-check-list li::before {
    content: "\2713";
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #eaf6ef;
    color: #1e8e4f;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ---------- reference ---------- */

.rdx-testimonials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.rdx-testimonial-quote {
    font-size: 30px;
    line-height: 1;
    color: #1e8e4f;
    display: block;
    margin-bottom: 8px;
}

.rdx-testimonial p {
    font-size: 15px;
    color: #3a3e44;
    font-style: italic;
    margin: 0 0 16px 0;
}

.rdx-testimonial-author { font-size: 14px; font-weight: 700; color: #1c1f23; }
.rdx-testimonial-role { font-size: 13px; color: #6c7178; }

/* ---------- responsivita nových bloků ---------- */

@media (max-width: 900px) {
    .rdx-hero-copy h1 { font-size: 32px; }
    .rdx-grid-2, .rdx-grid-3, .rdx-grid-4, .rdx-method-list, .rdx-stat-strip, .rdx-testimonials {
        grid-template-columns: 1fr;
    }
    .rdx-flow { flex-direction: column; }
    .rdx-flow-arrow { transform: rotate(90deg); }
}
