/* ==========================================================================
   TOPtrony.cz - Stylesheet
   ========================================================================== */

:root {
    --color-bg:        #fafaf8;
    --color-surface:   #ffffff;
    --color-text:      #1a1a18;
    --color-muted:     #6b6b66;
    --color-border:    #e5e5e0;
    --color-accent:    #c8a44e;
    --color-accent-dk: #a8883a;
    --color-dark:      #1a1a18;
    --color-dark-2:    #2a2a28;
    --color-green:     #2d8a4e;
    --color-blue:      #3a6ea5;
    --color-red:       #c0392b;
    --color-warning:   #d4a017;
    --radius:          6px;
    --radius-lg:       10px;
    --font:            'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif:      'Instrument Serif', Georgia, serif;
    --shadow-sm:       0 1px 3px rgba(0,0,0,0.06);
    --shadow:          0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg:       0 4px 20px rgba(0,0,0,0.10);
    --transition:      0.2s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    overflow-x: clip;
    width: 100%;
    position: relative;
}
body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
    position: relative;
    overflow-wrap: break-word;
}
main {
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent-dk); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent); }

/* LAYOUT */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: 800px; }

.section { padding: 64px 0; }
.section--dark { background: #f0efeb; color: var(--color-text); }

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250,250,248,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--color-text);
}
.logo__top { color: var(--color-accent); }
.logo__trony { color: var(--color-text); }
.logo__tld { color: var(--color-muted); font-weight: 400; font-size: 0.75em; }
.logo--footer { font-size: 20px; margin-bottom: 12px; display: inline-block; }
.logo--footer .logo__trony { color: #d0d0cc; }

.main-nav { display: flex; gap: 4px; }
.nav-link {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 450;
    color: var(--color-muted);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--color-text);
    background: rgba(0,0,0,0.04);
}
.nav-link.active { font-weight: 600; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span {
    display: block; width: 20px; height: 2px; background: var(--color-text);
    margin: 4px 0; border-radius: 2px; transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
    padding: 80px 0 72px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, #f0efeb 100%);
}
.hero__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-dk);
    margin-bottom: 16px;
}
.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--color-dark);
}
.hero__title em {
    font-style: italic;
    color: var(--color-accent-dk);
}
.hero__desc {
    max-width: 560px;
    margin: 0 auto 32px;
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Hero buttons */
.btn--hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    background: var(--color-dark);
    color: #fff;
    border: 2px solid var(--color-dark);
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    line-height: 1;
}
.btn--hero-primary:hover {
    background: var(--color-accent-dk);
    border-color: var(--color-accent-dk);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(138,109,43,.25);
}
.btn--hero-primary svg { opacity: .7; }

.btn--hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
    line-height: 1;
}
.btn--hero-outline:hover {
    border-color: var(--color-accent-dk);
    color: var(--color-accent-dk);
    transform: translateY(-1px);
}
.btn--hero-outline svg { opacity: .5; }
.btn--hero-outline:hover svg { opacity: .8; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}
.btn--primary {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}
.btn--primary:hover { background: var(--color-dark-2); color: #fff; }

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
}
.btn--outline:hover { border-color: var(--color-text); }

.btn--ghost {
    background: transparent;
    color: var(--color-muted);
    border-color: var(--color-border);
    padding: 8px 12px;
}
.btn--ghost:hover { color: var(--color-text); border-color: var(--color-text); }

.btn--small { padding: 8px 16px; font-size: 13px; }

/* ---------- SECTION HEADERS ---------- */
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 400;
}
.section-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-accent-dk);
}
.page-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 12px;
}
.page-subtitle {
    color: var(--color-muted);
    margin-bottom: 32px;
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
    padding: 24px 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}
