/* GSM-shop.sk INTER-FRONTEND-01: zjednotenie frontend fontov na Inter, zachovane ikony/monospace */
.znm-products-wrap {
    margin-bottom: 30px;
}

.znm-products-wrap .page-heading {
    margin-bottom: 18px;
}

.znm-products-wrap .page-heading .page-heading-title {
    display: block;
}

.znm-seo-intro {
    margin: 0 0 18px 0;
    padding: 15px 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    border: 1px solid #d8e6f3;
    box-shadow: 0 10px 24px rgba(13, 73, 133, 0.06);
}

.znm-seo-intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.75;
    color: #26415c;
}

.catalog-filter-top-wrap {
    position: relative;
    margin: 0 0 14px 0;
    padding: 16px 14px 8px 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    border: 1px solid #bcd3ea;
    box-shadow: 0 14px 34px rgba(13, 73, 133, 0.11);
    overflow: hidden;
}

.znm-quick-filter-wrap {
    margin: 0 0 22px 0;
    padding: 12px 14px 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    border: 1px solid #bcd3ea;
    box-shadow: 0 12px 30px rgba(13, 73, 133, 0.10);
}

.znm-quick-filter-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.znm-quick-filter-title {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: #153451;
}

.znm-quick-filter-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #c9d3df;
    background: #f4f6f8;
    color: #7b8794;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    cursor: default;
    flex: 0 0 18px;
}

.znm-quick-filter-info:before {
    content: 'i';
    display: block;
}

.znm-quick-filter-tooltip {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    width: 260px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(33, 43, 54, 0.96);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 400;
    text-align: left;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 30;
}

.znm-quick-filter-tooltip:before {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    width: 12px;
    height: 12px;
    background: rgba(33, 43, 54, 0.96);
    transform: translateX(-50%) rotate(45deg);
}

.znm-quick-filter-info:hover .znm-quick-filter-tooltip,
.znm-quick-filter-info:focus .znm-quick-filter-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.znm-quick-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.znm-quick-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #c3d7ea;
    background: #ffffff;
    color: #18446f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: all 0.18s ease;
    white-space: nowrap;
    box-shadow: 0 1px 0 rgba(13, 73, 133, 0.03);
}

.znm-quick-filter-chip:not(.is-active):hover,
.znm-quick-filter-chip:not(.is-active):focus {
    color: #0d6efd;
    border-color: #7fb2e6;
    background: #eef6ff;
    text-decoration: none !important;
    outline: none;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.10);
}

