﻿/* =========================================
   ZÁKLADNÍ NASTAVENÍ A PÍSMA
   ========================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { 
    scroll-behavior: smooth; 
    font-family: 'Montserrat', sans-serif; 
    color: #333; 
    overflow-x: hidden; 
    width: 100%;
}

body { 
    line-height: 1.6; 
    overflow-x: hidden; 
    width: 100%;
    position: relative;
    /* ZDE JSME ODSTRANILI hyphens: auto (dělení slov), aby to neničilo tabulky */
}

input,
select,
textarea,
button {
    font-family: 'Montserrat', sans-serif;
}

section { padding: 80px 20px; }

.admin-editable-block {
    position: relative;
}

.admin-inline-edit {
    position: absolute;
    top: -12px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(44, 62, 80, 0.18);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #2c3e50;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 25;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.admin-inline-edit:hover,
.admin-inline-edit:focus-visible {
    transform: translateY(-2px);
        box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.18), 0 9px 20px rgba(231, 76, 60, 0.35);
        color: #e74c3c;
}

#uvod .admin-inline-edit {
    top: 26px;
    right: 26px;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(18, 18, 18, 0.62);
    color: #ffffff;
}

#uvod .admin-inline-edit:hover,
#uvod .admin-inline-edit:focus-visible {
    color: #ffb3a9;
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.25), 0 9px 20px rgba(231, 76, 60, 0.35);
}

.admin-banner-edit {
    position: absolute;
    top: 8px;
    right: 14px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.16);
    transition: background-color 0.2s ease;
}

.admin-banner-edit:hover,
.admin-banner-edit:focus-visible {
    background: rgba(231, 76, 60, 0.38);
    border-color: rgba(255, 204, 199, 0.95);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.24);
}

/* Hlavní kontejner */
.container { 
    max-width: 1400px; 
    width: 95%; 
    margin: 0 auto; 
}

h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; color: #2c3e50; }

section p,
section li {
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
}

/* =========================================
   HLAVIČKA (MENU)
   ========================================= */
header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 20px 40px; 
    background: transparent; 
    position: fixed; 
    width: 100%; 
    max-width: 100vw; 
    z-index: 1000; 
    transition: all 0.3s ease; 
}

header.scrolled, header.menu-open { 
    background: var(--rock-panel-soft); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.35); 
    padding: 15px 40px; 
}

body.inner-page header {
    background: var(--rock-panel-soft);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    padding: 15px 40px;
}

/* --- LOGO --- */
.logo { 
    flex: 1; 
    text-decoration: none; 
    position: relative; 
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0; 
}

.logo img {
    width: var(--logo-corner-width);
    height: var(--logo-corner-height);
    max-width: none; 
    object-fit: contain;
    object-position: left center;
    transform: translateY(0);
    margin-top: 0;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

header.scrolled .logo img, 
header.menu-open .logo img,
body.inner-page .logo img {
    width: var(--logo-corner-compact-width);
    height: var(--logo-corner-compact-height);
    transform: translateY(0); 
    margin-top: 0;    
    margin-bottom: 0;
}

/* --- ODKAZY V MENU --- */
nav { flex: 2; display: flex; justify-content: center; }
nav ul { display: flex; list-style: none; gap: 40px; }
.mobile-login-link { display: none; }

nav ul li a { 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
    padding-bottom: 5px; 
    transition: all 0.3s; 
    border-bottom: 2px solid transparent; 
    white-space: nowrap; 
}

header.scrolled nav ul li a, header.menu-open nav ul li a, body.inner-page nav ul li a { color: var(--rock-text); }
nav ul li a:hover, nav ul li a.active { color: #c0392b; border-bottom: 2px solid #c0392b; }

nav ul li {
    position: relative;
}

.nav-submenu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    background: var(--rock-panel);
    border: 1px solid var(--rock-border);
    border-radius: 10px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    z-index: 1500;
}

.nav-submenu li {
    width: 100%;
}

.nav-submenu li a {
    display: block;
    width: 100%;
    color: var(--rock-text) !important;
    border-bottom: 0 !important;
    padding: 8px 14px;
}

.nav-submenu li a:hover,
.nav-submenu li a.active {
    background: rgba(192, 57, 43, 0.1);
    color: #c0392b !important;
}

.nav-has-submenu:hover > .nav-submenu,
.nav-has-submenu:focus-within > .nav-submenu {
    display: block;
}

.nav-order-item {
    margin-left: 6px;
}

.nav-order-btn {
    border: 1px solid #c0392b !important;
    border-radius: 999px;
    padding: 7px 16px !important;
    color: #ffffff !important;
    background: #c0392b;
    border-bottom: 1px solid #c0392b !important;
}

.nav-order-btn:hover,
.nav-order-btn.active {
    color: #ffffff !important;
    background: #a93226;
    border-color: #a93226 !important;
}

.header-contact { 
    flex: 1; text-align: right; font-size: 1.2rem; font-weight: 700; color: white; white-space: nowrap; transition: color 0.3s;
}
.header-contact i { color: #c0392b; margin-right: 5px; }
header.scrolled .header-contact, header.menu-open .header-contact { color: var(--rock-text); }
body.inner-page .header-contact { color: var(--rock-text); }

.menu-toggle { 
    display: none; font-size: 1.5rem; cursor: pointer; color: white; transition: color 0.3s; position: relative; z-index: 1100;
}
header.scrolled .menu-toggle, header.menu-open .menu-toggle { color: var(--rock-text); }
body.inner-page .menu-toggle { color: var(--rock-text); }

body.inner-page section {
    padding-top: 150px;
    min-height: calc(100vh - 92px);
}

#objednavka {
    background: var(--rock-bg);
    padding-top: 18px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

#objednavka .order-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
    align-items: start;
}

#objednavka .order-layout:first-of-type {
    padding-top: 92px;
    padding-bottom: 92px;
}

#objednavka .order-top-row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 52px;
    align-items: center;
}

#objednavka .order-top-media {
    width: 100%;
}

#objednavka .order-main-title {
    text-align: left;
    margin-bottom: 10px;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    line-height: 1.15;
    color: #1f2b36;
}

#objednavka .order-main-text {
    text-align: left;
    color: #4f4f4f;
    margin: 0;
    max-width: none;
}

#objednavka .order-top-image {
    width: 100%;
    border-radius: 16px;
    min-height: 260px;
    max-height: 340px;
    object-fit: cover;
    display: block;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

#objednavka .order-banner {
    width: 100%;
    min-height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 20px;
}

#objednavka .order-banner-full {
    margin: 1px 0 4px;
    border-radius: 0;
}

#objednavka .order-banner p {
    margin: 0;
    color: #ffffff;
    text-align: center;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    font-weight: 700;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

#objednavka .order-form-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

#objednavka .order-page-title {
    margin: 0 0 42px;
    color: #ffffff;
    font-size: 2.5rem;
}

#objednavka .order-page-intro {
    margin: -36px 0 18px;
    color: #ffffff;
    text-align: center;
    font-size: 0.98rem;
    font-weight: 600;
}

#objednavka .order-layout-form {
    margin-top: 0;
    padding-top: 44px;
    padding-bottom: 14px;
}

#objednavka .order-layout-media {
    padding-top: 52px;
    padding-bottom: 52px;
}

#objednavka .order-required-note {
    margin: 0 0 12px;
    color: #7a7a7a;
    font-size: 0.86rem;
}

#objednavka .order-required-note-bottom {
    margin: 28px 0 6px;
}

#objednavka .req-star {
    color: #c0392b;
    font-weight: 700;
}

#objednavka .order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#objednavka .order-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

#objednavka .order-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    color: #334454;
}

#objednavka .field-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#objednavka .order-form input,
#objednavka .order-form select,
#objednavka .order-form textarea {
    width: 100%;
    border: 1px solid var(--rock-border);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    background: var(--rock-panel);
    color: var(--rock-text);
}

#objednavka .order-form input:focus,
#objednavka .order-form select:focus,
#objednavka .order-form textarea:focus {
    outline: none;
    border-color: rgba(192, 57, 43, 0.55);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

#objednavka .order-products-box {
    border: 1px solid var(--rock-border);
    border-radius: 12px;
    padding: 10px 12px 12px;
    background: var(--rock-panel);
}

#objednavka .order-products-box legend {
    font-size: 0.95rem;
    font-weight: 700;
    color: #334454;
    padding: 0 4px;
}

#objednavka .order-products-list {
    max-height: 180px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
}

#objednavka .order-product-option {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    font-weight: 500;
    color: #334454;
    justify-content: space-between;
}

#objednavka .order-form .order-product-option {
    flex-direction: row;
    justify-content: flex-start;
}

#objednavka .order-product-name {
    flex: 1 1 auto;
}

#objednavka .order-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--rock-border);
    border-radius: 999px;
    background: rgba(20, 16, 16, 0.28);
    overflow: hidden;
}

#objednavka .order-qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#objednavka .order-qty-btn:hover {
    background: rgba(192, 57, 43, 0.24);
    color: #ffd3ce;
}

#objednavka .order-product-qty {
    width: 52px !important;
    min-width: 52px;
    text-align: center;
    padding: 7px 6px !important;
    border: none !important;
    border-left: 1px solid var(--rock-border) !important;
    border-right: 1px solid var(--rock-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 700;
}

#objednavka .order-product-qty::-webkit-outer-spin-button,
#objednavka .order-product-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#objednavka .order-product-qty {
    -moz-appearance: textfield;
}

#objednavka .order-submit-btn {
    margin-top: 8px;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    background: #c0392b;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.04rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

#objednavka .order-submit-btn:hover {
    background: #a93226;
}

#objednavka .order-form-note {
    margin-top: 6px;
    color: #6a6a6a;
    font-size: 0.92rem;
}

#objednavka .order-form-status {
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

#objednavka .order-form-status.success {
    background: #eaf9ee;
    color: #25753b;
}

#objednavka .order-form-status.error {
    background: #fff0f0;
    color: #a12020;
}

.order-panel {
    max-width: 860px;
    background: #fff6f5;
    border: 1px solid rgba(192, 57, 43, 0.24);
    border-radius: 16px;
    padding: 34px;
    text-align: center;
}

.order-intro {
    max-width: 700px;
    margin: 0 auto 24px;
    font-size: 1.05rem;
    color: #4b4b4b;
}