.stats-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.stats-strip__item { text-align: center; }
.stats-strip__num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}
.stats-strip__label {
    display: block;
    font-size: 13px;
    color: var(--color-muted);
    margin-top: 2px;
}
.stats-strip__divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* ---------- CONFIGURATOR BANNER ---------- */
.conf-banner-section { padding-top: 0; }
.conf-banner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, #1a1a18 0%, #2a2a26 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    overflow: hidden;
}
.conf-banner__title {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.conf-banner__desc {
    color: #999;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 400px;
}
.conf-banner__visual {
    position: relative;
    text-align: right;
}
.conf-banner__visual img {
    max-width: 100%;
    filter: drop-shadow(0 8px 32px rgba(0,0,0,.4));
}

/* ---------- WHEEL CARDS ---------- */
.wheel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.wheel-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.wheel-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.wheel-card__img {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f2f2ee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.wheel-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wheel-card__placeholder { color: var(--color-border); }
.wheel-card__img-link { display: block; text-decoration: none; }
.wheel-card__body { padding: 16px 20px 20px; }
.wheel-card__brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-dk);
    margin-bottom: 2px;
}
.wheel-card__name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.wheel-card__name a { color: inherit; text-decoration: none; transition: color .15s ease; }
.wheel-card__name a:hover { color: var(--color-accent-dk); }
.wheel-card__specs {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 8px;
}
.wheel-card__desc {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 12px;
    line-height: 1.5;
}
.wheel-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}
.wheel-card__price { display: flex; flex-direction: column; gap: 2px; }
.wheel-card__actions { display: flex; gap: 6px; }

/* Card detail button */
.btn--card-detail {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-dk);
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
}
.btn--card-detail:hover {
    background: var(--color-accent-dk);
    border-color: var(--color-accent-dk);
    color: #fff;
}
.btn--card-detail svg { transition: transform .15s ease; }
.btn--card-detail:hover svg { transform: translateX(2px); }

/* CMS content block */
.cms-content { max-width: 800px; margin: 0 auto; line-height: 1.8; color: var(--color-muted); }
.cms-content h2 { font-size: 1.5rem; font-weight: 600; color: var(--color-text); margin: 2rem 0 1rem; }
.cms-content h3 { font-size: 1.2rem; font-weight: 600; color: var(--color-text); margin: 1.5rem 0 .75rem; }
.cms-content p { margin-bottom: 1rem; }
.cms-content a { color: var(--color-accent-dk); text-decoration: underline; }
.cms-content ul, .cms-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.price-old { font-size: 12px; color: var(--color-muted); text-decoration: line-through; }
.price-current { font-size: 18px; font-weight: 700; color: var(--color-text); }
.price-note { font-size: 11px; color: var(--color-muted); }

/* BADGES */
.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    letter-spacing: 0.02em;
}
.badge--green  { background: #e6f5ec; color: var(--color-green); }
.badge--blue   { background: #e6f0fa; color: var(--color-blue); }
.badge--neutral { background: #f0f0ec; color: var(--color-muted); }
.badge--warning { background: #fef3cd; color: #856404; }
.badge--red { background: #c0392b; color: #fff; }
.badge--accent { background: var(--color-accent); color: #fff; }
.stock-badge { top: auto; bottom: 12px; left: 12px; }

/* ---------- FILTERS ---------- */
.filters {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.filters__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.filter-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: 4px;
}
.filter-select, .filter-input {
    width: 100%;
    padding: 8px 10px;
    font-family: var(--font);
    font-size: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition);
}
.filter-select:focus, .filter-input:focus {
    outline: none;
    border-color: var(--color-accent);
}
.filters__actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.listing-meta {
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--color-muted);
}
.empty-state { text-align: center; padding: 60px 20px; color: var(--color-muted); }
.empty-state .btn { margin-top: 16px; }

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
}
.pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-muted);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.pagination__link:hover { border-color: var(--color-text); color: var(--color-text); }
.pagination__link--active {
    background: var(--color-dark);
    color: #fff;
    border-color: var(--color-dark);
}

/* ---------- USP ---------- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}
.usp-item {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.usp-item:hover {
    background: var(--color-surface);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.usp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(200,164,78,0.15);
    color: var(--color-accent-dk);
    margin-bottom: 16px;
}
.usp-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--color-dark); }
.usp-item p { font-size: 14px; line-height: 1.6; color: var(--color-muted); }

/* ---------- CONFIGURATOR ---------- */
.configurator {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    min-height: 500px;
    max-width: 100%;
    overflow: hidden;
}
.configurator__sidebar {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    min-width: 0;
}
.sidebar-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.configurator__main { min-width: 0; overflow: hidden; }
.wheel-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    flex: 1;
}
.wheel-list__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    transition: all var(--transition);
    color: var(--color-text);
    width: 100%;
}
.wheel-list__item:hover { background: var(--color-bg); }
.wheel-list__item.active {
    background: #faf6eb;
    border-color: var(--color-accent);
}
.wheel-list__thumb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.wheel-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wheel-list__name { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }
.wheel-list__spec { display: block; font-size: 11px; color: var(--color-muted); }