.znm-quick-filter-chip.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #2f83e7 0%, #0d6efd 100%);
    border-color: #0b5ed7;
    box-shadow: 0 8px 18px rgba(13, 110, 253, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.znm-quick-filter-chip.is-active:hover,
.znm-quick-filter-chip.is-active:focus {
    color: #ffffff;
    border-color: #0a58ca;
    background: linear-gradient(180deg, #1f74da 0%, #0b5ed7 100%);
    text-decoration: none !important;
    outline: none;
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.znm-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 24px;
    align-items: stretch;
}

.znm-products-grid .home-product-card {
    min-height: 100%;
}

.znm-products-grid .product-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.znm-products-grid .product-thumb img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.znm-products-grid .product-stock-line {
    display: block;
    margin-top: 4px;
    margin-bottom: 2px;
}

.znm-products-grid .product-stock-ok,
.znm-products-grid .product-stock-warn,
.znm-products-grid .product-stock-bad {
    display: block;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: 0;
    white-space: normal;
}

.znm-products-grid .product-stock-ok {
    color: #16a34a;
}

.znm-products-grid .product-stock-warn {
    color: #b26a00;
}

.znm-products-grid .product-stock-bad {
    color: #b42318;
}

.znm-products-grid .product-stock-extra {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.35;
    color: #6b7280;
}

.znm-products-grid .product-stock-extra img {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.znm-products-grid .home-add-to-cart-btn--disabled {
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    padding-top: 10px;
    padding-bottom: 10px;
}

.znm-products-grid .home-add-to-cart-btn--disabled span {
    font-size: 12px;
    font-weight: 700;
}

.znm-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
    margin-top: 8px;
}

.znm-model-card {
    display: block;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #153451;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.znm-model-card:hover,
.znm-model-card:focus {
    text-decoration: none;
    color: #0d6efd;
    border-color: #cfe1f4;
    box-shadow: 0 8px 20px rgba(21, 52, 81, 0.08);
}

.znm-model-card.color {
    border-color: #0d6efd;
    background: #f3f8ff;
    color: #0d4f99;
}

.catalog-pagination-wrap {
    margin-top: 26px;
    text-align: right;
}

.catalog-pagination-wrap nav {
    text-align: right;
}

.catalog-pagination-wrap .pagination {
    margin: 0;
    display: inline-block;
    vertical-align: top;
}

.catalog-pagination-wrap .pagination > li > a,
.catalog-pagination-wrap .pagination > li > span {
    color: #153451;
    border-color: #d9e5f1;
    min-width: 40px;
    text-align: center;
}

.catalog-pagination-wrap .pagination > li > a.active,
.catalog-pagination-wrap .pagination > li > a:hover {
    background: #edf5ff;
    border-color: #cfe1f4;
    color: #0d6efd;
}

.catalog-pagination-wrap .pagination > li.disabled > span {
    color: #94a3b8;
    background: #f8fafc;
    border-color: #e2e8f0;
}

.znm-left-module {
    margin-bottom: 18px;
}

.znm-left-toggle {
    display: none;
}

.znm-empty {
    margin: 6px 0 26px 0;
    padding: 28px 26px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff9f9 0%, #fff4f4 100%);
    border: 1px solid #f1d6d6;
    color: #6f4545;
    box-shadow: 0 10px 26px rgba(122, 76, 76, 0.06);
}

.znm-empty-title {
    margin: 0 0 8px 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    color: #6a2f2f;
}

.znm-empty-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #7a4c4c;
}

.scroll_top.scroll-top--force-visible {
    display: inline;
}

@media (max-width: 1199px) {
    .znm-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .znm-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
    }

    .znm-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #left_column {
        margin-bottom: 18px;
    }

    .znm-products-wrap .page-heading {
        margin-bottom: 16px;
    }

    .znm-seo-intro {
        margin-bottom: 16px;
        padding: 13px 14px;
        border-radius: 14px;
    }

    .znm-seo-intro p {
        font-size: 13px;
        line-height: 1.7;
    }

    .catalog-filter-top-wrap {
        margin-bottom: 12px;
        padding: 12px 10px 4px 10px;
        border-radius: 14px;
    }

    .znm-quick-filter-wrap {
        margin-bottom: 18px;
        padding: 10px;
        border-radius: 14px;
    }

    .znm-quick-filter-title {
        font-size: 12px;
        line-height: 1.4;
    }

    .znm-quick-filter-info {
        display: none;
    }

    .znm-quick-filter-chips {
        gap: 7px;
    }

    .znm-quick-filter-chip {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 12px;
    }

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

    .znm-products-grid .product-thumb img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 160px;
        object-fit: contain;
        margin-left: auto;
        margin-right: auto;
    }

    .znm-model-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .znm-products-grid .product-stock-line {
        margin-top: 3px;
    }

    .znm-products-grid .product-stock-ok,
    .znm-products-grid .product-stock-warn,
    .znm-products-grid .product-stock-bad {
        font-size: 11px;
        line-height: 1.4;
    }

    .znm-products-grid .product-stock-extra {
        font-size: 10px;
    }

    .znm-products-grid .product-stock-extra img {
        width: 14px;
        height: 14px;
        flex-basis: 14px;
    }

    .znm-products-grid .home-add-to-cart-btn--disabled,
    .znm-products-grid .home-add-to-cart-btn--disabled span {
        font-size: 11px;
    }

    .catalog-pagination-wrap,
    .catalog-pagination-wrap nav {
        text-align: center;
    }

    .catalog-pagination-wrap .pagination > li > a,
    .catalog-pagination-wrap .pagination > li > span {
        min-width: 36px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 12px;
    }

    .znm-left-module .title_block {
        display: none;
    }

    .znm-left-toggle {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 12px 14px;
        border: 1px solid #d5e3f0;
        border-radius: 14px;
        background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
        color: #153451;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        text-align: left;
        box-shadow: 0 8px 20px rgba(13, 73, 133, 0.06);
    }

    .znm-left-toggle:focus,
    .znm-left-toggle:hover {
        color: #0d6efd;
        text-decoration: none;
        outline: none;
    }

    .znm-left-toggle-icon {
        position: relative;
        display: inline-block;
        width: 14px;
        height: 14px;
        flex: 0 0 14px;
    }

    .znm-left-toggle-icon:before,
    .znm-left-toggle-icon:after {
        content: '';
        position: absolute;
        left: 0;
        top: 6px;
        width: 14px;
        height: 2px;
        background: #0d6efd;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .znm-left-toggle-icon:after {
        transform: rotate(90deg);
    }

    .znm-left-module.is-open .znm-left-toggle-icon:after {
        opacity: 0;
        transform: rotate(90deg) scaleX(0.2);
    }

    .znm-left-module .block_content {
        display: none;
        margin-top: 10px;
    }

    .znm-left-module.is-open .block_content {
        display: block;
    }

    .znm-empty {
        padding: 22px 18px;
        border-radius: 16px;
    }

    .znm-empty-title {
        font-size: 19px;
    }

    .znm-empty-text {
        font-size: 14px;
        line-height: 1.65;
    }
}