
/* =========================================================
   CATEGORY PAGES
   ========================================================= */

.category-page {
    padding-bottom: 80px;
}

.category-hero {
    padding: 58px 0 40px;
    background: linear-gradient(180deg, rgba(15, 29, 73, 0.92) 0%, rgba(19, 38, 95, 0.9) 100%);
}

.category-hero .topcat {
    display: none;
}

.category-hero__content {
    max-width: 760px;
}

.category-hero__eyebrow,
.product-detail__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.category-hero__eyebrow {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(180, 202, 247, 0.42);
    padding: 8px 14px;
    border-radius: 999px;
}

.product-detail__eyebrow {
    color: #1d367a;
    background: #eaf1ff;
    border: 1px solid #c9dbfb;
    padding: 8px 14px;
    border-radius: 999px;
}

.category-hero h1 {
    margin: 0 0 20px;
    font-size: 48px;
    line-height: 1.1;
    color: #fff;
}

.category-hero p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.category-hero__actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.category-anchor-nav {
    position: sticky;
    top: 88px;
    z-index: 920;
    padding: 8px 0 2px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.anchor-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 14px;
    border: 1px solid rgba(166, 194, 252, 0.5);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.98);
    background: linear-gradient(180deg, rgba(22, 39, 91, 0.62) 0%, rgba(19, 34, 81, 0.52) 100%);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 16px rgba(8, 17, 45, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.anchor-nav a:hover {
    border-color: rgba(180, 205, 255, 0.9);
    background: linear-gradient(180deg, rgba(30, 52, 118, 0.74) 0%, rgba(24, 45, 107, 0.64) 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(8, 18, 46, 0.28);
}

.category-intro {
    padding: 40px 0 30px;
}

.category-intro__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.category-intro__text,
.category-intro__box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-soft);
}

.category-intro__box {
    background: var(--surface-dark);
    color: #fff;
    border: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.category-intro__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%);
    pointer-events: none;
}

.category-intro__box > * {
    position: relative;
    z-index: 1;
}

.category-intro__box h3 {
    color: #fff;
}

.category-intro__box p {
    color: rgba(255, 255, 255, 0.82);
}

.category-intro__box .btn {
    background: #ffffff;
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 30px rgba(8, 17, 45, 0.28);
}

.category-intro__box .btn:hover {
    background: #eef4ff;
    color: #0c2460;
    border-color: #d9e6ff;
    box-shadow: 0 18px 34px rgba(8, 17, 45, 0.35);
}

.products-vertical {
    padding: 30px 0 20px;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: start;
    padding: 52px 0;
    border-bottom: 1px solid rgba(172, 191, 232, 0.42);
    scroll-margin-top: 170px;
}

.product-detail.image-right .product-detail__media {
    order: 2;
}

.product-detail.image-right .product-detail__content {
    order: 1;
}

.product-detail__media {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(47, 102, 243, 0.08) 0%, rgba(47, 102, 243, 0) 45%),
        linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    min-height: 420px;
    height: auto;
    border: 1px solid #c8d9f7;
    box-shadow: 0 18px 42px rgba(16, 38, 95, 0.16);
    isolation: isolate;
    overflow: hidden;
}

.product-detail__media img {
    display: block;
    max-width: 78%;
    max-height: 360px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 16px 24px rgba(17, 37, 91, 0.18));
    transition: transform 0.3s ease;
}

.product-detail__media img[src*="secotec-4-300-pronajem"],
.product-detail__media img[src*="reco2ver-8s"],
.product-detail__media img[src*="recover-k500"] {
    max-width: 86%;
}

.product-detail__media:hover img {
    transform: scale(1.03);
}

