/* Modern minimal style for cinskynabytek.cz */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f5f5f5; /* světlé pozadí */
    color: #1f242b;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; }
p { margin: 0; }

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
.logo { font-weight: 700; letter-spacing: 0.5px; display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { padding: 8px 0; opacity: 0.8; }
.nav a:hover { opacity: 1; }
.cart-link { position: relative; }
.cart-badge {
    display: inline-block;
    background: #4caf50;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
    min-width: 18px;
    text-align: center;
}
.cart-badge:empty { display: none; }
.cta span {
    background: linear-gradient(135deg,#c3d7e6,#d4b48c); /* světle stříbřitě modrá -> světle hnědá */
    color: #1f242b;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 700;
}

main { padding: 32px 32px 64px; max-width: 1200px; margin: 0 auto; }

.hero-slider {
    margin-top: 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 400px;
}
.hero-slider__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    transition: transform 400ms ease;
}
.hero-slide {
    padding: 28px;
    display: flex;
    align-items: center;
    min-height: 400px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
}
.hero-slide[style*="background-image"] {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.hero-slide__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
    z-index: 1;
}
.hero-slide__copy {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.hero-slide h2 {
    font-size: 28px;
    margin: 8px 0 12px;
    color: #ffffff;
}
.hero-slide .lead {
    max-width: 640px;
    margin-bottom: 16px;
    color: #f0f0f0;
}
.hero-slider__controls {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-slider .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 200ms ease;
}
.hero-slider .dot:hover {
    border-color: #d4b48c;
}
.hero-slider .dot.active {
    background: #d4b48c;
    border-color: #d4b48c;
}

.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; align-items: center; padding: 24px 0 48px; }
.hero__copy h1 { font-size: 36px; margin: 8px 0 12px; }
.hero__copy .lead { color: #4a5568; max-width: 520px; margin-bottom: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: #718096; margin-bottom: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.pill { padding: 8px 12px; background: rgba(212, 180, 140, 0.2); border: 1px solid rgba(212, 180, 140, 0.4); border-radius: 999px; color: #744210; }
.hero__actions { display: flex; gap: 12px; margin: 16px 0; }
.btn {
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}
.btn.primary { background: linear-gradient(135deg,#c3d7e6,#d4b48c); color: #1f242b; }
.btn.success { background: #4caf50; color: #ffffff; }
.btn.success:hover { background: #45a049; }
.btn.ghost { background: transparent; border: 1px solid rgba(0,0,0,0.2); color: #1f242b; }
.btn.small { padding: 8px 10px; font-size: 14px; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.hero__visual { display: flex; justify-content: flex-end; }
.glass {
    background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(250,250,250,0.9));
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 18px;
    padding: 22px;
    max-width: 420px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}
.glass .badge { margin-top: 12px; display: inline-block; padding: 6px 10px; background: #d4b48c; color: #1f242b; border-radius: 12px; font-weight: 700; }
.muted { color: #4a5568; }
.small { font-size: 14px; color: #718096; }
.lead { font-size: 18px; }
.timelines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.timelines strong { display: block; }
.timelines small { color: #718096; }

.banners { display: grid; gap: 14px; margin: 20px 0 32px; }
.banner { border-radius: 16px; padding: 18px; border: 1px solid rgba(0,0,0,0.1); }
.banner--highlight { background: linear-gradient(135deg, rgba(195,215,230,0.3), rgba(212,180,140,0.4)); }
.banner--calm { background: rgba(255,255,255,0.8); }
.hero-slide.banner--highlight,
.hero-slide.banner--calm {
    background: none;
}
.banner h3 { margin: 6px 0; }
.link { color: #c3d7e6; font-weight: 600; }

.section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.tablist { display: flex; gap: 10px; flex-wrap: wrap; }
.tab { padding: 8px 12px; background: rgba(255,255,255,0.9); border-radius: 12px; border: 1px solid rgba(0,0,0,0.1); color: #1f242b; }

.product-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.product-card { background: #ffffff; border: 1px solid rgba(0,0,0,0.1); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; min-height: 420px; transition: transform 120ms ease, box-shadow 120ms ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,0.22); }
.product-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.product-card__img { background-size: cover; background-position: center; height: 180px; position: relative; }
.product-card__img .badge { background: #d4b48c; color: #1f242b; padding: 6px 10px; border-radius: 12px; font-weight: 700; font-size: 11px; display: inline-block; }
.product-card__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.price { font-size: 18px; font-weight: 700; }
.card-actions { margin-top: auto; display: flex; gap: 10px; justify-content: center; }
.card-actions .btn { pointer-events: none; }

.guarantee { margin: 48px 0; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; }
.guarantee .card { background: rgba(255,255,255,0.8); border: 1px solid rgba(0,0,0,0.1); border-radius: 16px; padding: 18px; }
.guarantee ul { color: #4a5568; padding-left: 18px; }
.guarantee li { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.chips span { background: rgba(212,180,140,0.18); border-radius: 10px; padding: 6px 10px; }

.footer { 
    border-top: 1px solid rgba(0,0,0,0.1); 
    padding: 18px 32px; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    gap: 12px; 
    flex-wrap: wrap; 
    color: #4a5568; 
}
.footer-links { display: flex; gap: 12px; }

/* Content pages */
.page-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}
.content-page {
    max-width: 800px;
    margin: 0 auto;
}
.content-page h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: #1f242b;
}
.content-page h3 {
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: #1f242b;
}
.content-page ul {
    margin: 16px 0;
    padding-left: 24px;
    color: #4a5568;
}
.content-page li {
    margin-bottom: 8px;
}
.content-page a {
    color: #c3d7e6;
    text-decoration: underline;
}
.content-page a:hover {
    color: #d4b48c;
}

.faq-item {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item h2 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
    color: #1f242b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}
.contact-info h2 {
    margin-top: 0;
}
.contact-item {
    margin-bottom: 24px;
}
.contact-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #d4b48c;
}
.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 24px;
}
.contact-form {
    display: grid;
    gap: 16px;
}
.contact-form label {
    display: grid;
    gap: 6px;
    color: #1f242b;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.2);
    background: #ffffff;
    color: #1f242b;
    font-family: inherit;
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Product detail page */
.breadcrumb {
    padding: 12px 0;
    color: #718096;
    font-size: 14px;
}
.breadcrumb a { color: #4a5568; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: #1f242b; }

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 32px 0 64px;
    align-items: start;
}

.product-detail__gallery {
    position: sticky;
    top: 100px;
}

.product-detail__main-image {
    width: 100%;
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.product-detail__main-image .badge {
    background: #d4b48c;
    color: #1f242b;
    padding: 8px 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
}

.product-detail__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-tagline {
    font-size: 18px;
    color: #4a5568;
    margin: 8px 0;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #d4b48c;
    margin: 12px 0;
}

.product-description,
.product-features {
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.product-description h3,
.product-features h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1f242b;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: #4a5568;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4b48c;
    font-weight: 700;
}

.product-timeline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 14px;
}

.timeline-item {
    text-align: center;
}

.timeline-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.timeline-item small {
    color: #718096;
    font-size: 12px;
}

.product-actions {
    display: flex;
    gap: 12px;
    margin: 24px 0;
    justify-content: center;
}

.btn.large {
    padding: 16px 24px;
    font-size: 16px;
    flex: 1;
}

.product-guarantee {
    padding: 18px;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 14px;
    margin-top: 12px;
}

.product-guarantee strong {
    display: block;
    margin-bottom: 6px;
    color: #1f242b;
}

.related-products {
    margin: 64px 0;
    padding-top: 48px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.related-products h2 {
    font-size: 28px;
    margin-bottom: 24px;
}


/* Tablet and smaller desktop */
@media (max-width: 960px) {
    main { padding: 18px; }
    .hero, .guarantee { grid-template-columns: 1fr; }
    .hero__visual { order: -1; }
    .product-detail {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .product-detail__gallery {
        position: static;
    }
    .product-actions {
        flex-direction: column;
    }
    .product-timeline {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .topbar {
        padding: 12px 16px;
        flex-wrap: wrap;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .logo img {
        height: 24px;
    }
    
    .nav {
        gap: 12px;
        font-size: 14px;
        order: 3;
        width: 100%;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    
    .nav a {
        padding: 6px 0;
    }
    
    .cta span {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    main {
        padding: 16px;
    }
    
    .hero-slider {
        margin-top: 0;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .hero-slider {
        min-height: 300px;
    }
    
    .hero-slide {
        padding: 20px;
        min-height: 300px;
    }
    
    .hero-slide h2 {
        font-size: 22px;
    }
    
    .hero-slide .lead {
        font-size: 15px;
    }
    
    .hero-slider__controls {
        bottom: 12px;
        right: 12px;
    }
    
    .hero {
        gap: 24px;
        padding: 16px 0 32px;
    }
    
    .hero__copy h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero__copy .lead {
        font-size: 16px;
    }
    
    .hero__actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .timelines {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .glass {
        padding: 16px;
        max-width: 100%;
    }
    
    .banners {
        gap: 12px;
        margin: 16px 0 24px;
    }
    
    .banner {
        padding: 14px;
    }
    
    .banner h3 {
        font-size: 18px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .tablist {
        gap: 8px;
    }
    
    .tab {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 16px;
    }
    
    .product-card {
        min-height: auto;
    }
    
    .product-card__img {
        height: 200px;
    }
    
    .product-card__body {
        padding: 12px;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .card-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .guarantee {
        margin: 32px 0;
        gap: 20px;
    }
    
    .guarantee h2 {
        font-size: 22px;
    }
    
    .guarantee .card {
        padding: 14px;
    }
    
    .footer {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
    
    /* Product detail mobile */
    .breadcrumb {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .product-detail {
        gap: 24px;
        margin: 16px 0 32px;
    }
    
    .product-detail__main-image {
        border-radius: 12px;
    }
    
    .product-detail__main-image .badge {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .product-detail__info h1 {
        font-size: 24px;
    }
    
    .product-tagline {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .product-description,
    .product-features {
        padding: 16px 0;
    }
    
    .product-description h3,
    .product-features h3 {
        font-size: 16px;
    }
    
    .product-timeline {
        padding: 16px;
        gap: 12px;
    }
    
    .product-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .product-actions .btn {
        width: 100%;
    }
    
    .related-products {
        margin: 32px 0;
        padding-top: 32px;
    }
    
    .related-products h2 {
        font-size: 22px;
        margin-bottom: 16px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .topbar {
        padding: 10px 12px;
    }
    
    .logo {
        font-size: 13px;
    }
    
    .nav {
        font-size: 13px;
        gap: 10px;
    }
    
    main {
        padding: 12px;
    }
    
    .hero__copy h1 {
        font-size: 24px;
    }
    
    .hero__copy .lead {
        font-size: 15px;
    }
    
    .hero-slider {
        min-height: 250px;
    }
    
    .hero-slide {
        padding: 16px;
        min-height: 250px;
    }
    
    .hero-slide h2 {
        font-size: 20px;
    }
    
    .hero-slide .lead {
        font-size: 14px;
    }
    
    .pills {
        gap: 6px;
    }
    
    .pill {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .product-card__img {
        height: 180px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .product-detail__info h1 {
        font-size: 22px;
    }
    
    .product-price {
        font-size: 26px;
    }
    
    .btn {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .btn.large {
        padding: 14px 20px;
        font-size: 15px;
    }
    .page-header h1 {
        font-size: 28px;
    }
    .content-page h2 {
        font-size: 20px;
    }
    .contact-form-card {
        padding: 18px;
    }
}