.order-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.order-action {
    text-decoration: none;
    background: #c0392b;
    color: #ffffff;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-action:hover {
    background: #a93226;
}

@media (max-width: 1300px) {
    header { padding: 15px 20px; } 
    nav ul { gap: 15px; } 
    nav ul li a { font-size: 0.85rem; } 
    .logo img { width: calc(var(--logo-corner-width) * 0.88); height: calc(var(--logo-corner-height) * 0.88); } 
    .header-contact { font-size: 1rem; } 
}

/* =========================================
   ÚVODNÍ FOTKA A STATUS
   ========================================= */
#uvod { 
    height: 100vh; 
    background-color: #2c3e50; 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex; flex-direction: column; color: white; padding: 0; margin-top: 0; 
}

.hero-content { flex: 1; display: flex; justify-content: center; align-items: center; text-align: center; width: 100%; }
.status-wrapper { display: flex; flex-direction: column; align-items: center; max-width: 100%; padding: 0 10px; }
.hero-title-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.hero-logo {
    display: block;
    width: var(--logo-hero-width);
    height: var(--logo-hero-height);
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45));
}
.status-wrapper h1 { font-size: 3.5rem; line-height: 1.1; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); word-wrap: break-word; max-width: 100%; text-transform: uppercase; letter-spacing: 2px; }
.status-wrapper p { font-size: 1.8rem; font-weight: 700; color: #e74c3c; margin-top: 10px; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); }

.admin-inline-edit-hero {
    position: static;
    width: 36px;
    height: 36px;
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(18, 18, 18, 0.62);
    color: #ffffff;
    flex-shrink: 0;
}

.admin-inline-edit-hero:hover,
.admin-inline-edit-hero:focus-visible {
    color: #e9f4ff;
}

.home-white-section {
    background: var(--rock-bg);
}

#uvod-intro {
    padding-top: 92px;
    padding-bottom: 92px;
}

.home-split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 52px;
    align-items: center;
}

.home-split-text h2 {
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.1;
}

.home-split-text p {
    font-size: 1.08rem;
    color: #4d4d4d;
    margin-bottom: 14px;
}

.home-split-text p:last-child {
    margin-bottom: 0;
}

.home-split-media img {
    width: 100%;
    min-height: 420px;
    max-height: 520px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    display: block;
}

#uvod-banner {
    min-height: 58vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 88px 20px;
}

.uvod-banner-inner {
    width: 100%;
    max-width: 1280px;
    text-align: center;
}

.uvod-banner-inner h2 {
    color: #ffffff;
    margin: 0;
    font-size: clamp(2rem, 4.4vw, 3.7rem);
    letter-spacing: 0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#novinky {
    padding-top: 92px;
    padding-bottom: 92px;
}

#novinky h2 {
    margin-bottom: 40px;
}

.news-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: center;
    margin-bottom: 38px;
}

.news-row:last-child {
    margin-bottom: 0;
}

.news-row.reverse .news-text {
    order: 2;
}

.news-row.reverse .news-media {
    order: 1;
}

.news-row-link {
    color: inherit;
    text-decoration: none;
    border-radius: 16px;
    padding: 24px;
    margin: -24px -24px 26px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.news-row-link:hover {
    background: rgba(192, 57, 43, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.news-row-link:focus-visible {
    outline: 2px solid var(--rock-accent);
    outline-offset: 3px;
}

.news-text h3 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    color: #1f2b36;
    margin-bottom: 14px;
}

.news-title-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.news-title-link:hover {
    color: var(--rock-accent, #c0392b);
    border-bottom-color: rgba(192, 57, 43, 0.6);
}

.news-text p {
    font-size: 1.04rem;
    color: #4d4d4d;
}

.news-media img {
    width: 100%;
    min-height: 270px;
    max-height: 360px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    display: block;
}

.news-pagination {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-pagination-link {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(192, 57, 43, 0.28);
    color: #2f3b46;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #ffffff;
}

.news-pagination-link:hover {
    background: rgba(192, 57, 43, 0.12);
    border-color: rgba(192, 57, 43, 0.55);
}

.news-pagination-link.is-active {
    background: #c0392b;
    border-color: #c0392b;
    color: #ffffff;
}

.news-pagination-link.news-pagination-nav {
    padding: 0 14px;
}

.article-detail-wrap {
    max-width: 980px;
}

.article-detail-title {
    text-align: center;
    margin-bottom: 12px;
}

.article-detail-meta {
    text-align: left;
    color: var(--rock-muted);
    font-size: 0.92rem;
    margin: 0 0 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.article-detail-content {
    color: var(--rock-text);
    line-height: 1.75;
    font-size: 1.02rem;
}

/* =========================================
    SEKCE: PRODUKTY
    ========================================= */
#produkty {
    background-color: var(--rock-bg);
}

#produkty h2 {
    margin-bottom: 34px;
    color: #ffffff;
}

#produkty .products-category-title {
    text-align: left;
    margin: 20px 0 22px;
    color: #ffffff;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 40px;
}

.product-row:last-child {
    margin-bottom: 0;
}

.product-row.reverse .product-media {
    order: 2;
}

.product-row.reverse .product-text {
    order: 1;
}

.product-media {
    position: relative;
}

.product-media img {
    width: 100%;
    min-height: 300px;
    max-height: 430px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    display: block;
    cursor: zoom-in;
}

.product-media-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(16, 12, 12, 0.55);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.product-media-prev {
    left: 12px;
}

.product-media-next {
    right: 12px;
}

.product-media-nav:hover {
    background: rgba(179, 58, 46, 0.92);
    border-color: rgba(255, 255, 255, 0.8);
}

.product-media-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(18, 14, 14, 0.45);
}

.product-media-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.product-media-dot.is-active {
    background: #c0392b;
    transform: scale(1.2);
}

.product-text h3 {
    font-size: clamp(1.5rem, 2.7vw, 2.2rem);
    color: #1f2b36;
    margin: 0 0 12px;
}

.product-text p {
    margin: 0 0 10px;
    color: #4d4d4d;
    font-size: 1.03rem;
}

.product-price {
    font-size: 1.12rem !important;
    color: #c0392b !important;
    margin-bottom: 14px !important;
}

.product-specs {
    width: 100%;
    border-collapse: collapse;
    background: #fff8f7;
    border: 1px solid rgba(192, 57, 43, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.product-specs th,
.product-specs td {
    padding: 11px 14px;
    border-bottom: 1px solid rgba(192, 57, 43, 0.12);
    text-align: left;
    font-size: 0.96rem;
}

.product-specs tr:last-child th,
.product-specs tr:last-child td {
    border-bottom: none;
}

.product-specs th {
    width: 45%;
    color: #2f3b46;
    font-weight: 700;
}

.product-specs td {
    color: #515f6d;
}

.band-members-admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.band-member-admin-row {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 14px;
}

.band-member-admin-row h4 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.band-member-admin-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.band-member-file-btn {
    width: 100%;
    margin-top: 2px;
    text-align: center;
}

.band-member-file-name {
    display: block;
    margin-top: 6px;
    font-size: 0.85rem;
    color: #9f8f8f;
    font-style: italic;
    min-height: 1.2em;
    text-align: center;
}

.band-member-admin-photo-preview-wrap {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: none;
    margin: 0 auto 10px;
    background: transparent;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.26);
}

.band-member-admin-photo-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-richtext p,
.about-richtext ul,
.about-richtext ol,
.about-richtext blockquote,
.about-richtext h1,
.about-richtext h2,
.about-richtext h3,
.about-richtext h4 {
    margin-bottom: 0.8em;
}

.about-richtext p:last-child,
.about-richtext ul:last-child,
.about-richtext ol:last-child,
.about-richtext blockquote:last-child,
.about-richtext h1:last-child,
.about-richtext h2:last-child,
.about-richtext h3:last-child,
.about-richtext h4:last-child {
    margin-bottom: 0;
}

.about-richtext ul,
.about-richtext ol {
    padding-left: 1.2rem;
    list-style-position: inside;
    overflow-wrap: anywhere;
}

.about-richtext a {
    color: var(--rock-accent, #b33a2e);
}

.about-richtext blockquote {
    padding-left: 12px;
    border-left: 3px solid var(--rock-accent, #b33a2e);
    opacity: 0.95;
}

@media (max-width: 1220px) {
    .product-row {
        gap: 26px;
    }
}

@media (max-width: 760px) {
    .admin-inline-edit {
        width: 34px;
        height: 34px;
    }

    #uvod .admin-inline-edit {
        top: 14px;
        right: 14px;
    }

    .hero-title-row {
        gap: 10px;
    }

    .admin-inline-edit-hero {
        width: 34px;
        height: 34px;
    }

    .admin-banner-edit {
        top: 7px;
        right: 10px;
    }

    .band-members-grid {
        --member-mobile-card-width: 220px;
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 calc(50% - (var(--member-mobile-card-width) / 2)) 8px;
        scrollbar-width: none;
    }

    .band-members-grid::-webkit-scrollbar {
        display: none;
    }

    .band-member-card {
        flex: 0 0 var(--member-mobile-card-width);
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    #produkty .about-richtext,
    #produkty .about-richtext p {
        text-align: left;
    }

    .band-member-name {
        font-size: 1.35rem;
    }

    .band-members-admin-grid {
        grid-template-columns: 1fr;
    }
}

#sluzby { background-color: #3498db; color: white; }
#sluzby h2 { color: white; }
.sluzby-grid { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; text-align: center; }
.sluzba-item { width: 200px; }
.sluzba-item i { font-size: 4rem; margin-bottom: 20px; }
.sluzba-item h3 { font-size: 1.2rem; }

#hodiny { background-color: var(--rock-bg); }
.hours-layout { display: flex; align-items: stretch; gap: 80px; }
.hours-table-wrapper { flex: 1; order: 1; display: flex; flex-direction: column; justify-content: center; }
.hours-table-wrapper h2 { text-align: center; margin-bottom: 25px; }
.hours-image { flex: 1; order: 2; }
.hours-image img { width: 100%; height: 100%; min-height: 450px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); object-fit: cover; }

.hours-table { width: 100%; border-collapse: collapse; background: transparent; border: none; box-shadow: none; }
.hours-table th, .hours-table td { padding: 18px 20px; border: none; }

.hours-table th { 
    text-align: left; 
    font-weight: 700; 
    color: #2c3e50; 
    width: 35%;
    
    /* FIX: Zakážeme zalomení názvu dne */
    white-space: nowrap; 
    hyphens: none;
}

.hours-table th i { margin-right: 8px; color: #3498db; }
.hours-table td:nth-child(2) { text-align: center; font-weight: 600; }
.hours-table tr:nth-child(odd) { background-color: #f2f5f7; }
.hours-table tr:nth-child(even) { background-color: #221f1c; }
.hours-table tr:hover { background-color: #e5eaef; transition: background-color 0.2s; }

/* =========================================
   SEKCE: CENÍK (FIX PRO MOBILY)
   ========================================= */
#koncerty { background-color: var(--rock-bg); }
#koncerty h2 { color: #2c3e50; margin-bottom: 14px; }
#koncerty .pricelist-wrapper {
    background: #fdf7f6;
    border: 1px solid rgba(192, 57, 43, 0.22);
}
#koncerty .pricelist-note { color: #6f6f6f; }

.pricelist-wrapper { 
    max-width: 900px; 
    width: 100%; 
    margin: 0 auto; 
    background: #f8f9fa; 
    padding: 50px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
}

.price-item { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    width: 100%; 
    margin-bottom: 20px; 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #2c3e50; 
    line-height: 1.3; 
}

.price-name { 
    flex: 0 1 auto; 
    padding-right: 5px; 
    text-align: left; 
    white-space: normal; 
    word-wrap: break-word; 
    
    /* U ceníku chceme dělení slov, aby se vešly dlouhé názvy */
    -webkit-hyphens: auto;
    hyphens: auto;
}

.price-dots { 
    flex: 1 1 auto; 
    border-bottom: 4px dotted #bdc3c7; 
    margin-bottom: 6px; 
    min-width: 20px; 
    opacity: 0.5; 
}

.price-value { 
    flex: 0 0 auto; 
    padding-left: 5px; 
    text-align: right; 
    color: #3498db; 
    white-space: nowrap; 
}

.pricelist-note { 
    text-align: center; 
    width: 100%; 
    display: block; 
    margin-top: 30px; 
    font-style: italic; 
    color: #7f8c8d; 
    font-size: 1rem; 
}


.concerts-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.concerts-toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    background: #eef3f7;
    border-radius: 999px;
    padding: 4px;
    min-width: 280px;
}

.concerts-toggle::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    border-radius: 999px;
    background: #3498db;
    box-shadow: 0 4px 14px rgba(52, 152, 219, 0.35);
    transition: transform 0.25s ease;
}

.concerts-toggle.past-active::before {
    transform: translateX(100%);
}

.concert-mode-btn {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: #2c3e50;
    padding: 11px 16px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    font-size: 1rem;
    letter-spacing: 0.3px;
    border-radius: 999px;
    transition: color 0.2s ease;
}

.concert-mode-btn.active {
    color: #ffffff;
}

.concerts-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #7f8c8d;
    font-weight: 600;
    margin-top: 18px;
}

.concert-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e8c8c4;
    background: var(--rock-panel);
    color: #c0392b;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s ease;
}

.concert-nav-btn:hover {
    background: #c0392b;
    color: #ffffff;
}

.concert-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.concerts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.concert-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--rock-panel);
    border: 1px solid #e5edf3;
    border-radius: 10px;
}

