/* ==========================================================================
   b-account.css – účet, přihlášení, registrace, heslo, newsletter, reklamace,
   chybové stránky, textové stránky, prodejny.
   Závisí na b-base.css (tokeny, tlačítka, formuláře). Ostré hrany, žádné stíny.
   ========================================================================== */

/* ---------- stránka ---------- */
.account-page { padding-top: 8px; padding-bottom: 72px; }
.account-page__breadcrumb { padding: 12px 0 20px; }

.account-eyebrow {
    display: block;
    margin: 0 0 8px;
    color: var(--b-alt);
    font-size: 1rem;
    font-weight: 500;
    font-stretch: 125%;
    line-height: 1.25;
    text-transform: uppercase;
}
.account-eyebrow--light { color: #fff; opacity: .8; }

.account-hero { max-width: 1200px; margin: 0 auto; }
.account-hero__intro { max-width: 720px; margin: 0 0 32px; }
.account-hero__intro h1 { margin: 0 0 12px; }
.account-hero__intro p { margin: 0; color: var(--b-alt); }

/* karta + modrý panel s výhodami */
.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
    gap: 24px;
}
.account-grid--password, .account-grid--recovery, .account-grid--registration { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.account-card {
    padding: 32px;
    border: 1px solid var(--b-line);
    background: #fff;
}
.account-card--narrow { max-width: 640px; margin: 0 auto; }
.account-card__header { margin: 0 0 24px; padding: 0 0 20px; border-bottom: 1px solid var(--b-line); }
.account-card__header h2, .account-card__title { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.account-card__header p { margin: 0; color: var(--b-alt); font-size: .875rem; line-height: 20px; }
h1.account-card__title { font-size: 1.5rem; }
.account-step {
    display: block;
    margin: 0 0 8px;
    color: var(--b-alt);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    line-height: 16px;
    text-transform: uppercase;
}

.account-benefits {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--b-blue);
    color: #fff;
}
.account-benefits__mark {
    position: absolute;
    right: 24px;
    top: 8px;
    color: #fff;
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    opacity: .08;
    user-select: none;
}
.account-benefits__content { position: relative; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.account-benefits h2 { margin: 0 0 12px; color: #fff; font-size: 1.5rem; }
.account-benefits p { margin: 0 0 16px; color: #fff; }
.account-benefits__list, .account-recovery-steps { margin: 0 0 28px; padding: 0; list-style: none; }
.account-benefits__list li {
    position: relative;
    padding: 8px 0 8px 28px;
    border-top: 1px solid rgba(255,255,255,.25);
    color: #fff;
}
.account-benefits__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.account-benefits__list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 14px;
    width: 12px;
    height: 7px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.account-recovery-steps { counter-reset: step; }
.account-recovery-steps li { position: relative; padding: 10px 0 10px 44px; border-top: 1px solid rgba(255,255,255,.25); color: #fff; counter-increment: step; }
.account-recovery-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.account-recovery-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--b-blue);
    font-size: .875rem;
    font-weight: 700;
    line-height: 28px;
    text-align: center;
}
.account-benefits .btn,
.account-benefits .btn-primary { margin-top: auto; background: #fff; color: var(--b-ink); }
.account-benefits .btn:hover,
.account-benefits .btn-primary:hover { box-shadow: 6px 6px 0 -3px var(--b-blue-dark), 6px 6px 0 0 #fff; color: var(--b-ink); }
.account-benefits a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.account-benefits__login { margin-top: auto; padding-top: 12px; font-size: .875rem; }
.account-benefits__login span { margin-right: 8px; opacity: .85; }
.account-benefits__login a { font-weight: 700; }

/* ---------- formulář ---------- */
.account-form { display: block; }
.account-field { position: relative; margin: 0 0 20px; }
.account-field > label { display: block; margin: 0 0 6px; font-size: .875rem; font-weight: 500; }
.account-field .form-control, .account-field .form-select { width: 100%; }
.account-field .field-validation-error { display: block; margin-top: 4px; }
.fld-wrap, .pw-wrap { position: relative; display: block; }
.pw-wrap .form-control { padding-right: 52px; }
.pw-toggle {
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--b-alt);
    cursor: pointer;
}
.pw-toggle:hover, .pw-toggle.is-on { color: var(--b-ink); }
.pw-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
.pw-meter { display: flex; gap: 4px; margin: 8px 0 0; }
.pw-meter i { flex: 1; height: 4px; background: var(--b-line); }
.pw-meter[data-level="1"] i:nth-child(-n+1) { background: var(--b-red); }
.pw-meter[data-level="2"] i:nth-child(-n+2) { background: #b86e00; }
.pw-meter[data-level="3"] i:nth-child(-n+3) { background: #1f7a3e; }
.pw-meter[data-level="4"] i { background: #1f7a3e; }

.account-form__meta { margin: -8px 0 20px; font-size: .875rem; }
.account-form__meta a, .account-status__link, .account-consent a, .account-form a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.account-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 8px 0 0; }
.account-form__actions .btn { min-width: 190px; }
.account-form > .account-form__actions .btn-primary { width: 100%; }

.account-consent { display: grid; grid-template-columns: 18px 1fr; gap: 12px; margin: 0 0 20px; font-size: .875rem; }
.account-consent__control { padding-top: 3px; }
.account-consent label { margin: 0; font-weight: 400; }
.account-consent__validation { grid-column: 2; }
.account-consent__control .form-check-input { margin: 0; }

.account-validation-summary { margin: 16px 0 0; }
.validation-summary-errors, .account-validation-summary.validation-summary-errors {
    margin: 16px 0 0;
    padding: 12px 16px;
    border: 1px solid var(--b-red);
    background: #fdecee;
    color: #8a0b20;
    font-size: .875rem;
}
.validation-summary-errors ul { margin: 0; padding: 0; list-style: none; }
.validation-summary-errors li { margin: 2px 0; }
.validation-summary-errors a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.validation-summary-valid { display: none; }

/* sociální přihlášení */
.account-social { margin: 28px 0 0; }
.account-divider { position: relative; margin: 0 0 16px; text-align: center; }
.account-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--b-line); }
.account-divider span { position: relative; padding: 0 12px; background: #fff; color: var(--b-alt); font-size: .875rem; }
.account-social .fb { width: 100%; gap: 10px; }

/* stavové stránky */
.account-status { max-width: 640px; margin: 24px auto 0; padding: 48px 32px; border: 1px solid var(--b-line); background: #fff; text-align: center; }
.account-status__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 0 20px; border: 2px solid var(--b-ink); }
.account-status__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--b-ink); stroke-width: 1.6; stroke-linejoin: miter; stroke-linecap: square; }
.account-status--ok .account-status__icon { border-color: #1f7a3e; }
.account-status--ok .account-status__icon svg { stroke: #1f7a3e; }
.account-status h1 { margin: 0 0 12px; }
.account-status__text { margin: 0 0 8px; }
.account-status__hint { margin: 0 0 24px; color: var(--b-alt); font-size: .875rem; }
.account-status .account-form__actions { justify-content: center; }

.account-message { max-width: 720px; margin: 24px auto 0; padding: 40px 32px; border: 1px solid var(--b-line); background: #fff; text-align: center; }
.account-message__title { margin: 0 0 16px; }
.account-message .btn { margin: 8px 6px 0; }

/* ---------- chybové stránky ---------- */
.account-error { max-width: 640px; margin: 0 auto; padding: 80px 0 40px; text-align: center; }
.account-error__code { display: block; margin: 0 0 12px; color: var(--b-alt); font-size: 1rem; font-weight: 500; font-stretch: 125%; letter-spacing: .04em; }
.account-error h1 { margin: 0 0 12px; font-size: 2rem; }
.account-error p { margin: 0 0 28px; color: var(--b-alt); }

/* ---------- můj účet ---------- */
.account-profile { margin: 0; padding: 0; }
.account-profile .menu-box { padding: 0 24px 0 0; }
.account-profile .menu-box .nav { padding: 0; }
.account-profile .nav-pills .nav-link {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid var(--b-line);
    background: none;
    color: var(--b-ink);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.account-profile .nav-pills .nav-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-profile .nav-pills .nav-link.active { background: none; color: var(--b-ink); border-bottom: 3px solid var(--b-ink); padding-bottom: 12px; }
.account-profile__toggle { justify-content: space-between; width: 100%; }
.account-profile .dropdown { margin: 0 0 24px; padding: 0; }
.account-profile .dropdown .row { margin: 0; }
.account-profile .dropdown-menu { width: 100%; }
.account-profile .tab-content > .tab-pane { padding-bottom: 32px; }
.account-profile h2 { margin: 0 0 8px; font-size: 1.25rem; }
.account-profile h4, .account-profile .panel-header h4 { margin: 24px 0 8px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.account-profile .panel-header { text-align: left !important; }
.account-profile .form-section { padding: 0; }
.account-profile .form-section > .col-md-12 { padding: 0; }
.account-profile label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 6px; }
.account-profile .form-control:disabled { background: var(--b-panel); color: var(--b-alt); }
.account-profile .form-checbox, .account-profile #showShippingAddress { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; accent-color: var(--b-ink); }
.account-profile .reg-email { margin-bottom: 12px; font-size: .875rem; }
.account-profile .new-form-div { margin-bottom: 8px; }
.account-profile #success-reg { margin: 0; }
.account-profile .col-sm-6 .btn { max-width: 100%; }
.account-subcard { padding: 0; }
.account-subcard .user-form { padding: 0; }

/* ---------- přihlášení při objednávce (PrihlaseniObj) ---------- */
.hc-auth-lead { max-width: 720px; margin: 0 0 24px; color: var(--b-alt); }
.hc-auth-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.hc-auth-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--b-line); background: #fff; }
.hc-auth-card--main { border: 2px solid var(--b-ink); }
.hc-auth-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 16px; border: 1px solid var(--b-line); }
.hc-auth-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--b-ink); stroke-width: 1.5; stroke-linecap: square; }
.hc-auth-title { margin: 0 0 8px; font-size: 1.25rem; }
.hc-auth-text { margin: 0 0 20px; color: var(--b-alt); font-size: .875rem; line-height: 20px; }
.hc-auth-guest-note { margin: 0 0 20px; font-size: .875rem; }
.hc-auth-list { margin: 0 0 24px; padding: 0; list-style: none; }
.hc-auth-list li { position: relative; padding: 6px 0 6px 24px; font-size: .875rem; }
.hc-auth-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 11px; height: 6px; border-left: 2px solid var(--b-ink); border-bottom: 2px solid var(--b-ink); transform: rotate(-45deg); }
.hc-auth-meta { margin: -8px 0 16px; font-size: .875rem; }
.hc-auth-meta a { text-decoration: underline; text-underline-offset: 3px; }
.hc-auth-cta { margin-top: auto; }
.hc-auth-social { margin-top: 20px; }
.hc-auth-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 50px; padding: 0 20px;
    border: 3px solid var(--b-ink); border-radius: 0;
    font-family: var(--b-font); font-size: 16px; font-weight: 700; letter-spacing: .64px; line-height: 1;
    text-transform: uppercase; text-decoration: none; cursor: pointer;
    transition: box-shadow .2s ease-in-out;
}
.hc-auth-btn--solid { background: var(--b-ink); color: #fff; }
.hc-auth-btn--ghost { background: #fff; color: var(--b-ink); }
.hc-auth-btn:hover, .hc-auth-btn:focus-visible { box-shadow: 6px 6px 0 -3px #fff, 6px 6px 0 0 var(--b-ink); }
.hc-auth-btn--solid:hover { color: #fff; }
.hc-auth-btn--ghost:hover { color: var(--b-ink); }

@media (max-width: 991px) {
    .account-grid, .account-grid--password, .account-grid--recovery, .account-grid--registration { grid-template-columns: minmax(0, 1fr); }
    .hc-auth-grid { grid-template-columns: minmax(0, 1fr); }
    .account-profile .menu-box { padding-right: 0; }
}
@media (max-width: 575px) {
    .account-card, .account-benefits { padding: 24px 16px; }
    .account-status, .account-message { padding: 32px 16px; }
    .account-form__actions .btn { width: 100%; }
    .account-error { padding-top: 40px; }
}

/* ---------- tabulky ve stránkách účtu ---------- */
.reclamation-overview { margin: 0 0 16px; }
.reclamation-overview .table, .account-profile .table { font-size: .875rem; }
.reclamation-overview th, .account-profile .table th {
    padding: 10px 12px;
    border-bottom: 2px solid var(--b-ink);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
}
.reclamation-overview td { padding: 12px; }
.reclamation-overview a { text-decoration: underline; text-underline-offset: 3px; }
.reclamation-overview .c { text-align: center; }

/* ==========================================================================
   Reklamace – formulář (původně inline <style> v Reklamace/Nova.cshtml)
   ========================================================================== */
.reclamation-page { padding-top: 8px; padding-bottom: 72px; }
.reclamation-page h1 { margin: 24px 0 16px; text-align: center; }

#NewReclamationForm { display: block; max-width: 680px; margin: 0 auto; padding: 0; }
#NewReclamationForm > * { padding-left: 0; padding-right: 0; }
#NewReclamationForm .col-lg-6 { flex: none; width: 100%; max-width: 100%; }
#NewReclamationForm .offset-lg-3 { margin-left: 0; }
#NewReclamationForm label:not(.red-radio):not(.label-chbx) { display: inline-block; margin: 0 0 6px; font-size: .875rem; font-weight: 500; }
#NewReclamationForm .form-control, #NewReclamationForm .form-select { width: 100%; }
#NewReclamationForm .mt-50 { margin-top: 32px; }
#NewReclamationForm .alert { font-size: .875rem; }
#NewReclamationForm .alert ul { margin: 0; padding-left: 18px; }
#NewReclamationForm .text-muted { display: block; margin: 0 0 8px; color: var(--b-alt) !important; font-size: .8125rem; }
#NewReclamationForm .btn-lg { height: 50px; font-size: 16px; }
#NewReclamationForm .row > .col-12 { padding-left: 0; padding-right: 0; }

/* stavy polí (nastavuje JS: is-valid / is-invalid) */
#NewReclamationForm .form-control.is-valid { border-color: var(--b-ink); box-shadow: none; background-image: none; }
#NewReclamationForm .form-control.is-invalid { border-color: var(--b-red); box-shadow: 0 0 0 1px var(--b-red); background-image: none; }
#NewReclamationForm select.form-select.is-valid, #NewReclamationForm select.form-select.is-invalid { background-image: none; }
.field-status-icon { flex: none; min-width: 1.5rem; text-align: center; font-weight: 700; }
.field-status-icon.text-success { color: #1f7a3e !important; }

/* select s vlastní šipkou */
#NewReclamationForm select.form-select,
.account-profile select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 44px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%230e131f' stroke-linecap='square' stroke-width='2' d='m3 6 5 5 5-5'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px 14px;
    cursor: pointer;
}
#NewReclamationForm select.form-select:focus { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23003789' stroke-linecap='square' stroke-width='2' d='m3 6 5 5 5-5'/%3e%3c/svg%3e"); }
#NewReclamationForm select.form-select:required:invalid,
#NewReclamationForm select.form-select.is-placeholder { color: var(--b-alt); }
#NewReclamationForm select.form-select option { color: var(--b-ink); background: #fff; }
#NewReclamationForm select.form-select option[value=""] { color: var(--b-alt); }
#NewReclamationForm select.form-select:disabled { background-color: var(--b-panel); color: var(--b-alt); cursor: not-allowed; }

/* kroky */
.rk-steps { margin: 0 0 28px; padding: 0; }
.rk-steps-list { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--b-line); }
.rk-steps-list li {
    display: flex; flex: 1; align-items: center; gap: 10px;
    padding: 0 0 14px;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    color: var(--b-alt);
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.rk-no {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--b-line); color: var(--b-ink);
    font-size: .875rem; font-weight: 700; line-height: 1;
}
.rk-steps-list li.is-current { border-bottom-color: var(--b-blue); color: var(--b-ink); }
.rk-steps-list li.is-current .rk-no { background: var(--b-blue); color: #fff; }
.rk-steps-list li.is-done { color: var(--b-ink); }
.rk-steps-list li.is-done .rk-no { background: var(--b-ink); color: #fff; }

/* blok produkt / objednávka */
.validation-block { padding: 20px; border: 1px solid var(--b-line); background: #fff; }
.validation-block.valid { border-color: var(--b-ink); }
.validation-block.invalid { border-color: var(--b-red); }
#ProductBlockStatus { font-weight: 700; }
#autocomplete-spinner:empty { display: none; }

/* přepínač "hledat podle" – vlastní radio (input je skrytý, vzhled dělá label.red-radio) */
.custom-radio { cursor: pointer; }
.radio-container { align-items: center; margin-right: 10px; }
#NewReclamationForm .red-radio {
    position: relative; display: inline-block; flex: none;
    width: 20px; height: 20px; margin: 0; cursor: pointer;
    border: 1px solid var(--b-ink); border-radius: 50%; background: #fff;
}
#NewReclamationForm .red-radio::after { content: ""; position: absolute; left: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
#NewReclamationForm input.custom-radio:checked + .red-radio::after { background: var(--b-ink); }
#NewReclamationForm input.custom-radio:focus-visible + .red-radio { outline: 2px solid var(--b-blue); outline-offset: 2px; }

/* vybrané produkty */
.selected-product {
    display: flex; align-items: center;
    margin: 0 0 8px; padding: 10px 14px;
    border: 1px solid var(--b-ink); background: #fff;
    font-size: .875rem; cursor: pointer;
}
.selected-product svg { flex: none; color: var(--b-red); }
.selected-product:hover { background: var(--b-panel); }

/* zamčené kroky (po potvrzení kroku 1) */
#step1Container.step1-locked { opacity: .95; }
#step1Container.step1-locked input:not([type="hidden"]),
#step1Container.step1-locked select,
#step1Container.step1-locked textarea,
#step1Container.step1-locked button,
#step1Container.step1-locked .selected-product,
#productBlock.product-block-locked input,
#productBlock.product-block-locked select,
#productBlock.product-block-locked textarea,
#productBlock.product-block-locked button,
#productBlock.product-block-locked .selected-product { pointer-events: none; }

/* modaly s výběrem objednávky / produktu */
#objModal .modal-body, #proModal .modal-body { padding: 24px; }
#objModal .spinner-border, #proModal .spinner-border, .reclamation-page .spinner-border { width: 2rem; height: 2rem; border-width: 3px; color: var(--b-ink); }
#objModal .modal-footer, #proModal .modal-footer { gap: 12px; }
#objModal .modal-footer a, #proModal .modal-footer a { text-decoration: underline; text-underline-offset: 3px; }
#objModal .modal-footer .btn, #proModal .modal-footer .btn { min-width: 0; margin: 0; }

/* tabulka položek v modalu (NovaFakturaPartial) */
.fakturyTable { font-size: .875rem; }
.fakturyTable th { font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid var(--b-ink); }
.fakturyTable td { vertical-align: middle; }
.fakturyTable.table-striped > tbody > tr:nth-of-type(odd) > * { background: var(--b-panel); color: var(--b-ink); }
.fakturyTable input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--b-ink); cursor: pointer; }
.fakturyTable label.label-chbx { display: none; }
.fakturyTable tr.rek-item { cursor: default; }
.partial-fullname, .partial-city, .partial-street, .partial-postalcode, .partial-country { margin: 0 0 8px; }
#objModalContent .bold, #proModalContent .bold { font-weight: 700; }
#objModalContent .alert, #proModalContent .alert { font-size: .875rem; }

/* jQuery UI našeptávač produktů */
.ui-autocomplete { z-index: 2000; max-height: 280px; overflow-y: auto; border: 1px solid var(--b-line); border-radius: 0; background: #fff; box-shadow: 0 4px 12px rgba(14,19,31,.12); font-family: var(--b-font); font-size: .875rem; }
.ui-menu-item .ui-menu-item-wrapper { padding: 8px 14px; border: 0; }
.ui-state-active, .ui-menu .ui-state-active { margin: 0; border: 0; border-radius: 0; background: var(--b-cream); color: var(--b-ink); }

/* detail reklamace */
.reclamation-detail { max-width: 800px; padding-top: 24px; }
.reclamation-detail h2 { margin: 24px 0 24px; font-size: 1.5rem; }
.reclamation-detail form { display: block; }
.reclamation-detail .form-group.row { display: flex; margin: 0; padding: 14px 0; border-bottom: 1px solid var(--b-line); }
.reclamation-detail .form-group.row:first-of-type { border-top: 1px solid var(--b-line); }
.reclamation-detail .control-label { margin: 0; color: var(--b-alt); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.reclamation-detail .alert .btn { margin-top: 16px; }
.rk-pre { white-space: pre-line; }

/* ==========================================================================
   Textové stránky (Text/Detail, ContactUs, info lišta)
   ========================================================================== */
#detail-text { padding-top: 24px; padding-bottom: 72px; }
#detail-text .box { padding: 0; border: 0; background: none; }
#detail-text h1 { margin: 0 0 24px; }
#detail-text .text { max-width: 820px; }
#detail-text .text > :last-child { margin-bottom: 0; }
#detail-text .text p, #detail-text .text ul, #detail-text .text ol { margin: 0 0 1em; }
#detail-text .text ul, #detail-text .text ol { padding-left: 1.4em; }
#detail-text .text h2 { margin: 1.6em 0 .6em; }
#detail-text .text h3 { margin: 1.4em 0 .5em; }
#detail-text .text a { text-decoration: underline; text-underline-offset: 3px; }
#detail-text .text img, #detail-text .text iframe, #detail-text .text video { max-width: 100%; height: auto; }
#detail-text .text table { width: 100%; margin: 0 0 1.2em; font-size: .875rem; }
#detail-text .text .table > :not(caption) > * > * { padding: 10px 12px; }
#detail-text .text .table-striped > tbody > tr:nth-of-type(odd) > * { background: var(--b-panel); color: var(--b-ink); }
#detail-text .text-menu-container { margin: 0 0 24px; padding-right: 24px; }
.novinky-akce-items .text-menu-container { padding: 0; }
.novinky-akce-item a, .novinky-akce-aktivni a { display: block; padding: 12px 0; border-bottom: 1px solid var(--b-line); }
.novinky-akce-item h5, .novinky-akce-aktivni h5 { margin: 0; font-size: .875rem; font-weight: 500; line-height: 20px; }
.novinky-akce-item a:hover h5 { text-decoration: underline; text-underline-offset: 3px; }
.novinky-akce-aktivni a { border-bottom: 3px solid var(--b-ink); padding-bottom: 10px; }
.novinky-akce-aktivni h5, .novinky-akce-items h5.selected { font-weight: 800; }
.novinky-akce-items .text-container { margin: 0 !important; }

.info-banner {
    display: flex; align-items: center; justify-content: center;
    width: 100%; min-height: 40px; padding: 8px 48px;
    background: var(--b-teal); color: var(--b-ink);
    font-size: .875rem; line-height: 20px; text-align: center;
    transition: transform .3s ease;
}
.info-banner.hidden { transform: translateY(-100%); }
.info-banner p { margin: 0; }
.info-banner a { color: var(--b-ink); text-decoration: underline; text-underline-offset: 3px; }
.info-banner .btn-close { opacity: .8; }

.contact-us-container { max-width: 760px; margin: 0 auto; padding: 24px 0 72px; }
.contact-us-container h1 { margin: 0 0 16px; text-align: center; }
.contact-us-container h2 { margin: 40px 0 16px; }
.contact-us-container .center-text { text-align: center; }
.contact-us-container .bold { font-weight: 700; }
.contact-us-container .form-row { display: flex; flex-wrap: wrap; gap: 0 16px; }
.contact-us-container .form-row > .form-group { flex: 1 1 280px; }
.contact-us-container .form-group { margin: 0 0 16px; }
.contact-us-container label { display: block; margin: 0 0 6px; }
.contact-us-container .center-text .btn { margin-top: 8px; }
.star { color: var(--b-red); }

/* ==========================================================================
   Prodejny
   ========================================================================== */
#stores, #store-detail { padding-top: 8px; padding-bottom: 72px; }
#stores .box, #store-detail .box { padding: 0; border: 0; background: none; }
#stores h2.page-title, #store-detail h2 { margin: 16px 0 20px; font-size: 1.5rem; }
#stores h3 { margin: 32px 0 12px; font-size: 1.25rem; }
#stores .search-store { display: flex; gap: 0; margin: 0 0 12px; flex-wrap: nowrap; }
#stores .search-store .form-control { flex: 1; }
#stores .search-store .input-group-btn { display: flex; }
#stores .search-store .btn { min-width: 0; height: 48px; }
.all-stores-link { display: inline-block; margin: 0 0 24px; text-decoration: underline; text-underline-offset: 3px; }
.map-filters { margin: 0 0 16px; }
.map-filters .filter-item { padding: 8px 0; font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; }
.map-filters .filter-item a { color: var(--b-ink); }
.map-filters .filter-item:hover { text-decoration: underline; text-underline-offset: 3px; }
.map-filters .green-text { color: var(--b-blue); }
#stores-map, #store-map { width: 100%; height: 520px; background: var(--b-tile); }
#store-map { height: 420px; }
.stores-chains-and-online { margin: 32px 0 0; font-size: .875rem; }
.seller-logo-link { display: block; max-width: 140px; max-height: 56px; margin: 0 0 16px; object-fit: contain; }

#search-result, #store-filter { margin: 0 0 24px; }
.filtered-stores .store-item { margin: 0 0 8px; padding: 16px 0; border-top: 1px solid var(--b-line); font-size: .875rem; line-height: 20px; }
.store-title { margin: 0 0 4px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.store-link a, .store-detail-www { text-decoration: underline; text-underline-offset: 3px; }
.store-item .icon { margin-top: 4px; }
.store-item .icon .fa { width: 20px; color: var(--b-alt); }
.show-on-map { min-width: 0; height: 40px; margin: 0 0 8px; padding: 0 16px; font-size: 13px; }
.filtered-stores .filter .form-check { margin: 0 0 8px; }
.filtered-stores .filter-btn { margin-top: 12px; }
#slider-menu .filter-item { text-transform: none; font-weight: 500; }

/* stránkování prodejen (li s onclick) */
.pagination-container { margin: 16px 0; }
.pagination-container .pagination { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pagination-container .pagination > li {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--b-line); background: #fff; color: var(--b-ink);
    font-size: .875rem; cursor: pointer;
}
.pagination-container .pagination > li > a, .pagination-container .pagination > li > span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 0 10px; color: inherit; }
.pagination-container .pagination > li.active { background: var(--b-ink); border-color: var(--b-ink); color: #fff; }
.pagination-container .pagination > li.disabled { border-color: transparent; cursor: default; }
.pagination-container .pagination > li.hidden { display: none; }
.pagination-container .pagination > li:not(.active):not(.disabled):hover { border-color: var(--b-ink); }

#stores .table, #stores .table-striped { font-size: .875rem; }
#stores .table-striped > tbody > tr:nth-of-type(odd) > * { background: var(--b-panel); color: var(--b-ink); }
#stores td a { text-decoration: underline; text-underline-offset: 3px; }