/* Car stories selector */
.car-stories {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.car-stories::-webkit-scrollbar { display: none; }
.car-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font);
    flex-shrink: 0;
    transition: none;
}
.car-story:hover .car-story__ring { border-color: var(--color-accent); background: var(--color-accent); }
.car-story__ring {
    width: 110px;
    height: 64px;
    border-radius: 16px;
    padding: 3px;
    background: var(--color-border);
    transition: all .2s ease;
    overflow: hidden;
}
.car-story__ring img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 13px;
    display: block;
    background: var(--color-bg);
}
.car-story.active .car-story__ring {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dk, #8a6d2b));
    box-shadow: 0 2px 8px rgba(200,164,78,.35);
}
.car-story__name {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-muted);
    text-align: center;
    width: 110px;
    line-height: 1.3;
    transition: color .15s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.car-story.active .car-story__name { color: var(--color-text); font-weight: 600; }
.car-story__ring--all {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: var(--color-bg);
    border: 2px dashed var(--color-border);
    padding: 0 10px 10px;
    color: var(--color-muted);
    transition: all .2s ease;
}
.car-story__ring--all .show-all-icon {
    width: 100%;
    height: 100%;
    opacity: 0.5;
    transition: opacity .2s ease;
}
.car-story--show-all:hover .car-story__ring--all {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-surface);
}
.car-story--show-all:hover .car-story__ring--all .show-all-icon { opacity: 1; }

.configurator__preview {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 100%;
    position: relative;
    cursor: zoom-in;
}
.zoom-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(26,26,24,.7);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
    white-space: nowrap;
}
.zoom-hint svg { opacity: .8; flex-shrink: 0; }
.zoom-hint.visible { opacity: 1; }
.zoom-hint__mobile { display: none; }
.preview-placeholder {
    text-align: center;
    color: var(--color-muted);
    padding: 40px;
}
.preview-placeholder svg { margin: 0 auto 16px; opacity: 0.3; }
.preview-placeholder code {
    font-size: 13px;
    background: var(--color-bg);
    padding: 2px 8px;
    border-radius: 3px;
}
.preview-placeholder__note { font-size: 13px; margin-top: 8px; opacity: 0.7; }
.preview-car { width: 100%; max-width: 100%; transform-origin: 0 0; user-select: none; overflow: hidden; cursor: zoom-in; }
.preview-car img { max-width: 100%; }
.preview-car.zoomed { cursor: grab; }
.preview-car.panning { cursor: grabbing; }
.configurator__preview:has(.preview-car.zoomed) { cursor: grab; }
.configurator__preview:has(.preview-car.panning) { cursor: grabbing; }
.preview-wheel { pointer-events: none; }

.configurator__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-top: 16px;
}
.info-name { font-size: 15px; font-weight: 600; display: block; }
.info-spec { font-size: 13px; color: var(--color-muted); display: block; }
.info-right { display: flex; align-items: center; gap: 16px; }
.info-price { font-size: 18px; font-weight: 700; white-space: nowrap; }

/* ---------- BREADCRUMBS ---------- */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.breadcrumbs a {
    color: var(--color-muted);
    text-decoration: none;
    transition: color .15s ease;
}
.breadcrumbs a:hover { color: var(--color-accent-dk); }
.breadcrumbs__sep { color: var(--color-border); font-size: 12px; }
.breadcrumbs__current { color: var(--color-text); font-weight: 500; }

/* ---------- STICKY CTA (mobile only) ---------- */
.sticky-cta { display: none; }

