/* =========================================================
   Cafepoint – DESKTOP (od 768 px) v rovnakom štýle ako mobil
   (Figma návrh × Blue Bottle). Patrí k cafepoint-desktop.js.
   Samostatný súbor – funguje aj bez cafepoint-product.css.
   ========================================================= */

:root {
    --cp-ink: #0f0f0f;
    --cp-text: #2f2f2f;
    --cp-dark: #1e2a1e;
    --cp-muted: #5f6170;
    --cp-line: #e0e5ee;
    --cp-bar-off: #d9d9d9;
    --cp-stock: #0b7a1d;
    --cp-header-bg: #f6f6f3;
    --cp-bonus-bg: #ececf0;
    --cp-bonus-text: #41416e;
    --cp-sale: #d42100;
    --cp-new: #4d7a24;
    --cp-placeholder: #6f7180;
}

@media (min-width: 768px) {

    /* ---------------------------------------------------------
       HLAVIČKA – rozloženie a farby ostávajú pôvodné,
       mení sa len veľkosť písma a ikonky (rovnaké ako na mobile)
       --------------------------------------------------------- */
    .top-navigation-bar .top-navigation-bar-menu a,
    .top-navigation-bar .project-email,
    .top-navigation-bar .project-email span {
        font-size: 12px !important;
        letter-spacing: 0.02em;
    }
    #header #navigation .menu-level-1 > li > a,
    #header .menu-helper > span {
        font-size: 13px !important;
        font-weight: 500 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
    }

    /* lupa vo vyhľadávaní – ikonka z Figmy (biela na tmavom tlačidle) */
    html body #header .search button.btn {
        position: absolute;
        font-size: 0 !important;
        color: transparent !important;
    }
    html body #header .search button.btn::before {
        content: none !important;
        display: none !important;
    }
    html body #header .search button.btn::after {
        content: "" !important;
        display: block !important;
        position: absolute !important;
        inset: 0 !important;
        margin: auto !important;
        width: 17px !important;
        height: 17px !important;
        background: url("data:image/svg+xml;base64,PHN2ZyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiBvdmVyZmxvdz0idmlzaWJsZSIgc3R5bGU9ImRpc3BsYXk6IGJsb2NrOyIgd2lkdGg9IjE3IiBoZWlnaHQ9IjE3IiB2aWV3Qm94PSIwIDAgMTcgMTciIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGlkPSJNYXNrIGdyb3VwIj4KPG1hc2sgaWQ9Im1hc2swXzBfMTEiIHN0eWxlPSJtYXNrLXR5cGU6bHVtaW5hbmNlIiBtYXNrVW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMTciIGhlaWdodD0iMTciPgo8ZyBpZD0iR3JvdXAiPgo8cGF0aCBpZD0iVmVjdG9yIiBkPSJNMTYuNzM4MyAxNS40NzI0QzE3LjA4NzIgMTUuODIxMyAxNy4wODcyIDE2LjM4OTQgMTYuNzM4MyAxNi43MzgzQzE2LjM4OTMgMTcuMDg3MiAxNS44MjEgMTcuMDg3MiAxNS40NzIgMTYuNzM4M0wxMS4wOTYyIDEyLjM2MzZDMTAuOTIxNyAxMi4xODkyIDEwLjYxMyAxMi4xNjY4IDEwLjQxNjEgMTIuMzAxQzEwLjQxNjEgMTIuMzAxIDEwLjI5NTMgMTIuMzk0OSAxMC4wMzU4IDEyLjU0MjZDOS4wNTU5MyAxMy4wOTcyIDcuOTE5NDYgMTMuNDE5MyA2LjcxMTQxIDEzLjQxOTNDMy4wMDY3MSAxMy40MTkzIDAgMTAuNDEzNCAwIDYuNzA5NjRDMCAzLjAwNTkyIDMuMDA2NzEgMCA2LjcxMTQxIDBDMTAuNDE2MSAwIDEzLjQyMjggMy4wMDU5MiAxMy40MjI4IDYuNzA5NjRDMTMuNDIyOCA3LjkyNjMzIDEzLjA5NjIgOS4wNzE0NCAxMi41MzI0IDEwLjA1NTVDMTIuMzg0OCAxMC4zMDYgMTIuMzA0MyAxMC40MDg5IDEyLjMwNDMgMTAuNDA4OUMxMi4xNjExIDEwLjYxNDcgMTIuMTg3OSAxMC45MTg4IDEyLjM2MjQgMTEuMDkzM0wxNi43MzgzIDE1LjQ3MjRaTTYuNzExNDEgMTEuNjNDOS40MzE3NyAxMS42MyAxMS42MzMxIDkuNDI5MjkgMTEuNjMzMSA2LjcwOTY0QzExLjYzMzEgMy45OSA5LjQzMTc3IDEuNzg5MjQgNi43MTE0MSAxLjc4OTI0QzMuOTkxMDUgMS43ODkyNCAxLjc4OTcxIDMuOTkgMS43ODk3MSA2LjcwOTY0QzEuNzg5NzEgOS40MjkyOSAzLjk5MTA1IDExLjYzIDYuNzExNDEgMTEuNjNaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjwvbWFzaz4KPGcgbWFzaz0idXJsKCNtYXNrMF8wXzExKSI+CjxwYXRoIGlkPSJWZWN0b3JfMiIgZD0iTTE2LjczODMgMTUuNDcyNEMxNy4wODcyIDE1LjgyMTMgMTcuMDg3MiAxNi4zODk0IDE2LjczODMgMTYuNzM4M0MxNi4zODkzIDE3LjA4NzIgMTUuODIxIDE3LjA4NzIgMTUuNDcyIDE2LjczODNMMTEuMDk2MiAxMi4zNjM2QzEwLjkyMTcgMTIuMTg5MiAxMC42MTMgMTIuMTY2OCAxMC40MTYxIDEyLjMwMUMxMC40MTYxIDEyLjMwMSAxMC4yOTUzIDEyLjM5NDkgMTAuMDM1OCAxMi41NDI2QzkuMDU1OTMgMTMuMDk3MiA3LjkxOTQ2IDEzLjQxOTMgNi43MTE0MSAxMy40MTkzQzMuMDA2NzEgMTMuNDE5MyAwIDEwLjQxMzQgMCA2LjcwOTY0QzAgMy4wMDU5MiAzLjAwNjcxIDAgNi43MTE0MSAwQzEwLjQxNjEgMCAxMy40MjI4IDMuMDA1OTIgMTMuNDIyOCA2LjcwOTY0QzEzLjQyMjggNy45MjYzMyAxMy4wOTYyIDkuMDcxNDQgMTIuNTMyNCAxMC4wNTU1QzEyLjM4NDggMTAuMzA2IDEyLjMwNDMgMTAuNDA4OSAxMi4zMDQzIDEwLjQwODlDMTIuMTYxMSAxMC42MTQ3IDEyLjE4NzkgMTAuOTE4OCAxMi4zNjI0IDExLjA5MzNMMTYuNzM4MyAxNS40NzI0Wk02LjcxMTQxIDExLjYzQzkuNDMxNzcgMTEuNjMgMTEuNjMzMSA5LjQyOTI5IDExLjYzMzEgNi43MDk2NEMxMS42MzMxIDMuOTkgOS40MzE3NyAxLjc4OTI0IDYuNzExNDEgMS43ODkyNEMzLjk5MTA1IDEuNzg5MjQgMS43ODk3MSAzLjk5IDEuNzg5NzEgNi43MDk2NEMxLjc4OTcxIDkuNDI5MjkgMy45OTEwNSAxMS42MyA2LjcxMTQxIDExLjYzWiIgZmlsbD0iYmxhY2siIHN0cm9rZS13aWR0aD0iMC4yIiBzdHJva2U9IiNGOUY2RjAiLz4KPC9nPgo8L2c+Cjwvc3ZnPgo=") no-repeat center / 17px 17px !important;
        filter: invert(1);
        transform: none !important;
    }

    /* košík – taška z Figmy namiesto košíka */
    html body #header .navigation-buttons .click-cart > a::before {
        content: "" !important;
        display: inline-block !important;
        position: static !important;
        flex: 0 0 auto;
        width: 16px !important;
        height: 17px !important;
        margin: 0 8px 0 0 !important;
        background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNyIgdmlld0JveD0iMCAwIDE2IDE3IiBmaWxsPSJub25lIj48ZyBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIj48cGF0aCBkPSJNMTIgNC43NUMxMiAyLjU0MDg2IDEwLjIwOTEgMC43NSA4IDAuNzVDNS43OTA4NiAwLjc1IDQgMi41NDA4NiA0IDQuNzUiLz48L2c+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4xNDYgNi43NjcpIj48cGF0aCBkPSJNMC44MDAwMDYgMC44TDIuMTMzNjEgOS4yMDY1MkgxMy41Nzg0TDE0LjkxMiAwLjhIMC44MDAwMDZaIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlPSJibGFjayIvPjwvZz48L3N2Zz4K") no-repeat center / 16px 17px !important;
        font-size: 0 !important;
        transform: none !important;
        vertical-align: middle;
    }
    html body #header .navigation-buttons .click-cart > a {
        display: inline-flex !important;
        align-items: center;
    }

    /* drobky */
    .breadcrumbs,
    .breadcrumbs a,
    .breadcrumbs span {
        font-size: 12px !important;
        color: var(--cp-muted) !important;
    }

    /* ---------------------------------------------------------
       KARTY PRODUKTOV (kategória, úvod, vyhľadávanie)
       --------------------------------------------------------- */
    .products .product .name,
    .products .product .name span {
        text-transform: none !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        letter-spacing: 0 !important;
        color: var(--cp-ink) !important;
    }
    .products .product .availability,
    .products .product .availability span {
        font-size: 12px !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .products .product .price-final,
    .products .product .price-final strong {
        font-size: 17px !important;
        font-weight: 600 !important;
    }
    .products .product .price-measure {
        font-size: 12px !important;
    }
    .flags .flag {
        font-size: 11px !important;
        line-height: 13px !important;
        border-radius: 0 !important;
    }
    /* popis kategórie – na celú šírku (ako pôvodne) */
    html body .category-perex,
    html body .category-perex p {
        max-width: none !important;
    }

    /* kontrast (rovnaké hodnoty ako na mobile) */
    .price-measure,
    .price-measure span,
    .listItemsTotal,
    .filter-total-count,
    .filter-count,
    .listSorting__control,
    .search-results-header__count,
    .search-results-group-list a,
    .display-results-group {
        color: var(--cp-muted) !important;
    }
    [style*="#009901"],
    .availability-label,
    .up-in-stock-label {
        color: var(--cp-stock) !important;
    }
    .flag.flag-action { background-color: var(--cp-sale) !important; }
    .flag.flag-new { background-color: var(--cp-new) !important; }
    .flag.flag-darcek { color: var(--cp-ink) !important; }
    .search-input::placeholder { color: var(--cp-placeholder) !important; opacity: 1; }

    /* kocky podkategórií bez šípky */
    .subcategories a::before {
        display: none !important;
    }

    /* bočné filtre – svetlý panel, nadpis v štýle webu namiesto čierneho bloku */
    .sidebar .box-filters {
        background: #fff !important;
        border: 1px solid var(--cp-line) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    html body .sidebar .box-filters > h4 {
        display: flex !important;
        align-items: center;
        gap: 10px;
        margin: 0 !important;
        padding: 18px 24px !important;
        background: transparent !important;
        border-bottom: 1px solid var(--cp-line) !important;
        color: var(--cp-ink) !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
    }
    html body .sidebar .box-filters > h4::before {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        color: var(--cp-ink) !important;
        font-size: 14px !important;
    }

    /* ---------------------------------------------------------
       DETAIL PRODUKTU
       --------------------------------------------------------- */
    body.type-detail .p-detail {
        max-width: 1280px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    body.type-detail.cp-pd-ready .p-detail-inner-header,
    body.type-detail.cp-pd-ready .p-info-wrapper > .p-info-headline {
        display: none !important;
    }

    /* galéria na béžovom podklade */
    body.type-detail .p-image-wrapper {
        margin: 0 0 32px !important;
        padding: 0 !important;
    }
    body.type-detail .p-image {
        position: relative;
        aspect-ratio: 1 / 1;
        background: var(--cp-header-bg) !important;
    }
    body.type-detail .p-image #wrap,
    body.type-detail .p-image .p-main-image {
        height: 100%;
        background: var(--cp-header-bg) !important;
    }
    body.type-detail .p-image img {
        width: 100% !important;
        height: 100% !important;
        padding: 8%;
        object-fit: contain;
        mix-blend-mode: multiply;
    }
    body.type-detail .p-image .flags-default {
        position: absolute !important;
        left: 16px !important;
        top: 16px !important;
        z-index: 3;
    }
    body.type-detail .p-image .flags-default .flag {
        padding: 6px 9px !important;
        font-size: 11px !important;
        font-weight: 500 !important;
        letter-spacing: 0.3px !important;
        text-transform: uppercase !important;
    }

    /* pravý stĺpec */
    body.type-detail.cp-pd-ready .p-info-wrapper {
        display: flex !important;
        flex-direction: column;
        gap: 24px;
        max-width: 560px;
    }
    body.type-detail.cp-pd-ready .p-info-wrapper > .p-info-grid,
    body.type-detail.cp-pd-ready .p-info-wrapper .detail-price-block {
        display: contents !important;
    }
    body.type-detail.cp-pd-ready .p-info-wrapper .cp-pd-head { order: 1; }
    body.type-detail.cp-pd-ready .p-info-wrapper .cp-pd-intensity { order: 2; }
    body.type-detail.cp-pd-ready .p-info-wrapper .c-product-interconnection-detail-params,
    body.type-detail.cp-pd-ready .p-info-wrapper .detail-parameters,
    body.type-detail.cp-pd-ready .p-info-wrapper .p-variants-block { order: 3; }
    body.type-detail.cp-pd-ready .p-info-wrapper .add-to-cart { order: 4; }
    body.type-detail.cp-pd-ready .p-info-wrapper .mehub-bonus-product-detail-container { order: 5; }
    body.type-detail.cp-pd-ready .p-info-wrapper .up-product-wrapper { order: 6; }
    body.type-detail.cp-pd-ready .p-info-wrapper .p-short-description-block { order: 7; }
    body.type-detail.cp-pd-ready .p-info-wrapper > * { order: 8; }
    body.type-detail.cp-pd-ready .p-info-wrapper > *,
    body.type-detail.cp-pd-ready .p-info-grid > *,
    body.type-detail.cp-pd-ready .detail-price-block > * {
        margin: 0 !important;
        width: 100%;
    }

    body.type-detail.cp-pd-ready .detail-grid-title,
    body.type-detail.cp-pd-ready .p-final-price-wrapper,
    body.type-detail.cp-pd-ready .detail-price-block > .availability-value,
    body.type-detail.cp-pd-ready .p-info-wrapper p:has(> a.chevron-down-after),
    body.type-detail.cp-pd-ready .p-info-wrapper .detail-parameters:not(:has(td)) {
        display: none !important;
    }
    body.type-detail.cp-pd-ready .social-buttons-wrapper {
        order: 9;
    }
    body.type-detail.cp-pd-ready .social-buttons-wrapper .link-icon,
    body.type-detail.cp-pd-ready .social-buttons-wrapper .link-icon span {
        font-size: 12px !important;
        color: var(--cp-muted) !important;
    }

    /* sklad · značka · názov · chuť */
    .cp-pd-head {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .cp-pd-stock {
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 18px;
        letter-spacing: 0.32px;
        text-transform: uppercase;
        color: var(--cp-stock) !important;
    }
    .cp-pd-titles {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .cp-pd-brand,
    .cp-pd-brand a {
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 16px;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--cp-muted) !important;
        text-decoration: none !important;
    }
    .cp-pd-brand a:hover {
        text-decoration: underline !important;
    }
    html body .cp-pd-head .cp-pd-title,
    html body .cp-pd-head .cp-pd-title > *,
    html body .cp-pd-head .cp-pd-title h1 {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 28px !important;
        font-weight: 500 !important;
        line-height: 1.25 !important;
        letter-spacing: 0 !important;
        text-transform: uppercase !important;
        text-wrap: balance;
        color: var(--cp-ink) !important;
        text-align: left !important;
    }
    .cp-pd-notes {
        font-size: 16px !important;
        line-height: 22px;
        color: #000;
    }

    .cp-pd-label,
    body.type-detail.cp-pd-ready .c-product-interconnection-detail-params__type,
    body.type-detail.cp-pd-ready .up-products-header {
        display: block;
        margin: 0 0 8px !important;
        padding: 0 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 16px !important;
        letter-spacing: 1.6px !important;
        text-transform: uppercase !important;
        color: #000 !important;
        text-align: left !important;
    }
    .cp-pd-bars {
        display: flex;
        gap: 8px;
    }
    .cp-pd-bars span {
        flex: 1 1 0;
        height: 6px;
        background: var(--cp-bar-off);
    }
    .cp-pd-bars span.is-on {
        background: var(--cp-dark);
    }

    /* varianty – roletka */
    body.type-detail.cp-pd-ready .c-product-interconnection-detail-params {
        display: block !important;
        padding: 0 !important;
        border: 0 !important;
    }
    html body.type-detail .c-product-interconnection-detail-params select.cp-select {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 44px !important;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23292929' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px 14px !important;
        border: 1px solid var(--cp-line) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: #292929 !important;
        font-size: 16px !important;
        text-align: center;
        text-align-last: center;
        -webkit-appearance: none;
        appearance: none;
        cursor: pointer;
    }
    html body.type-detail .c-product-interconnection-detail-params select.cp-select:hover {
        border-color: var(--cp-muted) !important;
    }
    html body.type-detail .c-product-interconnection-detail-params select.cp-select:focus-visible {
        outline: 2px solid var(--cp-dark);
        outline-offset: 2px;
    }

    /* množstvo + do košíka */
    body.type-detail.cp-pd-ready .add-to-cart {
        display: flex !important;
        align-items: stretch;
        gap: 16px;
        padding: 0 !important;
    }
    body.type-detail.cp-pd-ready .add-to-cart .quantity {
        position: relative;
        display: flex !important;
        align-items: center;
        flex: 0 0 112px;
        width: 112px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff;
        border: 1px solid var(--cp-dark) !important;
        border-radius: 0 !important;
    }
    body.type-detail.cp-pd-ready .add-to-cart .quantity label {
        order: 2;
        flex: 1 1 auto;
        margin: 0 !important;
    }
    body.type-detail.cp-pd-ready .add-to-cart .quantity input.amount {
        width: 100% !important;
        height: 54px !important;
        padding: 0 !important;
        border: 0 !important;
        background: #fff !important;
        font-size: 16px !important;
        text-align: center;
        color: #000 !important;
        -moz-appearance: textfield;
    }
    body.type-detail.cp-pd-ready .add-to-cart .quantity input.amount::-webkit-outer-spin-button,
    body.type-detail.cp-pd-ready .add-to-cart .quantity input.amount::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button.increase,
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button.decrease {
        position: static !important;
        flex: 0 0 32px;
        width: 32px !important;
        height: 54px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #000 !important;
        font-size: 20px !important;
        transform: none !important;
        cursor: pointer;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button.decrease { order: 1; }
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button.increase { order: 3; }
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button::before,
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button::after {
        content: none !important;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .quantity button span {
        display: inline !important;
        font-size: 20px !important;
        color: #000 !important;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .add-to-cart-button {
        flex: 1 1 auto;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: auto !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 20px !important;
        background: var(--cp-dark) !important;
        border: 1px solid var(--cp-dark) !important;
        border-radius: 0 !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        letter-spacing: 0.02em !important;
        text-transform: uppercase !important;
        white-space: nowrap;
        box-shadow: none !important;
        transition: background-color 0.15s ease-out;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .add-to-cart-button:hover {
        background: #2c3b2c !important;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .add-to-cart-button:focus-visible {
        outline: 2px solid var(--cp-dark);
        outline-offset: 3px;
    }
    html body.type-detail.cp-pd-ready .add-to-cart .add-to-cart-button::before,
    html body.type-detail.cp-pd-ready .add-to-cart .add-to-cart-button::after {
        content: none !important;
        display: none !important;
    }
    .cp-btn-old { text-decoration: line-through; text-transform: none; opacity: 0.85; }
    .cp-btn-new { font-weight: 600; text-transform: none; }

    /* bonusové body */
    body.type-detail.cp-pd-ready .mehub-bonus-product-detail-container .card {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        margin: 0 !important;
        padding: 16px !important;
        background: var(--cp-bonus-bg) !important;
        border: 0 !important;
        border-radius: 0 !important;
        text-align: center;
    }
    body.type-detail.cp-pd-ready .mehub-bonus-product-detail-container .card-text,
    body.type-detail.cp-pd-ready .mehub-bonus-product-detail-container .card-text a,
    body.type-detail.cp-pd-ready .mehub-bonus-product-detail-container .card-text b {
        font-size: 14px !important;
        color: var(--cp-bonus-text) !important;
        text-transform: uppercase;
    }

    /* odporúčame vyskúšať – karusel */
    body.type-detail.cp-pd-ready .up-container {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
    }
    body.type-detail.cp-pd-ready ul.up-products {
        display: flex !important;
        margin: 4px 0 0 !important;
        padding: 0 !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        list-style: none;
    }
    body.type-detail.cp-pd-ready ul.up-products::-webkit-scrollbar { display: none; }
    body.type-detail.cp-pd-ready li.up-product {
        flex: 0 0 100%;
        display: block !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        border: 0 !important;
        scroll-snap-align: start;
    }
    body.type-detail.cp-pd-ready .up-product-information {
        position: relative;
        display: flex !important;
        align-items: center;
        gap: 20px;
        padding: 0 !important;
    }
    body.type-detail.cp-pd-ready .up-product-information > input.up-product-selector {
        position: absolute !important;
        opacity: 0 !important;
        pointer-events: none;
        width: 1px;
        height: 1px;
    }
    body.type-detail.cp-pd-ready .up-product-information label.up-image {
        flex: 0 0 120px;
        width: 120px !important;
        height: 120px !important;
        margin: 0 !important;
        padding: 8px !important;
        border: 0 !important;
        background: var(--cp-header-bg);
    }
    body.type-detail.cp-pd-ready .up-product-information label.up-image::before,
    body.type-detail.cp-pd-ready .up-product-information label.up-image::after,
    body.type-detail.cp-pd-ready .up-product-information label.up-image .up-product-selector::before,
    body.type-detail.cp-pd-ready .up-product-information label.up-image .up-product-selector::after {
        content: none !important;
        display: none !important;
    }
    body.type-detail.cp-pd-ready .up-product-information label.up-image .up-product-selector {
        display: block !important;
        width: 100%;
        height: 100%;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
    }
    body.type-detail.cp-pd-ready .up-product-information label.up-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: contain;
        mix-blend-mode: multiply;
    }
    body.type-detail.cp-pd-ready .up-product-details {
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        min-width: 0;
    }
    body.type-detail.cp-pd-ready .up-product-name,
    body.type-detail.cp-pd-ready .up-product-name a {
        display: block;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 16px !important;
        letter-spacing: 1.6px !important;
        text-transform: uppercase !important;
        color: #000 !important;
        text-decoration: none !important;
    }
    body.type-detail.cp-pd-ready .up-product-details > .up-availability,
    body.type-detail.cp-pd-ready .up-product-details > .up-price,
    body.type-detail.cp-pd-ready li.up-product > .up-quantity,
    body.type-detail.cp-pd-ready li.up-product > .up-product-variants:empty {
        display: none !important;
    }
    .cp-up-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 36px;
        margin: 0 !important;
        padding: 4px 12px;
        border: 1px solid #000;
        background: #fff;
        color: #000;
        font-size: 14px !important;
        line-height: 20px;
        text-transform: uppercase;
        cursor: pointer;
        user-select: none;
        transition: background-color 0.15s ease-out, color 0.15s ease-out;
    }
    .cp-up-btn:hover { background: var(--cp-header-bg); }
    .cp-up-btn * { font-size: 14px !important; color: inherit; text-transform: none; }
    .cp-up-btn .cp-up-try,
    .cp-up-btn .cp-up-added { text-transform: uppercase !important; }
    .cp-up-btn .cp-up-added { display: none; }
    input.up-product-selector:checked ~ .up-product-details .cp-up-btn {
        background: var(--cp-dark);
        border-color: var(--cp-dark);
        color: #fff;
    }
    input.up-product-selector:checked ~ .up-product-details .cp-up-btn .cp-up-try { display: none; }
    input.up-product-selector:checked ~ .up-product-details .cp-up-btn .cp-up-added { display: inline; }
    input.up-product-selector:focus-visible ~ .up-product-details .cp-up-btn {
        outline: 2px solid var(--cp-dark);
        outline-offset: 2px;
    }
    .cp-up-pager {
        display: flex;
        justify-content: center;
        gap: 4px;
        padding-top: 10px;
    }
    .cp-up-pager button {
        padding: 6px 8px;
        border: 0;
        background: none;
        font-size: 12px !important;
        letter-spacing: 1.6px;
        color: var(--cp-dark);
        cursor: pointer;
    }
    .cp-up-pager button.is-active {
        font-size: 14px !important;
        font-weight: 800 !important;
        color: #000;
    }

    /* krátky popis + ikonky */
    body.type-detail.cp-pd-ready .p-short-description-block { padding: 0 !important; }
    body.type-detail.cp-pd-ready .p-short-description,
    body.type-detail.cp-pd-ready .p-short-description p,
    body.type-detail.cp-pd-ready .p-short-description span {
        font-size: 16px !important;
        line-height: 1.6 !important;
        color: var(--cp-text) !important;
        text-transform: none !important;
    }
    body.type-detail.cp-pd-ready .p-short-description p { margin: 0 0 10px !important; }
    body.type-detail.cp-pd-ready .p-short-description strong { font-weight: 600 !important; }
    body.type-detail.cp-pd-ready .flavor-profile {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 16px;
        margin: 20px 0 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
    }
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center;
        border: 0 !important;
        background: none !important;
    }
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item br { display: none; }
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item img {
        width: 48px !important;
        height: 48px !important;
        margin: 0 !important;
    }
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item strong,
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item span {
        display: block;
        font-size: 14px !important;
        line-height: 20px !important;
        color: var(--cp-muted) !important;
    }
    body.type-detail.cp-pd-ready .flavor-profile .flavor-item strong {
        font-weight: 600 !important;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    /* záložky Popis / Parametre / Značka – bez rámčekov */
    body.type-detail .shp-tabs-wrapper {
        max-width: 1280px;
        margin: 56px auto 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tabs-holder,
    body.type-detail .shp-tabs-wrapper .shp-tabs,
    body.type-detail .shp-tabs-wrapper .shp-tab,
    body.type-detail .shp-tabs-wrapper .shp-tab a,
    body.type-detail .shp-tabs-wrapper .tab-content,
    body.type-detail .shp-tabs-wrapper .tab-pane,
    body.type-detail .shp-tabs-wrapper .detail-tab-content,
    body.type-detail .shp-tabs-wrapper .description-inner {
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tabs {
        display: flex !important;
        gap: 40px;
        justify-content: flex-start;
        border-bottom: 1px solid var(--cp-line) !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tab {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tab a {
        display: block;
        margin: 0 0 -1px !important;
        padding: 16px 0 !important;
        border-bottom: 2px solid transparent !important;
        color: var(--cp-muted) !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tab a:hover {
        color: var(--cp-ink) !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tab.active a {
        color: var(--cp-ink) !important;
        border-bottom-color: var(--cp-dark) !important;
    }
    body.type-detail .shp-tabs-wrapper .tab-content,
    body.type-detail .shp-tabs-wrapper .tab-pane {
        padding: 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner,
    body.type-detail .shp-tabs-wrapper .basic-description {
        margin: 0 !important;
        padding: 0 !important;
    }
    body.type-detail .shp-tabs-wrapper .shp-tab::before,
    body.type-detail .shp-tabs-wrapper .shp-tab::after,
    body.type-detail .shp-tabs-wrapper .shp-tab a::before,
    body.type-detail .shp-tabs-wrapper .shp-tab a::after {
        content: none !important;
        display: none !important;
    }
    body.type-detail .shp-tabs-wrapper .detail-tab-content {
        max-width: 760px;
        padding: 32px 0 24px !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner,
    body.type-detail .shp-tabs-wrapper .description-inner p,
    body.type-detail .shp-tabs-wrapper .description-inner span,
    body.type-detail .shp-tabs-wrapper .description-inner li,
    body.type-detail .shp-tabs-wrapper .detail-parameters td,
    body.type-detail .shp-tabs-wrapper .detail-parameters th {
        font-size: 16px !important;
        line-height: 1.7 !important;
        color: var(--cp-text) !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner strong,
    body.type-detail .shp-tabs-wrapper .description-inner b {
        font-weight: 600 !important;
        color: var(--cp-ink) !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner p,
    body.type-detail .shp-tabs-wrapper .description-inner li {
        max-width: 68ch !important;
    }
    body.type-detail .shp-tabs-wrapper .description-inner p { margin: 0 0 18px !important; }
    body.type-detail .shp-tabs-wrapper .detail-parameters,
    body.type-detail .shp-tabs-wrapper .detail-parameters tr,
    body.type-detail .shp-tabs-wrapper .detail-parameters th,
    body.type-detail .shp-tabs-wrapper .detail-parameters td {
        border: 0 !important;
        background: transparent !important;
    }
    body.type-detail .shp-tabs-wrapper .detail-parameters th,
    body.type-detail .shp-tabs-wrapper .detail-parameters td {
        padding: 6px 24px 6px 0 !important;
        vertical-align: top;
    }
    body.type-detail .shp-tabs-wrapper .detail-parameters th {
        font-weight: 400 !important;
        color: var(--cp-muted) !important;
    }
}

/* dva stĺpce: galéria vľavo, nákup vpravo (zostáva viditeľný pri posúvaní) */
@media (min-width: 992px) {
    body.type-detail .product-top {
        display: grid !important;
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        column-gap: 64px;
        align-items: start;
        margin: 0 !important;
    }
    body.type-detail .product-top::before,
    body.type-detail .product-top::after {
        content: none !important;
        display: none !important;
    }
    body.type-detail .product-top > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        float: none !important;
        padding: 0 !important;
    }
    body.type-detail .product-top > .col-xs-12:not(.p-image-wrapper):not(.p-info-wrapper) {
        grid-column: 1 / -1;
    }
    body.type-detail .p-image-wrapper {
        grid-column: 1;
        position: sticky;
        top: 24px;
        margin: 0 !important;
    }
    body.type-detail.cp-pd-ready .p-info-wrapper {
        grid-column: 2;
        padding-top: 8px !important;
    }
}
@media (min-width: 1200px) {
    body.type-detail.cp-pd-ready .flavor-profile {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* menej pohybu pre ľudí, ktorí si to nastavili */
@media (prefers-reduced-motion: reduce) {
    .cp-up-btn,
    html body.type-detail.cp-pd-ready .add-to-cart .add-to-cart-button {
        transition: none !important;
    }
}

@media (min-width: 768px) {
    /* ceny na kartách produktov: aktuálna výrazne, pôvodná malá preškrtnutá, bez ceny za kg */
    .products .product .price-measure {
        display: none !important;
    }
    .products .product .prices {
        margin-bottom: 0 !important;
    }
    .products .product .price-final {
        display: flex !important;
        flex-wrap: wrap;
        align-items: baseline;
        column-gap: 8px;
        row-gap: 2px;
    }
    .products .product .price-final strong {
        order: 1;
        font-size: 18px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
    }
    .products .product .price-final.price-action strong,
    .products .product .price-final:has(.price-standard) strong {
        color: var(--cp-sale) !important;
    }
    .products .product .price-final .price-standard {
        order: 2;
        margin: 0 !important;
        padding: 0 !important;
    }
    .products .product .price-final .price-standard,
    .products .product .price-final .price-standard span {
        position: relative;
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.2 !important;
        color: var(--cp-muted) !important;
        text-decoration: line-through !important;
        text-decoration-thickness: 1px !important;
    }
    .products .product .price-final .price-standard::before,
    .products .product .price-final .price-standard::after,
    .products .product .price-final .price-standard span::before,
    .products .product .price-final .price-standard span::after {
        content: none !important;
        display: none !important;
    }
}

@media (min-width: 768px) {
    /* štítky na fotkách – jeden tvar: hranatý odznak 24 px
       „AKCIA/NOVINKA/TIP" vľavo, zľava „−15 %" vpravo (bez visačky a duplicitnej starej ceny) */
    html body .flags .flag,
    html body .flag.flag-discount {
        display: inline-flex !important;
        align-items: center;
        height: 24px !important;
        min-height: 0 !important;
        width: auto !important;
        min-width: 0 !important;
        margin: 0 4px 4px 0 !important;
        padding: 0 8px !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 24px !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
    }
    html body .flag.flag-discount {
        margin: 0 !important;
        background: var(--cp-dark) !important;
        color: #fff !important;
    }
    html body .flag.flag-discount::before,
    html body .flag.flag-discount::after {
        content: none !important;
        display: none !important;
    }
    html body .flag.flag-discount .flag-discount-text {
        position: static !important;
        display: flex !important;
        align-items: center;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }
    html body .flag.flag-discount .price-standard {
        display: none !important;
    }
    html body .flag.flag-discount .price-save,
    html body .flag.flag-discount .price-save span {
        display: inline !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 24px !important;
        letter-spacing: 0.02em !important;
    }
    html body .flag.flag-discount sub {
        position: static !important;
        margin-left: 2px;
        font-size: inherit !important;
        vertical-align: baseline !important;
    }
}

@media (min-width: 768px) {
    /* rovnaká výška a hranaté rohy aj pre zľavu (téma ju zaobľovala a posúvala nižšie) */
    html body .has-label-border-radius .flag,
    html body .products .product .flag.flag-discount,
    html body .p-image .flag.flag-discount,
    html body .flag.flag-discount.has-icon {
        border-radius: 0 !important;
    }
    html body .products .product a.image .flag.flag-discount {
        top: -22px !important;
        right: 0 !important;
        bottom: auto !important;
        left: auto !important;
    }
    html body.type-detail .p-image .flag.flag-discount {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 3;
    }
    html body.type-detail .p-image .flags-default {
        left: 16px !important;
        top: 16px !important;
    }
}

@media (min-width: 768px) {
    html body.type-detail .p-image span.flag.flag-discount.flag-discount,
    html body .products .product span.flag.flag-discount.flag-discount,
    html body span.flag.flag-discount.has-icon.button-ico {
        border-radius: 0 !important;
        -webkit-border-radius: 0 !important;
    }
}

@media (min-width: 768px) {
    /* =========================================================
       TYPOGRAFIA – jedna škála nadpisov na celom webe
       H1 = názov stránky · H2 = sekcia · H3 = podsekcia
       (všetko veľkými písmenami ako nadpisy sekcií na úvode)
       ========================================================= */
    html body h1.category-title,
    html body.type-search #content h1,
    html body .cart-heading,
    html body.type-page #content h1:not(.gastro-hero-title) {
        margin: 0 0 16px !important;
        font-size: 36px !important;
        font-weight: 600 !important;
        line-height: 1.15 !important;
        letter-spacing: 0.01em !important;
        text-transform: uppercase !important;
        text-wrap: balance;
        color: var(--cp-ink) !important;
    }
    html body .homepage-group-title,
    html body .products-top-header,
    html body .newsletter-header h3,
    html body .pageElement__heading,
    html body .continent-intro h2,
    html body.type-page #content h2 {
        font-size: 26px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        letter-spacing: 0.01em !important;
        text-transform: uppercase !important;
        text-wrap: balance;
    }
    html body.type-search #content h4,
    html body .cart-header__headline .h4,
    html body.type-page #content h3 {
        font-size: 20px !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        letter-spacing: 0.02em !important;
        text-transform: uppercase !important;
    }
    /* tmavý blok „Obľúbené druhy kávy" na úvode – väčší text */
    html body .continent-intro p {
        font-size: 17px !important;
        line-height: 1.6 !important;
    }
    html body .continent-intro .btn-secondary {
        font-size: 13px !important;
        letter-spacing: 0.08em !important;
    }
}

@media (min-width: 768px) {
    html body .sidebar .box-filters h4:not(:first-child),
    html body .sidebar .filter-section h4 {
        font-size: 13px !important;
        font-weight: 600 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
    }
}

@media (min-width: 768px) {
    /* nadpisy vnútri záložiek produktu (Parametre produktu, Kategórie produktu, značka) */
    html body.type-detail .shp-tabs-wrapper .tab-pane h2,
    html body.type-detail .shp-tabs-wrapper .tab-pane h3,
    html body.type-detail .shp-tabs-wrapper .tab-pane h4 {
        margin: 0 0 12px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        color: var(--cp-ink) !important;
    }
    html body .continent-intro p {
        font-weight: 400 !important;
    }
}

@media (min-width: 768px) {
    /* =========================================================
       OKRÚHLE DLAŽDICE KATEGÓRIÍ – úvod („Vyberte si kávu")
       aj podkategórie v kategórii (namiesto veľkých kociek)
       ========================================================= */
    .cp-circles {
        margin: 40px 0 8px;
    }
    .cp-circles__title {
        margin: 0 0 20px !important;
    }
    .cp-circles__list,
    html body .subcategories.with-image {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between;
        gap: 20px;
        margin: 0 !important;
        padding: 4px 0 8px !important;
        list-style: none;
        
    }
    .cp-circles__list::-webkit-scrollbar,
    html body .subcategories.with-image::-webkit-scrollbar {
        display: none;
    }
    .cp-circles__item,
    html body .subcategories.with-image > li {
        flex: 0 0 108px !important;
        width: 108px !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        scroll-snap-align: start;
    }
    .cp-circles__link,
    html body .subcategories.with-image > li > a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        text-decoration: none !important;
        color: var(--cp-ink) !important;
    }
    html body .subcategories.with-image > li > a::before,
    html body .subcategories.with-image > li > a::after {
        content: none !important;
        display: none !important;
    }
    .cp-circles__img,
    html body .subcategories.with-image > li > a .image {
        position: relative;
        display: block !important;
        width: 108px !important;
        height: 108px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 50% !important;
        overflow: hidden;
        background: var(--cp-header-bg) !important;
        box-shadow: inset 0 0 0 1px rgba(15, 15, 15, 0.04);
        transition: box-shadow 0.2s ease-out;
    }
    .cp-circles__img img,
    html body .subcategories.with-image > li > a .image img {
        position: absolute;
        inset: 7%;
        width: 86% !important;
        height: 86% !important;
        max-width: none !important;
        margin: 0 !important;
        object-fit: contain;
        mix-blend-mode: multiply;
        transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .cp-circles__label,
    html body .subcategories.with-image > li > a .text {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.3 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
        text-align: center !important;
        text-wrap: balance;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        hyphens: manual;
        color: var(--cp-ink) !important;
    }
    @media (hover: hover) {
        .cp-circles__link:hover .cp-circles__img,
        html body .subcategories.with-image > li > a:hover .image {
            box-shadow: inset 0 0 0 1.5px var(--cp-dark);
        }
        .cp-circles__link:hover .cp-circles__img img,
        html body .subcategories.with-image > li > a:hover .image img {
            transform: scale(1.06);
        }
    }
    .cp-circles__link:focus-visible,
    html body .subcategories.with-image > li > a:focus-visible {
        outline: none;
    }
    .cp-circles__link:focus-visible .cp-circles__img,
    html body .subcategories.with-image > li > a:focus-visible .image {
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--cp-dark);
    }
    
    /* pásik výhod na úvode – nižší, nezaberá toľko miesta */
    html body .benefitBanner {
        padding: 18px 32px !important;
        gap: 16px 32px;
        align-items: center;
    }
    html body .benefitBanner__item {
        margin: 0 !important;
        padding: 0 !important;
        align-items: center !important;
        gap: 12px;
    }
    html body .benefitBanner__picture {
        flex: 0 0 auto;
        margin: 0 !important;
    }
    html body .benefitBanner__img {
        width: 30px !important;
        height: 30px !important;
    }
    html body .benefitBanner__title {
        display: block;
        margin: 0 0 2px !important;
        font-size: 14px !important;
        line-height: 1.25 !important;
        letter-spacing: 0.04em !important;
    }
    html body .benefitBanner__data {
        font-size: 13px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        opacity: 0.85;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cp-circles__img, .cp-circles__img img,
    html body .subcategories.with-image > li > a .image,
    html body .subcategories.with-image > li > a .image img {
        transition: none !important;
    }
}

/* desktop: 4 výhody v jednom riadku */
@media (min-width: 992px) {
    html body .benefitBanner {
        flex-wrap: nowrap !important;
    }
    html body .benefitBanner__item {
        flex: 1 1 0 !important;
        max-width: none !important;
        width: auto !important;
    }
}

/* podkategórie v kategórii: ďalší riadok zarovnaný doľava, nie roztiahnutý */
@media (min-width: 768px) {
    html body .subcategories.with-image {
        justify-content: flex-start !important;
        gap: 24px 28px !important;
    }
}

@media (min-width: 768px) {
    /* hlavička ostáva, len sivé texty tmavšie kvôli čitateľnosti (3,3:1 → 5:1+) */
    html body .top-navigation-bar a,
    html body .top-navigation-bar .project-email span,
    html body #header .click-cart .cart-price {
        color: var(--cp-muted) !important;
    }
    /* čitateľná dĺžka riadku (~70 znakov) */
    html body.type-detail .shp-tabs-wrapper .description-inner p,
    html body.type-detail .shp-tabs-wrapper .description-inner li,
    html body.type-detail .shp-tabs-wrapper .basic-description p {
        max-width: 620px !important;
    }

}

@media (min-width: 768px) {
    /* =========================================================
       RYTMUS MEDZIER – rovnaký odstup medzi sekciami,
       viac miesta nad nadpisom sekcie ako pod ním
       ========================================================= */
    html body.type-index :is(div, section):has(> .homepage-group-title) {
        margin-top: 72px !important;
    }
    html body .homepage-group-title {
        margin-top: 0 !important;
        margin-bottom: 24px !important;
    }
    html body .cp-circles {
        margin: 64px 0 0 !important;
    }
    /* kategória: popis → kruhy → Najpredávanejšie → zoznam */
    html body .category-perex {
        margin-bottom: 0 !important;
    }
    html body .cp-perex-toggle {
        margin-bottom: 0 !important;
    }
    html body .subcategories.with-image {
        margin-top: 32px !important;
    }
    html body .products-top-wrapper {
        margin-top: 56px !important;
    }
    html body .products-top-header {
        margin: 0 0 24px !important;
    }
    
    /* zoradenie nad zoznamom – textové záložky ako na produkte (namiesto tlačidiel) */
    html body .category-header,
    html body .category-content-wrapper > .category-header {
        margin: 48px 0 24px !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid var(--cp-line) !important;
        background: transparent !important;
        display: flex !important;
        align-items: flex-end;
        justify-content: space-between;
        gap: 24px;
    }
    html body .category-header .listSorting {
        margin: 0 !important;
        padding: 0 !important;
    }
    html body .category-header .listSorting h4,
    html body .category-header .cp-sort-toggle {
        display: none !important;
    }
    html body .category-header .listSorting__controls {
        display: flex !important;
        flex-wrap: wrap;
        gap: 0 32px;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
        position: static !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    html body .category-header .listSorting__controls li {
        margin: 0 !important;
        padding: 0 !important;
    }
    html body .category-header .listSorting__control {
        display: block !important;
        height: auto !important;
        margin: 0 0 -1px !important;
        padding: 14px 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-bottom: 2px solid transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        color: var(--cp-muted) !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        cursor: pointer;
        transition: color 0.15s ease-out, border-color 0.15s ease-out;
    }
    html body .category-header .listSorting__control:hover {
        color: var(--cp-ink) !important;
    }
    html body .category-header .listSorting__control--current,
    html body .category-header .listSorting__control--current:hover {
        color: var(--cp-ink) !important;
        background: transparent !important;
        border-bottom-color: var(--cp-dark) !important;
    }
    html body .category-header .listSorting__control:focus-visible {
        outline: 2px solid var(--cp-dark);
        outline-offset: 4px;
    }
    html body .category-header .listItemsTotal {
        display: block !important;
        margin: 0 !important;
        padding: 0 0 14px !important;
        font-size: 13px !important;
        color: var(--cp-muted) !important;
        white-space: nowrap;
    }
    html body .category-header .listItemsTotal strong {
        color: var(--cp-ink) !important;
    }
    @media (prefers-reduced-motion: reduce) {
        html body .category-header .listSorting__control { transition: none !important; }
    }
}

@media (min-width: 768px) {
    /* =========================================================
       FILTRE – čistý panel: jednotné nadpisy, tenký posuvník ceny,
       vlastné zaškrtávacie políčka v tmavozelenej
       ========================================================= */
    html body .sidebar .box-filters {
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }
    html body .sidebar .box-filters > h4 {
        padding: 0 0 14px !important;
        margin: 0 0 4px !important;
        border-bottom: 1px solid var(--cp-ink) !important;
        font-size: 13px !important;
        letter-spacing: 0.1em !important;
    }
    html body .sidebar .box-filters > h4::before {
        display: none !important;
    }
    html body #filters .slider-wrapper,
    html body #filters .filter-section {
        margin: 0 !important;
        padding: 0 0 18px !important;
        border: 0 !important;
        border-bottom: 1px solid var(--cp-line) !important;
    }
    html body #filters .filter-section-count {
        border-bottom: 0 !important;
    }
    html body #filters .slider-wrapper > h4,
    html body #filters .filter-section > h4 {
        position: relative;
        margin: 0 !important;
        padding: 18px 24px 12px 0 !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 16px !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        color: var(--cp-ink) !important;
    }
    html body #filters .slider-wrapper > h4 span,
    html body #filters .filter-section > h4 span {
        font-size: inherit !important;
        font-weight: inherit !important;
    }
    html body #filters .slider-wrapper > h4::after,
    html body #filters .filter-section > h4::after {
        right: 0 !important;
        font-size: 9px !important;
        color: var(--cp-muted) !important;
    }
    
    /* cena */
    html body #filters .slider-header {
        position: static !important;
        display: flex !important;
        justify-content: space-between;
        margin: 0 !important;
        padding: 0 0 12px !important;
        font-size: 13px !important;
        color: var(--cp-text) !important;
    }
    html body #filters .slider-header span {
        position: static !important;
        font-weight: 500 !important;
    }
    html body #filters .slider-content {
        padding: 0 9px !important;
    }
    html body #filters .ui-slider {
        height: 2px !important;
        margin: 8px 0 !important;
        padding: 0 !important;
        background: var(--cp-line) !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    html body #filters .ui-slider-range {
        height: 2px !important;
        top: 0 !important;
        background: var(--cp-dark) !important;
        border-radius: 0 !important;
    }
    html body #filters .ui-slider-handle {
        top: -8px !important;
        width: 18px !important;
        height: 18px !important;
        margin-left: -9px !important;
        background: #fff !important;
        border: 1.5px solid var(--cp-dark) !important;
        border-radius: 50% !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
        cursor: grab;
    }
    html body #filters .ui-slider-handle:focus-visible {
        outline: 2px solid var(--cp-dark);
        outline-offset: 2px;
    }
    
    /* zaškrtávacie políčka */
    html body #filters .div--collapsable,
    html body #filters form > div,
    html body #filters fieldset > div {
        display: flex !important;
        align-items: center;
        gap: 10px;
        margin: 0 !important;
        padding: 5px 0 !important;
    }
    html body #filters input[type="checkbox"],
    html body #filters input[type="radio"] {
        -webkit-appearance: none;
        appearance: none;
        position: static !important;
        flex: 0 0 18px;
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        background: #fff no-repeat center / 12px 12px !important;
        border: 1px solid #b9bdc8 !important;
        border-radius: 0 !important;
        cursor: pointer;
        transition: background-color 0.12s ease-out, border-color 0.12s ease-out;
    }
    html body #filters input[type="checkbox"]:hover,
    html body #filters input[type="radio"]:hover {
        border-color: var(--cp-dark) !important;
    }
    html body #filters input[type="checkbox"]:checked,
    html body #filters input[type="radio"]:checked {
        background-color: var(--cp-dark) !important;
        border-color: var(--cp-dark) !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") !important;
    }
    html body #filters input[type="checkbox"]:focus-visible,
    html body #filters input[type="radio"]:focus-visible {
        outline: 2px solid var(--cp-dark);
        outline-offset: 2px;
    }
    html body #filters input[type="checkbox"]:disabled + label,
    html body #filters input[type="checkbox"]:disabled {
        opacity: 0.45 !important;
    }
    html body #filters .filter-label {
        display: flex !important;
        align-items: baseline;
        gap: 6px;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.35 !important;
        color: var(--cp-text) !important;
        cursor: pointer;
    }
    html body #filters .filter-label::before,
    html body #filters .filter-label::after {
        content: none !important;
        display: none !important;
    }
    html body #filters .filter-count {
        font-size: 12px !important;
        color: var(--cp-muted) !important;
    }
    html body #filters .filter-count::before { content: "(" !important; }
    html body #filters .filter-count::after { content: ")" !important; }
    html body #filters .filter-total-count {
        font-size: 13px !important;
        color: var(--cp-muted) !important;
    }
    html body #filters .show-more-link,
    html body #filters [class*="more"] > a,
    html body #filters a.chevron-after {
        font-size: 12px !important;
        font-weight: 600 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        text-decoration: underline !important;
        text-underline-offset: 3px;
        color: var(--cp-ink) !important;
    }
    @media (prefers-reduced-motion: reduce) {
        html body #filters input[type="checkbox"] { transition: none !important; }
    }
}

/* kruhy „Vyberte si kávu": ak sa nezmestia, posúvajú sa do strany (nikdy sa neorežú ani nezalomia) */
@media (min-width: 768px) {
    html body .cp-circles__list {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    html body .cp-circles__list::-webkit-scrollbar {
        display: none;
    }
}
