/**
 * Kominy (SCHEIER) theme — main stylesheet entry.
 * Auto-loaded by PrestaShop as /assets/css/theme.css (priority 50).
 * All @import rules must precede any other CSS rule.
 *
 * Load order mirrors the source design pages:
 *   kominy4.css       base (scraped kratki `cs-` component system)
 *   style.css         SCHEIER design overrides (PDP + listing)
 *   product-finder.css product finder / configurator widget
 */
@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css");
@import url("https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/carousel/carousel.css");
@import url("kominy4.css");
@import url("grid.css");
@import url("style.css");
@import url("product-finder.css");

/* Theme-level integration tweaks live in custom.css (auto-loaded, priority 1000). */

/* PS Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0; flex-wrap: wrap; margin: 0; list-style: none; }

.pd-swatches { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.pd-swatch {
    width: 70px;
    height: 70px;
    border: 1px dashed #707070;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: .2s;
    overflow: hidden;
    position: relative;
    background-color:#fff;
    border-radius: 3px;
}
.pd-swatch img { width:100%; height:100%; object-fit:cover; }
.pd-swatch-label {
    font-size:10px;
    text-align:center;
    line-height:1.2;
    padding:0 2px;
    color:#555;
    position:absolute;
    bottom:0;
    background:rgba(255,255,255,.85);
    width:100%;
    min-height: 24px;
    align-content: center;
}
.pd-swatch.active, .pd-swatch:hover { border: var(--red) solid 1px !important; }


.pd-swatch.active::after {
    content: '';
    width: 16px;
    height: 16px;
    position: absolute;
    display: block;
    top: 4px;
    right: 2px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10.07' height='8.099' viewBox='0 0 10.07 8.099'%3E%3Cpath id='Path_41256' data-name='Path 41256' d='M-1925.889-2194.223l2.425,2.253,5.525-5.978' transform='translate(1926.949 2199.007)' fill='none' stroke='%23000' stroke-linecap='round' stroke-width='1.5'/%3E%3C/svg%3E%0A");
    background-position: center 5px;
    background-repeat: no-repeat;
    transition: .3s opacity ease-in-out;
    opacity: 1;
    background-size: 8px;
}

.pd-swatch-input { position:absolute; opacity:0; width:0; height:0; pointer-events:none; }
.pd-more-options { font-size:12px; color:#888; margin-bottom:20px; cursor:pointer; }

/* Button-style swatches (non-color attribute groups) */
.pd-swatch--btn {
    width: auto;
    height: auto;
    min-width: 5rem;
    padding:.5rem 1rem;
    font-size: .8rem;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pd-swatch--btn .pd-swatch-label {
    font-size: .8rem;
    line-height: 1;
    min-height: unset;
    align-content: unset;
    position:relative;
}
.pd-swatch--btn.active::after { display: none; }

/* Linked-variants "select" group type — one dropdown instead of a swatch row. */
/*
.pd-swatches-select { display: block; width: 100%; max-width: 260px; margin-bottom: 20px; padding: 8px 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; background: #fff; cursor: pointer; }
*/