/* ---------- ABOUT PAGE ---------- */
.about-hero {
    padding: 72px 0 56px;
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg) 0%, #f0efeb 100%);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}
.about-value {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    transition: background .2s ease, transform .2s ease;
}
.about-value:hover {
    background: var(--color-surface);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.about-value__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(200,164,78,.12);
    color: var(--color-accent-dk);
    margin-bottom: 16px;
}
.about-value h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.about-value p { font-size: 14px; color: var(--color-muted); line-height: 1.7; max-width: 280px; margin: 0 auto; }

.about-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}
.about-step {
    text-align: center;
    flex: 1;
    max-width: 260px;
}
.about-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    color: var(--color-accent-dk);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}
.about-step h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.about-step p { font-size: 14px; color: var(--color-muted); line-height: 1.7; }
.about-step__arrow {
    display: flex;
    align-items: center;
    padding-top: 12px;
    color: var(--color-border);
    flex-shrink: 0;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}
.contact-block { margin-bottom: 24px; }
.contact-block h3 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 6px;
}
.contact-block p { font-size: 15px; line-height: 1.6; }

/* FORMS */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { min-width: 0; }
.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--color-text);
}
.form-input, .form-textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg);
    color: var(--color-text);
    transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #fff;
}
.form-textarea { resize: vertical; }

/* Sjednocené stylování selectů: vlastní zlatá šipka místo nativní.
   Aplikuje se jen na <select>, text inputy zůstávají beze změny. */
select.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c8a44e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
select.form-input:hover {
    border-color: var(--color-accent);
}
select.form-input::-ms-expand {
    display: none; /* legacy Edge/IE */
}

/* Stejné pravidlo pro select na listingu (.filter-select), jen užší padding */
select.filter-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c8a44e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
    cursor: pointer;
}
select.filter-select::-ms-expand {
    display: none;
}

/* iOS Safari auto-zoom fix: inputs pod 16px na mobilu triggerují automaticky zoom
   při focusu, což se projevuje jako "posouvání stránky do strany". Na mobilu
   proto vynucujeme minimálně 16px font-size. Desktop zůstává na 15px. */
@media (max-width: 768px) {
    .form-input, .form-textarea, select.form-input, input.form-input {
        font-size: 16px;
    }
}

.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}
.alert--success { background: #e6f5ec; color: var(--color-green); border: 1px solid #b5dfc5; }
.alert--error { background: #fde8e6; color: var(--color-red); border: 1px solid #f0b8b2; }

/* ---------- PROSE ---------- */
.prose { max-width: 640px; }
.prose .lead { font-size: 18px; line-height: 1.7; color: var(--color-muted); margin-bottom: 32px; }
.prose h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 36px 0 12px;
}
.prose p { margin-bottom: 16px; line-height: 1.75; }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--color-dark);
    color: #a0a098;
    padding: 56px 0 24px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-text { line-height: 1.7; margin-top: 8px; }
.footer-heading {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d0d0cc;
    margin-bottom: 12px;
}
.footer-col a {
    display: block;
    color: #a0a098;
    padding: 3px 0;
    font-size: 14px;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

/* ---------- BLOG ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.blog-grid--small {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.blog-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.blog-card__img-link { display: block; }
.blog-card__img {
    aspect-ratio: 3 / 2;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.blog-card:hover .blog-card__img img { transform: scale(1.03); }
.blog-card__placeholder { color: var(--color-border); }
.blog-card__body { padding: 20px; display: flex; flex-direction: column; }
.blog-card__date {
    font-size: 13px;
    color: var(--color-muted);
}
.blog-card__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__title a:hover { color: var(--color-accent-dk); }
.blog-card__excerpt {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-dk);
    text-decoration: none;
    align-self: flex-end;
    margin-top: auto;
}
.blog-card__link:hover { text-decoration: underline; }
.blog-card__link svg { transition: transform .15s ease; }
.blog-card__link:hover svg { transform: translateX(3px); }

/* Blog article */
.blog-article__header { margin-bottom: 32px; }
.blog-article__meta,
.blog-card__meta,
.blog-hero-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 8px;
}
.blog-meta__dot { opacity: .4; }
.blog-article__title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}
.blog-article__lead {
    font-size: 17px;
    color: var(--color-muted);
    line-height: 1.7;
}
.blog-article__hero {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.blog-article__hero img { width: 100%; display: block; }
.blog-article__content { margin-bottom: 48px; }

/* Blog tags filter */
.blog-tags-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.blog-tags-filter::-webkit-scrollbar { display: none; }
.blog-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-muted);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    text-decoration: none;
    transition: all .15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.blog-tag:hover { border-color: var(--color-accent); color: var(--color-accent-dk); }