.concert-row:hover {
    border-color: #c7d9e8;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.concert-icon-box {
    background-color: #c0392b;
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(192, 57, 43, 0.25);
    flex-shrink: 0;
}

.concert-date {
    color: #c0392b;
    font-weight: 700;
    white-space: nowrap;
}

.concert-dots {
    flex: 1 1 auto;
    border-bottom: 3px dotted #bdc3c7;
    opacity: 0.5;
    margin-top: 3px;
}

.concert-title {
    color: #2c3e50;
    font-weight: 700;
    text-align: right;
    flex: 0 1 auto;
}

/* =========================================
   SEKCE: KONTAKT
   ========================================= */
#kontakt { background-color: var(--rock-bg); padding-bottom: 40px; }
.contact-editable-block > .admin-inline-edit {
    right: -56px;
    top: -8px;
}

.contact-page-title { margin-bottom: 42px; }

.contact-layout { display: flex; align-items: center; justify-content: flex-start; gap: 135px; }
.contact-text { flex: 1; }
.contact-text h2 { text-align: left; font-size: 2.8rem; line-height: 1.2; margin-top: 0; margin-bottom: 20px; color: #2c3e50; }
.contact-text p { font-size: 1.2rem; color: #555; font-weight: 600; margin-bottom: 40px; }
.contact-text .contact-text-secondary { font-size: 1rem; font-weight: 400; color: #6a6a6a; line-height: 1.7; margin-top: 20px; margin-bottom: 0; }
.contact-form-status { padding: 12px 14px; border-radius: 10px; margin: 14px 0 0; font-weight: 600; }
.contact-form-status.success { background: #3d5a50; color: #ffffff; }
.contact-form-status.error { background: #5a3d3d; color: #ffffff; }
#kontakt .req-star { color: #c0392b; font-weight: 700; }
#kontakt .contact-form-eyebrow { margin: 18px 0 6px; color: #ffffff; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
#kontakt .contact-form-intro { margin: 0 0 14px; color: var(--rock-muted); font-size: 0.95rem; font-weight: 500; }
#kontakt .contact-form { margin-top: 28px; max-width: 620px; display: flex; flex-direction: column; gap: 12px; }
#kontakt .contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#kontakt .contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; color: #ffffff; }
#kontakt .field-label { display: inline-flex; align-items: center; gap: 4px; }
#kontakt .contact-form input,
#kontakt .contact-form textarea {
    width: 100%;
    border: 1px solid var(--rock-border);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    background: var(--rock-panel);
    color: var(--rock-text);
}
#kontakt .contact-form input:focus,
#kontakt .contact-form textarea:focus {
    outline: none;
    border-color: rgba(192, 57, 43, 0.55);
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}
#kontakt .contact-form textarea { resize: vertical; min-height: 130px; }
#kontakt .order-submit-btn {
    margin-top: 8px;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    background: #c0392b;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.04rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}
#kontakt .order-submit-btn:hover { background: #a93226; }
.billing-box { background: rgba(255, 255, 255, 0.6); padding: 25px; border-radius: 10px; border-left: 5px solid var(--rock-footer-bg); margin-top: 20px; max-width: 400px; }
.billing-box h3 { font-size: 1.1rem; margin-bottom: 10px; color: #2c3e50; text-transform: uppercase; letter-spacing: 1px; }
.billing-box p { font-size: 1rem; margin-bottom: 5px; color: #555; font-weight: 400; }
.contact-details { flex: 0 0 470px; display: flex; flex-direction: column; gap: 9px; margin-top: 0; margin-bottom: 0; align-self: center; }
.contact-item { display: flex; align-items: center; width: 100%; text-decoration: none; color: var(--rock-text); font-size: 1.38rem; font-weight: 700; transition: transform 0.2s, opacity 0.2s; background: transparent; padding: 12px 0; border-radius: 0; box-shadow: none; border: none; }
.contact-item:hover { color: var(--rock-text); transform: translateX(4px); opacity: 0.9; }
.icon-box { background-color: var(--rock-accent); color: #ffffff; width: 56px; height: 56px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.28rem; margin-right: 18px; box-shadow: 0 8px 18px rgba(192, 57, 43, 0.34); flex-shrink: 0; }

/* =========================================
   SEKCE: GALERIE (FRONTEND)
   ========================================= */
#galerie { background-color: var(--rock-bg); overflow: hidden; }
.gallery-wrapper.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.gallery-item { height: 240px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; cursor: pointer; transition: transform 0.3s ease; }
.gallery-item img:hover { transform: scale(1.03); }

/* =========================================
   LIGHTBOX (SPOLEČNÝ PRO ADMIN I WEB)
   ========================================= */
.lightbox-modal { display: none; position: fixed; z-index: 3000; padding-top: 50px; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); align-items: center; justify-content: center; --lightbox-half: min(42vw, 520px); }
.lightbox-content { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 5px; box-shadow: 0 0 30px rgba(0,0,0,0.5); animation: zoomIn 0.3s ease; }
.instagram-lightbox { display: none; width: min(90vw, 540px); height: min(85vh, 760px); border: none; border-radius: 8px; background: #fff; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.close-lightbox { position: absolute; top: 20px; right: 40px; color: white; font-size: 50px; font-weight: bold; cursor: pointer; z-index: 3001; transition: color 0.2s; }
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #f2f2f2;
    color: #c0392b;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3001;
    transition: all 0.2s ease;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.lightbox-nav-prev { transform: translate(calc(-1 * var(--lightbox-half) - 18px), -50%); }
.lightbox-nav-next { transform: translate(calc(var(--lightbox-half) + 18px), -50%); }
.lightbox-nav-btn:hover {
    background: #ffffff;
    color: #a93226;
}
.close-lightbox:hover { color: #e74c3c; }
@keyframes zoomIn { from {transform:scale(0.8); opacity: 0;} to {transform:scale(1); opacity: 1;} }

@media (max-width: 760px) {
    .lightbox-modal { --lightbox-half: min(39vw, 260px); }

    .lightbox-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .lightbox-nav-prev { transform: translate(calc(-1 * var(--lightbox-half) - 8px), -50%); }
    .lightbox-nav-next { transform: translate(calc(var(--lightbox-half) + 8px), -50%); }
}

/* =========================================
   PATIČKA
   ========================================= */
footer { background-color: #1a1616; color: white; padding: 0; text-align: center; border-top: none; }
footer .container {
    --footer-row-gap: 8px;
    max-width: none;
    width: 100%;
    min-height: 92px;
    padding: 18px 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--footer-row-gap);
}

.footer-info-grid {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 30px;
    text-align: left;
    margin-bottom: 8px;
}

.footer-info-col h4 {
    margin: 0 0 10px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.footer-info-col p,
.footer-info-col a {
    display: block;
    margin: 0 0 6px;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #cfcfcf;
    text-decoration: none;
}

.footer-info-col a:hover {
    color: #ffffff;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.26);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social-link i {
    display: block;
    line-height: 1;
}

.footer-social-link:hover {
    border-color: #c0392b;
    background: #c0392b;
}

footer .container.footer-has-actions {
    min-height: 132px;
    justify-content: center;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.login-btn { background: #c0392b; padding: 5px 15px; border-radius: 20px; color: white !important; font-weight: bold; text-decoration: none; }
.footer-logo { font-size: 1.5rem; font-weight: 700; display: block; margin-bottom: 20px; }
.footer-meta-row {
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px 18px;
    margin-top: 4px;
    font-size: 0.8rem;
    line-height: 1.35;
}

.footer-meta-left {
    justify-self: start;
    color: #a8a8a8;
}

.footer-meta-center {
    justify-self: center;
}

.footer-meta-right {
    justify-self: end;
    color: #7b7b7b;
}

.footer-meta-right a {
    color: #8a3a32;
    text-decoration: none;
    font-weight: 700;
}

.footer-meta-right a:hover {
    color: #c0392b;
}

/* =========================================
   ADMINISTRACE - ZÁKLAD
   ========================================= */
body.admin-bg { background-color: #f0f4f8; }
.back-link { font-weight: 600; color: #3498db; text-decoration: none; font-size: 1rem; }
.back-link:hover { color: #2c3e50; }
.admin-header-right { display: flex; gap: 20px; align-items: center; }
.logged-user { color: #7f8c8d; }
body.admin-bg .logo img {
    width: var(--logo-corner-compact-width) !important;
    height: var(--logo-corner-compact-height) !important;
    object-fit: contain;
    object-position: left center;
    transform: translateY(0) !important;
    margin: 0 !important;
}

.login-section { height: 100vh; display: flex; justify-content: center; align-items: center; padding-top: 60px; }
.login-box { background: #241d1d; padding: 40px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.35); width: 100%; max-width: 450px; position: relative; border-top: 5px solid var(--rock-accent, #b33a2e); }
.login-icon { width: 80px; height: 80px; background: var(--rock-accent, #b33a2e); color: white; border-radius: 50%; font-size: 2rem; display: flex; justify-content: center; align-items: center; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); box-shadow: 0 5px 15px rgba(179, 58, 46, 0.35); }
.login-box h2 { font-size: 1.8rem; margin-top: 30px; margin-bottom: 30px; color: #f0e7e7; }
.input-group { margin-bottom: 25px; }
.input-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #d8cdcd; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #a18f8f; }
.input-wrapper input { width: 100%; padding: 15px 40px; border: 2px solid #4a3535; border-radius: 8px; font-size: 1rem; transition: all 0.3s; background: #211c1c; color: #f0e7e7; }
.input-wrapper input:focus { border-color: var(--rock-accent, #b33a2e); outline: none; box-shadow: 0 0 10px rgba(179, 58, 46, 0.18); }
.toggle-password { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #a18f8f; font-size: 1.2rem; }
.submit-btn { width: 100%; background: #b33a2e; color: white; border: none; padding: 15px; border-radius: 8px; font-size: 1.2rem; font-weight: 700; cursor: pointer; box-shadow: 0 5px 15px rgba(179, 58, 46, 0.4); transition: all 0.3s; }
.submit-btn:hover { background: #8f2a21; transform: translateY(-3px); }
.logout-btn { background: #e74c3c !important; }

/* --- ADMIN DASHBOARD --- */
.admin-dashboard { padding-top: 120px; min-height: calc(100vh - 150px); }
.admin-dashboard .container { max-width: 1920px; width: 99%; }
.dashboard-box { background: white; padding: 50px 60px; border-radius: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); border-top: 5px solid #3498db; max-width: 1400px; margin: 0 auto; width: calc(100% - 40px); }
.admin-dashboard .dashboard-box { width: calc(100% - 8px); max-width: none; }
.dashboard-header { display: flex; align-items: center; gap: 15px; margin-bottom: 40px; color: #2c3e50; }
.dashboard-header h2 { font-size: 2rem; margin: 0; }
.dashboard-header i { font-size: 2.5rem; color: #3498db; }

.admin-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.admin-sidebar-box,
.admin-main-box {
    width: 100%;
    max-width: none;
    margin: 0;
}

.admin-sidebar-box {
    position: sticky;
    top: 104px;
    padding: 24px;
}

.admin-sidebar-header {
    margin-bottom: 18px;
}

.admin-sidebar-header h2 {
    font-size: 1.35rem;
}

.admin-sidebar-header i {
    font-size: 1.7rem;
}

.admin-side-group {
    background: #231d1d;
    border: 1px solid #473838;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 16px;
}

.admin-side-group h4 {
    margin: 0 0 10px;
    font-size: 0.96rem;
    color: #f0e7e7;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.admin-quick-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-quick-item {
    display: grid;
    gap: 4px;
}

.admin-quick-collapse {
    display: grid;
    gap: 4px;
}

.admin-quick-collapse summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #f0e7e7;
    text-decoration: none;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-quick-collapse summary::-webkit-details-marker {
    display: none;
}

.admin-quick-collapse summary:hover {
    background: rgba(179, 58, 46, 0.14);
    color: #ffffff;
}

.admin-quick-collapse[open] > summary {
    background: rgba(179, 58, 46, 0.12);
    color: #ffffff;
}

.admin-quick-collapse > summary.active {
    background: var(--rock-accent, #b33a2e);
    color: #ffffff;
}

.admin-quick-collapse > summary > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-quick-collapse[open] .admin-quick-caret {
    transform: rotate(180deg);
}

.admin-quick-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f0e7e7;
    text-decoration: none;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-quick-nav a:hover {
    background: rgba(179, 58, 46, 0.14);
    color: #ffffff;
}

.admin-quick-nav a.active {
    background: var(--rock-accent, #b33a2e);
    color: #ffffff;
}

.admin-quick-item-products > .admin-quick-link {
    justify-content: space-between;
}

.admin-quick-item-products > .admin-quick-link > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-quick-caret {
    font-size: 0.78rem;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.admin-quick-item-products.is-expanded .admin-quick-caret {
    transform: rotate(180deg);
}

.admin-quick-submenu {
    display: grid;
    gap: 4px;
    padding-left: 22px;
    margin-top: 2px;
}

.admin-quick-submenu .admin-quick-sublink {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 7px;
    color: #e9dddd;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.admin-quick-submenu .admin-quick-sublink:hover {
    background: rgba(179, 58, 46, 0.12);
    color: #f0e7e7;
}

.admin-quick-submenu .admin-quick-sublink.active {
    background: rgba(179, 58, 46, 0.2);
    color: #ffffff;
}

.admin-panel-hidden {
    display: none !important;
}

.feature-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.feature-toggle-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #3d4a56;
    font-size: 0.94rem;
}

.admin-side-note {
    margin-top: 8px;
    color: #68798a;
    font-size: 0.84rem;
}

.cms-page-item-toggle {
    transition: background-color 0.2s ease;
}

.cms-page-item-toggle:hover {
    background: #eef3f7 !important;
}

.cms-page-item-toggle .fa-chevron-down {
    transition: transform 0.2s ease;
}

.cms-page-content-editor .rt-module {
    margin-top: 8px;
    margin-bottom: 14px;
}

/* Grid pro karty */
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 40px; }
.admin-card { background: #f8f9fa; border-radius: 10px; padding: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.admin-card h3 { font-size: 1.3rem; margin-bottom: 20px; color: #2c3e50; display: flex; justify-content: space-between; align-items: center; }
.admin-card label { display: block; font-weight: 600; color: #555; margin-bottom: 5px; }
.admin-card input[type="text"], .admin-card input[type="email"], .admin-card input[type="url"], .admin-card input[type="password"], .admin-card input[type="time"], .admin-card input[type="date"], .admin-card textarea { width: 100%; padding: 12px; border: 2px solid #e1e8ed; border-radius: 8px; margin-bottom: 15px; font-family: inherit; font-size: 1rem; }
.admin-card textarea { min-height: 120px; resize: vertical; }
.admin-card select,
.admin-card input[type="number"] { width: 100%; padding: 12px; border: 2px solid #e1e8ed; border-radius: 8px; margin-bottom: 15px; font-family: inherit; font-size: 1rem; }

.admin-card input[type="text"]:focus,
.admin-card input[type="email"]:focus,
.admin-card input[type="url"]:focus,
.admin-card input[type="password"]:focus,
.admin-card input[type="time"]:focus,
.admin-card input[type="date"]:focus,
.admin-card input[type="number"]:focus,
.admin-card select:focus,
.admin-card textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.18);
}

.products-admin-section,
.users-admin-section {
    border: 1px solid #4a3a35;
    border-radius: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.14);
}

.products-admin-section h4,
.users-admin-section h4 {
    margin: 0 0 12px;
    color: #f3ece9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-admin-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-admin-card {
    border: 1px solid #594840;
    border-radius: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.products-admin-card + .products-admin-card {
    margin-top: 10px;
}

.products-admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.products-admin-card-header h5 {
    margin: 0;
    color: #f6eeee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-admin-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(179, 58, 46, 0.2);
    color: #f9f3f1;
    border: 1px solid rgba(179, 58, 46, 0.5);
    padding: 3px 8px;
    font-size: 0.78rem;
    font-weight: 700;
}

.users-admin-grid {
    display: grid;
    gap: 10px;
}

.users-admin-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.users-admin-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.users-admin-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.users-password-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
}

.users-password-inline .users-password-input {
    margin-bottom: 0;
    min-height: 44px;
    box-sizing: border-box;
}

.users-password-toggle,
.secondary-btn,
.danger-btn {
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #f0e7e7;
    border-color: rgba(255, 255, 255, 0.16);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.danger-btn {
    background: rgba(179, 58, 46, 0.18);
    color: #ffe5e2;
    border-color: rgba(179, 58, 46, 0.55);
}

.danger-btn:hover {
    background: rgba(179, 58, 46, 0.28);
    transform: translateY(-1px);
}

.orders-filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
    align-items: stretch;
}

.orders-filter-form input,
.orders-filter-form select,
.orders-filter-btn {
    height: 48px;
    min-height: 48px;
    box-sizing: border-box;
    margin: 0;
    display: flex;
    align-items: center;
}

.orders-filter-btn {
    margin-top: 0;
    padding: 0 18px;
    align-self: stretch;
}

.orders-admin-list {
    display: grid;
    gap: 12px;
}

.orders-admin-card {
    border: 1px solid #594840;
    border-radius: 12px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
}

.orders-admin-card strong {
    color: #ffffff;
}

.orders-admin-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.orders-admin-top-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.orders-admin-customer-line {
    margin: 0 0 4px;
    font-weight: 700;
    color: #ffffff;
}

.orders-admin-created {
    font-weight: 500;
    color: #dbe3eb;
}

.orders-admin-row {
    margin: 0 0 5px;
    color: #f3f6fa;
}

.orders-admin-edit-trigger {
    margin-top: 0;
    background: #b33a2e;
}

.orders-admin-expand-trigger {
    margin-top: 0;
    min-height: 44px;
    height: 44px;
    width: 44px;
    padding: 0;
}

.orders-admin-details {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.orders-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid transparent;
    margin-top: 0;
    min-height: 44px;
    height: 44px;
    padding: 0 14px;
    text-transform: none;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    cursor: default;
    user-select: none;
    color: #ffffff;
}

.orders-status-new {
    background: #34495e;
}

.orders-status-processing {
    background: #b85a14;
    color: #ffffff;
}

.orders-status-completed {
    background: #27ae60;
}

.orders-status-cancelled {
    background: #c0392b;
}

.orders-admin-edited-flag {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #ffffff;
}

.orders-admin-original {
    margin-top: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.12);
}

.orders-admin-edit-panel {
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 12px;
}

.orders-admin-edit-form label {
    color: #ffffff;
    font-weight: 700;
    display: block;
    margin: 0 0 6px;
}

.orders-admin-edit-form input,
.orders-admin-edit-form select,
.orders-admin-edit-form textarea {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    padding: 10px 12px;
    margin-bottom: 12px;
}

.orders-admin-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.orders-status-switch-wrap {
    margin-top: 4px;
}

.orders-status-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.orders-status-option {
    position: relative;
    display: inline-flex;
    flex: 1 1 180px;
    min-width: 140px;
    cursor: pointer;
}

.orders-status-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.orders-status-chip {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 700;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    opacity: 0.72;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
}

.orders-status-option input:checked + .orders-status-chip {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.26), 0 10px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px) scale(1.01);
}

.orders-status-chip.orders-status-processing {
    background: #b85a14;
    color: #ffffff;
}

.orders-status-pill.orders-status-processing {
    background: #b85a14;
    color: #ffffff;
}

.users-admin-inline-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.users-admin-permissions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px 10px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow: auto;
}

.users-admin-permission-item {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #ece3e3;
    font-weight: 600;
    font-size: 0.9rem;
}

.users-admin-members {
    display: grid;
    gap: 6px;
}

.users-admin-member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.03);
}

.users-manager-row-wrap + .users-manager-row-wrap {
    margin-top: 8px;
}

.users-manager-line {
    grid-template-columns: minmax(220px, 1fr) 148px 42px;
    align-items: stretch;
}

.users-manager-line .products-admin-edit-product {
    width: 148px;
    min-height: 42px;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    line-height: 1.15;
}

.users-manager-line .products-admin-delete-product {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

.users-btn-placeholder {
    visibility: hidden;
    pointer-events: none;
}

.users-manager-meta {
    margin-top: 4px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #c9baba;
}

.users-inline-editor {
    margin-top: 8px;
    border: 1px solid #5d4a43;
    border-radius: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 980px) {
    .users-admin-grid-4,
    .users-admin-grid-3,
    .users-admin-grid-2 {
        grid-template-columns: 1fr;
    }

    .users-admin-inline-form,
    .users-password-inline {
        grid-template-columns: 1fr;
    }

    .users-admin-member-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .users-manager-line {
        grid-template-columns: minmax(160px, 1fr) 132px 42px;
    }

    .users-manager-line .products-admin-edit-product {
        width: 132px;
    }

    .orders-admin-card-top,
    .orders-admin-edited-flag {
        flex-direction: column;
        align-items: flex-start;
    }

    .orders-admin-top-actions {
        justify-content: flex-start;
    }

    .orders-admin-edit-grid {
        grid-template-columns: 1fr;
    }
}

.products-admin-manager {
    border: 1px solid #4a3a35;
    border-radius: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.14);
    margin-bottom: 14px;
}

.products-admin-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.products-admin-bottom-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-editor-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.admin-editor-actions .save-btn {
    margin-top: 0;
}

.admin-editor-save-primary {
    margin-left: auto;
}

.products-admin-bottom-actions .save-btn {
    margin-top: 0;
}

.products-admin-path {
    font-weight: 700;
    color: #f3ece9;
    letter-spacing: 0.2px;
}

.products-admin-category-list {
    display: grid;
    gap: 10px;
}

.products-admin-category-row {
    border: 1px solid #594840;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.products-admin-category-row h4 {
    margin: 0;
    font-size: 1rem;
}

.products-admin-category-row p {
    margin: 4px 0 0;
    color: #b9abab;
    font-size: 0.85rem;
}

.products-admin-category-actions {
    display: grid;
    grid-template-columns: 118px 42px;
    column-gap: 8px;
    align-items: center;
    justify-content: end;
}

.products-admin-category-actions .save-btn,
.products-admin-fixed-badge {
    min-height: 38px;
    height: 38px;
    box-sizing: border-box;
}

.products-admin-open-category {
    width: 118px;
    justify-content: center;
}

.products-admin-fixed-chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #d0c4c4;
    font-size: 0.75rem;
    font-weight: 700;
}

.products-admin-fixed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    padding: 0;
    border-radius: 8px;
    border: 1px solid #6f625f;
    background: rgba(255, 255, 255, 0.04);
    color: #d8cbca;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
}

.products-admin-delete-category {
    min-width: 42px;
    width: 42px;
    padding-left: 12px;
    padding-right: 12px;
}

.products-admin-delete-product {
    min-height: 40px;
    height: 40px;
    min-width: 42px;
    width: 42px;
    box-sizing: border-box;
    padding-left: 12px;
    padding-right: 12px;
}

.products-admin-edit-product {
    min-height: 40px;
    height: 40px;
    box-sizing: border-box;
}

.products-admin-add-category {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 14px;
    padding-top: 12px;
}

.products-admin-add-category-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.products-admin-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.products-admin-category-header h4 {
    margin: 0;
}

.products-admin-lines {
    display: grid;
    gap: 8px;
}

.products-admin-product-line {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto auto auto auto;
    gap: 8px;
    align-items: center;
    border: 1px solid #57453f;
    border-radius: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.products-admin-product-name {
    font-weight: 700;
    color: #f0e7e7;
}

.products-admin-stock-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 0.88rem;
    color: #c9bbbb;
}

.products-admin-stock-input {
    width: 84px !important;
    margin: 0 !important;
    padding: 8px 10px !important;
}

.products-admin-visibility-switch {
    margin: 0;
}

.products-admin-visibility-label {
    font-size: 0.86rem;
    color: #cdbfbe;
    min-width: 54px;
}

.products-admin-editor-wrap {
    border: 1px solid #5b4640;
    border-radius: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.products-admin-image-current {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #cfc1c1;
}

.products-admin-gallery-pick-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.products-admin-upload-wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.products-admin-upload-wrap-bottom {
    margin-top: 14px;
}

.products-admin-upload-input,
#products-editor-upload {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}

.products-admin-upload-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.products-admin-upload-trigger:hover {
    transform: translateY(-1px);
}

.products-admin-picker-modal {
    position: fixed;
    inset: 0;
    background: rgba(10, 7, 7, 0.72);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.products-admin-picker-dialog {
    width: min(560px, 100%);
    border: 1px solid #6e524a;
    border-radius: 12px;
    background: #241c1a;
    padding: 14px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.products-admin-picker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.products-admin-picker-head h5 {
    margin: 0;
    color: #f2e7e4;
    font-size: 1rem;
}

.products-admin-picker-close {
    border: 1px solid #6c4b44;
    background: #382925;
    color: #f0e7e7;
    border-radius: 8px;
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
    cursor: pointer;
}

.products-admin-picker-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.products-admin-picker-gallery {
    margin-top: 12px;
}

.products-admin-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 4px;
}

.products-admin-picker-thumb {
    border: 1px solid #614942;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 6px;
    color: #e8dfdf;
    cursor: pointer;
    display: grid;
    gap: 5px;
    text-align: left;
}

.products-admin-picker-thumb:hover {
    border-color: #b33a2e;
    background: rgba(179, 58, 46, 0.12);
}

.products-admin-picker-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.products-admin-picker-thumb span {
    font-size: 0.74rem;
    line-height: 1.2;
    color: #d8caca;
    word-break: break-word;
}

.products-admin-upload-status {
    color: #c8bbbb;
    font-size: 0.85rem;
}

.products-admin-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.products-admin-image-card {
    border: 1px solid #5c4842;
    border-radius: 10px;
    padding: 7px;
    background: rgba(255, 255, 255, 0.04);
}

.products-admin-image-thumb-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.products-admin-image-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.products-admin-image-primary {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(179, 58, 46, 0.92);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
}

.products-admin-image-name {
    margin-top: 7px;
    font-size: 0.82rem;
    color: #d6c9c9;
    word-break: break-word;
}

.products-admin-image-actions {
    margin-top: 6px;
    display: flex;
    gap: 6px;
}

.products-admin-editor-visibility-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e5dada;
    font-weight: 600;
    margin: 8px 0 6px;
}

.products-admin-editor-save-btn {
    margin-top: 12px;
}

.products-admin-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.products-admin-editor-visibility {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e5dada;
    font-weight: 600;
}

.products-admin-editor-switch {
    margin: 0;
}

.products-admin-editor-note {
    margin: 8px 0 0;
    color: #ad9f9f;
    font-size: 0.82rem;
}

.products-admin-empty {
    margin: 0;
    color: #b9abab;
    font-style: italic;
}

.rt-module { margin-bottom: 14px; border: 1px solid #4a3535; border-radius: 10px; overflow: hidden; background: #1f1a1a; }
.rt-tabs { display: inline-flex; gap: 4px; }
.rt-tabs-inline {
    margin-left: auto;
    align-self: center;
    display: inline-flex;
    align-items: center;
}
.rt-tab {
    height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5a4242;
    background: #1f1a1a;
    color: #d4c6c6;
    border-radius: 4px;
    padding: 0 12px;
    font-weight: 700;
    cursor: pointer;
}
.rt-tab:hover { background: #3a2f2f; border-color: var(--rock-accent, #b33a2e); }
.rt-tab.active {
    background: #3a2f2f;
    border-color: var(--rock-accent, #b33a2e);
    color: #f4ecec;
}
.rt-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid #4a3535;
    background: #2a2323;
}
.rt-group {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-right: 8px;
    margin-right: 4px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.rt-group:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}
.rt-btn {
    width: 34px;
    height: 34px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5a4242;
    background: #1f1a1a;
    color: #f0e7e7;
    border-radius: 4px;
    cursor: pointer;
}
.rt-btn:hover { background: #3a2f2f; border-color: var(--rock-accent, #b33a2e); }
.rt-format-btn {
    height: 34px;
    min-width: 40px;
    padding: 0 10px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #5a4242;
    background: #1f1a1a;
    color: #f0e7e7;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}
.rt-format-btn:hover {
    background: #3a2f2f;
    border-color: var(--rock-accent, #b33a2e);
}
.rt-format-btn.active {
    background: #3a2f2f;
    border-color: var(--rock-accent, #b33a2e);
    color: #fff;
}
.rt-mode-text .rt-group { display: none; }
.rt-mode-text .rt-toolbar {
    justify-content: flex-end;
    padding: 8px 10px;
}
.rt-editor {
    min-height: 220px;
    background: #1f1a1a;
    color: #f0e7e7;
    padding: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
.rt-editor * { box-sizing: border-box; max-width: 100%; }
.rt-editor ul,
.rt-editor ol {
    margin: 0.5em 0;
    padding-left: 1.2rem;
    list-style-position: inside;
}
.rt-editor li { margin: 0.2em 0; }
.rt-editor:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(179, 58, 46, 0.32);
}
.rt-editor:empty::before {
    content: attr(data-placeholder);
    color: #8f7f7f;
}
.rt-editor-source {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92rem;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Switch */
.switch-wrapper { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: bold; color: #7f8c8d; }
.switch { position: relative; display: inline-block; width: 50px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #5b5252; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 4px; bottom: 4px; background-color: #c7bcbc; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #e74c3c; } 
input:checked + .slider:before { transform: translateX(24px); }

/* Řádky hodin */
.day-row { display: grid; grid-template-columns: 80px 1fr 1fr auto; gap: 15px; align-items: center; margin-bottom: 10px; }
.day-label { font-weight: 600; color: #2c3e50; }
.close-day-label { font-size: 0.9rem; color: #e74c3c; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; }
.time-disabled { background-color: #f1f1f1 !important; color: #aaa !important; border-color: #eee !important; cursor: not-allowed; }
.hidden { display: none !important; }

/* Notifikace */
.save-notification { position: fixed; top: 90px; right: 20px; background-color: #2ecc71; color: white; padding: 15px 25px; border-radius: 8px; font-size: 1.1rem; font-weight: 700; box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4); display: flex; align-items: center; gap: 10px; z-index: 3000; transform: translateX(150%); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.save-notification.show { transform: translateX(0); }

.analytics-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.analytics-summary-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 12px;
}

.analytics-summary-label {
    display: block;
    font-size: 0.82rem;
    color: #b8aeae;
    margin-bottom: 6px;
}

.analytics-summary-value {
    font-size: 1.35rem;
    line-height: 1.1;
    color: #f0ecec;
}

.analytics-summary-value.is-positive {
    color: #61dca0;
}

.analytics-summary-value.is-negative {
    color: #ff8f84;
}

.analytics-note {
    font-size: 0.85rem;
    color: #b8aeae;
    margin-bottom: 12px;
}

.analytics-weekly-chart {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 8px;
    align-items: end;
    min-height: 240px;
    padding: 12px 10px 10px;
    background: rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.analytics-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    min-width: 0;
    height: 100%;
}

.analytics-bar {
    position: relative;
    width: 100%;
    max-width: 34px;
    min-height: 6px;
    border-radius: 8px 8px 4px 4px;
    background: linear-gradient(180deg, #ff7f6d 0%, #b33a2e 100%);
    box-shadow: 0 6px 16px rgba(179, 58, 46, 0.35);
    transition: transform 0.2s ease;
}

.analytics-bar-wrap:hover .analytics-bar {
    transform: translateY(-2px);
}

.analytics-bar-value {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #d5caca;
    font-weight: 700;
    white-space: nowrap;
}

.analytics-bar-label {
    margin-top: 8px;
    font-size: 0.72rem;
    color: #b8aeae;
    text-align: center;
    line-height: 1.1;
}

.analytics-empty {
    grid-column: 1 / -1;
    margin: auto;
    color: #b8aeae;
    font-style: italic;
}

/* --- STYLY PRO GALERII V ADMINU --- */

/* Karta na celou šířku */
.full-width-card {
    width: 100%;
    margin-top: 40px;
}

/* Vylepšený nahrávací box */
.upload-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    padding: 30px;
    transition: background-color 0.3s;
    gap: 15px; /* Mezera mezi prvky */
}
.upload-box:hover { background-color: #f0f4f8; border-color: #3498db; }

/* TLAČÍTKA (Sjednocený vzhled pro save-btn a custom-file-btn) */
.save-btn, .custom-file-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;       /* Sjednocená velikost písma */
    line-height: 1.5;      /* Sjednocená výška řádku */
    padding: 12px 25px;    /* Sjednocené odsazení */
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    color: #ffffff !important; /* Vynucení bílé barvy */
    text-decoration: none;
}

/* Specifické barvy */
.save-btn { background-color: #b33a2e; margin-top: 10px; }

.products-admin-actions .save-btn,
.products-admin-bottom-actions .save-btn {
    margin-top: 0;
    min-height: 44px;
}

.admin-editor-actions .save-btn {
    min-height: 44px;
}
.save-btn:hover { background-color: #8f2a21; transform: translateY(-2px); }

.custom-file-btn { background-color: #34495e; }
.custom-file-btn:hover { background-color: #2c3e50; transform: translateY(-2px); }

/* Ikonka uvnitř tlačítka musí být taky bílá */
.save-btn i, .custom-file-btn i { color: #ffffff !important; }

.orders-filter-form .save-btn {
    margin-top: 0;
    min-height: 44px;
    height: 44px;
    padding: 0 18px;
    align-self: stretch;
}

.orders-admin-top-actions .save-btn,
.orders-admin-top-actions .secondary-btn {
    margin-top: 0;
    min-height: 44px;
    height: 44px;
}

/* Skrytý input */
#real-file { display: none; }

/* Jeden řádek s fotkou */
.admin-gallery-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    transition: box-shadow 0.2s;
}
.admin-gallery-row:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.05); }

/* Miniatura s lupou při najetí */
.gallery-thumb-wrapper {
    position: relative;
    cursor: pointer;
    width: 80px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}
.gallery-thumb {
    width: 100%; height: 100%; object-fit: cover; border-radius: 5px; border: 2px solid #ddd; display: block;
}
.is-hero .gallery-thumb { border-color: #f1c40f; box-shadow: 0 0 8px rgba(241, 196, 15, 0.5); }

/* Ikonky akcí */
.gallery-actions { display: flex; align-items: center; gap: 5px; }

.icon-btn { 
    background: #f8f9fa; border: 1px solid #e1e8ed; cursor: pointer; 
    width: 35px; height: 35px; border-radius: 5px; 
    display: flex; align-items: center; justify-content: center; 
    transition: all 0.2s; color: #555;
}
.icon-btn:hover { background-color: #ecf0f1; transform: translateY(-2px); }

/* Specifické barvy tlačítek */
.btn-up:hover, .btn-down:hover { color: #3498db; border-color: #3498db; }
.btn-delete:hover { color: #fff; background-color: #e74c3c; border-color: #e74c3c; }
.btn-hero { color: #bdc3c7; }
.btn-hero:hover { color: #f1c40f; border-color: #f1c40f; }
.btn-hero.active { color: #fff; background-color: #f1c40f; border-color: #f39c12; cursor: default; }
.btn-logo { color: #bdc3c7; }
.btn-logo:hover { color: #c0392b; border-color: #c0392b; }
.btn-logo.active { color: #fff; background-color: #c0392b; border-color: #a93226; cursor: default; }

.gallery-filename { font-size: 0.85rem; color: #7f8c8d; max-width: 300px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================
   SPOLEČNÁ RESPONZIVITA PRO MOBILY (Pod 900px)
   ========================================= */
@media (max-width: 900px) {
    header { height: 70px; padding: 0 20px; }
    .logo { flex: 0 1 auto; max-width: 75%; }
    .logo img { width: var(--logo-corner-mobile-width); height: var(--logo-corner-mobile-height); transform: translateY(0); margin-top: 0; margin-bottom: 0; } 
    
    header.scrolled .logo img, header.menu-open .logo img, body.admin-bg .logo img {
        width: var(--logo-corner-mobile-compact-width); height: var(--logo-corner-mobile-compact-height); transform: translateY(0); margin: 0;
    }

    .header-contact { display: none; }
    .menu-toggle { display: block; }
    nav { justify-content: flex-end; }

    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: var(--rock-panel-soft); text-align: center; padding: 20px 0; box-shadow: 0 5px 16px rgba(0,0,0,0.12); z-index: 1000; }
    nav ul li a { color: var(--rock-text); }
    nav ul.active { display: flex; }
    .mobile-login-link { display: none !important; }

    .nav-submenu {
        position: static;
        display: block;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        min-width: 0;
        padding: 0;
        margin-top: 4px;
    }

    .nav-submenu li a {
        padding: 6px 18px;
        font-size: 0.88rem;
    }

    #uvod { margin-top: 0; }
    .status-wrapper h1 { font-size: 2.5rem; }
    .hero-logo { width: min(86vw, 430px); height: clamp(120px, 26vw, 180px); }

    #uvod-intro,
    #novinky {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .home-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-split-text h2 {
        text-align: center;
    }

    .home-split-media img {
        min-height: 260px;
        max-height: 340px;
    }

    #uvod-banner {
        min-height: 46vh;
        padding: 60px 16px;
    }

    .news-row,
    .news-row.reverse {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 28px;
    }

    .news-row.reverse .news-text,
    .news-row.reverse .news-media {
        order: initial;
    }

    .news-row-link {
        padding: 16px;
        margin: -16px -16px 18px;
    }

    .news-text h3,
    .news-text p {
        text-align: center;
    }

    .news-media img {
        min-height: 220px;
        max-height: 280px;
    }

    .hours-layout { flex-direction: column; gap: 30px; }
    .hours-table-wrapper h2 { text-align: center; margin-top: 0; }
    .hours-image img { height: 300px; min-height: auto; margin-top: 20px; }

    .gallery-wrapper.gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .gallery-item { height: 180px; }
    .close-lightbox { top: 10px; right: 20px; font-size: 40px; }

    .product-row,
    .product-row.reverse {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 30px;
    }

    .product-row.reverse .product-media,
    .product-row.reverse .product-text {
        order: initial;
    }

    .product-media img {
        min-height: 230px;
        max-height: 290px;
    }

    .product-text h3,
    .product-text p,
    .product-price {
        text-align: center;
    }

    .product-specs th,
    .product-specs td {
        font-size: 0.9rem;
        padding: 9px 10px;
    }

    .products-admin-toolbar,
    .products-admin-add-category-row,
    .products-admin-category-header,
    .products-admin-gallery-pick-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    .products-admin-bottom-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-editor-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .products-admin-bottom-actions .save-btn {
        width: 100%;
    }

    .admin-editor-actions .save-btn,
    .admin-editor-save-primary {
        width: 100%;
        margin-left: 0;
    }

    .products-admin-upload-wrap {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-admin-picker-actions,
    .products-admin-picker-gallery {
        grid-template-columns: 1fr;
    }

    .products-admin-upload-trigger {
        width: 100%;
        justify-content: center;
    }

    .products-admin-images-grid {
        grid-template-columns: 1fr;
    }

    .products-admin-product-line {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .products-admin-stock-wrap {
        width: 100%;
        justify-content: space-between;
    }

    .products-admin-stock-input {
        width: 100% !important;
    }

    .products-admin-editor-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .products-admin-editor-footer .save-btn {
        width: 100%;
    }

    #produkty .products-category-title {
        text-align: center;
    }

    #objednavka .order-layout {
        gap: 16px;
    }

    #objednavka .order-layout:first-of-type,
    #objednavka .order-layout-form {
        padding-top: 74px;
        padding-bottom: 36px;
    }

    #objednavka .order-layout-media {
        padding-top: 36px;
        padding-bottom: 28px;
    }

    #objednavka .order-top-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    #objednavka .order-main-title,
    #objednavka .order-main-text {
        text-align: center;
    }

    #objednavka .order-form-grid {
        grid-template-columns: 1fr;
    }

    #objednavka .order-top-image {
        min-height: 200px;
        max-height: 260px;
    }

    #objednavka .order-banner {
        min-height: 170px;
        padding: 20px 14px;
    }

    #objednavka .order-submit-btn {
        align-self: center;
    }

    .contact-layout { flex-direction: column; text-align: center; gap: 40px; }
    .contact-editable-block > .admin-inline-edit { right: 0; top: -10px; }
    .contact-page-title { margin-bottom: 30px; }
    #objednavka .order-page-title { margin-bottom: 30px; }
    #objednavka .order-page-intro { margin: -24px 0 16px; color: #ffffff; text-align: center; }
    .contact-text h2 { text-align: center; font-size: 2.2rem; }
    #kontakt .contact-form { margin: 30px auto 0; width: 100%; }
    #kontakt .contact-form-grid { grid-template-columns: 1fr; }
    #kontakt .order-submit-btn { align-self: center; }
    
    .billing-box { margin: 0 auto; text-align: left; width: 100%; }
    
    .contact-details { width: 100%; margin-top: 10px; margin-bottom: 0; align-self: auto; align-items: center; }
    .contact-item { width: 100%; max-width: 470px; justify-content: flex-start; font-size: 1.28rem; margin: 0 auto; }
    .contact-item span { word-break: break-all; text-align: left; }
    
    /* Na mobilu ceník trochu zmenšíme */
    .pricelist-wrapper { padding: 25px 15px; }
    .price-item { font-size: 1rem; margin-bottom: 15px; }
    .price-dots { border-bottom-width: 2px; }
    #koncerty h2 { margin-bottom: 10px; }
    .concerts-toggle { min-width: 260px; max-width: 320px; }
    .concert-row { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: center; }
    .concert-icon-box { grid-row: span 2; }
    .concert-date { grid-column: 2; }
    .concert-dots { display: none; }
    .concert-title { grid-column: 2; }
    .concert-title { text-align: left; }

    /* Patička */
    footer .container { min-height: 84px; padding: 10px 14px; }
    footer .container.footer-has-actions { min-height: 126px; }
    .footer-info-grid { grid-template-columns: 1fr; gap: 16px; text-align: center; margin-bottom: 12px; }
    .footer-social-links { justify-content: center; }
    .footer-buttons { flex-direction: column; align-items: center; gap: 12px; margin: 0; padding: 0; }
    .footer-buttons .login-btn { width: 100%; max-width: 620px; text-align: center; font-size: 1rem; padding: 10px 22px; }
    .footer-meta-row { grid-template-columns: 1fr; gap: 8px; text-align: center; }
    .footer-meta-left,
    .footer-meta-center,
    .footer-meta-right { justify-self: center; text-align: center; }

    /* Admin dashboard */
    .admin-dashboard { padding-top: 110px; } 
    .dashboard-box { padding: 15px; width: 100%; box-sizing: border-box; }
    .admin-layout { display: flex; flex-direction: column; gap: 18px; }
    .admin-sidebar-box { position: static; top: auto; order: 1; }
    .admin-main-box { order: 2; }
    .admin-quick-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .admin-quick-nav a { min-height: 44px; padding: 10px 12px; font-size: 0.9rem; }
    .admin-quick-nav a i { width: 16px; text-align: center; }
    .login-box { padding: 25px; width: 90%; box-sizing: border-box; }
    .admin-grid { display: flex; flex-direction: column; gap: 25px; width: 100%; } 
    .admin-card { padding: 20px; width: 100%; box-sizing: border-box; }
    .admin-card h3 { flex-direction: column; align-items: flex-start; gap: 15px; }
    .analytics-summary-grid { grid-template-columns: 1fr; }
    .analytics-weekly-chart { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 18px; min-height: 280px; }
    .admin-header-right { gap: 10px; font-size: 0.85rem; }
    .dashboard-header h2 { font-size: 1.5rem; }
    .admin-card input:not([type="checkbox"]), .admin-card textarea { width: 100%; min-width: 0; box-sizing: border-box !important; }
    
    .day-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 15px; gap: 12px; border: 1px solid #e1e8ed; box-sizing: border-box; }
    .day-label { width: 100%; text-align: center; border-bottom: 1px solid #e1e8ed; padding-bottom: 10px; margin-bottom: 5px; }
    .day-row input[type="time"] { width: calc(50% - 15px) !important; max-width: 130px !important; margin-bottom: 0; text-align: center; }
    .close-day-label { display: flex !important; width: 100%; justify-content: center !important; align-items: center; margin-top: 5px; padding-top: 10px; }
    .close-day-label input[type="checkbox"] { width: auto !important; margin-right: 8px; margin-bottom: 0; }

    /* --- OPRAVA GALERIE V ADMINU NA MOBILU --- */
    .admin-gallery-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .admin-gallery-row > div:first-child {
        width: 100%;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .admin-gallery-row > div:first-child span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px; 
        font-size: 0.8rem;
    }

    .gallery-actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .icon-btn {
        flex: 1; 
        height: 40px; 
        width: auto;
    }
}

/* =========================================
   FRONTEND COLOR TOKENS
   ========================================= */
:root {
    --rock-accent: #c0392b;
    --rock-accent-dark: #a93226;
    --rock-bg: #191715;
    --rock-panel: #24201d;
    --rock-panel-soft: #2d2723;
    --rock-detail: #3a2b21;
    --rock-border: #4b3a2e;
    --rock-footer-bg: #342d29;
    --rock-text: #f7f3ef;
    --rock-muted: #c7bbb0;
    --logo-corner-width: 220px;
    --logo-corner-height: 72px;
    --logo-corner-compact-width: 156px;
    --logo-corner-compact-height: 48px;
    --logo-corner-mobile-width: 148px;
    --logo-corner-mobile-height: 46px;
    --logo-corner-mobile-compact-width: 126px;
    --logo-corner-mobile-compact-height: 40px;
    --logo-hero-width: min(84vw, 620px);
    --logo-hero-height: clamp(150px, 24vw, 260px);
}

body:not(.admin-bg) {
    background: var(--rock-bg);
    color: var(--rock-text);
}

body:not(.admin-bg) h1,
body:not(.admin-bg) h2,
body:not(.admin-bg) h3,
body:not(.admin-bg) h4,
body:not(.admin-bg) h5,
body:not(.admin-bg) h6,
body:not(.admin-bg) p,
body:not(.admin-bg) li,
body:not(.admin-bg) label,
body:not(.admin-bg) .about-richtext,
body:not(.admin-bg) .about-richtext p,
body:not(.admin-bg) .about-richtext li,
body:not(.admin-bg) .about-richtext blockquote {
    color: var(--rock-text);
}

body:not(.admin-bg) .home-white-section,
body:not(.admin-bg) #objednavka,
body:not(.admin-bg) #produkty,
body:not(.admin-bg) #hodiny,
body:not(.admin-bg) #koncerty,
body:not(.admin-bg) #kontakt,
body:not(.admin-bg) #galerie,
body:not(.admin-bg) section[id^="page-"] {
    background: var(--rock-bg);
}

body:not(.admin-bg) header.scrolled,
body:not(.admin-bg) header.menu-open,
body:not(.admin-bg).inner-page header {
    background: var(--rock-panel-soft);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

body:not(.admin-bg) header.scrolled nav ul li a,
body:not(.admin-bg) header.menu-open nav ul li a,
body:not(.admin-bg).inner-page nav ul li a,
body:not(.admin-bg) header.scrolled .header-contact,
body:not(.admin-bg) header.menu-open .header-contact,
body:not(.admin-bg).inner-page .header-contact,
body:not(.admin-bg) header.scrolled .menu-toggle,
body:not(.admin-bg) header.menu-open .menu-toggle,
body:not(.admin-bg).inner-page .menu-toggle {
    color: var(--rock-text);
}

body:not(.admin-bg) .nav-submenu,
body:not(.admin-bg) .instagram-lightbox,
body:not(.admin-bg) .concert-row,
body:not(.admin-bg) .concert-nav-btn,
body:not(.admin-bg) .billing-box,
body:not(.admin-bg) .pricelist-wrapper,
body:not(.admin-bg) #koncerty .pricelist-wrapper,
body:not(.admin-bg) .product-specs,
body:not(.admin-bg) #objednavka .order-products-box,
body:not(.admin-bg) #objednavka .order-form input,
body:not(.admin-bg) #objednavka .order-form select,
body:not(.admin-bg) #objednavka .order-form textarea,
body:not(.admin-bg) .order-panel,
body:not(.admin-bg) .concerts-toggle,
body:not(.admin-bg) .day-row {
    background: var(--rock-panel);
    border-color: var(--rock-border);
    color: var(--rock-text);
}

body:not(.admin-bg) .news-text h3,
body:not(.admin-bg) .news-text p,
body:not(.admin-bg) .home-split-text p,
body:not(.admin-bg) .product-text h3,
body:not(.admin-bg) .product-text p,
body:not(.admin-bg) #objednavka .order-main-title,
body:not(.admin-bg) #objednavka .order-main-text,
body:not(.admin-bg) #objednavka .order-form label,
body:not(.admin-bg) #objednavka .order-products-box legend,
body:not(.admin-bg) #objednavka .order-product-option,
body:not(.admin-bg) #objednavka .order-required-note,
body:not(.admin-bg) #objednavka .order-form-note,
body:not(.admin-bg) #koncerty .pricelist-note,
body:not(.admin-bg) .pricelist-note,
body:not(.admin-bg) .concert-title,
body:not(.admin-bg) .concerts-nav,
body:not(.admin-bg) .contact-text p,
body:not(.admin-bg) .billing-box p,
body:not(.admin-bg) .billing-box h3,
body:not(.admin-bg) .contact-form label,
body:not(.admin-bg) .product-specs th,
body:not(.admin-bg) .product-specs td,
body:not(.admin-bg) .hours-table th,
body:not(.admin-bg) .hours-table td,
body:not(.admin-bg) .price-item,
body:not(.admin-bg) .price-value {
    color: var(--rock-text);
}

body:not(.admin-bg) .hours-table tr:nth-child(odd),
body:not(.admin-bg) .hours-table tr:nth-child(even) {
    background: #221f1c;
}

body:not(.admin-bg) .hours-table tr:hover {
    background: #2c2723;
}

body:not(.admin-bg) .concert-mode-btn,
body:not(.admin-bg) .footer-info-col a,
body:not(.admin-bg) .footer-info-col p,
body:not(.admin-bg) .footer-meta-left,
body:not(.admin-bg) .footer-meta-right,
body:not(.admin-bg) .footer-meta-right a {
    color: var(--rock-muted);
}

body:not(.admin-bg) .billing-box,
body:not(.admin-bg) .concert-row,
body:not(.admin-bg) .pricelist-wrapper,
body:not(.admin-bg) .product-specs,
body:not(.admin-bg) .nav-submenu,
body:not(.admin-bg) #objednavka .order-products-box,
body:not(.admin-bg) .day-row {
    border: 1px solid var(--rock-border);
}

body:not(.admin-bg) .contact-form input,
body:not(.admin-bg) .contact-form textarea {
    background: #221d1a;
    border-color: var(--rock-border);
    color: var(--rock-text);
}

body:not(.admin-bg) .concert-nav-btn:hover {
    background: var(--rock-accent);
    border-color: var(--rock-accent);
    color: #ffffff;
}

body:not(.admin-bg) .concerts-toggle::before {
    background: var(--rock-detail);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

body:not(.admin-bg) .mobile-menu-open nav ul,
body:not(.admin-bg) nav ul.active {
    background: var(--rock-panel-soft);
}

body:not(.admin-bg) .mobile-login-link a,
body:not(.admin-bg) .nav-submenu li a {
    color: var(--rock-text) !important;
}

body:not(.admin-bg) .nav-submenu li a:hover,
body:not(.admin-bg) .nav-submenu li a.active {
    background: rgba(192, 57, 43, 0.18);
    color: #ffffff !important;
}

body:not(.admin-bg) .price-dots,
body:not(.admin-bg) .concert-dots {
    border-bottom-color: #6e5a49;
}

body:not(.admin-bg) .icon-box,
body:not(.admin-bg) .concert-icon-box {
    background-color: var(--rock-detail);
}

body:not(.admin-bg) .icon-box {
    background-color: var(--rock-accent);
    box-shadow: none;
}

body:not(.admin-bg) footer {
    background: var(--rock-footer-bg);
    color: var(--rock-text);
}

body:not(.admin-bg) .footer-social-link {
    border-color: rgba(224, 214, 206, 0.28);
    color: var(--rock-text) !important;
}

body:not(.admin-bg) .footer-social-link:hover {
    border-color: var(--rock-accent);
    background: var(--rock-accent);
    color: #ffffff !important;
}

/* =========================================
   ROCK DARK THEME (ADMIN)
   ========================================= */
body.admin-bg {
    background-color: #1e1b1b;
    color: #e8e1e1;
}

body.admin-bg header.scrolled,
body.admin-bg header.menu-open,
body.admin-bg header {
    background: #2d2723;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

body.admin-bg .dashboard-box {
    background: #241d1d;
    border-top-color: var(--rock-accent);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

body.admin-bg .dashboard-header,
body.admin-bg .dashboard-header h2,
body.admin-bg .admin-card h3,
body.admin-bg .day-label,
body.admin-bg .admin-card label,
body.admin-bg .close-day-label,
body.admin-bg .gallery-filename,
body.admin-bg .logged-user {
    color: #e4dada;
}

body.admin-bg .admin-card,
body.admin-bg .admin-gallery-row,
body.admin-bg .day-row,
body.admin-bg .upload-box {
    background: #2b2424;
    border-color: #4a3535;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.28);
}

body.admin-bg .admin-side-group {
    background: #2b2424;
    border-color: #4a3535;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

body.admin-bg .admin-side-group h4,
body.admin-bg .feature-toggle-item,
body.admin-bg .admin-side-note,
body.admin-bg .admin-quick-nav a {
    color: #e4dada;
}

body.admin-bg .cms-page-item-toggle {
    background: #2b2424 !important;
    color: #e4dada;
}

body.admin-bg .cms-page-item-toggle:hover {
    background: #342b2b !important;
}

body.admin-bg .admin-quick-nav a:hover {
    background: rgba(179, 58, 46, 0.18);
    color: #fff2f0;
}

body.admin-bg .admin-quick-nav a.active {
    background: var(--rock-accent, #b33a2e);
    color: #ffffff;
}

body.admin-bg .admin-card input[type="text"],
body.admin-bg .admin-card input[type="email"],
body.admin-bg .admin-card input[type="url"],
body.admin-bg .admin-card input[type="password"],
body.admin-bg .admin-card input[type="time"],
body.admin-bg .admin-card input[type="date"],
body.admin-bg .admin-card input[type="number"],
body.admin-bg .admin-card select,
body.admin-bg .admin-card textarea {
    background: #211c1c;
    border-color: #4a3535;
    color: #f0e7e7;
}

body.admin-bg .admin-card input[type="text"]:focus,
body.admin-bg .admin-card input[type="email"]:focus,
body.admin-bg .admin-card input[type="url"]:focus,
body.admin-bg .admin-card input[type="password"]:focus,
body.admin-bg .admin-card input[type="time"]:focus,
body.admin-bg .admin-card input[type="date"]:focus,
body.admin-bg .admin-card input[type="number"]:focus,
body.admin-bg .admin-card select:focus,
body.admin-bg .admin-card textarea:focus {
    outline: none;
    border-color: var(--rock-accent, #b33a2e);
    box-shadow: 0 0 0 3px rgba(179, 58, 46, 0.24);
}

/* Keep autofilled credentials visually consistent with dark admin fields. */
body.admin-bg .admin-card input:-webkit-autofill,
body.admin-bg .admin-card input:-webkit-autofill:hover,
body.admin-bg .admin-card input:-webkit-autofill:focus,
body.admin-bg .input-wrapper input:-webkit-autofill,
body.admin-bg .input-wrapper input:-webkit-autofill:hover,
body.admin-bg .input-wrapper input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #211c1c inset;
    -webkit-text-fill-color: #f0e7e7;
    border-color: #4a3535;
    transition: background-color 9999s ease-in-out 0s;
}

body.admin-bg .admin-card input::placeholder,
body.admin-bg .admin-card textarea::placeholder {
    color: #9f8f8f;
}

body.admin-bg .icon-btn {
    background: #231d1d;
    border-color: #4a3535;
    color: #d6c9c9;
}

body.admin-bg .icon-btn:hover {
    background: #312828;
}

body.admin-bg .upload-box:hover {
    background: #322a2a;
    border-color: var(--rock-accent);
}

body.admin-bg .back-link {
    color: #d9c8c8;
}

body.admin-bg .back-link:hover {
    color: var(--rock-accent);
}

@media (max-width: 560px) {
    .gallery-wrapper.gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 210px;
    }
}

/* ========================================= 
   NÁHLED OBRÁZKU V ADMINISTRACI 
   ========================================= */
.admin-image-preview-box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: 2px dashed #bdc3c7;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(44,62,80,0.08) 100%);
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-image-preview-box:empty::before {
    content: '📸';
    font-size: 3rem;
    opacity: 0.3;
}

.admin-image-preview-box img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInPreview 0.4s ease;
}

@keyframes fadeInPreview {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.admin-image-preview-box:not(:empty) {
    border-color: #27ae60;
    background: linear-gradient(135deg, rgba(39,174,96,0.08) 0%, rgba(39,174,96,0.04) 100%);
}

/* Galerie obrázků v administraci */
.admin-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.admin-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-gallery-item:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.admin-gallery-item-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: #e74c3c;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.2s ease;
    transform: scale(0);
}

.admin-gallery-item:hover .admin-gallery-item-remove {
    opacity: 1;
    transform: scale(1);
}

/* ========================================= 
   CAROUSEL PRO ÚVOD A OBJEDNÁVKU
   ========================================= */
.home-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
    width: 100%;
    max-height: 400px;
}

.home-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-carousel-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Navigační tlačítka */
.home-carousel-prev,
.home-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.home-carousel-prev {
    left: 12px;
}

.home-carousel-next {
    right: 12px;
}

.home-carousel-prev:hover,
.home-carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* Tečky pro navigaci */
.home-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.home-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.home-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.home-carousel-dot.active {
    background: white;
    transform: scale(1.2);
}
}