.product-detail__content h2 {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.product-detail__subtitle {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.product-detail__content p {
    line-height: 1.7;
    color: var(--text-muted);
}

.product-detail__specs,
.product-detail__options {
    margin-top: 30px;
}

.product-detail__specs h3,
.product-detail__options h3 {
    margin-bottom: 14px;
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 800;
}

.specs-table {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(28, 57, 124, 0.06);
    background: #ffffff;
    isolation: isolate;
}

.spec-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #e7eefb;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row__label,
.spec-row__value {
    padding: 14px 16px;
    background: #ffffff;
}

.spec-row__label {
    font-weight: 600;
    background: var(--surface-soft);
}

.spec-row__value {
    color: #334155;
}

.product-detail__options ul {
    margin: 0;
    padding-left: 20px;
}

.product-detail__options li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #475569;
}

.product-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.category-usage {
    padding: 70px 0 30px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.usage-card {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    color: var(--text-dark);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.usage-card:hover {
    transform: translateY(-3px);
    border-color: #c8d8f4;
    box-shadow: 0 18px 38px rgba(28, 57, 124, 0.14);
}

.category-cta {
    padding: 50px 0 0;
}

.category-cta__box {
    padding: 40px;
    border-radius: var(--radius-xl);
    background: var(--surface-dark);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.category-cta__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.15), transparent 40%);
    pointer-events: none;
}

.category-cta__box > * {
    position: relative;
    z-index: 1;
}

.category-cta__box h2 {
    margin-top: 0;
    margin-bottom: 16px;
    color: #fff;
}

.category-cta__box p {
    max-width: 760px;
    margin: 0 auto 24px;
    color: rgba(255, 255, 255, 0.85);
}

.category-cta__box .btn {
    background: #ffffff;
    color: #14265f;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 14px 30px rgba(8, 17, 45, 0.3);
}

.category-cta__box .btn:hover {
    background: #eef4ff;
    color: #0f1d49;
    border-color: #d9e6ff;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-page {
    padding-bottom: 80px;
}

.about-intro {
    padding: 40px 0 24px;
}

.about-intro__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 30px;
    align-items: start;
}

.about-intro__text,
.about-intro__box,
.about-history__wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
}