.blog-tag--active { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.blog-tag--active:hover { background: var(--color-dark-2); }
.blog-tag--sm { padding: 3px 10px; font-size: 11px; }
.blog-tag__count { font-size: 11px; opacity: .6; }
.blog-card__tags { display: flex; flex-wrap: wrap; gap: 4px; }

/* Blog hero card (first article) */
.blog-hero-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 32px;
    transition: box-shadow var(--transition);
}
.blog-hero-card:hover { box-shadow: var(--shadow-lg); }
.blog-hero-card__img-link { display: block; }
.blog-hero-card__img {
    height: 100%;
    min-height: 280px;
    background: #fff;
    overflow: hidden;
}
.blog-hero-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.blog-hero-card:hover .blog-hero-card__img img { transform: scale(1.03); }
.blog-hero-card__body {
    padding: 36px 36px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-surface) 0%, #f7f6f2 100%);
}
.blog-hero-card__title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 12px;
}
.blog-hero-card__title a { color: inherit; text-decoration: none; }
.blog-hero-card__title a:hover { color: var(--color-accent-dk); }
.blog-hero-card__excerpt {
    font-size: 16px;
    color: var(--color-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Blog share */
.blog-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 48px;
}
.blog-share__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-muted);
    white-space: nowrap;
}
.blog-share__buttons { display: flex; gap: 8px; }
.blog-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
}
.blog-share__btn:hover { border-color: var(--color-text); }
.blog-share__btn--fb { color: #1877f2; }
.blog-share__btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.blog-share__btn--copy:hover { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }

/* Blog article tags (bottom) */
.blog-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

/* Blog gallery */
.blog-gallery {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}
.blog-gallery__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}
.blog-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.blog-gallery__item {
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
}
.blog-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.blog-gallery__item:hover img { transform: scale(1.05); }

/* Blog related */
.blog-related {
    margin-top: 48px;
    padding-top: 32px;
}
.blog-related__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ---------- COOKIE CONSENT ---------- */

