/* ═══════════════════════════════════════════
   ELVES Bike — Main Stylesheet
   Mobile-first, black & white, minimal
   ═══════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #111;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── Container ────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
.container-narrow { max-width: 800px; }

/* ─── Header ───────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #000;
    color: #fff;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 18px; width: auto; filter: brightness(0) invert(1); }

/* Nav toggle (mobile) */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Main nav */
.main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #000;
    padding: 1rem 1.25rem 1.5rem;
}
.main-nav.open { display: block; }
.main-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.main-nav a { display: block; padding: 0.5rem 0; color: #ccc; font-size: 0.95rem; }
.main-nav a:hover { color: #fff; }
.btn-nav-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.25rem;
    background: #fff;
    color: #000 !important;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 4px;
    border: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-nav-cta:hover { background: #e0e0e0; color: #000 !important; }

/* ─── Buttons ──────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    text-align: center;
}
.btn-primary { background: #111; color: #fff; border-color: #111; }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-outline { background: transparent; color: #111; border-color: #111; }
.btn-outline:hover { background: #111; color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }

/* ─── Hero ─────────────────────────────── */
.hero {
    padding: 4rem 0;
    background: #000;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-with-video { padding: 6rem 0; min-height: 60vh; display: flex; align-items: center; }
.hero-bg-video {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    width: auto; height: auto;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.hero-inner { position: relative; z-index: 2; }
.hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.hero-tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.02em;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.hero .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ─── Sections ─────────────────────────── */
.section { padding: 3rem 0; }
.section-alt { background: #f8f8f8; }
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}
.section-desc {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.section-intro { color: #555; margin-bottom: 2rem; }
.section-cta { text-align: center; margin-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.section-outro { margin-top: 2rem; color: #666; font-size: 0.95rem; }

/* ─── Category Description ─────────────── */
.category-desc-block { margin-bottom: 2rem; }
.category-desc-block:last-child { margin-bottom: 0; }
.category-desc-block h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.category-desc-block p { color: #444; line-height: 1.7; }

/* ─── Bike Grid & Cards ────────────────── */
.bike-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.bike-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.bike-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.bike-card-link { display: block; color: inherit; }
.bike-card-image {
    overflow: hidden;
    background: #fff;
    aspect-ratio: 3/2;
    display: flex;
    align-items: center;
    position: relative;
}
.bike-card-image > img:first-child { width: 100%; height: auto; object-fit: contain; }
.bike-card-brake-pill {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.bike-card-body { padding: 1rem 1.25rem 1.25rem; }
.bike-card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.bike-card-type {
    display: inline-block;
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 0.15rem 0.5rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}
.bike-card-price { margin: 0.5rem 0 0.4rem; }
.bike-card-price .price-from { font-size: 0.75rem; color: #888; }
.bike-card-price .price-amount { font-size: 1.15rem; font-weight: 800; color: #111; margin-left: 0.25rem; }
.bike-card-meta { font-size: 0.85rem; color: #888; display: flex; gap: 1rem; }

/* ─── Intro Section ────────────────────── */
.intro-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    text-align: center;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.7;
}
.intro-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
}
.intro-item strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}
.intro-item span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.intro-item small {
    display: block;
    font-size: 0.85rem;
    color: #888;
}

/* ─── Brand USPs ───────────────────────── */
.brand-usps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    text-align: center;
}
.usp strong { display: block; font-size: 1.5rem; margin-bottom: 0.25rem; }
.usp span { font-size: 0.9rem; color: #666; }

/* ─── Button with Icon ─────────────────── */
.btn-with-icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-icon { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; overflow: hidden; object-fit: cover; }

/* ─── Colors Showcase ──────────────────── */
.colors-showcase { margin-top: 2rem; }
.colors-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.colors-video iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* ─── Color Strip ──────────────────────── */
.color-strip {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.color-dot {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.color-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 27% center;
    transform: scale(1.4);
}

/* ─── Design Gallery ───────────────────── */
.design-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.design-card { text-align: center; }
.design-card img { border-radius: 6px; background: #f8f8f8; }
.design-code { font-size: 0.75rem; color: #888; display: block; margin-top: 0.25rem; }

/* ─── Color Gallery ────────────────────── */
.color-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.75rem;
}
.color-swatch { text-align: center; }
.swatch-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.25rem;
}
.swatch-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 27% center;
    transform: scale(1.4);
}
.color-name { font-size: 0.7rem; color: #888; display: block; }

/* ─── Configuration Cards ──────────────── */
.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}
.config-card {
    display: block;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.config-card:hover {
    border-color: #111;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.config-groupset {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.config-price {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.config-details {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 0.75rem;
}
.config-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: #111;
}

/* ─── Model Thumbnails (under hero) ────── */
.model-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.4rem;
    margin-top: 0.75rem;
}
.model-thumb {
    width: 100%;
    aspect-ratio: 3/2;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    padding: 0;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.6;
}
.model-thumb:hover, .model-thumb.active { opacity: 1; border-color: #111; }
.model-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* UCI badge — jednotné zobrazenie v listoch aj na detaile (rovnaká proporčná veľkosť + pozícia) */
.bike-card-uci,
.uci-badge {
    position: absolute;
    /* odsadenie = vonkajší radius obrázka (8px), aby zaoblený roh + overflow:hidden neorezal badge vpravo hore */
    top: 8px;
    right: 8px;
    z-index: 2;
    width: clamp(30px, 12%, 46px);
    height: auto;
    border-radius: 4px;
}

/* ─── Model Page ───────────────────────── */
.model-hero,
.product-page { padding-top: 1rem; }
.model-header { display: flex; flex-direction: column; gap: 2rem; }
.model-image { position: relative; }
#modelHeroImg {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: contain;
    background: #fff;
    cursor: pointer;
}
.model-type-badge {
    display: inline-block;
    font-size: 0.8rem;
    color: #666;
    background: #f0f0f0;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    margin-bottom: 0.5rem;
}
.model-info h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.model-specs-summary dl { display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1rem; }
.model-specs-summary dt { font-weight: 600; color: #555; }
.model-specs-summary dd { color: #111; }
.model-includes { margin-top: 1rem; font-size: 0.9rem; color: #555; }
.model-tagline { font-size: 1.15rem; font-weight: 600; line-height: 1.5; color: #111; margin: 0 0 0.75rem; }
.model-intro { font-size: 0.95rem; line-height: 1.6; color: #555; margin: 0 0 0.5rem; }
.model-frame-specs { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid #eee; }
.model-frame-specs h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; color: #999; margin: 0 0 0.75rem; }
.model-frame-specs dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0; font-size: 0.9rem; }
.model-frame-specs dt { color: #888; }
.model-frame-specs dd { margin: 0; color: #222; }
.model-frame-specs .frameset-includes { font-size: 0.82rem; color: #888; margin: 0.85rem 0 0; line-height: 1.5; }
/* ─── Model Configurator (price selector) ── */
.model-configurator {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}
.model-price { margin-bottom: 1rem; }
.model-price .price-label { font-size: 0.85rem; color: #666; display: block; }
.model-price .price-value { font-size: 1.75rem; font-weight: 800; display: block; margin: 0.15rem 0; }
.model-price .price-note { font-size: 0.8rem; color: #888; display: block; }
.model-selectors { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1rem; }
.selector-group { min-width: 0; }
.selector-group:first-child { grid-column: 1 / -1; }
.selector-group label { display: block; font-size: 0.8rem; font-weight: 600; color: #555; margin-bottom: 0.25rem; }
.model-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
}
.model-select:focus { border-color: #111; outline: none; }
.size-help-link {
    display: block; background: none; border: none; cursor: pointer;
    font-size: 0.75rem; color: #888; margin-top: 0.25rem; padding: 0;
    text-decoration: underline; text-underline-offset: 2px;
}
.size-help-link:hover { color: #111; }
.size-modal-inner { max-width: 640px; }
.size-modal-content { background: #fff; padding: 1.5rem; border-radius: 10px; }
.size-modal-content h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.sizing-image { width: 100%; border-radius: 6px; margin-bottom: 1rem; }
.size-modal-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.75rem; }
.size-guide-link {
    display: block; text-align: center; margin-top: 0.75rem;
    font-size: 0.85rem; color: #888;
}
.size-guide-link:hover { color: #111; }
.model-cta { margin-top: 0; display: block; }
.model-detail-link {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #888;
}
.model-detail-link:hover { color: #111; }
.model-compare { margin-top: 0.75rem; display: block; }
.model-specs-link { display: block; margin-top: 0.75rem; font-size: 0.9rem; color: #666; }
.model-specs-link:hover { color: #111; }

/* ─── Product Page ─────────────────────── */
.product-header { display: flex; flex-direction: column; gap: 2rem; }
.product-image { position: relative; }
.product-image > img#modelHeroImg {
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: contain;
    background: #fff;
    cursor: pointer;
}
.product-image .model-thumbs {
    flex-wrap: wrap;
}
.product-info h1 { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; }
.product-price { margin-bottom: 1rem; }
.price-value { font-size: 2rem; font-weight: 800; }
.price-note { display: block; font-size: 0.85rem; color: #666; }
.availability-badge { font-size: 0.85rem; padding: 0.25rem 0.75rem; border-radius: 3px; }
.availability-badge.in-stock { background: #e8f5e9; color: #2e7d32; }
.product-cta { margin-top: 1.5rem; display: block; text-align: center; }
.product-includes { margin-top: 1.5rem; }
.product-includes h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.product-includes ul { list-style: none; }
.product-includes li::before { content: "✓ "; color: #2e7d32; font-weight: 700; }
.product-includes li { padding: 0.15rem 0; }
.product-configure-note { margin-top: 1.5rem; background: #f8f8f8; padding: 1rem; border-radius: 6px; }
.product-configure-note h3 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.product-configure-note li { font-size: 0.9rem; color: #555; padding: 0.1rem 0; }
.product-configure-note li::before { content: "• "; }
.product-specs { margin-top: 2rem; }
.specs-grid { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1.5rem; }
.specs-grid dt { font-weight: 600; color: #555; }
.spec-section { break-inside: avoid; margin-bottom: 1.4rem; }
.spec-section .spec-group { margin-bottom: 0.5rem; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; color: #111; font-weight: 700; border-bottom: 1px solid #eee; padding-bottom: 0.2rem; }
.specs-note { margin-top: 1rem; font-size: 0.85rem; color: #777; }
.why-choose-list { list-style: none; display: grid; gap: 0.6rem; max-width: 720px; padding: 0; }
.why-choose-list li { position: relative; padding-left: 1.9rem; font-size: 1.05rem; color: #111; }
.why-choose-list li::before { content: "✔"; position: absolute; left: 0; color: #c8a44e; font-weight: 700; }
.product-variants { margin-top: 1.5rem; }
.product-variants h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.variant-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.variant-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}
.variant-link:hover { border-color: #111; }

/* Tabuľky v článkoch — na úzkych obrazovkách (napr. malý iPhone) scroll do boku, nerozbijú šírku stránky */
.article-body table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ─── Geometry Table ───────────────────── */
.geometry-table-wrap { overflow-x: auto; }
.geometry-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.geometry-table th, .geometry-table td { padding: 0.5rem 0.75rem; text-align: center; border-bottom: 1px solid #eee; }
.geometry-table th { background: #f8f8f8; font-weight: 600; }
.geo-label { text-align: left; font-weight: 500; white-space: nowrap; }

/* ─── FAQ ──────────────────────────────── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-item summary {
    padding: 1rem 0;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::before { content: "＋ "; color: #999; }
.faq-item[open] summary::before { content: "－ "; }
.faq-answer { padding: 0 0 1rem; color: #555; }

/* ─── Blog ─────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
.blog-card a { display: block; color: inherit; }
.blog-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
}
.blog-card img { width: 100%; height: auto; object-fit: contain; }
.blog-card-body { padding: 1rem 1.25rem; }
.blog-card h2, .blog-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.blog-card time { font-size: 0.8rem; color: #999; }
.blog-card p { font-size: 0.9rem; color: #555; margin-top: 0.5rem; }
.read-more { font-size: 0.85rem; font-weight: 600; color: #111; margin-top: 0.5rem; display: inline-block; }

/* Blog article */
.article-header { margin-bottom: 2rem; }
.article-header h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.5rem; }
.article-meta { display: flex; gap: 1rem; color: #888; font-size: 0.85rem; flex-wrap: wrap; }
.article-hero { border-radius: 8px; margin-bottom: 2rem; }
.article-body { line-height: 1.8; }
.article-body h2 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.article-body h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul { margin-bottom: 1rem; padding-left: 1.5rem; list-style: disc; }
.article-body ol { margin-bottom: 1rem; padding-left: 1.5rem; list-style: decimal; }
.article-body li { margin-bottom: 0.25rem; list-style: inherit; }
.article-body img { border-radius: 6px; margin: 1rem 0; }

/* Share buttons */
.share-buttons { display: flex; gap: 0.75rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #eee; flex-wrap: wrap; }
.share-buttons span { font-weight: 600; font-size: 0.9rem; }
.share-buttons a, .btn-copy-link {
    font-size: 0.85rem; padding: 0.3rem 0.75rem; border: 1px solid #ddd; border-radius: 4px;
    background: #fff; cursor: pointer; color: #333;
}
.share-buttons a:hover, .btn-copy-link:hover { border-color: #111; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 1rem; margin-top: 2rem; }
.pagination a { padding: 0.5rem 1rem; border: 1px solid #ddd; border-radius: 4px; font-size: 0.9rem; }
.pagination a:hover { border-color: #111; }

/* ─── Breadcrumbs ──────────────────────── */
.breadcrumbs { padding: 0.75rem 0 0; }
.breadcrumbs ol { display: flex; gap: 0.25rem; font-size: 0.8rem; color: #999; flex-wrap: wrap; }
.breadcrumbs li:not(:last-child)::after { content: " ›"; margin-left: 0.25rem; }
.breadcrumbs a { color: #666; }
.breadcrumbs a:hover { color: #111; }

/* ─── Footer ───────────────────────────── */
.site-footer { background: #111; color: #999; padding: 3rem 0 0; margin-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer-logo { height: 16px; width: auto; filter: brightness(0) invert(1); margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.85rem; margin-top: 0.5rem; }
.footer-col h3 { color: #fff; font-size: 0.9rem; margin-bottom: 0.75rem; }
.footer-col a { display: block; padding: 0.15rem 0; color: #999; font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: #999; }
.social-links a:hover { color: #fff; }
.footer-bottom { margin-top: 2rem; padding: 1rem 0; border-top: 1px solid #333; text-align: center; font-size: 0.8rem; }

/* ─── Cookie Consent ───────────────────── */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111;
    color: #ccc;
    z-index: 200;
    padding: 1rem 0;
    font-size: 0.85rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-actions { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }
#cookie-accept { background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
#cookie-accept:hover { background: #1a1a1a; border-color: rgba(255,255,255,0.4); }
#cookie-save { background: #111; color: #fff; border: 1px solid #111; }
#cookie-save:hover { background: #333; border-color: #333; }
.cookie-manage-link { background: none; border: none; color: #999; font-size: 0.8rem; cursor: pointer; text-decoration: underline; padding: 0; }
.cookie-manage-link:hover { color: #fff; }
.cookie-more { color: #999; font-size: 0.8rem; }

/* Cookie Preferences Modal */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-modal-overlay[hidden] { display: none; }
.cookie-prefs-modal {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.cookie-prefs-modal h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.cookie-prefs-close {
    position: absolute; top: 12px; right: 16px;
    background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; line-height: 1;
}
.cookie-prefs-close:hover { color: #111; }
.cookie-category { margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid #eee; }
.cookie-category:last-of-type { border-bottom: none; }
.cookie-cat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.cookie-category p { font-size: 0.85rem; color: #666; margin: 0; }
.cookie-prefs-actions { display: flex; gap: 0.75rem; align-items: center; margin-top: 1rem; }

/* Toggle Switch */
.cookie-toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; }
.cookie-slider {
    position: absolute; inset: 0;
    background: #ccc; border-radius: 24px; cursor: pointer;
    transition: background 0.2s;
}
.cookie-slider::before {
    content: '';
    position: absolute; left: 3px; top: 3px;
    width: 18px; height: 18px;
    background: #fff; border-radius: 50%;
    transition: transform 0.2s;
}
.cookie-toggle input:checked + .cookie-slider { background: #111; }
.cookie-toggle input:checked + .cookie-slider::before { transform: translateX(20px); }
.cookie-toggle.disabled .cookie-slider { background: #111; opacity: 0.5; cursor: default; }
.cookie-more:hover { color: #fff; }

/* ─── Legal Content ────────────────────── */
.legal-content h2 { font-size: 1.2rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p { margin-bottom: 1rem; color: #444; }

/* ─── 404 ──────────────────────────────── */
.section-404 h1 { font-size: 4rem; font-weight: 800; color: #ddd; margin-bottom: 1rem; }
.section-404 p { font-size: 1.1rem; color: #666; margin-bottom: 2rem; }

/* ─── Contact Info ─────────────────────── */
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; }
.contact-info dt { font-weight: 600; }
.contact-info a { color: #111; text-decoration: underline; }

/* ── O nás (about) ── */
.about-intro { margin: 0 0 0.5rem; }
.about-intro h2 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }
.about-intro p { color: #444; line-height: 1.7; margin: 0; }
.about-usp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 1.5rem; list-style: none; margin: 1.75rem 0; padding: 1.25rem 1.5rem; background: #f8f8f8; border: 1px solid #e8e8e8; border-radius: 8px; }
.about-usp li { padding-left: 1.6rem; position: relative; font-weight: 600; color: #111; font-size: 0.95rem; }
.about-usp li::before { content: "✓"; position: absolute; left: 0; color: #111; font-weight: 700; }
.about-card { margin: 1.75rem 0; padding: 1.25rem 1.5rem; border: 1px solid #e8e8e8; border-radius: 8px; }
.about-card h2 { font-size: 1.1rem; margin: 0 0 0.85rem; }
.about-legal { margin-top: 2rem; }
.about-legal h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: #999; margin: 0 0 0.6rem; }
.about-legal dl { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; margin: 0; font-size: 0.85rem; color: #666; }
.about-legal dt { color: #999; font-weight: 600; }
.about-legal dd { margin: 0; }
.social-section { margin-top: 2rem; }
.social-section h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
.about-social { display: flex; flex-direction: column; gap: 0.75rem; }
.about-social a { display: inline-flex; align-items: center; gap: 0.6rem; width: fit-content; color: #111; text-decoration: none; font-weight: 600; }
.about-social a:hover { text-decoration: underline; }
.about-social svg { flex-shrink: 0; }
@media (max-width: 560px){ .about-usp { grid-template-columns: 1fr; } }
.social-links-large { gap: 1.5rem; margin-top: 0.5rem; }
.social-links-large a { font-weight: 600; text-decoration: underline; }

/* ─── Article Components ───────────────── */
.model-section {
    background: #f8f8f6;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #e8e8e4;
}
.model-section h2 { margin-top: 0; border-bottom: none; padding-bottom: 0; }
.model-section img { border-radius: 6px; margin: 1rem 0; }

.size-table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.92em; }
.size-table th {
    background: #1a1a1a; color: #fff; padding: 0.6rem 0.85rem;
    text-align: left; font-weight: 600; font-size: 0.88em;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.size-table td { padding: 0.55rem 0.85rem; border-bottom: 1px solid #e0e0e0; }
.size-table tr:nth-child(even) { background: #f0f0ec; }

.compare-btn {
    display: inline-block; background: #1a1a1a; color: #fff !important;
    text-decoration: none; padding: 0.75rem 1.5rem; border-radius: 6px;
    font-size: 0.95em; font-weight: 600; margin: 1rem 0.5rem 0.5rem 0;
    transition: background 0.2s;
}
.compare-btn:hover { background: #333; }

.tip-box {
    background: #fff; border-left: 4px solid #c8a44e;
    padding: 1rem 1.25rem; margin: 1.25rem 0;
    border-radius: 0 6px 6px 0; font-size: 0.95em;
}
.tip-box strong { color: #8a6d2b; }

.summary-box {
    background: #1a1a1a; color: #f0f0ec;
    border-radius: 10px; padding: 1.5rem; margin: 2rem 0;
}
.summary-box h2 { color: #fff; border-bottom-color: #444; margin-top: 0; }
.summary-box ul { padding-left: 1.25rem; }
.summary-box li { margin-bottom: 0.5rem; line-height: 1.6; }
.summary-box a { color: #c8a44e; }

/* ─── Geometry Images ──────────────────── */
.geometry-images {
    display: flex; flex-direction: column; gap: 1rem;
    align-items: center; /* center images */
}
.geometry-images img {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    max-width: min(800px, 100%);
}

/* ─── Color Modal ──────────────────────── */
.color-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
}
.color-modal.open { display: flex; }
.color-modal-inner {
    position: relative;
    max-width: 720px;
    width: 100%;
    cursor: default;
}
.color-modal-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}
.color-modal-name {
    text-align: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
    letter-spacing: 0.02em;
}
.color-modal-code {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}
.color-modal-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: #999;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.2s;
}
.color-modal-close:hover { color: #fff; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (min-width: 640px) {
    .bike-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .brand-usps { grid-template-columns: repeat(4, 1fr); }
    .intro-highlights { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .hero h1 { font-size: 3rem; }
    .hero-with-video { padding: 8rem 0; min-height: 70vh; }
    .section { padding: 4rem 0; }
    .section-title { font-size: 1.75rem; }

    /* Desktop nav */
    .nav-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        padding: 0;
        align-items: center;
        gap: 1.5rem;
    }
    .main-nav ul { flex-direction: row; gap: 0; }
    .main-nav a { padding: 0.5rem 0.75rem; font-size: 0.875rem; }
    .btn-nav-cta { margin-top: 0; }

    /* 2-col layouts */
    .model-header { flex-direction: row; }
    .model-image { flex: 1.2; }
    .model-info { flex: 1; }
    .product-header { flex-direction: row; }
    .product-image { flex: 1.2; }
    .product-info { flex: 1; }

    .bike-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid:not(.blog-grid-list) { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: repeat(4, 1fr); }

    /* Špecifikácie v 2 stĺpcoch — skupiny ostávajú pod sebou, stĺpce sa vyvažujú */
    .specs-columns { columns: 2; column-gap: 3rem; }
}

@media (min-width: 1200px) {
    body { font-size: 17px; }
    .bike-grid { grid-template-columns: repeat(4, 1fr); }
}