.about-intro__box {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.about-intro__text p,
.about-intro__box p,
.about-history__wrap p,
.about-segments__content p,
.about-card p {
    color: #4b5563;
    line-height: 1.75;
}

.about-focus {
    padding: 24px 0;
}

.about-focus__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.about-card {
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.about-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.about-segments {
    padding: 24px 0;
}

.about-segments__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.about-segments__content,
.about-segments__list {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
}

.about-segments__list {
    display: grid;
    gap: 14px;
}

.segment-item {
    padding: 16px 18px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    font-weight: 600;
    color: #111827;
}

.about-history {
    padding: 24px 0 0;
}

.about-timeline {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.timeline-item strong {
    font-size: 18px;
    color: #111827;
}

.timeline-item span {
    color: #4b5563;
    line-height: 1.6;
}

/* =========================================================
   NEWS PAGE
   ========================================================= */

.news-page,
.news-detail-page {
    padding-bottom: 80px;
}

.news-intro {
    padding: 40px 0 24px;
}

.news-intro__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: start;
}

.news-intro__text,
.news-intro__box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
}

.news-intro__box {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.news-intro__text p,
.news-intro__box p,
.news-card__excerpt {
    color: #4b5563;
    line-height: 1.75;
}

.news-list {
    padding: 24px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.news-card:hover {
    box-shadow: 0 16px 35px rgba(28, 57, 124, 0.14);
    border-color: #c8d8f4;
}

.news-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.news-card__category {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.news-card__date {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.news-card h3 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--text-dark);
}

.news-card__excerpt {
    margin: 0 0 20px;
    color: var(--text-muted);
}

.news-card__link {
    margin-top: auto;
    font-weight: 700;
    color: #111827;
    transition: opacity 0.2s ease;
}

.news-card__link:hover {
    opacity: 0.75;
}

.news-card__link--disabled {
    color: #9ca3af;
    cursor: default;
}

.news-card__image {
    margin: -28px -28px 20px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.news-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* =========================================================
   NEWS DETAIL
   ========================================================= */

.news-detail-content {
    padding: 40px 0 0;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 30px;
    align-items: start;
}

.news-detail-article,
.news-detail-sidebar__box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
}

.news-detail-article {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.news-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.news-detail-meta__item {
    color: #4b5563;
}

.news-detail-meta__item strong {
    color: #111827;
}

.news-detail-image {
    margin-bottom: 28px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.news-detail-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.news-detail-body {
    color: #475569;
    line-height: 1.8;
}

.news-detail-body p {
    margin-top: 0;
    margin-bottom: 18px;
}

.news-detail-body h2,
.news-detail-body h3 {
    color: #111827;
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.3;
}

.news-detail-external {
    margin-top: 32px;
}

.news-detail-sidebar__box p {
    color: #4b5563;
    line-height: 1.7;
}

/* =========================================================
   REFERENCES PAGE
   ========================================================= */

.references-page {
    padding-bottom: 80px;
}

.references-intro {
    padding: 40px 0 20px;
}

.references-intro__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: start;
}

.references-intro__text,
.references-intro__stats {
    background-color: rgba(237, 243, 251, 0.70);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px;
}

.references-intro__stats {
    display: grid;
    gap: 16px;
}

.reference-stat {
    padding: 18px 20px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.reference-stat strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.reference-stat span {
    color: #4b5563;
}

.references-list {
    padding: 30px 0;
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.reference-card {
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.reference-card:hover {
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.reference-card__category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 13px;
    font-weight: 700;
    color: #374151;
}

.reference-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.reference-card__location {
    margin: 0 0 18px;
    color: #6b7280;
    font-weight: 500;
}

.reference-card__meta {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.reference-card__meta span {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reference-card__meta strong {
    font-size: 16px;
    color: #111827;
}

.reference-card__meta--link {
    display: block;
    color: inherit;
    transition: all 0.2s ease;
}

.reference-card__meta--link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.reference-card__meta--link strong::after {
    content: " →";
    opacity: 0;
    transition: 0.2s;
}

.reference-card__meta--link:hover strong::after {
    opacity: 1;
}

.reference-card__description {
    margin: 0;
    line-height: 1.7;
    color: #4b5563;
}

.reference-card__title-link {
    color: inherit;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.reference-card__title-link:hover {
    color: var(--primary);
}

.reference-card__title-link::after {
    content: " ↗";
    font-size: 0.9em;
    opacity: 0.7;
}

/* Nový seznam referencí ponechán vedle starších card stylů */
.references-list--table {
    padding: 22px 0 8px;
}

.references-table {
    display: grid;
    gap: 10px;
}

.reference-row {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 8px 18px rgba(28, 57, 124, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.reference-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(28, 57, 124, 0.12);
    border-color: #c6d7f3;
}

.reference-row__main {
    display: grid;
    grid-template-columns: 150px minmax(220px, 1.5fr) 150px minmax(190px, 1fr);
    gap: 12px;
    align-items: center;
}

.reference-row__main > * {
    min-width: 0;
}

.reference-row__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1e40af;
    font-size: 12px;
    font-weight: 700;
}

.reference-row__name,
.reference-row__location,
.reference-row__model {
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reference-row__name {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
}

.reference-row__location {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.92rem;
}

.reference-row__model {
    font-size: 0.92rem;
    color: #4a5f84;
}

.reference-row__name a,
.reference-row__model a {
    color: inherit;
}

.reference-row__name a:hover,
.reference-row__model a:hover {
    color: var(--primary);
}

.reference-row__description {
    display: none;
}
.references-anchor-nav {
    top: 94px;
}

.references-group {
    scroll-margin-top: 165px;
}

.references-group + .references-group {
    padding-top: 54px;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    padding-bottom: 80px;
}

.contact-info-section {
    padding: 40px 0 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 30px;
    align-items: start;
}

.contact-main-card,
.contact-side-card,
.contact-form-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
}

.contact-main-card {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.05);
}

.contact-side-column {
    display: grid;
    gap: 24px;
}

.contact-card__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.contact-main-card h2,
.contact-side-card h3,
.contact-form-intro h2 {
    margin-top: 0;
}

.contact-info-list {
    display: grid;
    gap: 24px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    color: #111827;
}

.contact-info-item p {
    margin: 0;
    line-height: 1.7;
    color: #4b5563;
}

.contact-info-item a {
    color: inherit;
}

.contact-info-item a:hover {
    text-decoration: underline;
}
.form-message {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    font-weight: 600;
}

.form-message--success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.form-message--error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.company-data-list {
    display: grid;
    gap: 14px;
}

.company-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.company-data-row span {
    color: #6b7280;
}

.company-data-row strong {
    color: #111827;
}

.contact-side-card p,
.contact-form-intro p {
    color: #4b5563;
    line-height: 1.7;
}

.contact-form-section {
    padding: 24px 0 0;
}

.contact-form-wrap {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 32px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4b5563;
    line-height: 1.5;
}

.form-checkbox input {
    margin-top: 3px;
}

/* =========================================================
   ADMINISTRACE
   ========================================================= */

.page-admin {
    background: #f8fafc;
}

.page-admin .page-hero {
    padding: 56px 0 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e5e7eb;
}

.page-admin .page-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.page-admin .page-intro {
    margin: 0;
    max-width: 760px;
    color: #475569;
    font-size: 1.05rem;
}
.admin-public-warning {
    padding: 14px 0;
    background: #fff7ed;
    border-bottom: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-public-warning .container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-dashboard {
    padding: 32px 0 56px;
}

.admin-page__topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.admin-page__heading {
    flex: 1 1 700px;
    min-width: 280px;
}

.admin-page__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
}

.admin-page__actions .btn {
    white-space: nowrap;
}

.admin-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.admin-tabs__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 600;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.admin-tabs__link:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.admin-tabs__link--active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.admin-tabs__link--active:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff;
    transform: none;
}

.admin-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-section-card {
    display: block;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-section-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.admin-section-card__eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2563eb;
}

.admin-section-card h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #0f172a;
}

.admin-section-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.admin-alert {
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-weight: 500;
    border: 1px solid transparent;
}

.admin-alert--success {
    background: #ecfdf3;
    border-color: #bbf7d0;
    color: #166534;
}

.admin-alert--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.admin-form {
    display: grid;
    gap: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.admin-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    margin-bottom: 20px;
    align-items: start;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
    align-self: start;
}

.form-field label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    padding: 13px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #94a3b8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-field--checkbox {
    justify-content: flex-end;
}

.form-field--checkbox label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    font-weight: 600;
}

.form-field--checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.page-admin input[type="file"] {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 10px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    font: inherit;
    box-sizing: border-box;
    cursor: pointer;
}

.page-admin input[type="file"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.admin-block {
    margin-top: 28px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.admin-block__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.admin-block__head h2,
.admin-block__head h3 {
    margin: 0;
    color: #0f172a;
}

.admin-block__head span {
    color: #64748b;
    font-size: 0.95rem;
}

.admin-repeat-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-repeat-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

.admin-repeat-row--single {
    grid-template-columns: 1fr auto;
}

.admin-repeat-row input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font: inherit;
    padding: 13px 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-repeat-row input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.admin-remove-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #b91c1c;
    border-radius: 12px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.admin-remove-btn:hover {
    background: #ffe4e6;
    border-color: #fda4af;
    transform: translateY(-1px);
}

.admin-form__actions {
    margin-top: 26px;
}

.admin-form__actions--row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.admin-block--list {
    margin-bottom: 28px;
}

.admin-products-list {
    display: flex;
    flex-direction: column;
}

.admin-product-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.admin-product-row:first-child {
    border-top: 0;
    padding-top: 4px;
}

.admin-product-row strong {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 1rem;
    color: #0f172a;
}

.admin-product-row small {
    color: #64748b;
    font-size: 0.88rem;
}

.admin-product-row__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-product-row__actions .btn {
    min-width: 46px;
}

.admin-product-row__actions .btn[title="Posunout nahoru"],
.admin-product-row__actions .btn[title="Posunout dolů"] {
    padding: 0 14px;
    font-size: 1.1rem;
}

.admin-product-row__actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.admin-file-preview {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.admin-file-preview__label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.admin-image-preview {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    min-height: 120px;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
}

.admin-image-preview img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    display: block;
}

.admin-file-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-weight: 500;
}

.admin-file-link:hover {
    background: #f1f5f9;
}

.page-admin .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.page-admin .btn:hover {
    transform: translateY(-1px);
}

.page-admin .btn-outline {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
}

.page-admin .btn-outline:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

.page-admin .btn:not(.btn-outline) {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.16);
}

.page-admin .btn:not(.btn-outline):hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.page-admin-login .admin-form {
    padding: 30px;
}

.page-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.page-breadcrumbs a {
    color: #fff;
    text-decoration: none;
}

.page-breadcrumbs a:hover {
    text-decoration: underline;
}