/* ---------- LIGHTBOX ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,.92);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity .2s ease;
}
.lightbox.open { display: flex; }
.lightbox.visible { opacity: 1; }
.lightbox__img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
}
.lightbox__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,.1);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    font-size: 13px;
}

/* ---------- BLOG GALLERY ---------- */
.blog-gallery { margin-bottom: 32px; }
.blog-gallery__title { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.blog-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}
.blog-gallery__item {
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: zoom-in;
    display: block;
}
.blog-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s ease;
}
.blog-gallery__item:hover img { transform: scale(1.04); }
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--color-dark);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 16px 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,.15);
}
.cookie-bar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-bar__text {
    font-size: 13px;
    color: #a0a098;
    line-height: 1.5;
    flex: 1;
}
.cookie-bar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.cookie-bar__link { font-size: 12px; color: #777; text-decoration: underline; }
.cookie-bar__link:hover { color: #ccc; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .main-nav { display: none; }
    .nav-open .main-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 16px;
        box-shadow: var(--shadow-lg);
    }
    .mobile-toggle { display: block; }

    .hero { padding: 48px 0 40px; }
    .hero__title { font-size: 2rem; }
    .btn--hero-primary, .btn--hero-outline { padding: 12px 24px; font-size: 14px; }

    .stats-strip__inner { gap: 20px; }
    .stats-strip__num { font-size: 1.4rem; }
    .stats-strip__label { font-size: 11px; }
    .stats-strip__divider { height: 30px; }

    .conf-banner { grid-template-columns: 1fr; padding: 32px 24px; text-align: center; gap: 24px; }
    .conf-banner__desc { max-width: none; }
    .conf-banner__text { display: flex; flex-direction: column; align-items: center; }
    .conf-banner__visual { text-align: center; }

    .wheel-grid { grid-template-columns: 1fr; }

    .configurator { grid-template-columns: 1fr; min-height: auto; gap: 16px; }
    .configurator__sidebar {
        max-height: none;
        order: 2;
        padding: 12px;
    }
    .configurator__main { order: 1; min-width: 0; overflow: hidden; }
    .sidebar-heading { display: none; }
    #wheelSearch { font-size: 14px; padding: 8px 10px; margin-bottom: 6px; }
    .wheel-list {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        max-height: none;
    }
    .wheel-list__item {
        flex-shrink: 0;
        width: 130px;
        flex-direction: column;
        text-align: center;
        padding: 6px;
        gap: 4px;
    }
    .wheel-list__thumb { width: 36px; height: 36px; }
    .wheel-list__name { font-size: 11px; }
    .wheel-list__spec { font-size: 10px; }
    .car-stories { gap: 8px; margin-bottom: 12px; }
    .car-story__ring { width: 90px; height: 52px; border-radius: 12px; }
    .car-story__ring img { border-radius: 9px; }
    .car-story__name { font-size: 10px; width: 90px; }
    .configurator__preview { min-height: 200px; cursor: default; }
    .zoom-hint__desktop { display: none; }
    .zoom-hint__mobile { display: inline; }
    .configurator__info {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 12px;
    }
    .info-name { font-size: 14px; }
    .info-right { justify-content: center; gap: 10px; }
    .info-price { font-size: 16px; }

    .contact-grid { grid-template-columns: 1fr; gap: 32px; }

    .about-steps { flex-direction: column; align-items: center; gap: 24px; }
    .about-step__arrow { padding: 0; transform: rotate(90deg); }
    .about-hero { padding: 48px 0 40px; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .filters__row { grid-template-columns: 1fr 1fr; }

    .usp-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

    .sticky-cta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 900;
        background: var(--color-surface);
        border-top: 1px solid var(--color-border);
        padding: 12px 16px;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    }
    .sticky-cta .price-current { font-size: 18px; font-weight: 700; }
    .sticky-cta .price-old { font-size: 12px; color: var(--color-muted); text-decoration: line-through; display: block; }
    .sticky-cta .btn { white-space: nowrap; }

    .breadcrumbs { font-size: 12px; gap: 4px; }

    .cookie-bar__inner { flex-direction: column; text-align: center; gap: 12px; }

    .blog-grid { grid-template-columns: 1fr; }
    .blog-grid--small { grid-template-columns: 1fr; }
    .blog-hero-card { grid-template-columns: 1fr; }
    .blog-hero-card__img { min-height: 200px; }
    .blog-hero-card__body { padding: 24px; }
    .blog-hero-card__title { font-size: 1.6rem; }
    .blog-share { flex-direction: column; align-items: flex-start; gap: 10px; }
    .blog-gallery__grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
}

@media (max-width: 480px) {
    .filters__row { grid-template-columns: 1fr; }
    .usp-grid { grid-template-columns: 1fr; }
    .wheel-card__footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   VÝKUP - formulář a pomocné komponenty
   ========================================================================== */

.buyback-form { gap: 20px; }

.form-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-top: 16px;
    margin-bottom: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}
.form-section-title:first-child { margin-top: 0; }

.form-help {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
    margin-top: 4px;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* Radio karty pro výběr stavu */
.radio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.radio-card {
    position: relative;
    display: flex;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    cursor: pointer;
    transition: all var(--transition);
}
.radio-card:hover {
    border-color: var(--color-accent);
    background: #fff;
}
.radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.radio-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.radio-card__title {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-text);
}
.radio-card__desc {
    font-size: 12px;
    color: var(--color-muted);
}
.radio-card:has(input:checked) {
    border-color: var(--color-accent);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(200, 164, 78, 0.15);
}
.radio-card:has(input:checked) .radio-card__title {
    color: var(--color-accent-dk);
}

