﻿:root {
    --max: 1200px;
}

* {
    box-sizing: border-box
}

body {
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    margin: 0;
    color: #111
}

header {
    border-bottom: 1px solid #eee
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 16px
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
    gap: 16px
}

.card {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column
}

    .card img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 10px
    }

.price {
    font-weight: 700;
    margin-top: 4px
}

.badge {
    display: inline-block;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    margin-right: 6px
}

nav a {
    margin-right: 12px;
    color: #333;
    text-decoration: none
}

    nav a.active {
        font-weight: 700
    }

.search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 12px 0
}

.footer {
    border-top: 1px solid #eee;
    margin-top: 24px;
    padding: 24px 0;
    color: #555;
    font-size: 14px
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid #111;
    text-decoration: none;
    color: #111
}

    .btn:hover {
        background: #111;
        color: #fff
    }

/* Content/site.css — PRIDAJ NA KONIEC SÚBORU */
.catbar {
    position: relative;
    margin: 8px 0 16px;
    overflow: auto;
    padding-bottom: 6px
}

    .catbar::-webkit-scrollbar {
        display: none
    }

.catbar {
    scrollbar-width: none
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 6px 8px 0 0;
    padding: 8px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    background: linear-gradient(#fff,#fafafa);
    text-decoration: none;
    color: #222;
    box-shadow: 0 1px 0 rgba(0,0,0,.03)
}

    .chip:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(0,0,0,.08)
    }

    .chip.active {
        border-color: #111;
        background: #111;
        color: #fff
    }

    .chip .label {
        white-space: nowrap;
        font-weight: 600
    }

    .chip .count {
        min-width: 22px;
        height: 22px;
        border-radius: 999px;
        border: 1px solid currentColor;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        padding: 0 6px
    }

/* Content/site.css – PRIDAJ jemnú deliacu čiaru */
.divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 8px 0 12px
}

.seo-cat {
    max-width: 1000px;
    margin: 28px auto;
    line-height: 1.7;
    color: #333
}

    .seo-cat h1, .seo-cat h2, .seo-cat h3 {
        color: #222;
        margin-top: 1.1em
    }

    .seo-cat ul {
        list-style: disc;
        margin-left: 1.5em
    }

    .seo-cat ol {
        margin-left: 1.5em
    }

    .seo-cat .faq h3 {
        margin-top: 1em
    }

    .seo-cat a {
        color: #b49458;
        text-decoration: none
    }

        .seo-cat a:hover {
            text-decoration: underline
        }
/* tlačidlá pod sebou */
.btn-stack .btn {
    display: block;
    margin-top: 8px;
    text-align: center
}

/* detail produktu */
.product-wrap {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start
}

@media (max-width:900px) {
    .product-wrap {
        grid-template-columns: 1fr
    }
}

.p-gallery {
    display: grid;
    gap: 12px
}

.p-main {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden
}

    .p-main img {
        width: 100%;
        height: auto;
        display: block
    }

.p-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(70px,1fr));
    gap: 8px
}

    .p-thumbs img {
        width: 100%;
        height: 70px;
        object-fit: cover;
        border: 1px solid #eee;
        border-radius: 8px;
        cursor: pointer
    }

.p-info h1 {
    margin: 0 0 6px
}

.p-meta .badge {
    margin-right: 6px
}

.p-actions .btn {
    display: block;
    margin-top: 8px
}

.breadcrumbs {
    font-size: 14px;
    margin-bottom: 8px;
    color: #666
}

    .breadcrumbs a {
        text-decoration: none;
        color: inherit
    }

/* ZOOM efekt pre galériu */
.zoom-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    cursor: crosshair;
}

.zoom-image {
    width: 400px;
    height: auto;
    display: block;
}

.zoom-lens {
    position: absolute;
    border: 1px solid rgba(0,0,0,0.3);
    width: 100px;
    height: 100px;
    opacity: 0.4;
    background-color: #ddd;
    display: none;
}

/* FIX: dovoľ prekrytie vedľa obrázka */
.p-main.zoom-container {
    position: relative; /* kotva pre absolútne pozicovaný zoom-result */
    overflow: visible !important; /* prebije staré overflow:hidden */
    display: inline-block;
}

/* zoom okno – nech je nad ostatnými a hneď vedľa obrázka */
.zoom-result {
    position: absolute;
    top: 0;
    left: calc(100% + 16px);
    width: 400px;
    height: 400px;
    border: 1px solid #ccc;
    overflow: hidden;
    background-repeat: no-repeat;
    display: none;
    z-index: 999; /* istota pre prekrytie */
}


@media (max-width: 900px) {
    .zoom-result {
        left: 0;
        top: calc(100% + 12px);
        width: 100%;
        height: 320px; /* alebo podľa potreby */
    }
}

.compare {
    display: grid;
    gap: 6px;
    margin-bottom: 20px;
}

    .compare .row {
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 10px;
        padding: 6px 8px;
        border: 1px solid #eee;
    }

    .compare .head {
        background: #fafafa;
        font-weight: 600;
    }