/* File drop zone */
.file-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 20px;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition);
    color: var(--color-muted);
}
.file-drop:hover {
    border-color: var(--color-accent);
    background: #fff;
    color: var(--color-text);
}
.file-drop--over {
    border-color: var(--color-accent);
    background: #fff;
    transform: scale(1.01);
}
.file-drop--has-files {
    border-color: var(--color-accent);
    border-style: solid;
    background: #fff;
}
.file-drop svg {
    opacity: 0.5;
    margin-bottom: 4px;
}
.file-drop--has-files svg { opacity: 0.9; color: var(--color-accent); }
.file-drop__text {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
}
.file-drop__hint {
    font-size: 13px;
    color: var(--color-muted);
}
.file-drop__count {
    font-size: 12px;
    color: var(--color-accent-dk);
    margin-top: 8px;
    font-weight: 500;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.faq-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-accent);
}
.faq-item summary {
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--color-accent);
    transition: transform var(--transition);
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding: 0 22px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted);
}

@media (max-width: 640px) {
    .form-grid-3 { grid-template-columns: 1fr 1fr; }
    .radio-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .form-grid-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VÝKUP - náhledy fotek, warning, odkazy na podmínky
   ========================================================================== */

/* Grid náhledů vybraných fotek */
.photo-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 14px;
}
.photo-preview {
    position: relative;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.photo-preview:hover {
    border-color: var(--color-accent);
}
.photo-preview__img {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    background-color: #f0efeb;
}
.photo-preview__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(26, 26, 24, 0.85);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.photo-preview__remove:hover {
    background: var(--color-red);
    transform: scale(1.08);
}
.photo-preview__remove svg { display: block; }
.photo-preview__meta {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}
.photo-preview__name {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.photo-preview__size {
    font-size: 10px;
    color: var(--color-muted);
}

/* Varování při překročení limitů */
.photo-warning {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff6e0;
    border: 1px solid #f0d895;
    border-radius: var(--radius);
    font-size: 13px;
    color: #7a5b10;
    line-height: 1.5;
}

/* CTA na stránce podmínek */
.terms-cta {
    margin-top: 48px;
    padding: 32px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.terms-cta__text {
    font-size: 16px;
    color: var(--color-text);
    margin-bottom: 16px;
}
.terms-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Odkaz pod FAQ */
.faq-footer {
    margin-top: 28px;
    text-align: center;
    font-size: 14px;
    color: var(--color-muted);
}
.faq-footer a {
    color: var(--color-accent-dk);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(168, 136, 58, 0.3);
    text-underline-offset: 2px;
}
.faq-footer a:hover { text-decoration-color: var(--color-accent-dk); }

@media (max-width: 480px) {
    .photo-previews { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .photo-preview__meta { padding: 6px 8px; }
    .terms-cta { padding: 24px 20px; }
}

/* Zlatý inline odkaz v GDPR souhlasu */
.gdpr-inline-link {
    color: var(--color-accent-dk);
    text-decoration: underline;
    text-decoration-color: rgba(168, 136, 58, 0.35);
    text-underline-offset: 2px;
    white-space: nowrap;
    transition: text-decoration-color var(--transition);
}
.gdpr-inline-link:hover {
    text-decoration-color: var(--color-accent-dk);
}

/* ==========================================================================
   VÝKUP - Helper "Jak najít parametry na disku"
   ========================================================================== */

.params-helper {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.params-helper[open] {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}
.params-helper summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
    transition: background var(--transition);
}
.params-helper summary::-webkit-details-marker { display: none; }
.params-helper summary:hover { background: #fff; }
.params-helper summary svg { flex-shrink: 0; color: var(--color-accent); }
.params-helper__chevron {
    margin-left: auto;
    display: flex;
    align-items: center;
    transition: transform var(--transition);
    color: var(--color-muted);
}
.params-helper__chevron svg { color: inherit; }
.params-helper[open] .params-helper__chevron { transform: rotate(180deg); }

.params-helper__body {
    padding: 8px 20px 24px;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.params-helper__diagrams {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0 24px;
}

.param-diagram {
    margin: 0;
    text-align: center;
}
.param-diagram svg {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}
.param-diagram figcaption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
    line-height: 1.4;
}
.param-diagram figcaption strong {
    color: var(--color-text);
    font-weight: 600;
    font-size: 13px;
}
.param-diagram figcaption span {
    color: var(--color-muted);
}

/* Rozluštění textu na disku */
.params-helper__text-decoder {
    margin-top: 8px;
    padding: 18px 20px;
    background: var(--color-bg);
    border-radius: var(--radius);
    border: 1px dashed var(--color-border);
}
.params-helper__decoder-label {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    text-align: center;
}

.stamp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}
.stamp__part {
    padding: 2px 10px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
}
.stamp__part--width    { background: #c0392b; }
.stamp__part--diameter { background: #c8a44e; color: #1a1a18; }
.stamp__part--et       { background: #3a6ea5; }
.stamp__part--pcd      { background: #2d8a4e; }
.stamp__sep {
    color: var(--color-muted);
    font-size: 24px;
}

.stamp-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
    font-size: 13px;
    line-height: 1.5;
}
.stamp-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-muted);
}
.stamp-legend__swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    flex-shrink: 0;
}
.stamp-legend__item strong {
    color: var(--color-text);
    font-weight: 600;
}

@media (max-width: 720px) {
    .params-helper__diagrams { grid-template-columns: 1fr; gap: 24px; }
    .param-diagram svg { max-width: 200px; }
    .stamp { font-size: 22px; gap: 6px; }
    .stamp-legend { grid-template-columns: 1fr; }
}

/* ==========================================================================
   VÝKUP - Brand landing stránky
   ========================================================================== */

/* Breadcrumb wrapper nad hero */
.breadcrumbs-bar {
    padding: 20px 0 0;
    background: var(--color-bg);
}

/* Zamčené pole značky na brand landing */
.locked-field {
    position: relative;
}
.locked-field .form-input[disabled] {
    background: #fff;
    color: var(--color-text);
    border-color: var(--color-accent);
    opacity: 1;
    cursor: not-allowed;
    font-weight: 500;
    -webkit-text-fill-color: var(--color-text);
}
.locked-field__badge {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-accent-dk);
    background: rgba(200, 164, 78, 0.12);
    padding: 4px 10px;
    border-radius: 12px;
    pointer-events: none;
    white-space: nowrap;
}

/* Brand chips (cross-linking na ostatní značky) */
.brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 14px;
    color: var(--color-text);
    text-decoration: none;
    transition: all var(--transition);
}
.brand-chip:hover {
    border-color: var(--color-accent);
    background: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: var(--color-text);
}
.brand-chip__name {
    font-weight: 500;
}
.brand-chip__count {
    font-size: 11px;
    color: var(--color-muted);
    padding: 2px 8px;
    background: var(--color-bg);
    border-radius: 10px;
}

@media (max-width: 640px) {
    .brand-chips { gap: 8px; }
    .brand-chip { padding: 8px 14px; font-size: 13px; }
    .brand-chip__count { display: none; }
}

/* ==========================================================================
   VÝKUP - sbalitelná sekce brand chips
   ========================================================================== */

.brands-collapse {
    max-width: 820px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.brands-collapse[open] {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

/* Tmavá varianta (na brand landing stránkách) */
.section--dark .brands-collapse {
    background: var(--color-surface);
}

.brands-collapse__summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    list-style: none;
    transition: background var(--transition);
}
.brands-collapse__summary::-webkit-details-marker { display: none; }
.brands-collapse__summary:hover { background: var(--color-bg); }

.brands-collapse__header {
    flex: 1;
    min-width: 0;
}
.brands-collapse__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.3;
}
.brands-collapse__subtitle {
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
}

.brands-collapse__chevron {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-accent-dk);
    transition: transform var(--transition), background var(--transition);
}
.brands-collapse__summary:hover .brands-collapse__chevron {
    background: var(--color-accent);
    color: #fff;
}
.brands-collapse[open] .brands-collapse__chevron {
    transform: rotate(180deg);
    background: var(--color-accent);
    color: #fff;
}

.brands-collapse__body {
    padding: 8px 28px 28px;
    border-top: 1px solid var(--color-border);
    animation: brandsCollapseFade 0.25s ease;
}
@keyframes brandsCollapseFade {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .brands-collapse__summary { padding: 18px 20px; gap: 12px; }
    .brands-collapse__title { font-size: 17px; }
    .brands-collapse__body { padding: 8px 20px 22px; }
    .brands-collapse__chevron { width: 32px; height: 32px; }
}
